/* ======================================
   AISLES CONSUMER — PREMIUM DESIGN SYSTEM
   Dark Mode · Glassmorphism · Fluid Typography
   ====================================== */

/* ----- CSS Custom Properties ----- */
:root {
    /* Core Colors */
    --color-bg: #050510;
    --color-bg-secondary: #0A0A1A;
    --color-surface: #0F0F24;
    --color-surface-hover: #16163A;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* Brand */
    --color-primary: #3B82F6;
    --color-primary-hover: #60A5FA;
    --color-primary-glow: rgba(59, 130, 246, 0.25);
    --color-accent: #10B981;
    --color-accent-glow: rgba(16, 185, 129, 0.25);
    --color-danger: #EF4444;

    /* Text */
    --color-text: #F1F5F9;
    --color-text-muted: #94A3B8;
    --color-text-dim: #64748B;

    /* Gradient */
    --gradient-brand: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);

    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-pad: clamp(4rem, 8vw, 8rem);
    --header-h: 72px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-glow-green: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----- Reset ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

/* ----- Utilities ----- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
}

/* Scroll reveal */
.step-card,
.category-card,
.diff-card,
.proof-stat,
.speed-lane {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.step-card.visible,
.category-card.visible,
.diff-card.visible,
.proof-stat.visible,
.speed-lane.visible {
    opacity: 1;
    transform: translateY(0);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ======================================
   BUTTONS
   ====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--color-primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s var(--ease-out);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-primary-glow);
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-hover);
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
}

/* ======================================
   NAVIGATION
   ====================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
    background: rgba(5, 5, 16, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.nav-links > a:not(.btn):hover {
    color: var(--color-text);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: transform 0.4s var(--ease-out);
        border-left: 1px solid var(--color-border);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}

/* Dynamic Lighting Background Orbs */
.hero-glow-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 60vh;
    height: 60vh;
    background: var(--color-primary);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 50vh;
    height: 50vh;
    background: var(--color-accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vh;
    height: 40vh;
    background: #8B5CF6;
    top: 40%;
    left: 50%;
    animation-delay: -12s;
    transform-origin: center;
    animation-duration: 30s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15%, 15%) scale(1.2);
    }
}

/* Floating Product Layer */
.hero-products {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.hero-product {
    position: absolute;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    transform-origin: center center;
    /* Entrance: opacity only — JS handles all transforms */
    opacity: 0;
    animation: heroProductEnter 1s var(--ease-out) var(--entrance-delay, 0s) forwards;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
}

@keyframes heroProductEnter {
    0% {
        opacity: 0;
    }

    100% {
        opacity: var(--target-opacity, 0.8);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        var(--gradient-hero),
        radial-gradient(ellipse at center, transparent 30%, var(--color-bg) 75%),
        linear-gradient(to bottom, transparent 50%, var(--color-bg) 100%);
    pointer-events: none;
}

/* Mobile responsive products */
@media (max-width: 1024px) {
    .hero-product {
        max-width: 180px !important;
    }
}

@media (max-width: 768px) {
    .hero-products {
        z-index: 2 !important;
    }

    .hero-overlay {
        z-index: 1 !important;
    }

    .hero-product {
        max-width: 140px !important;
        display: none !important;
    }

    /* Select specific items to display without being overwhelming */
    .hero-product:nth-child(15) {
        /* Cacti */
        display: block !important;
        top: auto !important;
        bottom: 12% !important;
        left: auto !important;
        right: 5% !important;
        max-width: 100px !important;
        --target-opacity: 0.9 !important;
    }

    .hero-product:nth-child(14) {
        /* Sneaker */
        display: block !important;
        top: 18% !important;
        left: 5% !important;
        right: auto !important;
        max-width: 110px !important;
        --target-opacity: 0.9 !important;
    }

    .hero-product:nth-child(10) {
        /* Camera */
        display: block !important;
        top: 28% !important;
        right: 5% !important;
        left: auto !important;
        max-width: 110px !important;
        --target-opacity: 0.85 !important;
    }

    .hero-product:nth-child(8) {
        /* Perfume */
        display: block !important;
        top: 55% !important;
        left: 4% !important;
        right: auto !important;
        max-width: 85px !important;
        --target-opacity: 0.75 !important;
    }

    .hero-product:nth-child(7) {
        /* Watch */
        display: block !important;
        top: auto !important;
        bottom: 12% !important;
        left: 2% !important;
        right: auto !important;
        max-width: 90px !important;
        --target-opacity: 0.85 !important;
    }

    .hero-product:nth-child(5) {
        /* Candle (Moved to Front Layer) */
        display: block !important;
        top: 23% !important;
        left: 65% !important;
        right: auto !important;
        max-width: 95px !important;
        --target-opacity: 0.88 !important;
        filter: none !important;
    }

    .hero-product:nth-child(12) {
        /* Game Controller (Mid Layer) */
        display: block !important;
        top: auto !important;
        bottom: 4% !important;
        left: 25% !important;
        right: auto !important;
        max-width: 75px !important;
        --target-opacity: 0.7 !important;
    }

    .hero-product:nth-child(16) {
        /* Smartphone (Front Layer) */
        display: block !important;
        top: 46% !important;
        right: 0% !important;
        left: auto !important;
        max-width: 100px !important;
        --target-opacity: 0.85 !important;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 720px;
    padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title-accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '2 days?';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(15px);
    opacity: 0.7;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-subtitle strong {
    color: var(--color-accent);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-proof {
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.hero-proof-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--color-bg);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-proof-text {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

/* ======================================
   SPEED COMPARISON
   ====================================== */
.speed-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.speed-header {
    text-align: center;
    margin-bottom: 3rem;
}

.speed-comparison {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.speed-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.speed-lane-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.speed-lane-label i {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.speed-aisles-icon {
    width: 22px;
    height: 22px;
}

.speed-bar {
    background: var(--color-surface);
    border-radius: var(--radius-pill);
    height: 48px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.speed-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    transition: width 1.5s var(--ease-out);
    width: 0%;
}

.speed-bar-fill.animated {
    width: var(--target-width);
}

.speed-bar-slow {
    background: linear-gradient(90deg, #EF4444 0%, #DC2626 100%);
    --target-width: 100%;
}

.speed-bar-fast {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    --target-width: 40%;
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.speed-bar-markers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1.25rem;
    height: 100%;
}

.speed-bar-markers .marker {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.speed-bar-markers .marker-end {
    font-weight: 700;
}

.speed-bar-fast .speed-bar-markers {
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .speed-bar-fast {
        --target-width: 85% !important;
    }

    .speed-bar-markers .marker {
        font-size: 0.65rem;
        white-space: normal;
        text-align: center;
        max-width: 60px;
    }
}

/* ======================================
   HOW IT WORKS
   ====================================== */
.how-section {
    background: var(--color-bg);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    max-width: 300px;
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.step-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.12);
    color: #8B5CF6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.5rem;
}

.step-icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-primary);
}

.step-icon-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-accent);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    color: var(--color-text-dim);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector svg {
    width: 100%;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
    }

    .step-card {
        max-width: 100%;
    }
}

/* ======================================
   CATEGORIES
   ====================================== */
.categories-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.category-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
}

.category-card-featured {
    border-color: rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, var(--color-surface) 100%);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.category-card:nth-child(2) .category-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.category-card:nth-child(3) .category-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.category-card:nth-child(4) .category-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.category-card:nth-child(5) .category-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.category-card:nth-child(6) .category-icon {
    background: rgba(251, 146, 60, 0.1);
    color: #FB923C;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   SOCIAL PROOF
   ====================================== */
.proof-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 4rem 0;
}

.proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
}

.proof-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.proof-divider {
    width: 1px;
    height: 50px;
    background: var(--color-border);
}

@media (max-width: 600px) {
    .proof-grid {
        gap: 2rem;
    }

    .proof-divider {
        display: none;
    }

    .proof-stat {
        min-width: 40%;
    }
}

/* ======================================
   THE AISLES DIFFERENCE
   ====================================== */
.difference-section {
    background: var(--color-bg);
}

.diff-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.diff-card {
    flex: 1;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.diff-card-old {
    background: var(--color-surface);
    opacity: 0.8;
}

.diff-card-new {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-glow-blue);
}

.diff-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.diff-card-header i {
    font-size: 1.4rem;
    color: var(--color-text-muted);
}

.diff-aisles-icon {
    width: 24px;
    height: 24px;
}

.diff-card-header h3 {
    font-size: 1.2rem;
    flex: 1;
}

.diff-badge {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.diff-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.diff-list li i {
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.diff-card-old .diff-list li i {
    color: var(--color-danger);
    opacity: 0.7;
}

.diff-card-new .diff-list li i {
    color: var(--color-accent);
}

.diff-card-new .diff-list li {
    color: var(--color-text);
}

.diff-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-vs span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .diff-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .diff-vs span {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
}

/* ======================================
   CTA SECTION
   ====================================== */
.cta-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.cta-wrapper {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-form-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.cta-input-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.cta-input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

.cta-input-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s var(--ease-out);
}

.cta-input-group input::placeholder {
    color: var(--color-text-dim);
}

.cta-input-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.cta-submit {
    flex-shrink: 0;
}

.cta-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.cta-success {
    animation: fadeInUp 0.6s var(--ease-out);
}

.success-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.cta-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ======================================
   PREMIUM APP MOCKUP BENTO GRID
   ====================================== */
.bento-section {
    background: var(--color-bg);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card-wide {
        grid-column: span 2;
        flex-direction: row !important;
        align-items: center;
    }

    .bento-card-wide .bento-content {
        flex: 1;
        padding-right: 3rem;
    }
}

.bento-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.bento-badge {
    display: inline-flex;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.badge-blue {
    background: rgba(14, 165, 233, 0.1);
    color: #0EA5E9;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.badge-purple {
    background: rgba(99, 102, 241, 0.1);
    color: #6366F1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bento-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.bento-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    z-index: 1;
}

/* Custom CSS iPhone Frame */
.css-device {
    position: relative;
    width: 260px;
    height: 520px;
    border-radius: 36px;
    background: #000;
    box-shadow:
        0 0 0 8px #111,
        0 0 0 10px rgba(255, 255, 255, 0.1),
        0 30px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: deviceFloat 6s ease-in-out infinite alternate;
}

.css-device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.css-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* Device float animations with different timing offsets */
@keyframes deviceFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.bento-card:nth-child(1) .css-device {
    animation-delay: 0s;
}

.bento-card:nth-child(2) .css-device {
    animation-delay: -2s;
}

.bento-card:nth-child(3) .css-device {
    animation-delay: -4s;
    transform-origin: bottom center;
}

.cta-success p {
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .cta-wrapper {
        padding: 3rem 1.5rem;
    }

    .cta-form-row {
        flex-direction: column;
    }

    .cta-input-group {
        min-width: 100%;
    }

    .cta-submit {
        width: 100%;
    }
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    background: var(--color-bg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    height: 28px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-top: -0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    opacity: 0.6;
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}