/* ==========================================================================
   NUDGE BRAND DESIGN SYSTEM & TOKENS
   ========================================================================== */
:root {
    /* Color Palette */
    --color-navy-dark: #0D1B3E;
    --color-navy-medium: #13244F;
    --color-navy-light: #1E336B;
    --color-gold: #FF6B35;
    --color-gold-hover: #FF8A5B;
    --color-cream-light: #FAF7F2;
    --color-cream-medium: #EDE6DA;
    --color-white: #FFFFFF;
    --color-text-white-70: rgba(255, 255, 255, 0.7);
    --color-text-white-50: rgba(255, 255, 255, 0.5);
    --color-text-dark: #1A1208;
    --color-accent-green: #34C759;
    
    /* Typography */
    --font-display: 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-navy-dark);
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: transparent;
    color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   FIXED BACKGROUND SYSTEM (GHOST FADE)
   ========================================================================== */
#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -4;
    /* Deeper, flat navy so vivid orbs pop hard */
    background: #090f26;
    pointer-events: none;
}

/* ---- Cursor-reactive glow ---- */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: radial-gradient(
        700px circle at var(--cx, 50%) var(--cy, 50%),
        rgba(255, 80, 40, 0.38) 0%,
        rgba(255, 100, 50, 0.22) 25%,
        rgba(220, 60, 30, 0.10) 50%,
        transparent 72%
    );
    will-change: background;
}

#cursor-glow.glow-active {
    opacity: 1;
}

/* ---- Ambient floating orbs ---- */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -3;
    will-change: transform, opacity;
}

/* ─────────────────────────────────────────────────────────────────────
   HERO ORB — vivid coral/orange-red bloom at bottom-center
   Like the reference: a sun rising from the bottom of a deep blue sky
   ───────────────────────────────────────────────────────────────────── */
.orb-1 {
    width: 700px;
    height: 700px;
    /* Tight inner core (opaque coral) bleeds outward to transparent */
    background: radial-gradient(
        circle,
        rgba(255, 70,  30,  0.90) 0%,
        rgba(255, 90,  40,  0.72) 18%,
        rgba(255, 110, 60,  0.48) 36%,
        rgba(230, 80,  50,  0.22) 58%,
        rgba(200, 60,  40,  0.06) 78%,
        transparent 100%
    );
    filter: blur(55px);
    /* Bottom-center — rises like a sun from the baseline */
    bottom: -260px;
    left: 50%;
    transform: translateX(-50%);
    animation: orb-rise 20s ease-in-out infinite alternate;
}

/* ─────────────────────────────────────────────────────────────────────
   ACCENT ORB — rose/purple at top-left for depth & colour contrast
   ───────────────────────────────────────────────────────────────────── */
.orb-2 {
    width: 560px;
    height: 560px;
    background: radial-gradient(
        circle,
        rgba(180, 50,  110, 0.55) 0%,
        rgba(150, 40,  90,  0.32) 40%,
        rgba(100, 20,  60,  0.12) 68%,
        transparent 100%
    );
    filter: blur(70px);
    top: -140px;
    left: -140px;
    animation: orb-drift-2 26s ease-in-out infinite alternate;
}

/* ─────────────────────────────────────────────────────────────────────
   HIGHLIGHT ORB — smaller warm gold above the hero orb for a corona
   ───────────────────────────────────────────────────────────────────── */
.orb-3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(
        circle,
        rgba(255, 160, 60,  0.55) 0%,
        rgba(255, 130, 50,  0.28) 45%,
        rgba(255, 100, 40,  0.08) 72%,
        transparent 100%
    );
    filter: blur(40px);
    /* Sits just above the hero orb — creates a bright corona effect */
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    animation: orb-corona 14s ease-in-out infinite alternate;
}

/* ─── Keyframes ─── */

/* Hero orb: breathes and sways gently left-right */
@keyframes orb-rise {
    0%   { transform: translateX(-50%) translateY(0px)   scale(1);    }
    20%  { transform: translateX(-46%) translateY(-30px) scale(1.06); }
    40%  { transform: translateX(-52%) translateY(-15px) scale(0.97); }
    60%  { transform: translateX(-48%) translateY(-45px) scale(1.10); }
    80%  { transform: translateX(-54%) translateY(-20px) scale(1.03); }
    100% { transform: translateX(-50%) translateY(-55px) scale(1.08); }
}

/* Accent orb drifts diagonally */
@keyframes orb-drift-2 {
    0%   { transform: translate(0px,   0px)    scale(1);    }
    33%  { transform: translate(80px,  60px)   scale(1.08); }
    66%  { transform: translate(40px,  130px)  scale(0.93); }
    100% { transform: translate(110px, 80px)   scale(1.05); }
}

/* Corona orb pulses in brightness */
@keyframes orb-corona {
    0%   { transform: translateX(-50%) scale(1);    opacity: 0.9; }
    30%  { transform: translateX(-48%) scale(1.20); opacity: 1;   }
    60%  { transform: translateX(-52%) scale(0.88); opacity: 0.7; }
    100% { transform: translateX(-50%) scale(1.15); opacity: 1;   }
}

/* When cream layer is visible (light sections), hide the orbs gracefully */
#cream-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: linear-gradient(135deg, var(--color-cream-light), var(--color-cream-medium), var(--color-cream-light));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-white-70);
}

.highlight-serif {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-gold);
    font-weight: 600;
}

/* ==========================================================================
   COMMON COMPONENTS & BUTTONS
   ========================================================================== */
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy-dark);
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
}

.btn-ghost-dark {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost-dark:hover {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-white);
    border-color: var(--color-white);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 6%;
    backdrop-filter: blur(15px);
    background: rgba(13, 27, 62, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Hidden by default in hero section */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: all 0.4s ease;
}

.navbar.navbar-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Specific styling for elements in the header */
.navbar .logo-img {
    height: 44px; /* Restored to original size */
}

.navbar .early-access-trigger {
    padding: 8px 18px; /* Reduced to match smaller navbar height */
    font-size: 13px; /* Reduced from 13.5px */
}

/* ==========================================================================
   1. HERO SECTION — MARQUEE ROWS + FROSTED GLASS ISLAND
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

/* ---- Marquee Background Container ---- */
.hero-marquee-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0;
    overflow: hidden;
    /* Vertical fade: top and bottom edges fade to navy, middle rows more visible */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.6) 10%,
        rgba(0,0,0,0.85) 30%,
        rgba(0,0,0,0.85) 70%,
        rgba(0,0,0,0.6) 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.6) 10%,
        rgba(0,0,0,0.85) 30%,
        rgba(0,0,0,0.85) 70%,
        rgba(0,0,0,0.6) 90%,
        transparent 100%
    );
    z-index: 1;
}

/* ---- Each Marquee Row ---- */
.marquee-row {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    /* Horizontal edge fade on each row */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,1) 8%,
        rgba(0,0,0,1) 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,1) 8%,
        rgba(0,0,0,1) 92%,
        transparent 100%
    );
}

/* The moving track — holds two copies of the cards for seamless loop */
.marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 8px 0;
}

/* ---- Direction Modifiers ---- */
.marquee-row--ltr .marquee-track {
    animation: marquee-ltr var(--marquee-duration, 35s) linear infinite;
}
.marquee-row--rtl .marquee-track {
    animation: marquee-rtl var(--marquee-duration, 35s) linear infinite;
}

/* ---- Speed Modifiers ---- */
.marquee-speed-slow  { --marquee-duration: 50s; }
.marquee-speed-medium { --marquee-duration: 35s; }
.marquee-speed-fast  { --marquee-duration: 22s; }

/* ---- Keyframes ---- */
@keyframes marquee-ltr {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* -50% because track is 2x duplicated */
}
@keyframes marquee-rtl {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Pause on hover to reinforce the "overwhelming" metaphor — user tries to stop the chaos */
.hero-marquee-bg:hover .marquee-track {
    animation-play-state: paused;
}

/* ---- Product Card Mini ---- */
.product-card-mini {
    flex-shrink: 0;
    width: 120px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    user-select: none;
}

.product-card-mini:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.product-card-mini img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(0.9);
}

.product-card-mini span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    letter-spacing: 0.3px;
}

/* ---- Hero Text Island (Frosted Glass Center) ---- */
.hero-text-island {
    position: relative;
    z-index: 10;
    /* Dark frosted glass panel */
    background: rgba(8, 15, 38, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 52px 56px 48px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(13, 27, 62, 0.9);
    max-width: 620px;
    width: 90%;
    text-align: center;
    /* Entrance animation */
    animation: island-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes island-appear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Eyebrow Label above headline ---- */
.hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gold);
    margin-bottom: 16px;
    opacity: 0.85;
}

/* ---- Hero Content (inside island) ---- */
.hero-content {
    max-width: 100%;
    position: relative;
}

.hero-title {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.08;
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 17px;
    margin-bottom: 36px;
    max-width: 440px;
    color: var(--color-text-white-70);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.justify-center { display: flex; justify-content: center; width: 100%; }



/* ==========================================================================
   2. MOCK-UP CYCLE SECTION
   ========================================================================== */
.mockup-section {
    position: relative;
    width: 100%;
    padding: 120px 8% 120px;
    background-color: transparent;
    z-index: 20;
    overflow: hidden;
}

.mockup-section .section-title {
    color: var(--color-text-dark);
}

.mockup-section .section-subtitle {
    color: rgba(26, 18, 8, 0.7);
}

.mockup-section .step-heading {
    color: var(--color-text-dark);
}

.mockup-section .step-text {
    color: rgba(26, 18, 8, 0.65);
}

/* conclusion badge override for light background */
.mockup-section .steps-conclusion {
    background: rgba(26, 18, 8, 0.04);
    border-color: rgba(26, 18, 8, 0.08);
}

.mockup-section .conclusion-text {
    color: rgba(26, 18, 8, 0.75);
}

.mockup-section .steps-conclusion:hover {
    background: rgba(26, 18, 8, 0.07);
    border-color: rgba(255, 107, 53, 0.4);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-white-70);
    margin-bottom: 48px;
    max-width: 500px;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-item {
    display: flex;
    gap: 24px;
    opacity: 0.4;
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer;
}

.step-item.active {
    opacity: 1;
    transform: translateX(10px);
}

.step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.step-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-white);
}

.step-text {
    font-size: 14px;
    color: var(--color-text-white-70);
    max-width: 380px;
}

/* Mockup steps conclusion note */
.steps-conclusion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.steps-conclusion:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.08);
}

.steps-conclusion.coral-banner {
    background: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.steps-conclusion.coral-banner:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.steps-conclusion.coral-banner .conclusion-text {
    color: #000000;
}

.steps-conclusion.coral-banner .bold-white {
    color: #ffffff;
    font-weight: 800;
}

.conclusion-icon {
    font-size: 14px;
    animation: sparkle-float 2s infinite ease-in-out;
}

.conclusion-text {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-white-70);
    letter-spacing: 0.3px;
}

.conclusion-text .highlight-serif {
    font-size: 16px;
    margin-left: 2px;
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.15);
    }
}

/* Phone Mockup Rendering (Mock-up section) */
.phone-mockup-frame {
    position: relative;
    width: 310px;
    height: 600px;
    border-radius: 40px;
    border: 12px solid #1C1C1E;
    background: #F2EFE9;
    margin: -60px auto;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transform-origin: center;
}

.phone-screen {
    position: absolute;
    inset: 0;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
}

.phone-screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.screen-title {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    color: #1A1208;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-pill {
    background: #ffffff;
    border: 1px solid #E8E0D0;
    padding: 16px 20px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    transition: all 0.3s ease;
    color: #1A1208;
}

.category-pill.active {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.screen-footer {
    font-size: 12px;
    color: #8A8070;
    text-align: center;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-question-box {
    background: #ffffff;
    border: 1px solid #E8E0D0;
    border-radius: 24px;
    padding: 24px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.q-number {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
}

.q-text {
    font-size: 22px;
    font-weight: 700;
    color: #1A1208;
}

.q-actions {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #8A8070;
}

.product-match-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    color: var(--color-text-dark);
    text-align: center;
    border: 1px solid #E8E0D0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-badge {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.match-image-box {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: #F5F2EA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    margin-bottom: 24px;
}

.match-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--color-text-dark);
}

.match-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(26, 18, 8, 0.6);
}

/* ==========================================================================
   3. STICKY FEATURES ACCORDION SCROLL SECTION — RANGERS STATIC BG IMAGE
   ========================================================================== */
.features-scroll-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
}

/* ── Static mesh gradient image ── */
/* The generated PNG is used as a full-bleed background.                    */
/* background-size: cover ensures it always fills 100% page width.          */
.rangers-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../assets/rangers_mesh_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Smooth vertical mask to blend the top & bottom edges with the fixed background (ghost fade) */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

/* ── Grain overlay (CSS pseudo-element, no SVG filter needed) ── */
/* Adds the physical noise texture on top of the image.                     */
.rangers-mesh-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* SVG inline noise — renders as grain without any extra files           */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.20'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* ── All content sits above the image ── */
.features-header,
.accordion-container {
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 10px;
    width: 100%;
}

.features-header .section-title {
    font-size: 46px;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.features-header .section-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}

.accordion-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 24px;
}

/* ── Frosted glass panel behind the text column ── */
.accordion-left-scroll {
    width: 50%;
    padding: 40px 36px 40vh;
    background: rgba(4, 8, 35, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0 20px 20px 0;
}
.accordion-right-sticky {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sticky-visual-wrapper {
    position: relative;
    width: 320px;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transform-origin: center;
}

/* Scrolling Text Blocks */
.feature-block {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.25;
    transition: opacity 0.5s ease;
    max-width: 440px;
    margin-left: auto;
}

.feature-block.active {
    opacity: 1;
}

.feature-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--color-white);
}

.feature-desc {
    font-size: 16px;
    color: var(--color-text-white-70);
    max-width: 440px;
    margin-bottom: 30px;
}

.interactive-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
}

/* Feature Sticky Visual panels */
.feature-visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.9) translateY(40px);
    width: 100%;
    height: 100%;
}

.feature-visual.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

/* --- Visual 1: Nudge 3 Swipe Cards Stack --- */
.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    border: 10px solid #233152;
    background: #0B101D;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 40px;
}

.swipe-deck {
    position: relative;
    width: 270px;
    height: 380px;
    margin: 0 auto 20px;
}

.swipe-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 16px;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: center bottom;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.card-3 { transform: scale(0.9) translateY(24px); z-index: 1; opacity: 0.5; }
.card-2 { transform: scale(0.95) translateY(12px); z-index: 2; opacity: 0.8; }
.card-1 { transform: scale(1) translateY(0); z-index: 3; }

/* Hide background card contents to prevent them from showing in the stack overlap */
.swipe-card .card-step,
.swipe-card .card-question,
.swipe-card .card-options {
    transition: opacity 0.3s ease;
}
.swipe-card.background-card .card-step,
.swipe-card.background-card .card-question,
.swipe-card.background-card .card-options {
    opacity: 0 !important;
    pointer-events: none;
}

.card-match-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
}

.card-img-container {
    flex: 1;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-img-container img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.card-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--color-text-dark);
}

.card-info {
    font-size: 12px;
    font-weight: 600;
    color: rgba(26, 18, 8, 0.6);
}

.swipe-actions-overlay {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
}

.swipe-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swipe-action-btn.btn-no {
    background: #ffffff;
    color: #FF3B30;
}

.swipe-action-btn.btn-no:hover {
    background: #FFEBEB;
    transform: scale(1.1);
}

.swipe-action-btn.btn-yes {
    background: var(--color-gold);
    color: var(--color-navy-dark);
}

.swipe-action-btn.btn-yes:hover {
    background: var(--color-gold-hover);
    transform: scale(1.1);
}

.calibration-success {
    position: absolute;
    inset: 0;
    background: #0B101D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 40px;
}

.calibration-success.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon {
    font-size: 54px;
    margin-bottom: 20px;
    display: block;
}

.calibration-success h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.calibration-success p {
    font-size: 14px;
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
}

/* Questionnaire Mockup styling */
.card-step {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 16px;
    text-align: center;
}

.card-question {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-options {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.card-opt {
    flex: 1;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.card-opt.opt-left {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.card-opt.opt-right {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.opt-emoji {
    font-size: 24px;
    margin-bottom: 6px;
}

.opt-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-dark);
}

/* Custom match result screen styling inside calibration success */
.result-badge {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.result-price {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 16px;
    text-transform: none !important;
}

.result-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 20px;
}

/* --- Visual 2: Huddle Phone Mockup (Prototype App Palette) --- */

/* Outer wrapper centers phone in sticky column */
.huddle-phone-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Dark phone bezel — matches other Rangers: fills sticky-visual-wrapper (320×580) */
.huddle-phone-frame {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    border: 10px solid #1C1C1E;
    background: #F2EFE9;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

/* Inner app screen — warm cream, app fonts */
.huddle-screen {
    background: #F2EFE9;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: #1A1208;
}

/* Scrollable content area — fills full screen (no topbar/tabs) */
.hp-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 16px;
    scrollbar-width: none;
}
.hp-scroll::-webkit-scrollbar { display: none; }

/* Live indicator */
.hp-live-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}
.hp-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4CAF50;
    flex-shrink: 0;
    animation: appDotPulse 1.5s ease-in-out infinite;
}
@keyframes appDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.hp-live-text {
    font-size: 11px;
    color: #4CAF50;
    font-weight: 500;
}

/* Title */
.hp-huddle-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
    color: #1A1208;
    margin-bottom: 2px;
    line-height: 1.2;
}
.hp-huddle-sub {
    font-size: 11px;
    color: #8A8070;
    font-weight: 300;
    margin-bottom: 12px;
}

/* Members row */
.hp-members-row {
    display: flex;
    align-items: center;
    padding: 7px 9px;
    background: #fff;
    border: 1px solid #E8E0D0;
    border-radius: 10px;
    margin-bottom: 9px;
    gap: 2px;
}
.hp-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #F2EFE9;
    flex-shrink: 0;
}
/* Exact prototype avatar colors */
.hp-av-p { background: #FBF7EC; color: #9A7A2A; }
.hp-av-a { background: #EEF2FF; color: #4338CA; margin-left: -5px; }
.hp-av-s { background: #F0FFF4; color: #166534; margin-left: -5px; }
.hp-av-m { background: #FFF0F0; color: #991B1B; margin-left: -5px; }
.hp-members-label {
    font-size: 11px;
    color: #8A8070;
    font-weight: 300;
    margin-left: 6px;
}
.hp-invite-btn {
    margin-left: auto;
    font-size: 11px;
    color: #C9A84C;
    font-weight: 500;
    cursor: pointer;
}

/* Pinned card — gold border from prototype */
.hp-pinned-label {
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #A89070;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.hp-pinned-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1.5px solid #C9A84C;
    border-radius: 12px;
    padding: 10px 11px;
    margin-bottom: 9px;
}
.hp-pinned-name {
    font-size: 14px;
    font-weight: 500;
    color: #1A1208;
}
.hp-pinned-brand {
    font-size: 10px;
    color: #A89070;
    margin-top: 1px;
}
.hp-pinned-score { text-align: right; }
.hp-pinned-pct {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #C9A84C;
    line-height: 1;
}
.hp-pinned-match {
    font-size: 9px;
    color: #A89070;
}

/* Consensus card */
.hp-consensus-card {
    background: #fff;
    border: 1px solid #E8E0D0;
    border-radius: 12px;
    padding: 11px;
    margin-bottom: 9px;
}
.hp-consensus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.hp-consensus-title {
    font-size: 12px;
    font-weight: 500;
    color: #1A1208;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hp-consensus-pct {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #C9A84C;
    transition: all 0.1s;
}
.hp-consensus-track {
    height: 7px;
    background: #E8E0D0;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 8px;
}
.hp-consensus-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 7px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hp-consensus-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 18px;
}
.hp-vote-avatars { display: flex; align-items: center; }
.hp-vote-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 7px;
    font-weight: 700;
    border: 1.5px solid #F2EFE9;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hp-vote-avatar:not(:first-child) { margin-left: -4px; }
.hp-vote-avatar.visible { opacity: 1; transform: scale(1); }

.hp-consensus-note {
    font-size: 8px;
    color: #A89070;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hp-consensus-note.visible { opacity: 1; }

/* Live feed header */
.hp-feed-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
}
.hp-feed-label {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A89070;
}
.hp-feed-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4CAF50;
    animation: appDotPulse 1.5s ease-in-out infinite;
}

/* Comment cards */
.hp-comment-card {
    background: #fff;
    border: 1px solid #E8E0D0;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    display: flex;
    gap: 7px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.hp-comment-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.hp-comment-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #F2EFE9;
}
.hp-comment-body { flex: 1; min-width: 0; }
.hp-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}
.hp-comment-name {
    font-size: 11px;
    font-weight: 500;
    color: #1A1208;
}
.hp-comment-time {
    font-size: 9px;
    color: #A89070;
}
.hp-comment-text {
    font-size: 10px;
    color: #6A6050;
    line-height: 1.45;
    font-weight: 300;
}
.hp-comment-reaction {
    font-size: 16px;
    align-self: center;
    flex-shrink: 0;
    margin-left: 2px;
}



/* --- Visual 3: Wardrobe Category Explorer --- */
.wardrobe-cabinet-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    cursor: pointer;
}

.cabinet-frame {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: #F2EFE9;
    border: 10px solid #C9A84C; /* App Gold frame border */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(26, 18, 8, 0.15);
}

.cabinet-door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: var(--color-navy-dark); /* Brand Navy Blue background */
    border: 1px solid rgba(201, 168, 76, 0.3);
    z-index: 15;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
    box-shadow: inset 0 0 20px rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
}

.door-inner-border {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(201, 168, 76, 0.35); /* Increased contrast for navy background */
    border-radius: 16px;
    pointer-events: none;
}

.door-left {
    left: 0;
    transform-origin: left center;
    border-right: 2px solid #C9A84C; /* Gold center seam */
    justify-content: flex-end;
    padding-right: 8px;
    box-shadow: 
        inset -10px 0 25px rgba(0, 0, 0, 0.55),
        inset 10px 0 20px rgba(201, 168, 76, 0.1);
    border-radius: 28px 0 0 28px;
}

.door-right {
    right: 0;
    transform-origin: right center;
    border-left: 2px solid #C9A84C; /* Gold center seam */
    justify-content: flex-start;
    padding-left: 8px;
    box-shadow: 
        inset 10px 0 25px rgba(0, 0, 0, 0.55),
        inset -10px 0 20px rgba(201, 168, 76, 0.1);
    border-radius: 0 28px 28px 0;
}

.door-handle {
    width: 6px;
    height: 50px;
    background: #C9A84C;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(26,18,8,0.15);
}

.wardrobe-cabinet-wrapper.open .door-left {
    transform: rotateY(-120deg);
}

.wardrobe-cabinet-wrapper.open .door-right {
    transform: rotateY(120deg);
}

.wardrobe-open-hint {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #C9A84C;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
}

.wardrobe-cabinet-wrapper.open .wardrobe-open-hint {
    opacity: 0;
}

/* Cabinet Interior layout */
.cabinet-interior {
    position: absolute;
    inset: 0;
    z-index: 10;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Even spacing between shelves and drawer */
    /* Recessed back wall depth effect on warm cream */
    background:
        linear-gradient(180deg, rgba(26,18,8,0.06) 0%, transparent 12%, transparent 88%, rgba(26,18,8,0.06) 100%),
        linear-gradient(90deg, rgba(26,18,8,0.04) 0%, transparent 8%, transparent 92%, rgba(26,18,8,0.04) 100%),
        #F2EFE9;
    box-shadow: 
        inset 0 20px 30px rgba(26, 18, 8, 0.08),
        inset 20px 0 20px rgba(26, 18, 8, 0.04),
        inset -20px 0 20px rgba(26, 18, 8, 0.04);
}

.interior-header {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    text-align: center;
    color: #C9A84C;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    padding-bottom: 6px;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* --- Shelf Compartment (one per category) --- */
.shelf-compartment {
    height: 115px; /* Cozier fixed height to close the gap */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    flex-shrink: 0;
}

.compartment-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C9A84C;
    padding: 0 4px;
    margin-bottom: 4px;
}

/* Products row — items sit ON the plank */
.shelf-items-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 12px;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}

/* The wooden shelf plank */
.shelf-plank {
    width: 100%;
    height: 10px;
    border-radius: 2px;
    /* Warm light oak wood grain */
    background:
        linear-gradient(90deg,
            #EEDCB3 0%, #DFCA9E 15%, #E5D2A7 30%,
            #D4BD8D 50%, #EEDCB3 70%, #DFCA9E 85%, #E5D2A7 100%
        );
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(26, 18, 8, 0.15);
    /* Soft shadow downward from the plank */
    box-shadow:
        0 8px 16px rgba(26, 18, 8, 0.08),
        0 2px 4px rgba(26, 18, 8, 0.04);
    position: relative;
    z-index: 1;
}

/* --- Product Items (sitting on shelves) --- */
.shelf-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateZ(0);
    cursor: default;
}

.shelf-product-item img {
    width: 60px; /* Slightly larger image size to fill vertical space */
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 6px rgba(26, 18, 8, 0.12));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shelf-product-item:hover img {
    transform: translateY(-6px) scale(1.08);
    filter: drop-shadow(0 8px 12px rgba(26, 18, 8, 0.22));
}

.p-title {
    font-size: 8px;
    font-weight: 700;
    color: #1A1208;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.shelf-product-item:hover .p-title {
    color: #C9A84C;
    opacity: 1;
}

/* --- Bottom Cabinet Drawer --- */
.cabinet-drawer {
    height: 44px;
    background: #FAF7F2;
    border: 2px solid #C9A84C;
    border-radius: 12px;
    box-shadow: 
        inset 0 2px 4px rgba(26,18,8,0.04),
        0 4px 8px rgba(26,18,8,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    margin-top: 10px;
}

.cabinet-drawer::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.cabinet-drawer .drawer-handle {
    width: 44px;
    height: 6px;
    background: #C9A84C;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(26,18,8,0.1);
}

/* ==========================================================================
   4. VIBE CHECK & EARLY ACCESS TICKET SECTION
   ========================================================================== */
.vibe-invite-section {
    position: relative;
    width: 100%;
    padding: 120px 8%;
    background: var(--color-navy-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 20;
    overflow: hidden;
}

.ambient-blur-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 65%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.section-header-centered {
    margin-bottom: 80px;
}

.text-center { text-align: center; }
.max-w-xl { max-w: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.ticket-invite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

/* Quiz Styling */
.vibe-check-card {
    background: var(--color-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.vibe-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
}

.quiz-step-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.quiz-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.quiz-dot.active {
    background: var(--color-gold);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.quiz-question-wrapper {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.quiz-question-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
}

.quiz-options-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-opt-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    padding: 16px 20px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-opt-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    border-color: rgba(201, 168, 76, 0.2);
}

.quiz-opt-emoji {
    font-size: 20px;
}

.quiz-result-view {
    text-align: center;
    padding: 20px 0;
}

.quiz-result-emoji {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.quiz-result-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quiz-result-desc {
    font-size: 14px;
    color: var(--color-text-white-70);
    margin-bottom: 24px;
}

/* 3D Ticket Invitation Card */
.ticket-scene {
    width: 100%;
    max-width: 380px;
    height: 220px;
    perspective: 1200px;
    margin: 0 auto;
}

.ticket-card {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticket-card.is-flipped {
    transform: rotateY(180deg);
}

.ticket-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
}

.ticket-front {
    background: var(--color-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ticket-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.ticket-main-heading {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--color-white);
}

.ticket-sub-heading {
    font-size: 13px;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-back {
    background: #ffffff;
    color: var(--color-text-dark);
    transform: rotateY(180deg);
    border: 2px solid var(--color-gold);
    justify-content: space-between;
}

.ticket-back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 11px;
}

.ticket-tag {
    color: rgba(26, 18, 8, 0.6);
    letter-spacing: 1px;
}

.ticket-serial {
    color: var(--color-gold);
}

.ticket-code {
    font-family: monospace;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 4px;
    color: var(--color-navy-dark);
    border: 1.5px dashed rgba(26, 18, 8, 0.2);
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
}

.ticket-actions {
    display: flex;
    gap: 12px;
}

.btn-share-whatsapp {
    flex: 1.2;
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

.btn-copy-code {
    flex: 1;
    background: var(--color-navy-dark);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

/* ==========================================================================
   5. FOOTER & LIVE TICKER
   ========================================================================== */
footer {
    background: #040814;
    padding: 40px 8% 20px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 12px;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-white-50);
    margin-bottom: 30px;
}

.footer-logo-large {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    align-self: flex-start;
    margin-bottom: 12px;
    display: block;
    opacity: 1 !important;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white-70) !important;
    transition: all 0.3s ease;
}

.social-icons a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-navy-dark) !important;
    transform: translateY(-2px);
}



.footer-links-column h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-column a {
    color: var(--color-text-white-70);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--color-white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-white-50);
}

/* ==========================================================================
   4. METRICS & TESTIMONIALS SECTION
   ========================================================================== */
.proof-section {
    padding: 120px 8%;
    background-color: var(--color-navy-dark);
    z-index: 20;
    position: relative;
}

.metrics-column {
    display: flex;
    flex-direction: column;
    gap: 48px;
    text-align: left;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--color-white);
    font-family: var(--font-body);
}

.metric-number.highlight-gold {
    color: var(--color-gold);
}

.metric-label {
    font-size: 16px;
    color: var(--color-text-white-70);
    margin-top: 8px;
}

.testimonial-card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.testimonial-card {
    background: var(--color-cream-light);
    border-radius: 32px;
    padding: 48px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.testimonial-item {
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid rgba(26, 18, 8, 0.1);
    padding-bottom: 24px;
}

.testimonial-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quote-mark {
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 32px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-gold);
}

.testimonial-quote {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    font-family: var(--font-body);
}

.testimonial-author {
    font-size: 13px;
    color: rgba(26, 18, 8, 0.6);
    font-weight: 600;
}

/* ==========================================================================
   5. FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    position: relative;
    width: 100%;
    padding: 120px 8%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 107, 53, 0.12) 0%, rgba(13, 27, 62, 0) 60%), var(--color-navy-dark);
    z-index: 20;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-wordmark {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
    letter-spacing: -1px;
}

.cta-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--color-white);
    line-height: 1.1;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--color-text-white-70);
    margin-bottom: 40px;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.capture-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.capture-form {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.capture-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    width: 60%;
}

.capture-input::placeholder {
    color: var(--color-text-white-50);
}

.btn-capture-submit {
    background-color: var(--color-gold);
    color: var(--color-navy-dark);
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-capture-submit:hover {
    background-color: var(--color-gold-hover);
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    /* Global Overrides & Touch Targets */
    body, main { overflow-x: hidden; }
    .btn-primary, .btn-know-more, .swipe-action-btn, .quiz-opt-btn, button[type="submit"] { min-height: 48px; }

    /* Navigation */
    .navbar { padding: 12px 20px; }
    .logo-img { height: 28px; }
    .btn-primary { padding: 10px 16px; font-size: 14px; }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        justify-content: center;
        padding-top: 100px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-description { margin-left: auto; margin-right: auto; max-width: 90%; }
    .hero-text-island { padding: 30px 20px; width: 92%; }
    .mockup-section { padding: 80px 20px; }

    /* Mockup Phone & General Grids */
    .phone-mockup-frame { margin: 0 auto; max-width: 100%; transform: scale(0.9); transform-origin: top center; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .ticket-invite-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Interactive Accordion - Mobile Interleaved Layout */
    .accordion-container { flex-direction: column; gap: 0; }
    .accordion-left-scroll { width: 100%; padding: 40px 16px 0; }
    .accordion-right-sticky { display: none; } /* Hidden, contents moved via JS */
    
    .feature-block { 
        min-height: 100vh; 
        padding: 80px 0; 
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        text-align: center;
    }
    .feature-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .interactive-hint { justify-content: center; margin: 0 auto 20px; }
    .btn-know-more { margin: 0 auto; }
    
    .feature-visual {
        position: relative;
        inset: auto;
        height: 560px;
        width: 320px;
        margin: 40px auto 0;
        transform: translateY(20px) scale(0.95);
    }
    .feature-visual.active {
        transform: translateY(0) scale(1);
    }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-links-column ul { display: flex; flex-direction: column; align-items: center; }

    /* Other Modules */
    .metrics-column { text-align: center; gap: 36px; }
    .metric-number { font-size: 48px; }
    .testimonial-card { padding: 32px 20px; border-radius: 24px; }
    .cta-title { font-size: clamp(32px, 8vw, 38px); }
    .cta-wordmark { font-size: 36px; margin-bottom: 16px; }
    .proof-section, .final-cta-section { padding: 80px 20px; }
}

@media (max-width: 480px) {
    .phone-mockup-frame { transform: scale(0.8); }
    .feature-visual {
        transform: scale(0.85) translateY(20px);
        transform-origin: top center;
        margin-bottom: -80px;
    }
    .feature-visual.active {
        transform: scale(0.85) translateY(0);
    }

    /* Mobile Typography Scale Overrides */
    .hero-title {
        font-size: 30px !important;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }
    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 100%;
        line-height: 1.5;
    }
    .section-title {
        font-size: 26px !important;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .step-num {
        font-size: 22px !important;
    }
    .step-heading {
        font-size: 15px !important;
    }
    .step-text {
        font-size: 13px !important;
    }
    .feature-title {
        font-size: 24px !important;
        letter-spacing: -0.8px;
    }
    .feature-desc {
        font-size: 14px !important;
        line-height: 1.5;
    }

    /* Mockup Element Text Scaling */
    .card-question {
        font-size: 18px !important;
    }
    .opt-title {
        font-size: 13px !important;
    }
    .hp-consensus-pct {
        font-size: 22px !important;
    }
    .hp-consensus-title {
        font-size: 12px !important;
    }
    .hp-comment-text {
        font-size: 11.5px !important;
    }
    .p-title {
        font-size: 10.5px !important;
    }
    .quiz-question-text {
        font-size: 17px !important;
    }
    #btn-restart-quiz {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }
}
