/* =============================================
   MITOLYN REVIEWS - MAIN STYLESHEET
   ============================================= */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    line-height: 1.7;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333;
    background: #f9fafb;
    -webkit-font-smoothing: antialiased;
}

/* HEADER & NAV */
header {
    background: #1a2332;
    margin: 0 -20px 30px -20px;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    flex-wrap: wrap;
}

nav .logo {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav .logo span { color: #28a745; }

.nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover, nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid #cbd5e1;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    color: #1a2332;
    line-height: 1.3;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #1e293b;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
    font-size: 17px;
    color: #475569;
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
    line-height: 1.8;
}

li { margin-bottom: 6px; font-size: 17px; color: #475569; }

a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    transition: color 0.2s;
}

a:hover { color: #1d4ed8; text-decoration-color: #2563eb; }

strong { color: #1e293b; }

/* CTA BUTTONS */
.cta-button {
    display: inline-block;
    background: #16a34a;
    color: #fff !important;
    padding: 14px 32px;
    text-decoration: none !important;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(22,163,74,0.3);
}

.cta-button:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22,163,74,0.4);
}

/* IMAGES */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

.product-image {
    max-width: 340px;
    width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* FOOTER */
footer {
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 2px solid #e2e8f0;
    font-size: 14px;
    text-align: center;
    color: #94a3b8;
    background: #f1f5f9;
    margin-left: -20px;
    margin-right: -20px;
}

footer a {
    color: #64748b;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover { color: #2563eb; }

/* COOKIE CONSENT BANNER */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2332;
    color: #e2e8f0;
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent p {
    flex: 1;
    min-width: 250px;
    color: #e2e8f0;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.cookie-consent a { color: #60a5fa; }

.cookie-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.cookie-btn:hover { background: #15803d; }

body.cookie-visible { padding-bottom: 80px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    body { padding: 0 16px; }

    header { margin: 0 -16px 20px -16px; }

    nav { padding: 12px 16px; }

    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 10px;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 10px 12px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    h1 { font-size: 26px; }
    h2 { font-size: 21px; }
    h3 { font-size: 18px; }
    p, li { font-size: 16px; }

    .cta-button {
        display: block;
        text-align: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    footer { margin-left: -16px; margin-right: -16px; padding: 24px 16px; }

    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .cookie-btn { width: 100%; padding: 14px; }
}

@media (min-width: 769px) {
    nav { padding: 14px 30px; }
}

/* STICKY CTA (MOBILE) */
.sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: #16a34a;
        padding: 14px 16px;
        text-align: center;
        z-index: 998;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    }

    .sticky-cta a {
        color: #fff !important;
        font-weight: 700;
        text-decoration: none !important;
        font-size: 15px;
    }
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
