/* ==========================================================================
   Born to Shine — landing redesign
   "Grandma-proof" conversion layout: large CTAs, clear hierarchy, soft palette.
   Palette: Sun #FDE047 · Cream #FFFBEB · Charcoal #292524
   Type: Quicksand (display) + Montserrat (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Quicksand:wght@500;600;700&display=swap');

:root {
    --cream: #fffbeb;
    --cream-deep: #fef3c7;
    --cream-edge: #fde68a;
    --sun: #fde047;
    --sun-hover: #facc15;
    --sun-glow: rgba(253, 224, 71, 0.55);
    --charcoal: #292524;
    --charcoal-soft: #57534e;
    --white: #ffffff;
    --shadow-soft: 0 12px 40px rgba(41, 37, 36, 0.08);
    --shadow-card: 0 18px 36px rgba(41, 37, 36, 0.10);
    --radius-lg: 24px;
    --radius-btn: 999px;
    --font-display: 'Quicksand', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.landing-body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container-narrow {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ----- Navigation ----- */
.nav-landing {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 251, 235, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(250, 204, 21, 0.25);
    padding: 0.85rem 0;
}

.nav-landing .container-narrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-landing__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.brand-star {
    color: var(--sun-hover);
    flex: none;
}

.nav-landing__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-landing__toggle span {
    width: 26px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
}

.nav-landing__links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-landing__links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-landing__links a:hover,
.nav-landing__links a.active {
    color: var(--charcoal);
}

@media (max-width: 768px) {
    .nav-landing__toggle {
        display: flex;
    }

    .nav-landing__links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(280px, 86vw);
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 1.25rem;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .nav-landing__links.open {
        transform: translateX(0);
    }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero-landing {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
    background:
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(253, 224, 71, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(254, 243, 199, 0.7), transparent 70%),
        var(--cream);
}

.twinkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 14px rgba(253, 224, 71, 0.95);
    opacity: 0;
    animation: twinkle 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.twinkle--1 { top: 14%; left: 6%;  animation-delay: 0.0s; width: 8px;  height: 8px; }
.twinkle--2 { top: 22%; right: 8%; animation-delay: 1.1s; }
.twinkle--3 { bottom: 28%; left: 14%; animation-delay: 2.2s; width: 6px; height: 6px; }
.twinkle--4 { bottom: 18%; right: 18%; animation-delay: 0.6s; }
.twinkle--5 { top: 56%; left: 48%; animation-delay: 1.7s; width: 6px; height: 6px; }
.twinkle--6 { top: 8%; left: 42%; animation-delay: 2.8s; width: 5px; height: 5px; }

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50%      { opacity: 1; transform: scale(1); }
}

.hero-landing__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-landing__grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 3.5rem;
    }
}

.hero-landing__copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 1rem;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.hero-landing__copy .hero-sub {
    font-size: clamp(1.05rem, 2.2vw, 1.18rem);
    color: var(--charcoal-soft);
    margin: 0 0 1.75rem;
    max-width: 38rem;
    line-height: 1.6;
}

.hero-landing__cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 540px) {
    .hero-landing__cta-row {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Secondary CTA reads as a button (not just faint underlined text) */
.hero-landing__cta-row > .link-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.55rem 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--charcoal);
    text-decoration: none;
    border-radius: var(--radius-btn);
    border: 2px solid rgba(41, 37, 36, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 18px rgba(41, 37, 36, 0.12);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hero-landing__cta-row > .link-secondary:hover,
.hero-landing__cta-row > .link-secondary:focus-visible {
    transform: translateY(-2px);
    color: var(--charcoal);
    border-color: rgba(250, 204, 21, 0.85);
    background: linear-gradient(180deg, #fffef7 0%, #fef3c7 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 8px 26px rgba(250, 204, 21, 0.45);
    outline: none;
}

.hero-landing__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    color: var(--charcoal-soft);
    font-weight: 500;
    font-size: 0.98rem;
}

.hero-landing__bullets li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bullet-star {
    width: 18px;
    height: 18px;
    color: var(--sun-hover);
    flex: none;
}

/* Hero visual — book cover floating on cream stage with hand-drawn stars */
.hero-landing__visual {
    display: flex;
    justify-content: center;
}

.hero-stage {
    position: relative;
    width: min(440px, 100%);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(253, 224, 71, 0.55), rgba(254, 243, 199, 0) 65%);
    filter: blur(10px);
    z-index: 0;
}

.hero-stage__cover {
    position: relative;
    z-index: 2;
    width: 78%;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 24px 50px rgba(41, 37, 36, 0.18),
        0 6px 14px rgba(41, 37, 36, 0.08);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.hero-stage:hover .hero-stage__cover {
    transform: rotate(-1deg) translateY(-4px);
}

.hero-stage__star {
    position: absolute;
    color: var(--sun);
    filter: drop-shadow(0 4px 10px rgba(250, 204, 21, 0.45));
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.hero-stage__star--lg {
    width: 60px;
    height: 60px;
    top: 4%;
    right: 6%;
    animation-delay: 0.2s;
}

.hero-stage__star--md {
    width: 38px;
    height: 38px;
    bottom: 12%;
    left: 4%;
    animation-delay: 1.6s;
    color: var(--sun-hover);
}

.hero-stage__star--sm {
    width: 24px;
    height: 24px;
    top: 38%;
    right: 0;
    animation-delay: 3.0s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-8px) rotate(3deg); }
}

/* ----- Buttons ----- */
.btn-sun {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    padding: 0 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--charcoal);
    background: var(--sun);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--sun-glow);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-sun:hover,
.btn-sun:focus-visible {
    background: var(--sun-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(250, 204, 21, 0.55);
    outline: none;
}

.btn-sun--lg {
    min-height: 64px;
    padding: 0 2.4rem;
    font-size: 1.15rem;
}

.link-secondary {
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--charcoal-soft);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(250, 204, 21, 0.7);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0.25rem 0;
}

.link-secondary:hover {
    color: var(--charcoal);
    text-decoration-color: var(--sun-hover);
}

/* ----- Hand-drawn star divider ----- */
.star-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    padding: 1.75rem 0;
    color: var(--sun-hover);
    opacity: 0.85;
}

.star-divider svg {
    width: 14px;
    height: 14px;
}

.star-divider svg:nth-child(1) { width: 12px; height: 12px; opacity: 0.7; }
.star-divider svg:nth-child(2) { width: 18px; height: 18px; }
.star-divider svg:nth-child(3) { width: 12px; height: 12px; opacity: 0.7; }

/* ==========================================================================
   2. PREVIEW
   ========================================================================== */
.section-preview {
    padding: clamp(2rem, 6vw, 3.5rem) 0;
    background: linear-gradient(180deg, var(--cream) 0%, #fffefa 50%, var(--cream) 100%);
}

.section-preview__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.section-preview__header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.section-preview__header p {
    margin: 0;
    color: var(--charcoal-soft);
    font-size: 1.05rem;
}

.preview-frame {
    position: relative;
}

/* ---- Inline flipbook stage — light, isolated on the page (no dark wrapper) ---- */
.flipbook-stage {
    position: relative;
    width: 100%;
    max-width: min(1100px, 100%);
    margin: 0 auto;
    background: transparent;
}

/* turn.js needs a normal block parent — `display: flex` here was breaking
   the absolute-positioned page layout, which is why pages were stacking.
   Reserve space ahead of mount so the page doesn't jump when the flipbook
   appears (the JS sizes itself to the same envelope). */
.flipbook-stage__shell {
    width: 100%;
    min-height: clamp(280px, 42vw, 600px);
    padding: clamp(1rem, 3vw, 2rem) 0;
    background: transparent;
    text-align: center;
    line-height: 0;
}

.flipbook-stage__shell .flipbook-turn {
    margin: 0 auto;
    line-height: normal;
    /* JS sets explicit width/height inline — these CSS guards stop layout
       from collapsing if the JS hasn't run yet (no FOUC stack of pages). */
    max-width: 100%;
}

/* Fallback layout — if turn.js fails to initialize (extreme edge case),
   flipbook-inline.js's auto-retry tearer puts pages back into vertical flow.
   Make that legible: cap each page at viewport width and add a soft border. */
.flipbook-turn .page.pdf-page canvas {
    max-width: 100%;
    height: auto;
}

/* Soft drop-shadow on each rendered page — Heyzine-like depth on the
   light cream backdrop. (Applying drop-shadow to the turn.js root caused
   layout issues in some browsers.) */
.flipbook-stage__shell .flipbook-turn .page.pdf-page,
.flipbook-stage__shell .flipbook-turn .page.back-cover {
    box-shadow: 0 14px 28px rgba(41, 37, 36, 0.16),
                0 4px 8px rgba(41, 37, 36, 0.08);
}

/* ---- Synthetic back cover (final flipbook page → IG follow CTA) ---- */
.flipbook-turn .page.back-cover {
    background: linear-gradient(160deg, var(--cream) 0%, #fff7d6 55%, #ffe9b6 100%);
    overflow: hidden;
    position: relative;
}
.flipbook-turn .page.back-cover::before,
.flipbook-turn .page.back-cover::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.55;
}
.flipbook-turn .page.back-cover::before {
    width: 220px; height: 220px;
    top: -80px; right: -80px;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.55), transparent 70%);
}
.flipbook-turn .page.back-cover::after {
    width: 180px; height: 180px;
    bottom: -60px; left: -60px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.35), transparent 70%);
}
.back-cover__link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 1.4vw, 0.85rem);
    text-decoration: none;
    color: var(--charcoal);
    text-align: center;
    padding: clamp(1rem, 5%, 2.25rem);
    font-family: var(--font-body);
}
.back-cover__link:hover .back-cover__icon {
    transform: scale(1.06) rotate(-2deg);
}
.back-cover__link:hover .back-cover__cta {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(244, 114, 182, 0.32);
}
.back-cover__eyebrow {
    font-size: clamp(0.7rem, 1.4vw, 0.82rem);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--charcoal-soft);
    font-weight: 600;
}
.back-cover__title {
    font-family: var(--font-heading, var(--font-body));
    font-size: clamp(1.2rem, 3.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: var(--charcoal);
}
.back-cover__icon {
    width: clamp(72px, 22%, 130px);
    height: auto;
    border-radius: 22%;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.28);
    transition: transform 0.25s ease;
}
.back-cover__handle {
    font-weight: 700;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #c13584; /* IG magenta */
    letter-spacing: 0.01em;
}
.back-cover__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: #fff;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(225, 48, 108, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    margin-top: 0.25rem;
}
.back-cover__fineprint {
    font-size: clamp(0.72rem, 1.5vw, 0.85rem);
    color: var(--charcoal-soft);
    max-width: 80%;
    line-height: 1.4;
}

/* Make the structural .hard cover invisible. heyzine-flipbook.css paints all
   .hard pages with a slate gradient — we override here so the actual book
   cover (PDF page 1) is the visible front of the book. */
.flipbook-turn .hard.flip-cover-blank {
    background: var(--cream) !important;
    background-image: none !important;
    color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Overlay shown until email gate passed */
.flipbook-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    cursor: pointer;
    border: none;
    color: var(--charcoal);
    background:
        radial-gradient(circle at 50% 35%, rgba(253, 224, 71, 0.85), rgba(254, 243, 199, 0.95) 55%, rgba(255, 251, 235, 0.98) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    font-family: var(--font-body);
    text-align: center;
    z-index: 5;
}

.flipbook-overlay:hover {
    background:
        radial-gradient(circle at 50% 35%, rgba(253, 224, 71, 0.95), rgba(254, 243, 199, 1) 55%, rgba(255, 251, 235, 1) 100%);
}

.flipbook-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
}

.flipbook-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: 22rem;
}

.flipbook-overlay__star {
    width: 56px;
    height: 56px;
    color: var(--sun-hover);
    filter: drop-shadow(0 6px 18px rgba(250, 204, 21, 0.55));
    animation: float 4s ease-in-out infinite;
}

.flipbook-overlay__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--charcoal);
}

.flipbook-overlay__sub {
    font-size: 1rem;
    color: var(--charcoal-soft);
    line-height: 1.5;
}

.flipbook-overlay__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.75rem;
    min-height: 56px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    background: var(--charcoal);
    color: var(--cream);
    border-radius: var(--radius-btn);
    box-shadow: 0 6px 22px rgba(41, 37, 36, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flipbook-overlay:hover .flipbook-overlay__cta,
.flipbook-overlay:focus-visible .flipbook-overlay__cta {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(41, 37, 36, 0.35);
}

/* ---- Flip toolbar shown after stage 1 ---- */
.flipbook-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto 0;
    flex-wrap: wrap;
    font-weight: 600;
}

.flipbook-toolbar button {
    min-height: 44px;
    padding: 0 1.1rem;
    background: var(--white);
    color: var(--charcoal);
    border: 2px solid rgba(41, 37, 36, 0.12);
    border-radius: var(--radius-btn);
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.flipbook-toolbar button:hover:not([disabled]) {
    border-color: var(--sun-hover);
    transform: translateY(-1px);
}

.flipbook-toolbar button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.flipbook-toolbar #flipPageLabel {
    font-size: 0.92rem;
    color: var(--charcoal-soft);
    font-weight: 500;
}

/* "Click to turn the page" hint — hand-drawn arrow + tap icon */
.preview-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.25rem auto 0;
    padding: 0.85rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-btn);
    border: 2px dashed rgba(250, 204, 21, 0.55);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--charcoal);
    box-shadow: 0 4px 16px rgba(41, 37, 36, 0.06);
    text-align: center;
}

/* Outer wrapper so the inline-flex pill centers within the section */
.preview-frame {
    text-align: center;
}

.preview-hint__arrow {
    width: 42px;
    height: 32px;
    color: var(--sun-hover);
    transform: scaleX(-1);
    flex: none;
}

.preview-hint__icon {
    display: inline-flex;
    align-items: center;
    color: var(--charcoal);
    flex: none;
}

.preview-hint__label {
    flex: none;
}

@media (max-width: 480px) {
    .preview-hint {
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .preview-hint__arrow { width: 32px; height: 24px; }
}

/* ==========================================================================
   3. LEAD PIVOT
   ========================================================================== */
.section-lead {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: var(--cream-deep);
}

.landing-lead {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.landing-lead__quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-style: italic;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
    margin: 0 0 2rem;
    padding: 0 0.5rem;
    position: relative;
}

.quote-mark {
    color: var(--sun-hover);
    font-style: normal;
    font-size: 1.4em;
    line-height: 0.5;
    vertical-align: -0.25em;
    margin: 0 0.1em;
    font-weight: 700;
}

.landing-lead h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.landing-lead .lead-offer {
    color: var(--charcoal-soft);
    margin: 0 0 1.75rem;
    font-size: 1.08rem;
}

.lead-form-inline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 540px) {
    .lead-form-inline {
        flex-direction: row;
        align-items: stretch;
        max-width: 560px;
        margin: 0 auto;
    }

    .lead-form-inline input[type='email'] {
        flex: 1;
    }
}

.lead-form-inline input[type='email'] {
    min-height: 56px;
    padding: 0 1.25rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid rgba(41, 37, 36, 0.15);
    border-radius: 14px;
    background: var(--white);
    color: var(--charcoal);
}

.lead-form-inline input:focus {
    outline: none;
    border-color: var(--sun-hover);
    box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.35);
}

#leadMagnetMessage {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5em;
}

#leadMagnetMessage.success {
    color: #15803d;
}

#leadMagnetMessage.error {
    color: #b91c1c;
}

.lead-fineprint {
    margin: 0.75rem 0 0;
    color: var(--charcoal-soft);
    font-size: 0.88rem;
    opacity: 0.75;
}

/* ==========================================================================
   VALUE BLURB
   ========================================================================== */
.section-value {
    padding: 2.5rem 0;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--sun);
    max-width: 720px;
    margin: 0 auto;
}

.value-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--charcoal-soft);
    line-height: 1.7;
}

.value-card strong {
    color: var(--charcoal);
}

.pull-quote-secondary {
    margin: 1.5rem 0 0 !important;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(41, 37, 36, 0.08);
    font-style: italic;
    font-size: 1.08rem !important;
    color: var(--charcoal) !important;
    text-align: center;
    font-family: var(--font-display);
}

/* ==========================================================================
   4. BUNDLES
   ========================================================================== */
.section-bundles {
    padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
}

.section-bundles h2 {
    font-family: var(--font-display);
    text-align: center;
    font-size: clamp(1.85rem, 4vw, 2.3rem);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.section-bundles__sub {
    text-align: center;
    color: var(--charcoal-soft);
    margin: 0 auto 2.5rem;
    max-width: 540px;
}

.bundle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

@media (min-width: 720px) {
    .bundle-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.bundle-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem 1.75rem;
    box-shadow: var(--shadow-card);
    border: 2px solid rgba(254, 243, 199, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bundle-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 224, 71, 0.9);
    box-shadow: 0 22px 44px rgba(41, 37, 36, 0.14);
}

.bundle-card--featured {
    border-color: var(--sun);
    background: linear-gradient(180deg, #fffef5 0%, var(--white) 100%);
}

.bundle-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sun);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-btn);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px var(--sun-glow);
    white-space: nowrap;
}

.bundle-card__stack {
    position: relative;
    width: 130px;
    height: 170px;
    margin: 0 auto 1.25rem;
}

.bundle-card__stack img {
    position: absolute;
    width: 100px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.bundle-card__stack--1 img { left: 50%; top: 0; transform: translateX(-50%); }

.bundle-card__stack--2 img:nth-child(1) {
    left: 18%; top: 10px; transform: rotate(-7deg);
}
.bundle-card__stack--2 img:nth-child(2) {
    right: 18%; top: 0; transform: rotate(5deg);
}

.bundle-card__stack--3 img:nth-child(1) {
    left: 8%; top: 14px; transform: rotate(-9deg);
}
.bundle-card__stack--3 img:nth-child(2) {
    left: 50%; top: 0; transform: translateX(-50%) rotate(0deg);
}
.bundle-card__stack--3 img:nth-child(3) {
    right: 8%; top: 14px; transform: rotate(9deg);
}

.bundle-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.bundle-card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--charcoal-soft);
    flex: 1;
}

.bundle-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem !important;
    color: var(--charcoal) !important;
    margin: 0 0 1rem !important;
    flex: none !important;
}

.bundle-card .btn-sun {
    width: 100%;
    max-width: 240px;
    font-size: 0.98rem;
    min-height: 50px;
}

/* ==========================================================================
   5. TRUST
   ========================================================================== */
.trust-strip {
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid rgba(41, 37, 36, 0.08);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .trust-strip__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-item__icon {
    width: 36px;
    height: 36px;
    color: var(--sun-hover);
    margin-bottom: 0.35rem;
}

.trust-item strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.trust-item span {
    font-size: 0.92rem;
    color: var(--charcoal-soft);
    max-width: 22ch;
}

/* ==========================================================================
   6. FINAL CTA
   ========================================================================== */
.section-final-cta {
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    margin: 0 0 1.5rem;
}

.final-cta p {
    margin: 1.25rem 0 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-landing {
    padding: 2.5rem 0;
    background: var(--charcoal);
    color: #e7e5e4;
}

.footer-landing a {
    color: var(--sun);
    text-decoration: none;
}

.footer-landing a:hover {
    text-decoration: underline;
}

.footer-landing__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .footer-landing__grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.mobile-bar-landing {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(255, 251, 235, 0.98) 30%);
    display: flex;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-bar-landing.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
}

.mobile-bar-landing .btn-sun {
    width: 100%;
    max-width: 420px;
    min-height: 54px;
}

@media (min-width: 900px) {
    .mobile-bar-landing {
        display: none;
    }
}

body.landing-body {
    padding-bottom: 5rem;
}

@media (min-width: 900px) {
    body.landing-body {
        padding-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twinkle,
    .hero-stage__star,
    .hero-stage__cover,
    .flipbook-overlay__star {
        animation: none;
        transition: none;
    }
}

/* ==========================================================================
   MODALS — email gate & full-info gate
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(41, 37, 36, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.modal-locked {
    overflow: hidden;
}

.modal-card {
    position: relative;
    width: min(440px, 100%);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem 1.75rem;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal-backdrop.is-open .modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-card__star {
    width: 44px;
    height: 44px;
    color: var(--sun-hover);
    margin: 0 auto 0.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.45));
}

.modal-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0 0 0.5rem;
    color: var(--charcoal);
}

.modal-card > p {
    margin: 0 0 1.25rem;
    color: var(--charcoal-soft);
    font-size: 0.98rem;
    line-height: 1.5;
}

.modal-card form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.modal-card form label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--charcoal-soft);
    margin-top: 0.25rem;
}

.modal-card form input {
    min-height: 52px;
    padding: 0 1.1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid rgba(41, 37, 36, 0.15);
    border-radius: 14px;
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-card form input:focus,
.modal-card form select:focus {
    outline: none;
    border-color: var(--sun-hover);
    box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.35);
}

/* Country-code select + phone input row in stage-2 lead modal. */
.modal-card form .phone-row {
    display: grid;
    grid-template-columns: minmax(110px, 130px) 1fr;
    gap: 0.5rem;
}
.modal-card form .phone-row select {
    min-height: 52px;
    padding: 0 0.75rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid rgba(41, 37, 36, 0.15);
    border-radius: 14px;
    background: var(--white);
    color: var(--charcoal);
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--charcoal-soft) 50%),
        linear-gradient(135deg, var(--charcoal-soft) 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modal-card form .phone-row input { width: 100%; }

.modal-card form button[type='submit'] {
    margin-top: 0.6rem;
    width: 100%;
}

.modal-card .modal-fineprint {
    margin: 1rem 0 0;
    color: var(--charcoal-soft);
    font-size: 0.82rem;
    opacity: 0.75;
}

.modal-card .form-error {
    margin: 0.5rem 0 0;
    color: #b91c1c;
    font-size: 0.92rem;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--charcoal-soft);
    transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
    background: rgba(41, 37, 36, 0.08);
    color: var(--charcoal);
}

/* Language Switcher
   ========================================================================== */

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
    color: var(--charcoal);
    border: 2px solid var(--sun);
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 224, 71, 0.3);
    position: relative;
    overflow: hidden;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 224, 71, 0.5);
    background: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);
}

.lang-toggle:active {
    transform: translateY(0);
}

.lang-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.lang-toggle:hover::before {
    left: 100%;
}

/* Language Slider Animation (transition effect) */
.language-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(253, 224, 71, 0.6) 0%, rgba(250, 204, 21, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 9998;
    transform: translateX(-100%);
}

.language-slider.animate {
    animation: languageSlide 1.5s ease-out forwards;
}

@keyframes languageSlide {
    0% {
        transform: translateX(-100%);
    }
    50% {
        background: linear-gradient(90deg, transparent 0%, rgba(250, 204, 21, 0.6) 50%, rgba(253, 224, 71, 0.3) 100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Star Twinkle Animation */
.language-star {
    position: fixed;
    font-size: 2.5rem;
    z-index: 9997;
    pointer-events: none;
    opacity: 0;
}

.language-star.twinkle-star {
    animation: starTwinkle 2.5s ease-in-out forwards;
}

@keyframes starTwinkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    25% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    75% {
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(720deg) translateY(-100px);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .lang-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .nav-landing__links {
        /* Add space for toggle button in mobile menu */
        padding-bottom: 1rem;
    }
}
