/* ============================================
   ROLLA LANDING PAGE - STYLES
   Based on Wix Template #3707
   ============================================ */

/* ============================================
   CSS VARIABLES (Wix Template Colors)
   ============================================ */
:root {
    /* Primary Colors */
    --white: #FFFFFF;
    --light-gray: #F0F0F0;
    --medium-gray: #C2C2C2;
    --dark-gray: #6E6E6E;
    --black: #000000;

    /* Accent Colors */
    --primary-blue: #5368EE;
    --light-green: #E7FBBC;
    --light-purple: #BFC6F4;

    /* Typography */
    --font-primary: 'Sora', sans-serif;
    --font-secondary: 'Wix Madefor Text', sans-serif;

    /* Font Sizes */
    --h1-size: 70px;
    --h2-size: 48px;
    --h3-size: 40px;
    --h4-size: 38px;
    --h5-size: 24px;
    --body-size: 18px;
    --small-size: 16px;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1600px;
    --border-radius: 24px;
    --content-gap: 40px;
    --section-content-margin: 50px;
    --section-cta-margin: 40px;

    /* Animation */
    --transition-speed: 0.3s;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    :root {
        --h1-size: 48px;
        --h2-size: 36px;
        --h3-size: 28px;
        --h4-size: 24px;
        --h5-size: 20px;
        --section-padding: 50px 0;
    }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: var(--body-size);
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: var(--body-size);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--light-purple);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #A8B0E8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(191, 198, 244, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--light-purple);
}

.btn-secondary:hover {
    background-color: var(--light-purple);
    color: var(--black);
}

.btn-large {
    padding: 18px 40px;
    font-size: 20px;
}

.btn-full-width {
    width: 100%;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HEADER — Scroll-aware glassmorphism
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state: floating pill with glassmorphism */
.header.header--scrolled {
    padding: 0;
}

.header.header--scrolled .container {
    max-width: 900px;
    margin-top: 12px;
    padding: 12px 28px;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state: white text for dark bg */
.header.header--scrolled .logo-text {
    color: var(--white);
}

.header.header--scrolled .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.header.header--scrolled .nav-link:hover {
    color: var(--white);
}

.header.header--scrolled .header-cta {
    background-color: var(--white);
    color: var(--black);
    padding: 10px 24px;
    font-size: 15px;
}

.header.header--scrolled .header-cta:hover {
    background-color: var(--light-purple);
    color: var(--black);
}

/* Hamburger lines go white on scroll */
.header.header--scrolled .hamburger-line {
    background-color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    transition: color 0.3s ease;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--black);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Hamburger Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    margin-bottom: 6px;
}

.hamburger-line:nth-child(3) {
    margin-top: 6px;
}

/* Hamburger animation when menu is open */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile header */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Mobile Navigation Overlay */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
        padding: 20px;
        color: var(--black);
        opacity: 0;
        transform: translateY(20px);
    }

    .nav.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for nav links */
    .nav.active .nav-link:nth-child(1) {
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, color 0.3s ease;
    }

    .nav.active .nav-link:nth-child(2) {
        transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s, color 0.3s ease;
    }

    .nav.active .nav-link:nth-child(3) {
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s, color 0.3s ease;
    }

    .nav.active .nav-link:nth-child(4) {
        transition: opacity 0.3s ease 0.25s, transform 0.3s ease 0.25s, color 0.3s ease;
    }

    .nav-link:hover {
        color: var(--dark-gray);
    }

    /* Mobile CTA button inside nav */
    .nav::after {
        content: 'Join Waitlist';
        display: block;
        margin-top: 30px;
        padding: 14px 32px;
        background-color: var(--light-purple);
        color: var(--black);
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s, background-color 0.3s ease;
        cursor: pointer;
    }

    .nav.active::after {
        opacity: 1;
        transform: translateY(0);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Scrolled header mobile adjustments */
    .header.header--scrolled .container {
        max-width: calc(100% - 32px);
        margin-top: 8px;
        padding: 10px 16px;
        border-radius: 20px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 150px 0 60px;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--content-gap);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-size: var(--h1-size);
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 40px;
}

.hero-note {
    margin-top: 20px;
    font-size: var(--small-size);
    color: var(--dark-gray);
    white-space: nowrap;
}

/* ============================================
   FLOATING ORGANIC SHAPES BACKGROUND
   ============================================ */
.organic-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.organic-blob {
    position: absolute;
    filter: blur(60px);
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 5%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    top: 40%;
    right: 10%;
}

.blob-3 {
    width: 450px;
    height: 450px;
    bottom: 20%;
    left: 15%;
}

.blob-4 {
    width: 550px;
    height: 550px;
    top: 60%;
    right: 5%;
}

/* Hide blobs on mobile for performance */
@media (max-width: 768px) {
    .organic-shapes {
        display: none;
    }
}

/* ============================================
   PROFESSIONAL DATA FLOW NETWORK BACKGROUND
   ============================================ */
.data-flow-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* Hide on mobile for performance */
@media (max-width: 1024px) {
    .data-flow-network {
        display: none;
    }
}

/* Mascot Journey Container (Fixed to Viewport - Safe Zones Only) */
.mascot-journey-container {
    position: fixed;
    top: 50%;
    right: 5%;
    width: 280px;
    height: 280px;
    z-index: 5;
    pointer-events: none;
    transform: translate(0, -50%);
    will-change: transform;
}

/* Problem cards layer ABOVE mascot */
.problem-cards {
    position: relative;
    z-index: 10;
}

/* Steps layer ABOVE mascot for safe gutters */
.steps {
    position: relative;
    z-index: 10;
}

/* PNG Mascot */
.mascot-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    will-change: transform;
    position: relative;
    z-index: 1;
    transform-origin: bottom center;
}

.mascot-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: var(--section-cta-margin);
    color: var(--dark-gray);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Interactive Hover Button */
.btn-interactive {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-interactive .btn-text {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 3;
}

.btn-interactive:hover .btn-text {
    transform: translateX(48px);
    opacity: 0;
}

.btn-interactive .btn-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    opacity: 0;
    transform: translateX(-48px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 3;
}

.btn-interactive:hover .btn-hover-content {
    transform: translateX(0);
    opacity: 1;
}

.btn-interactive .btn-hover-bg {
    position: absolute;
    left: 20%;
    top: 40%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--black);
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.btn-interactive:hover .btn-hover-bg {
    left: -10%;
    top: -50%;
    width: 120%;
    height: 200%;
    border-radius: 50%;
    transform: scale(1);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    padding: var(--section-padding);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--content-gap);
    margin-bottom: var(--section-content-margin);
}

.problem-card {
    background-color: var(--light-purple);
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    background-color: var(--light-purple);
    box-shadow: 0 10px 30px rgba(191, 198, 244, 0.4);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--black);
}

.card-title {
    font-size: var(--h5-size);
    margin-bottom: 15px;
}

.card-text {
    color: var(--dark-gray);
    font-size: var(--small-size);
    line-height: 1.8;
}

.problem-cta {
    text-align: center;
    font-size: 24px;
    color: var(--dark-gray);
    margin-top: var(--section-cta-margin);
}

/* Section transitions - flow connectors */
.section-cta {
    text-align: center;
    font-size: 20px;
    color: var(--dark-gray);
    margin-top: var(--section-cta-margin);
}

.section-transition {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-top: var(--section-cta-margin);
}

/* Tablet view - 2 columns */
@media (max-width: 1200px) {
    .problem-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view - 1 column */
@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--content-gap);
    max-width: 1200px;
    margin: var(--section-content-margin) auto 0;
    position: relative;
}

/* Journey Connecting Line (behind cards) */
.steps-journey-line {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 120px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.step {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dimmed state (inactive steps) */
.step-dimmed {
    opacity: 0.5;
    filter: grayscale(0.5);
    transform: scale(0.95);
}

/* Active state (current step in spotlight) */
.step-active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(191, 198, 244, 0.4);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E8EBFA;
    color: var(--black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active step number */
.step-active .step-number {
    background-color: var(--light-purple);
    box-shadow: 0 4px 12px rgba(191, 198, 244, 0.5);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: var(--black);
}

.step-title {
    font-size: var(--h5-size);
    margin-bottom: 15px;
}

.step-text {
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .steps-journey-line {
        display: none;
    }

    /* Reset step states on mobile (no scroll scrubbing) */
    .step-dimmed,
    .step-active {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */
.showcase {
    padding: var(--section-padding);
}

/* ---- Bento Gallery ---- */
/* Bento gallery ABOVE mascot (mascot lands "on" tile edge at z: 5) */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1200px;
    margin: var(--section-content-margin) auto var(--section-cta-margin);
    position: relative;
    z-index: 10;
}

.bento-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    min-height: 280px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-tile:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.bento-tile--wide {
    grid-column: span 2;
    min-height: 360px;
}

.bento-tile--tall {
    grid-row: span 2;
    min-height: 100%;
}

.bento-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-tile:hover .bento-media {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.3s ease;
}

.bento-tile:hover .bento-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
}

.bento-platform-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.bento-tile:hover .bento-platform-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.bento-platform-icon img {
    filter: brightness(0) invert(1);
}

.bento-info h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bento-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.bento-tile:hover .bento-info p {
    opacity: 1;
    transform: translateY(0);
}

/* Play indicator for video tiles */
.bento-tile--video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.bento-tile--video:hover::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
}

/* Value bridge - connects showcase to pricing */
.value-bridge {
    max-width: 700px;
    margin: 60px auto 0;
    text-align: center;
    background-color: var(--light-purple);
    border-radius: var(--border-radius);
    padding: 40px;
}

.value-bridge h3 {
    font-size: var(--h5-size);
    margin-bottom: 30px;
    color: var(--black);
}

.value-hook {
    font-size: var(--body-size);
    margin-top: 30px;
    line-height: 1.6;
}

.value-question {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
}

.content-types {
    max-width: 600px;
    margin: 0 auto;
}

.content-type {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: var(--body-size);
}

.checkmark {
    color: var(--black);
    font-size: 24px;
    font-weight: 700;
}

/* Bento gallery tablet */
@media (max-width: 1024px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-tile--wide {
        grid-column: span 2;
    }

    .bento-tile--tall {
        grid-row: span 1;
        min-height: 280px;
    }
}

/* Bento gallery mobile */
@media (max-width: 768px) {
    .bento-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento-tile,
    .bento-tile--wide,
    .bento-tile--tall {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 240px;
    }

    .bento-tile:hover {
        transform: none;
    }

    .bento-info p {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-padding);
    background-color: var(--light-gray);
    text-align: center;
    /* Z-Index Subordination: Pricing layer ABOVE mascot */
    position: relative;
    z-index: 10;
}

.pricing .section-subtitle {
    font-size: 28px;
    margin-bottom: 30px;
}

.pricing .section-subtitle strong {
    color: var(--black);
    font-weight: 700;
}

.pricing-note {
    background-color: var(--light-green);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.pricing-note p {
    margin-bottom: 10px;
}

.pricing-note strong {
    font-weight: 700;
}

.pricing-features {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-features h3 {
    font-size: var(--h4-size);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    font-size: var(--body-size);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Style the checkmark character in pricing list */
.pricing-features li::before {
    content: none;
}

/* Pricing teaser - shows price subtly */
.pricing-teaser {
    text-align: center;
    font-size: var(--body-size);
    margin: 30px 0;
    line-height: 1.6;
}

.pricing-teaser strong {
    color: var(--black);
    font-size: 22px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--section-padding);
    /* Z-Index Subordination: FAQ layer ABOVE mascot */
    position: relative;
    z-index: 10;
}

.faq-list {
    max-width: 900px;
    margin: var(--section-content-margin) auto;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    /* Solid background ensures mascot slides behind */
    position: relative;
    z-index: 10;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--light-gray);
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 0 20px;
    transition: all 0.2s ease;
    /* Each item has solid background */
    position: relative;
    z-index: 10;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    background-color: #E8E8E8;
}

.faq-item.active {
    background-color: var(--light-purple);
    border-color: transparent;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    gap: 16px;
}

.faq-question:hover {
    color: var(--black);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    transition: transform var(--transition-speed) ease;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.06);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 18px;
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 15px;
}

.faq-cta {
    text-align: center;
    margin-top: var(--section-content-margin);
}

.faq-cta p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--white) 0%, var(--light-purple) 100%);
    /* Z-Index Subordination: Waitlist layer ABOVE mascot */
    position: relative;
    z-index: 10;
}

.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: var(--body-size);
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--light-purple);
    box-shadow: 0 0 0 3px rgba(191, 198, 244, 0.3);
}

.form-group input.error {
    border-color: #EF4444;
}

.form-group input.error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: var(--small-size);
    color: var(--dark-gray);
    line-height: 1.8;
}

.form-success {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-green);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}

.form-success h3 {
    font-size: var(--h3-size);
    margin-bottom: 20px;
}

/* ============================================
   FOOTER — Redesigned
   ============================================ */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
    /* Z-Index Subordination: Footer layer ABOVE mascot */
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 32px;
}

.footer-description {
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.footer-social-link {
    color: var(--medium-gray);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: var(--white);
}

.footer-social-sep {
    color: var(--dark-gray);
    font-size: 10px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--medium-gray);
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-links-group {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-links a {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .footer-links-group {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AI CHAT WIDGET — Dark Glass Theme
   ============================================ */
.ai-chat-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

/* Toggle button */
.ai-chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1a1a2e;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(191, 198, 244, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-toggle:hover {
    background-color: #252545;
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), 0 0 30px rgba(191, 198, 244, 0.25);
}

.ai-chat-toggle-icon {
    transition: opacity 0.2s ease, transform 0.3s ease;
    position: absolute;
}

.ai-chat-icon-open {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.ai-chat-icon-close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.ai-chat-wrapper.chat-open .ai-chat-icon-open {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.ai-chat-wrapper.chat-open .ai-chat-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* AI Chat Card */
.ai-chat-card {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 360px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ai-chat-wrapper.chat-open .ai-chat-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Animated gradient background */
.ai-chat-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 40%, #16213e 100%);
    background-size: 200% 200%;
    animation: aiChatBgShift 20s ease infinite;
    z-index: 0;
}

@keyframes aiChatBgShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Floating particles */
.ai-chat-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.ai-chat-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgba(191, 198, 244, 0.15);
    bottom: -10%;
}

/* Header */
.ai-chat-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.ai-chat-header h3 {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.ai-chat-close {
    color: rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.ai-chat-close:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Messages area */
.ai-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 10;
}

/* Scrollbar styling for dark bg */
.ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Chat bubbles */
.ai-chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 82%;
    font-size: 14px;
    line-height: 1.5;
    animation: aiChatBubbleIn 0.35s ease;
    backdrop-filter: blur(8px);
}

.ai-chat-bubble p {
    margin: 0;
}

.ai-chat-bubble.ai-msg {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-chat-bubble.user-msg {
    background-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-weight: 500;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

@keyframes aiChatBubbleIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
.ai-chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    max-width: 60px;
    backdrop-filter: blur(8px);
}

.ai-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    animation: aiTypingPulse 1.4s ease-in-out infinite;
}

.ai-chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aiTypingPulse {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* Suggestion pills */
.ai-chat-suggestions {
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 10;
}

.ai-chat-suggestions.hidden {
    display: none;
}

.ai-chat-pill {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.ai-chat-pill:hover {
    background-color: rgba(191, 198, 244, 0.2);
    border-color: rgba(191, 198, 244, 0.3);
    color: var(--white);
}

/* Input area */
.ai-chat-input-area {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.ai-chat-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-chat-input {
    flex: 1;
    padding: 10px 14px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s ease;
}

.ai-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ai-chat-input:focus {
    border-color: rgba(191, 198, 244, 0.4);
}

.ai-chat-send {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ai-chat-send:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Mobile AI chat */
@media (max-width: 768px) {
    .ai-chat-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .ai-chat-card {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 80vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .ai-chat-wrapper.chat-open .ai-chat-card {
        transform: translateY(0);
    }
}

/* ============================================
   ANIMATIONS (For GSAP)
   Note: These classes are optional helpers.
   GSAP handles opacity via JS with immediateRender: false
   to prevent elements from being hidden before animation.
   ============================================ */

/* Word reveal animation helper */
.word-reveal {
    display: inline-block;
    transform-style: preserve-3d;
}

/* Ensure smooth transforms */
.section-title,
.hero-title,
.hero-subtitle {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.fade-in-ready {
    /* Class can be added by GSAP if needed */
}

.slide-in-left-ready {
    /* Class can be added by GSAP if needed */
}

.slide-in-right-ready {
    /* Class can be added by GSAP if needed */
}

.slide-in-up-ready {
    /* Class can be added by GSAP if needed */
}

.scale-in-ready {
    /* Class can be added by GSAP if needed */
}


/* ============================================
   MOBILE UX OPTIMIZATIONS
   Touch targets, spacing, and readability
   ============================================ */

/* Tablet breakpoint adjustments */
@media (max-width: 1024px) {
    :root {
        --h1-size: 56px;
        --h2-size: 40px;
        --h3-size: 32px;
        --h4-size: 28px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        order: 1;
    }

    .hero-mascot {
        order: 2;
        max-width: 650px;
    }
}

/* Enhanced mobile styles */
@media (max-width: 768px) {

    /* Improved font sizes for mobile readability */
    :root {
        --h1-size: 32px;
        --h2-size: 26px;
        --h3-size: 22px;
        --h4-size: 20px;
        --h5-size: 18px;
        --body-size: 16px;
        --small-size: 14px;
        --content-gap: 30px;
        --section-content-margin: 40px;
        --section-cta-margin: 30px;
    }

    /* Container with better mobile padding */
    .container {
        padding: 0 16px;
    }

    /* Section subtitle margin reduction */
    .section-subtitle {
        margin-bottom: 30px;
    }

    /* Hero section mobile optimizations */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-grid {
        gap: 16px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-mascot {
        max-width: 450px;
    }

    .hero-title {
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    /* Problem section mobile */
    .problem-cta {
        font-size: 18px;
        margin-top: 30px;
    }

    /* Cards reduced padding on mobile */
    .card {
        padding: 24px;
    }

    .card-icon {
        margin-bottom: 16px;
    }

    .card-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Steps section mobile */
    .steps {
        gap: 30px;
        margin: 40px auto 0;
    }

    .step {
        padding: 24px;
    }

    .step-icon {
        margin: 16px 0;
    }

    .step-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Content types mobile */
    .content-types {
        margin: 40px auto 0;
    }

    .content-type {
        padding: 12px 0;
        gap: 12px;
    }

    .checkmark {
        font-size: 20px;
    }

    /* Pricing section mobile */
    .pricing .section-subtitle {
        font-size: 18px;
        line-height: 1.5;
    }

    .pricing-note {
        padding: 20px;
        margin: 0 auto 30px;
    }

    .pricing-features {
        padding: 24px;
        margin: 0 auto 30px;
    }

    .pricing-features h3 {
        font-size: var(--h4-size);
        margin-bottom: 16px;
    }

    .pricing-features li {
        padding: 10px 0;
        gap: 10px;
    }

    .pricing-teaser {
        font-size: 16px;
        margin: 20px 0;
    }

    .pricing-teaser strong {
        font-size: 20px;
    }

    /* Section transitions mobile */
    .section-cta {
        font-size: 17px;
        margin-top: 30px;
    }

    .section-transition {
        font-size: 16px;
        margin-top: 30px;
    }

    /* Value bridge mobile */
    .value-bridge {
        padding: 24px;
        margin: 40px auto 0;
    }

    .value-bridge h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .value-hook {
        font-size: 15px;
        margin-top: 20px;
    }

    .value-question {
        font-size: 18px;
        margin-top: 8px;
    }

    /* FAQ section mobile */
    .faq-list {
        margin: 40px auto;
    }

    .faq-question {
        font-size: 17px;
        padding: 16px 0;
        gap: 12px;
    }

    .faq-icon {
        font-size: 24px;
        flex-shrink: 0;
        min-width: 24px;
    }

    .faq-cta {
        margin-top: 40px;
    }

    .faq-cta p {
        font-size: 18px;
    }

    /* Waitlist form mobile */
    .waitlist-form {
        padding: 24px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    .form-success {
        padding: 24px;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        margin-top: 24px;
    }

    /* Button touch target improvements */
    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 17px;
        min-height: 52px;
    }

    .btn-secondary {
        min-height: 48px;
    }
}

/* Small mobile (iPhone SE, small Android) */
@media (max-width: 375px) {
    :root {
        --h1-size: 28px;
        --h2-size: 24px;
        --h3-size: 20px;
        --h4-size: 18px;
        --h5-size: 16px;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-note {
        white-space: normal;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-mascot {
        max-width: 350px;
    }

    .card {
        padding: 20px;
    }

    .step {
        padding: 20px;
    }

    .pricing-note,
    .pricing-features,
    .waitlist-form,
    .form-success {
        padding: 20px;
    }

    .faq-question {
        font-size: 16px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .ai-chat-card {
        max-height: 70vh;
    }

    .scroll-indicator {
        display: none;
    }

}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects on touch devices to prevent sticky states */
    .card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .step:hover {
        transform: none;
    }

    .bento-tile:hover {
        transform: none;
    }

    .ai-chat-toggle:hover {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .btn-interactive:hover .btn-text {
        transform: none;
        opacity: 1;
    }

    .btn-interactive:hover .btn-hover-content {
        transform: translateX(-48px);
        opacity: 0;
    }

    .btn-interactive:hover .btn-hover-bg {
        left: 20%;
        top: 40%;
        width: 8px;
        height: 8px;
    }

    /* Add active states for better touch feedback */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .card:active {
        transform: scale(0.99);
    }

    .faq-question:active {
        opacity: 0.8;
    }

    .ai-chat-pill:active {
        transform: scale(0.95);
    }
}

/* Accessibility: Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus visible states for keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.faq-question:focus-visible,
.ai-chat-toggle:focus-visible,
.ai-chat-pill:focus-visible,
.ai-chat-send:focus-visible,
.ai-chat-close:focus-visible {
    outline: 3px solid var(--light-purple);
    outline-offset: 2px;
}

.form-group input:focus-visible {
    outline: 3px solid var(--light-purple);
    outline-offset: 2px;
    border-color: var(--light-purple);
}

/* ============================================
   FORM MESSAGES & STATES
   ============================================ */

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner for loading state */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success state after form submission */
.success-state {
    text-align: center;
    padding: 40px 20px;
}

.success-state .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-purple), #A8B0E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-state h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-state p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 5px;
}

.success-state .success-note {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   ANIMATED GRID PATTERN
   ============================================ */

.animated-grid-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Fallback CSS animation if GSAP doesn't load */
@keyframes gridSquareFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.5;
    }
}

/* Grid container positioning */
.grid-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Ensure content sits above grid */
.hero .container,
.section .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

/* Tablet and below - Simplify mascot journey */
@media (max-width: 1024px) {
    .mascot-journey-container {
        right: 5%;
        width: 200px;
        height: 200px;
    }

    .mascot-image {
        max-width: 200px;
    }
}

/* Mobile - Hitchhiker Mascot Journey */
@media (max-width: 768px) {
    /* Mobile: Small mascot that "hitchhikes" on card borders */
    .mascot-journey-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 80px;
        height: 80px;
        margin: 20px auto 0;
        pointer-events: none;
        /* Crucial: Layer above cards it lands on */
        z-index: 50;
        will-change: transform;
    }

    .mascot-image {
        max-width: 80px;
        max-height: 80px;
    }

    .mascot-shadow {
        width: 60px;
        height: 12px;
    }

    /* Reduce empty space in hero */
    .hero {
        padding: 120px 0 40px;
    }

    .hero-grid {
        gap: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Improve problem card spacing */
    .problem-cards {
        gap: 16px;
        padding: 0 12px;
    }

    .problem-card {
        padding: 24px;
    }

    /* Disable 3D transforms on mobile (performance + no hover) */
    .problem-card {
        transform-style: flat;
        perspective: none;
    }

    /* Tighten section spacing to reduce empty zones */
    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .section-subtitle {
        margin-bottom: 32px;
    }

    /* Steps section - reduce vertical gaps */
    .steps {
        gap: 24px;
    }

    .step {
        padding: 24px;
    }

    /* Bento gallery - single column, tighter spacing */
    .bento-gallery {
        gap: 12px;
    }

    /* Reduce FAQ spacing */
    .faq-list {
        gap: 12px;
    }

    .faq-item {
        padding: 16px;
    }

    /* Waitlist form - full width on mobile */
    .waitlist-form {
        padding: 24px;
        max-width: 100%;
    }

    /* Tighten container padding */
    .container {
        padding: 0 20px;
    }
}

/* Small phones - Extra tight spacing */
@media (max-width: 480px) {
    .hero {
        padding: 100px 0 32px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .problem-card,
    .step,
    .faq-item {
        padding: 20px;
    }

    /* Container edge-to-edge on very small screens */
    .container {
        padding: 0 16px;
    }
}