/* DESIGN SYSTEM APPLIED */
/* ==========================================================================
   Kompleksowa Terapia Infekcji Sezonowych — Szkoła Stawiania Baniek
   Main Stylesheet
   ========================================================================== */


/* --------------------------------------------------------------------------
   Design Tokens / Custom Properties
   -------------------------------------------------------------------------- */

:root {
    /* --- Colors: Brand --- */
    --primary:        #C2412D;
    --primary-dk:     #A63020;
    --secondary:      #7A9B76;
    --accent:         #D4A574;
    --dark:           #1A2B3C;
    --bg:             #F8F5F0;
    --bg-alt:         #F0EBE3;

    /* --- Colors: Semantic --- */
    --text-dark:      #1A2B3C;
    --text-body:      rgba(26, 43, 60, 0.82);
    --text-muted:     rgba(26, 43, 60, 0.65);
    --text-light:     #F8F5F0;
    --secondary-pale: rgba(122, 155, 118, 0.09);

    /* --- Typography: Scale --- */
    --fs-xs:   0.75rem;   /* 12px */
    --fs-sm:   0.875rem;  /* 14px */
    --fs-base: 1rem;      /* 16px */
    --fs-md:   1.125rem;  /* 18px */
    --fs-lg:   1.25rem;   /* 20px */
    --fs-xl:   1.5rem;    /* 24px — h4 */
    --fs-2xl:  1.75rem;   /* 28px — h3 */
    --fs-3xl:  2.25rem;   /* 36px — h2 */
    --fs-4xl:  3rem;      /* 48px — h1 */

    /* --- Typography: Line Heights --- */
    --lh-heading: 1.2;
    --lh-body:    1.6;
    --lh-ui:      1;

    /* --- Typography: Weights --- */
    --fw-normal: 400;
    --fw-semi:   600;
    --fw-bold:   700;

    /* --- Spacing (8px scale) --- */
    --space-xs:  0.5rem;   /*  8px */
    --space-sm:  1rem;     /* 16px */
    --space-md:  1.5rem;   /* 24px */
    --space-lg:  2rem;     /* 32px */
    --space-xl:  3rem;     /* 48px */
    --space-xxl: 4rem;     /* 64px */

    /* --- Border Radius --- */
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-full: 999px;

    /* --- Shadows --- */
    --shadow-sm:          0 2px 12px rgba(26, 43, 60, 0.12);
    --shadow-md:          0 4px 20px rgba(26, 43, 60, 0.13);
    --shadow-lg:          0 8px 30px rgba(26, 43, 60, 0.14);
    --shadow-xl:          0 20px 60px rgba(26, 43, 60, 0.16);
    --shadow-terra:       0 6px 24px rgba(194, 65, 45, 0.32);
    --shadow-terra-hover: 0 10px 32px rgba(194, 65, 45, 0.42);
    --shadow-sage:        0 8px 30px rgba(122, 155, 118, 0.14);

    /* --- Legacy aliases (backward compatibility) --- */
    --terra:     var(--primary);
    --terra-dk:  var(--primary-dk);
    --sage:      var(--secondary);
    --honey:     var(--accent);
    --cream:     var(--bg);
    --cream-2:   var(--bg-alt);
    --navy:      var(--dark);
    --muted:     var(--text-muted);
    --shadow:    rgba(26, 43, 60, 0.13);
    --sage-pale: var(--secondary-pale);
}


/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: var(--lh-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility: keyboard focus indicator */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}


/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
}

h1 { font-size: clamp(2rem, 4.5vw, var(--fs-4xl)); margin-bottom: var(--space-sm); }
h2 { font-size: clamp(1.75rem, 4vw, var(--fs-3xl)); margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--fs-2xl)); margin-bottom: var(--space-xs); }
h4 { font-size: var(--fs-xl); margin-bottom: var(--space-xs); }

p {
    margin-bottom: var(--space-sm);
    font-size: var(--fs-base);
    color: var(--text-body);
}


/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */

.section     { padding: 5.5rem var(--space-md); }
.container   { max-width: 1180px; margin: 0 auto; }
.narrow      { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-2        { margin-bottom: var(--space-lg); }
.mb-3        { margin-bottom: var(--space-xl); }
.bg-alt      { background: var(--secondary-pale); }
.bg-white    { background: #fff; }


/* --------------------------------------------------------------------------
   Top Bar (Sticky Navigation)
   -------------------------------------------------------------------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 0.6rem var(--space-md);
    font-size: var(--fs-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.topbar span   { opacity: 0.88; }
.topbar strong { color: var(--accent); }

.topbar-cta {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 0.35rem var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-bold);
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.topbar-cta:hover { background: var(--primary-dk); }


/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

.hero {
    padding: var(--space-lg) var(--space-md) var(--space-xl);
    background: linear-gradient(160deg, #fff 0%, var(--bg) 60%, var(--bg-alt) 100%);
}

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-full);
    padding: 0.4rem var(--space-sm);
    font-size: var(--fs-sm);
    font-family: monospace;
    margin-bottom: var(--space-sm);
    background: rgba(194, 65, 45, 0.06);
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.hero-features {
    list-style: none;
    margin: 1.75rem 0 2.25rem;
}

.hero-features li {
    padding: 0.7rem 0.875rem 0.7rem 2.25rem;
    position: relative;
    font-size: var(--fs-base);
    margin-bottom: var(--space-xs);
    background: rgba(26, 43, 60, 0.04);
    border-radius: var(--radius-sm);
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    color: var(--secondary);
    font-weight: var(--fw-bold);
}

.hero-guarantee {
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
    font-style: italic;
    color: var(--text-muted);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hero-illustration {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-illustration img {
    width: 100%;
    display: block;
}


/* --------------------------------------------------------------------------
   Stats Card (Hero — "Nie jesteś sama")
   -------------------------------------------------------------------------- */

.stats-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    color: #fff;
}

.stats-card h4 {
    font-family: 'Lora', serif;
    font-size: var(--fs-base);
    font-weight: var(--fw-semi);
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.875rem 0.75rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: var(--fs-lg);
    font-family: 'Lora', serif;
    color: var(--accent);
    line-height: var(--lh-ui);
    margin-bottom: 0.3rem;
}

.stat-item span {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.3;
}


/* --------------------------------------------------------------------------
   CTA Buttons
   -------------------------------------------------------------------------- */

.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
    color: #fff;
    padding: 0.75rem var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    min-height: 2.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-terra);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-terra-hover);
}

/* Utility button classes */
.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    font-weight: var(--fw-semi);
    font-family: 'Manrope', sans-serif;
    min-height: 2.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    line-height: var(--lh-ui);
}

.btn-primary                { background: var(--primary); color: #fff; }
.btn-primary:hover          { background: var(--primary-dk); }

.btn-secondary              { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover        { background: var(--primary); color: #fff; }

.btn-ghost                  { background: transparent; color: var(--text-body); }
.btn-ghost:hover            { background: rgba(26, 43, 60, 0.06); }


/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */

.problem-section {
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.night-scene {
    background: var(--dark);
    color: var(--bg);
    padding: var(--space-xl) var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: var(--fs-md);
    line-height: 1.85;
    box-shadow: var(--shadow-xl);
}

.problem-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.problem-row.reverse     { direction: rtl; }
.problem-row.reverse > * { direction: ltr; }

.problem-illo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.problem-illo img { width: 100%; display: block; }

.pain-points { margin: 0; }

.pain-point {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-md);
    border-left: 3px solid var(--accent);
}

.pain-point:last-child { margin-bottom: 0; }

.exit-line {
    text-align: center;
    font-size: var(--fs-lg);
    margin-top: var(--space-xl);
    font-weight: var(--fw-semi);
    color: var(--primary);
}


/* --------------------------------------------------------------------------
   Bento Grid (Course Modules)
   -------------------------------------------------------------------------- */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin: var(--space-xl) 0;
}

.bento-card {
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bento-card:hover::before { transform: scaleX(1); }

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sage);
}

.bento-icon    { font-size: 2.5rem; margin-bottom: 0.875rem; display: block; }
.bento-card h3 { font-size: var(--fs-lg); }
.bento-card p  { font-size: var(--fs-sm); color: var(--text-muted); }


/* --------------------------------------------------------------------------
   For Whom Section
   -------------------------------------------------------------------------- */

.for-whom-box {
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.for-whom-box h3 { color: var(--secondary); }

.check-list { list-style: none; padding: 0; margin: 0; }

.check-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    font-size: var(--fs-base);
}

.check-list li::before      { position: absolute; left: 0; font-weight: var(--fw-bold); }
.check-list.yes li::before  { content: '✓'; color: var(--secondary); }
.check-list.no  li::before  { content: '✗'; color: var(--primary); }


/* --------------------------------------------------------------------------
   Objections
   -------------------------------------------------------------------------- */

.objection-item {
    background: #fff;
    padding: 1.75rem var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.objection-q {
    font-weight: var(--fw-bold);
    font-style: italic;
    font-size: var(--fs-base);
    color: var(--dark);
    margin-bottom: 0.625rem;
}

.objection-a {
    color: var(--text-body);
    line-height: var(--lh-body);
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial {
    background: #fff8f6;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: 1.875rem 0;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    font-style: italic;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.25;
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
    font-family: 'Lora', serif;
    line-height: var(--lh-ui);
}

.testimonial-text   { padding-left: var(--space-lg); }
.testimonial-author { margin-top: 0.875rem; font-style: normal; font-weight: var(--fw-bold); color: var(--dark); }
.stars              { color: var(--accent); margin-top: 0.375rem; }


/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */

.urgency-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
    color: #fff;
    padding: 1.875rem var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    margin: 0 auto var(--space-xl);
    box-shadow: var(--shadow-terra);
}

.urgency-banner h3 { color: #fff; margin-bottom: 0.75rem; font-size: var(--fs-lg); }
.urgency-banner p  { color: rgba(255, 255, 255, 0.92); margin-bottom: 0; }

.value-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.75rem;
}

.value-table thead tr       { background: var(--dark); color: var(--bg); }
.value-table th             { padding: var(--space-sm) var(--space-md); text-align: left; font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.value-table td             { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid rgba(26, 43, 60, 0.07); font-size: var(--fs-sm); line-height: 1.5; color: var(--text-body); }
.value-table tbody tr:hover { background: var(--secondary-pale); }
.value-table .price-col     { text-align: right; white-space: nowrap; color: var(--secondary); font-weight: var(--fw-semi); }
.value-table .total-row td  { background: var(--secondary-pale); font-weight: var(--fw-bold); font-size: var(--fs-base); border-bottom: none; }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: 0 0 var(--space-xl);
}

.pricing-card {
    background: #fff;
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.featured { border: 3px solid var(--primary); }

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.375rem var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    white-space: nowrap;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.price {
    font-size: 3.5rem;
    font-weight: var(--fw-bold);
    color: var(--primary);
    margin: var(--space-sm) 0 0.375rem;
    font-family: 'Lora', serif;
    line-height: var(--lh-ui);
}

.original-value {
    text-decoration: line-through;
    color: rgba(26, 43, 60, 0.38);
    font-size: var(--fs-base);
    margin-bottom: 0.375rem;
}

.price-label    { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.875rem; }
.price-features { list-style: none; text-align: left; padding: 0; margin: 0 0 var(--space-lg); }

.price-features li {
    padding: 0.5rem 0;
    font-size: var(--fs-sm);
    border-bottom: 1px solid rgba(26, 43, 60, 0.06);
}

.price-features li:last-child { border-bottom: none; }
.price-features li::before    { content: '✓ '; color: var(--secondary); font-weight: var(--fw-bold); }

.why-low-box {
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid var(--accent);
    padding: var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-xl) auto;
}

.trust-bar        { text-align: center; padding: var(--space-sm) 0; font-size: var(--fs-base); }
.trust-bar strong { color: var(--primary); }


/* --------------------------------------------------------------------------
   Delivery Steps
   -------------------------------------------------------------------------- */

.delivery-steps { display: flex; flex-direction: column; gap: 1.375rem; }

.delivery-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    font-family: 'Lora', serif;
}

.step-content h3 { margin-bottom: 0.5rem; font-size: var(--fs-md); }


/* --------------------------------------------------------------------------
   Guarantee Box
   -------------------------------------------------------------------------- */

.guarantee-box {
    background: linear-gradient(135deg, #fff 0%, rgba(122, 155, 118, 0.06) 100%);
    padding: var(--space-xxl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--secondary);
    text-align: center;
    box-shadow: var(--shadow-sage);
}

.guarantee-icon  { font-size: 4rem; margin-bottom: var(--space-md); display: block; }
.guarantee-claim { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--secondary); margin-top: var(--space-md); }


/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */

.faq-item {
    background: #fff;
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

.faq-item:hover { box-shadow: var(--shadow-sage); }

.faq-question {
    font-weight: var(--fw-bold);
    color: var(--dark);
    font-size: var(--fs-base);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: var(--space-sm);
    color: var(--text-body);
    line-height: var(--lh-body);
    display: none;
}

.faq-item.active .faq-answer { display: block; animation: fadeIn 0.35s ease; }
.faq-icon                     { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-icon    { transform: rotate(180deg); }


/* --------------------------------------------------------------------------
   Authors Section
   -------------------------------------------------------------------------- */

.authors {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.author-card {
    background: #fff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.author-photo {
    width: 160px;
    height: 160px;
    min-width: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 4px solid var(--bg-alt);
}

.author-info { flex: 1; }

.author-name {
    font-size: var(--fs-lg);
    color: var(--secondary);
    margin-bottom: 0.375rem;
    font-family: 'Lora', serif;
    font-weight: var(--fw-bold);
}

.author-title {
    font-size: var(--fs-sm);
    color: var(--primary);
    font-weight: var(--fw-semi);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.author-bio {
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
    color: var(--text-body);
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   Transformation Box
   -------------------------------------------------------------------------- */

.transform-box {
    background: #fff;
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

.transform-box p            { font-size: var(--fs-base); margin-bottom: var(--space-md); }
.transform-box p:last-child { margin-bottom: 0; }


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
    background: var(--dark);
    color: var(--bg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    margin-top: var(--space-xl);
}

footer a { color: var(--accent); text-decoration: none; }
footer p { color: rgba(248, 245, 240, 0.75); margin-bottom: 0.625rem; }


/* --------------------------------------------------------------------------
   RODO Cookie Banner
   -------------------------------------------------------------------------- */

.rodo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark);
    color: var(--bg);
    box-shadow: 0 -4px 30px rgba(26, 43, 60, 0.3);
    padding: var(--space-sm) var(--space-md);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rodo-banner.rodo-hidden {
    transform: translateY(110%);
    pointer-events: none;
}

.rodo-inner {
    max-width: 1180px;
    margin: 0 auto;
}

/* Main view */
.rodo-main {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.rodo-text { flex: 1; min-width: 240px; }

.rodo-title {
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.rodo-desc {
    font-size: 0.8125rem;
    color: rgba(248, 245, 240, 0.78);
    margin-bottom: 0;
    line-height: 1.55;
}

.rodo-desc a { color: var(--accent); text-decoration: underline; }

/* Buttons */
.rodo-actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.rodo-btn {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
    line-height: var(--lh-ui);
}

.rodo-btn-primary       { background: var(--primary); color: #fff; }
.rodo-btn-primary:hover { background: var(--primary-dk); }

.rodo-btn-outline {
    background: transparent;
    color: var(--bg);
    border: 1.5px solid rgba(248, 245, 240, 0.4);
}

.rodo-btn-outline:hover {
    border-color: var(--bg);
    background: rgba(255, 255, 255, 0.08);
}

.rodo-btn-ghost {
    background: transparent;
    color: rgba(248, 245, 240, 0.6);
    border: none;
    padding-left: 0;
    padding-right: var(--space-xs);
}

.rodo-btn-ghost:hover { color: var(--accent); }

/* Settings panel */
.rodo-settings-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
}

.rodo-settings-title {
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.rodo-category {
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rodo-category:last-of-type { border-bottom: none; }

.rodo-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.rodo-category-info { flex: 1; }

.rodo-category-name {
    display: block;
    font-weight: var(--fw-semi);
    font-size: var(--fs-sm);
    color: var(--bg);
    margin-bottom: 0.15rem;
}

.rodo-category-desc {
    display: block;
    font-size: var(--fs-xs);
    color: rgba(248, 245, 240, 0.55);
    line-height: 1.45;
}

.rodo-always-on {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semi);
    color: var(--secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Toggle switch */
.rodo-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}

.rodo-toggle input { opacity: 0; width: 0; height: 0; }

.rodo-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    transition: background 0.25s;
}

.rodo-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}

.rodo-toggle input:checked + .rodo-slider             { background: var(--secondary); }
.rodo-toggle input:checked + .rodo-slider::before     { transform: translateX(18px); }
.rodo-toggle input:focus-visible + .rodo-slider       { outline: 2px solid var(--accent); outline-offset: 2px; }

.rodo-settings-actions {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Reopen link in footer */
.rodo-reopen-link {
    background: none;
    border: none;
    color: rgba(248, 245, 240, 0.5);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Manrope', sans-serif;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.rodo-reopen-link:hover { color: var(--accent); }


/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --------------------------------------------------------------------------
   Responsive — Tablet (max-width: 900px)
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .hero-grid    { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hero-right   { order: -1; }
    .stats-grid   { grid-template-columns: repeat(4, 1fr); }
}


/* --------------------------------------------------------------------------
   Responsive — Mobile (max-width: 700px)
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {
    .problem-row          { grid-template-columns: 1fr; gap: var(--space-md); }
    .problem-row.reverse  { direction: ltr; }
    .stats-grid           { grid-template-columns: 1fr 1fr; }
    .section              { padding: var(--space-xxl) var(--space-sm); }
    .hero                 { padding: var(--space-xl) var(--space-sm) var(--space-xxl); }
    .night-scene          { padding: var(--space-md) var(--space-md); }
    .guarantee-box        { padding: var(--space-xl) var(--space-md); }
    .value-table td,
    .value-table th       { padding: 0.75rem 0.875rem; font-size: var(--fs-sm); }
    .pricing-card         { padding: var(--space-md) var(--space-md); }
    .delivery-step        { flex-direction: column; gap: var(--space-sm); }
    .author-card          { flex-direction: column; text-align: center; }
    .author-photo         { width: 130px; height: 130px; min-width: 130px; }
}


/* --------------------------------------------------------------------------
   Responsive — Small Mobile (max-width: 640px)
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .rodo-main    { flex-direction: column; align-items: flex-start; gap: 0.875rem; }
    .rodo-actions { width: 100%; justify-content: flex-end; }
    .rodo-btn-ghost { padding-left: 0; }
}


/* --------------------------------------------------------------------------
   Responsive — Small Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    .topbar { gap: 0.75rem; font-size: var(--fs-sm); }
}
