/* ================================================================
   Baron Bacot — Home Immersive v2
   Cinematic particle hero + transparent floating content sections
   ================================================================ */

/* ─── Canvas: fixed full-screen living background ─── */
.home-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background: #070707;
    pointer-events: none;
}

#homeCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ─── Main wrapper ─── */
.home-main {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.home-main a,
.home-main button,
.home-main .product-card,
.home-main .offer-inner,
.home-main .practice-grid,
.home-main .method-text,
.home-main .access-inner,
.home-main .cinematic-inner {
    pointer-events: auto;
}

/* ─── All sections: base shell ─── */
.home-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════
   SECTION 1 — CINEMATIC HERO
   Full 100vh. ONLY the universe + brand identity.
   Think: opening of a Kubrick film.
══════════════════════════════════════════════════ */
.cinematic-hero {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Red multiply strip — preserved exactly, left side */
.cinematic-hero .red-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: var(--red);
    mix-blend-mode: hard-light;
    z-index: 1;
    pointer-events: none;
}

/* The cinematic layout: 3 zones — top-left tag · center · bottom */
.cinematic-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7rem 4rem 3.5rem;
}

/* Top-left discipline tag */
.cin-tag {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    align-self: flex-start;
}

/* Center: the brand statement — massive, pure */
.cin-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: center;
    gap: 1.5rem;
}

.cin-title {
    font-family: var(--font-body), serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.03em;
    color: var(--white);
    /* Subtle text-glow so it reads over bright particles */
    text-shadow:
        0 0 60px rgba(0, 0, 0, 0.9),
        0 0 120px rgba(0, 0, 0, 0.6),
        0 4px 24px rgba(0, 0, 0, 0.8);
    /* Staggered fade-in via JS */
    opacity: 0;
    transform: translateY(18px);
    animation: cinFade 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1.0s forwards;
}

.cin-subtitle {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    opacity: 0;
    animation: cinFade 1.2s ease-out 1.8s forwards;
}

@keyframes cinFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom row: CTA + scroll indicator */
.cin-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Cinematic CTA — ghost button, understated */
.cin-cta {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-ui), sans-serif;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
    border: 0.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: cinFade 1s ease-out 2.4s forwards;
    backdrop-filter: blur(4px);
}

.cin-cta:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* Scroll indication */
.cin-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    animation: cinFade 1s ease-out 3s forwards;
}

.cin-scroll-line {
    width: 0.5px;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollPulse 2.8s ease-in-out infinite;
}

.cin-scroll-label {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    writing-mode: horizontal-tb;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.95);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.08);
    }
}

/* ══════════════════════════════════════════════════
   SECTION 2 — OFFER (text + product card)
══════════════════════════════════════════════════ */
.offer-section {
    justify-content: center;
    padding: 0 4rem;
}

.offer-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 0;
    gap: 4rem;
}

.offer-text {
    flex: 1;
    max-width: 460px;
}

.offer-card {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* ══════════════════════════════════════════════════
   SECTION 3 — STATEMENT
══════════════════════════════════════════════════ */
.statement-section {
    justify-content: center;
    text-align: center;
}

.statement-section .section-text {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 3.5rem 2.5rem;
    background: rgba(7, 7, 7, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

/* ══════════════════════════════════════════════════
   SECTION 4 — PRACTICE GRID
══════════════════════════════════════════════════ */
.practice-section {
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5rem;
}

.practice-section .practice-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 760px;
    padding: 3rem;
    background: rgba(7, 7, 7, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

/* ══════════════════════════════════════════════════
   SECTION 5 — METHOD
══════════════════════════════════════════════════ */
.method-section {
    justify-content: flex-end;
}

/* Red multiply strip — right side */
.method-section .red-strip.right {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 45%;
    height: 100%;
    background-color: var(--red);
    mix-blend-mode: hard-light;
    z-index: 1;
    pointer-events: none;
}

.method-section .method-text {
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 5rem;
    text-align: right;
}

/* ══════════════════════════════════════════════════
   SECTION 6 — ACCESS / FINAL CTA
══════════════════════════════════════════════════ */
.access-section {
    justify-content: center;
    align-items: center;
    /* Dark red ground — closing moment */
    background: rgba(130, 6, 6, 0.94);
}

.access-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 7rem 2rem;
}

/* ─── Shared eyebrow ─── */
.section-eyebrow {
    display: block;
    font-family: var(--font-ui), sans-serif;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(149, 8, 8, 0.85);
    margin-bottom: 1.25rem;
}

/* ─── Stats row ─── */
.access-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

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

.stat-num {
    font-family: var(--font-body), serif;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-ui), sans-serif;
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.45);
}

.stat-sep {
    width: 0.5px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Access CTA buttons ─── */
.btn-group-access {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-access-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: var(--red);
    text-decoration: none;
    font-family: var(--font-ui), sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    border-radius: 2px;
    border: 0.5px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-access-primary:hover {
    background: transparent;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
}

.btn-access-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-ui), sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    border-radius: 2px;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-access-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ─── Stacking contexts ─── */
footer {
    position: relative;
    z-index: 1;
}

header {
    z-index: 1000;
}

.floating-wa {
    z-index: 1001;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — 900px
══════════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* Cinematic hero — mobile */
    .cinematic-inner {
        padding: 6rem 1.8rem 3rem;
    }

    .cin-title {
        font-size: 2.6rem;
    }

    .cin-bottom {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cin-scroll-hint {
        display: none;
    }

    /* Red strips — horizontal on mobile */
    .cinematic-hero .red-strip,
    .method-section .red-strip.right {
        width: 100%;
        height: 45%;
        top: auto;
        bottom: 0;
        left: 0;
        right: auto;
    }

    /* Offer section */
    .offer-section {
        padding: 0 1.5rem;
    }

    .offer-inner {
        flex-direction: column;
        padding: 4rem 0;
        gap: 3rem;
        text-align: center;
    }

    .offer-text {
        max-width: 100%;
    }

    .offer-card {
        justify-content: center;
    }

    /* Practice */
    .practice-section .practice-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    /* Method */
    .method-section {
        justify-content: center;
    }

    .method-section .method-text {
        text-align: center;
        padding: 4rem 2rem;
        max-width: 100%;
    }

    /* Access stats */
    .access-stats {
        gap: 2rem;
    }

    .stat-sep {
        display: none;
    }
}