/* ============================================
   STAKT LANDING PAGE STYLES
   Modern, unique design with pastel accents
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors — Stakt Brand Palette */
    --purple-50: #F7FAFC;       /* off-white */
    --purple-100: #E8EEF3;      /* light gray */
    --purple-200: #d0e6f5;      /* sky blue light */
    --purple-300: #BBE1FA;      /* sky blue */
    --purple-400: #3282B8;      /* medium blue */
    --purple-500: #3282B8;      /* medium blue */
    --purple-600: #0F4C75;      /* deep blue — primary actions */
    --purple-700: #0a3d5f;      /* deep blue dark */
    --purple-800: #1b262c;      /* dark navy */
    --purple-900: #0D1B21;      /* darkest surface */

    /* Pastel Palette — Brand-aligned tints */
    --pastel-purple: rgba(187, 225, 250, 0.35);  /* sky blue tint */
    --pastel-blue: rgba(50, 130, 184, 0.12);     /* medium blue tint */
    --pastel-teal: rgba(15, 76, 117, 0.12);      /* deep blue tint */
    --pastel-green: #D1FAE5;
    --pastel-yellow: #FEF3C7;
    --pastel-orange: #FFEDD5;
    --pastel-pink: rgba(187, 225, 250, 0.2);     /* sky blue light */
    --pastel-red: #FEE2E2;

    /* Accent Colors */
    --accent-purple: #0F4C75;
    --accent-blue: #3282B8;
    --accent-teal: #0D9488;
    --accent-green: #059669;
    --accent-orange: #EA580C;
    --accent-red: #DC2626;
    --accent-pink: #BBE1FA;

    /* Neutrals */
    --black: #1b262c;
    --slate-50: #F7FAFC;
    --slate-100: #E8EEF3;
    --slate-200: #d0dde6;
    --slate-300: #9BAAB3;
    --slate-400: #9BAAB3;
    --slate-500: #4A6070;
    --slate-600: #4A6070;
    --slate-700: #22313A;
    --slate-800: #1b262c;
    --slate-900: #0D1B21;
    --white: #FFFFFF;

    /* Typography */
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   FLOATING BACKGROUND SHAPES
   ============================================ */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--pastel-purple);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--pastel-blue);
    top: 50%;
    left: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--pastel-pink);
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: var(--pastel-teal);
    bottom: -100px;
    left: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: var(--pastel-yellow);
    top: 30%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-3) 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--black);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-600);
    transition: width var(--transition-fast);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--purple-600);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    z-index: 102;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-800);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(15, 76, 117, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-200);
}

.btn-secondary:hover {
    border-color: var(--purple-400);
    color: var(--purple-600);
    background: var(--purple-50);
}

.btn-ghost {
    color: var(--slate-600);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--purple-600);
    background: var(--purple-50);
}

.btn-white {
    background: white;
    color: var(--purple-700);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--pastel-purple);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--purple-700);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: var(--space-6);
}

.gradient-text {
    background: linear-gradient(135deg, #3282B8 0%, #0F4C75 50%, #BBE1FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 52px;
    background: var(--slate-200);
    flex-shrink: 0;
}

.stat-bank-chips {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    /* Match height of .stat-number so labels stay baseline-aligned */
    min-height: 2rem;
}

.bank-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.bank-chip-amex  { background: #006FCF; }
.bank-chip-chase { background: #117ACA; }

/* Hero Visual - Cards */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.offer-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 260px;
    transition: transform 0.3s ease;
    z-index: 10;
}

.offer-card:hover {
    transform: scale(1.02) !important;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.card-merchant {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
}

.card-offer {
    font-size: 0.9375rem;
    color: var(--slate-600);
}

.card-meta {
    font-size: 0.8125rem;
    color: var(--slate-400);
    margin-top: var(--space-1);
}

.card-savings {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.card-1 {
    top: 10%;
    left: 5%;
    animation: cardFloat1 6s ease-in-out infinite;
}

.card-2 {
    top: 5%;
    right: 10%;
    animation: cardFloat2 7s ease-in-out infinite;
}

.card-3 {
    bottom: 25%;
    left: 0%;
    animation: cardFloat3 5s ease-in-out infinite;
}

.card-4 {
    bottom: 15%;
    right: 5%;
    animation: cardFloat4 8s ease-in-out infinite;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes cardFloat4 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-18px) rotate(-1deg); }
}

/* Browser Mockup */
.browser-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    z-index: 5;
}

.browser-header {
    background: var(--slate-100);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-address {
    flex: 1;
    background: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.browser-content {
    padding: var(--space-4);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.mockup-card {
    height: 60px;
    background: linear-gradient(135deg, rgba(187,225,250,0.4) 0%, rgba(50,130,184,0.15) 100%);
    border-radius: var(--radius-lg);
    opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--slate-300);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--slate-400);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ============================================
   TRUSTED BY SECTION
   ============================================ */
.trusted-by {
    padding: var(--space-16) 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-8);
}

.bank-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
    flex-wrap: wrap;
}

.bank-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.bank-logo:hover {
    opacity: 1;
}

.bank-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-700);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-header.light {
    color: white;
}

.section-header.light .section-label {
    color: var(--purple-200);
}

.section-header.light .section-title {
    color: white;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--purple-600);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--space-24) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--purple-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    background: linear-gradient(135deg, var(--purple-50) 0%, white 50%);
}

.feature-icon-wrap {
    margin-bottom: var(--space-6);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: var(--slate-700);
}

/* Auto Collect Demo */
.auto-collect-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.bank-connector {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.bank-node {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    transition: all var(--transition-base);
}

.bank-node.active {
    border-color: var(--purple-500);
    background: var(--purple-50);
    box-shadow: 0 0 20px rgba(50, 130, 184, 0.2);
}

.node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600);
}

.node-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--slate-600);
}

.connector-line {
    width: 40px;
    height: 2px;
    background: var(--slate-200);
    position: relative;
    overflow: hidden;
}

.connector-pulse {
    position: absolute;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-500), transparent);
    animation: pulseMove 1.5s infinite;
}

@keyframes pulseMove {
    0% { left: -20px; }
    100% { left: 100%; }
}

/* Hub star topology — banks converging to Stakt */
.hub-banks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hub-lines {
    width: 100%;
    height: 48px;
    display: block;
    flex-shrink: 0;
}

@keyframes hubFlow {
    to { stroke-dashoffset: -18; }
}

.hub-lines path {
    animation: hubFlow 1.4s linear infinite;
}

.stakt-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.hub-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(15, 76, 117, 0.4);
}

.stakt-hub span {
    font-weight: 700;
    color: var(--purple-700);
}

/* Features Section - Ensure visibility */
.features {
    padding: var(--space-24) 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    opacity: 1;
    visibility: visible;
}

.feature-card:hover {
    border-color: var(--purple-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    background: linear-gradient(135deg, var(--purple-50) 0%, white 50%);
}

/* How It Works - Ensure visibility */
.how-it-works {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-800) 50%, var(--purple-900) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    opacity: 1;
    visibility: visible;
}

/* Feature Preview */
.feature-preview {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: var(--slate-50);
    border-radius: var(--radius-xl);
}

.mini-banner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600);
    flex-shrink: 0;
}

.mini-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mini-content strong {
    font-size: 0.9375rem;
    color: var(--black);
}

.mini-content span {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.countdown-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.countdown {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--slate-200);
    color: var(--slate-600);
}

.countdown.urgent {
    background: var(--pastel-red);
    color: var(--accent-red);
}

.countdown.warning {
    background: var(--pastel-yellow);
    color: var(--accent-orange);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-800) 50%, var(--purple-900) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
}

.step-number {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--purple-300);
    margin-bottom: var(--space-4);
    letter-spacing: 0.1em;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
}

.step-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.step-connector {
    width: 100px;
    height: 24px;
    opacity: 0.5;
}

.step-connector svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   LIVE DEMO SECTION
   ============================================ */
.live-demo {
    padding: var(--space-24) 0;
    background: var(--slate-50);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

.demo-content .section-label,
.demo-content .section-title,
.demo-content .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.demo-content .section-subtitle {
    margin-bottom: var(--space-8);
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1rem;
    color: var(--slate-700);
}

.demo-check {
    width: 24px;
    height: 24px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Demo Visual */
.demo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-browser {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.demo-browser-header {
    background: var(--slate-100);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.demo-dots {
    display: flex;
    gap: 8px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #FF5F56; }
.demo-dots span:nth-child(2) { background: #FFBD2E; }
.demo-dots span:nth-child(3) { background: #27C93F; }

.demo-address {
    flex: 1;
    background: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--slate-500);
}

.demo-browser-body {
    padding: var(--space-8);
}

.demo-checkout {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--slate-100);
}

.item-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--slate-200) 0%, var(--slate-300) 100%);
    border-radius: var(--radius-lg);
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.item-line {
    height: 12px;
    background: var(--slate-200);
    border-radius: var(--radius-full);
    width: 80%;
}

.item-line.short {
    width: 50%;
}

.item-price {
    font-weight: 700;
    color: var(--black);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
}

/* Demo Notification */
.demo-notification {
    position: absolute;
    bottom: 40px;
    right: -20px;
    width: 320px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--purple-200);
    overflow: hidden;
    animation: notifSlideIn 0.5s ease-out;
}

@keyframes notifSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notif-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--purple-50);
    border-bottom: 1px solid var(--purple-100);
}

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600);
    flex-shrink: 0;
}

.notif-title {
    font-weight: 700;
    color: var(--purple-700);
}

.notif-body {
    padding: var(--space-4);
}

.notif-offer {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.offer-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--pastel-purple);
    color: var(--purple-700);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.offer-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
}

.notif-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--pastel-green);
    border-radius: var(--radius-lg);
}

.savings-label {
    font-size: 0.875rem;
    color: var(--accent-green);
    font-weight: 600;
}

.savings-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-green);
}

.notif-footer {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    border-top: 1px solid var(--slate-100);
}

.notif-btn {
    flex: 1;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.notif-btn-secondary {
    background: var(--slate-100);
    color: var(--slate-700);
}

.notif-btn-secondary:hover {
    background: var(--slate-200);
}

.notif-btn-primary {
    background: var(--purple-600);
    color: white;
}

.notif-btn-primary:hover {
    background: var(--purple-700);
}

/* ============================================
   EARLY ACCESS SECTION
   ============================================ */
.early-access {
    padding: var(--space-24) 0;
    background: var(--slate-50);
}

.early-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

a.early-access-card {
    display: block;
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

a.early-access-card:hover {
    border-color: var(--purple-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.early-icon {
    width: 64px;
    height: 64px;
    background: rgba(187, 225, 250, 0.35);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600);
    margin: 0 auto var(--space-6);
}

.early-access-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-3);
}

.early-access-card p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .early-access-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--space-24) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.testimonial-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--purple-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--purple-50) 0%, white 100%);
    border-color: var(--purple-200);
    position: relative;
}

.savings-badge {
    position: absolute;
    top: -12px;
    right: var(--space-6);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.author-name {
    font-weight: 700;
    color: var(--black);
}

.author-title {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, white 0%, #BBE1FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--space-24) 0;
    background: var(--slate-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--slate-100);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--purple-200);
}

.faq-item.active {
    border-color: var(--purple-300);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--black);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--purple-600);
}

.faq-icon {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 var(--space-6) var(--space-6);
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.8;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 50%, var(--purple-800) 100%);
    position: relative;
    overflow: hidden;
}

.waitlist::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.waitlist-content {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.waitlist-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-6);
}

.waitlist-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-4);
}

.waitlist-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.waitlist-form {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
    margin-bottom: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-input,
.form-select {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--slate-800);
    background: white;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: var(--space-12);
}

.btn-full {
    width: 100%;
}

.waitlist-note {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-10);
}

.waitlist-success {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-2xl);
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--pastel-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--accent-green);
    font-size: 2rem;
}

.waitlist-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-3);
}

.waitlist-success p {
    color: var(--slate-600);
}

/* Bank badges in trusted-by section */
.bank-logo {
    position: relative;
}

.bank-badge {
    position: absolute;
    top: -10px;
    right: -20px;
    padding: 2px 8px;
    background: var(--accent-green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.bank-badge.soon {
    background: var(--slate-300);
    color: var(--slate-600);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badge svg {
    color: var(--purple-300);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--slate-900);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--slate-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--purple-600);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-300);
    margin-bottom: var(--space-5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--slate-800);
    font-size: 0.875rem;
    color: var(--slate-500);
}

.made-with {
    color: var(--slate-400);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    transition: all var(--transition-fast);
    background: transparent;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--slate-100);
    color: var(--purple-600);
}

/* Dark mode: show sun (to switch to light). Light mode: show moon (to switch to dark). */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============================================
   DARK MODE
   ============================================ */

/* Variable overrides — remap neutral tokens */
[data-theme="dark"] {
    --white: #0D1B21;
    --black: #E8EEF3;
    --slate-50: #131f26;
    --slate-100: #1f2f38;
    --slate-200: rgba(255, 255, 255, 0.10);
    --slate-300: rgba(255, 255, 255, 0.20);
    --slate-400: #7A95A5;
    --slate-500: #8A9FAF;
    --slate-600: #9BAAB3;
    --slate-700: #C5D5DE;
    --slate-800: #E8EEF3;
    --slate-900: #0D1B21;

    /* Purple-50/100 used for subtle tint surfaces */
    --purple-50: #162028;
    --purple-100: #1f2f38;
    --purple-200: rgba(50, 130, 184, 0.30);
    --purple-300: rgba(50, 130, 184, 0.45);

    /* Soften pastel tints */
    --pastel-purple: rgba(50, 130, 184, 0.12);
    --pastel-blue:   rgba(50, 130, 184, 0.08);
    --pastel-pink:   rgba(50, 130, 184, 0.06);
    --pastel-teal:   rgba(15, 76, 117, 0.15);
    --pastel-yellow: rgba(245, 158, 11, 0.08);
    --pastel-green:  rgba(16, 185, 129, 0.10);
    --pastel-red:    rgba(220, 38, 38, 0.10);
}

/* Component overrides — hardcoded `background: white` */
[data-theme="dark"] .navbar.scrolled {
    background: rgba(13, 27, 33, 0.92);
}

[data-theme="dark"] .mobile-menu {
    background: #1b262c;
}

[data-theme="dark"] .offer-card,
[data-theme="dark"] .browser-mockup,
[data-theme="dark"] .bank-node,
[data-theme="dark"] .demo-browser,
[data-theme="dark"] .demo-notification,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] a.early-access-card {
    background: #1b262c;
}

[data-theme="dark"] .feature-card {
    background: #1b262c;
    border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .feature-large {
    background: linear-gradient(135deg, #1b262c 0%, #22313A 100%);
}

[data-theme="dark"] .testimonial-card.featured {
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.25) 0%, #1b262c 100%);
}

[data-theme="dark"] .browser-address,
[data-theme="dark"] .demo-address,
[data-theme="dark"] .mini-banner {
    background: #22313A;
}

[data-theme="dark"] .btn-secondary {
    background: #22313A;
    border-color: rgba(255, 255, 255, 0.12);
    color: #C5D5DE;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #2D4050;
    border-color: var(--purple-400);
    color: var(--purple-300);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select {
    background: #22313A;
    border-color: rgba(255, 255, 255, 0.12);
    color: #E8EEF3;
}

[data-theme="dark"] .form-input::placeholder {
    color: #7A95A5;
}

[data-theme="dark"] .waitlist-form,
[data-theme="dark"] .waitlist-success {
    background: #22313A;
}

[data-theme="dark"] .hero-badge {
    color: #BBE1FA;
    background: rgba(50, 130, 184, 0.15);
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
[data-animate] {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    opacity: 1;
}

/* Only apply animation states when JS is loaded and ready */
.js-loaded [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.js-loaded [data-animate="fade-in"] {
    opacity: 0;
    transform: none;
}

[data-animate].animated,
.js-loaded [data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

    .demo-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .demo-content .section-label,
    .demo-content .section-title,
    .demo-content .section-subtitle {
        text-align: center;
    }

    .demo-features {
        align-items: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-visual {
        height: 400px;
    }

    .offer-card {
        width: 200px;
        padding: var(--space-4);
    }

    .card-1 { top: 5%; left: 0; }
    .card-2 { top: 0; right: 0; }
    .card-3 { bottom: 20%; left: -5%; }
    .card-4 { bottom: 10%; right: 0; }

    .browser-mockup {
        width: 260px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .step-connector {
        display: none;
    }

    .demo-notification {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-6);
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .bank-logos {
        gap: var(--space-6);
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .stat-divider {
        display: none;
    }

    .offer-card {
        display: none;
    }

    .card-1 {
        display: flex;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        animation: none;
    }

    .browser-mockup {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@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;
    }

    .shape {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
