/* ========================================
   SusuFlex Marketing Website Styles
   ======================================== */

/* ========================================
   Page Loader
   ======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    font-size: 4rem;
    margin-bottom: var(--space-4, 16px);
    animation: loaderBounce 1s ease-in-out infinite;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    margin: 0 auto var(--space-4, 16px);
    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
}

:root {
    /* Brand Colors */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary: #10B981;
    --accent: #F59E0B;
    
    /* Neutrals - WCAG AA compliant contrast */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #6B7280;  /* Darkened for contrast */
    --gray-500: #4B5563;  /* Darkened from #6B7280 for WCAG AA */
    --gray-600: #374151;  /* Darkened for better contrast */
    --gray-700: #1F2937;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-hero: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
}

/* ========================================
   Glassmorphism Utility Classes
   ======================================== */
.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(31, 38, 135, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .glass {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ========================================
   Worldclass Enhancements
   ======================================== */
.compliance-section {
    background: var(--gray-50);
}

.compliance-section .section-header h2 {
    color: var(--gray-900);
}

.compliance-section .section-header p {
    color: var(--gray-600);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
}

.compliance-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.compliance-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    margin-bottom: var(--space-4);
    font-size: 1.2rem;
}

.availability-row {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin: var(--space-6) 0;
}

.availability-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
}

.investor-highlights .section-header {
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
}

.highlight-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    font-size: 1.6rem;
    margin-bottom: var(--space-4);
}

.data-room-section {
    background: var(--gray-50);
}

.data-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

.data-room-card {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-room-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.data-room-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
}

[data-theme="dark"] .compliance-section,
[data-theme="dark"] .data-room-section {
    background: var(--gray-100);
}

[data-theme="dark"] .compliance-card,
[data-theme="dark"] .highlight-card,
[data-theme="dark"] .data-room-card {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

/* Circle member positioning for about page */
.circle-members .member-1 { --i: 1; }
.circle-members .member-2 { --i: 2; }
.circle-members .member-3 { --i: 3; }
.circle-members .member-4 { --i: 4; }
.circle-members .member-5 { --i: 5; }
.circle-members .member-6 { --i: 6; }

[data-theme="dark"] {
    --white: #0b1224;
    --gray-50: #0f172a;
    --gray-100: #111827;
    --gray-200: #1f2937;
    --gray-300: #273143;
    --gray-400: #4b5563;
    --gray-500: #9ca3af;
    --gray-600: #d1d5db;
    --gray-700: #e5e7eb;
    --gray-800: #f3f4f6;
    --gray-900: #f9fafb;
    --gradient-hero: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color-scheme: dark;
}

/* Dark mode navbar fix */
[data-theme="dark"] .navbar {
    background: rgba(11, 18, 36, 0.95);
    border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .nav-links a {
    color: var(--gray-600);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--primary);
}

[data-theme="dark"] .logo {
    color: var(--gray-900);
}

[data-theme="dark"] .language-select {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-700);
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-800);
    border-color: var(--gray-600);
    color: #fbbf24;
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--gray-700);
    border-color: var(--primary);
    color: #fcd34d;
}

[data-theme="dark"] .btn-outline {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--gray-200);
}

/* Reset & Base - Cross-browser normalization */
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2); /* iOS Safari tap highlight */
}

html {
    scroll-behavior: smooth;
}

/* iOS Safari touch-action fix - prevents 300ms click delay */
.btn, 
.mobile-menu-btn, 
.theme-toggle, 
.mobile-menu-overlay,
.mobile-menu-close, 
.mobile-menu-links a,
.category-btn,
.faq-item summary,
.exit-popup-close,
.nav-links a,
.logo,
.social-links a,
.footer-links a,
.pricing-card,
.app-badge,
details summary,
[onclick] {
    touch-action: manipulation;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    padding-top: 64px; /* offset fixed navbar */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-center.section-header {
    margin-bottom: var(--space-8);
}

.link-primary {
    color: var(--primary);
}

.link-primary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.btn-outline::before {
    background: rgba(37, 99, 235, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: 1.1rem;
}

/* Security page: ensure Member Safety card titles stay dark on white cards */
.member-safety h3 {
    color: #0f172a !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 1.75rem;
}

/* Image Logo */
.logo-img {
    display: block;
    height: auto;
    width: auto;
    max-height: 48px;
}

/* Square app-icon style (used in navbar/mobile/footer) */
.logo-icon-img {
    height: 32px;
    width: 32px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.logo:hover .logo-icon-img {
    /* Logo icon inherits parent hover transform */
    opacity: 1;
}

.footer-logo-img {
    height: 48px;
    width: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Word next to icon (keeps brand readable at small sizes) */
.logo-word {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gray-900);
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .logo-word {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: var(--space-6);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    gap: var(--space-3);
}

.language-select {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: #6366f1;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
}

.theme-toggle .moon {
    color: #6366f1;
}

.theme-toggle .sun {
    color: #f59e0b;
}

.theme-toggle:hover { 
    border-color: var(--primary); 
    background: var(--gray-50);
    transform: scale(1.05);
}

.nav-cta .btn { white-space: nowrap; }

.mobile-menu-btn {
    display: none;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
    padding: var(--space-2);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:active {
    background: var(--gray-200);
}

[data-theme="dark"] .mobile-menu-btn {
    background: var(--gray-800);
    border-color: var(--gray-600);
    color: var(--gray-100);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 var(--space-16);
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Animated Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.2));
    top: -10%;
    right: -5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(37, 99, 235, 0.15));
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
    top: 40%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: rgba(124, 58, 237, 0.2);
    top: 20%;
    left: 10%;
    animation-delay: -7s;
    animation-duration: 22s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.3);
    bottom: 30%;
    right: 30%;
    animation-delay: -3s;
    animation-duration: 15s;
}

.shape-6 {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.25);
    top: 60%;
    left: 25%;
    animation-delay: -12s;
    animation-duration: 17s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

[data-theme="dark"] .hero-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

[data-theme="dark"] .shape {
    opacity: 0.3;
}

[data-theme="dark"] .grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(37, 99, 235, 0.1);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

[data-theme="dark"] .hero-badge {
    background: rgba(248, 250, 252, 0.95);
    color: #0f172a;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.hero-content h1 {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-subtitle {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-cta {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-trust {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-phone-mock {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.trust-item i {
    color: var(--secondary);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.hero-mock {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 12px solid var(--gray-900);
}

.phone-screen {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--gray-900);
}

/* Hero Floating Info Cards - positioned around the phone */
.hero-float-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.phone-float-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-3);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    opacity: 0;
    animation: floatCardIn 0.6s ease-out forwards;
}

.phone-float-element span {
    margin-right: 6px;
}

.phone-float-1 {
    top: 15%;
    right: 0;
    animation-delay: 1.2s;
    animation-name: floatCard1;
}

.phone-float-2 {
    top: 45%;
    left: -20px;
    animation-delay: 1.5s;
    animation-name: floatCard2;
}

.phone-float-3 {
    bottom: 20%;
    right: 10px;
    animation-delay: 1.8s;
    animation-name: floatCard3;
}

@keyframes floatCard1 {
    0% { opacity: 0; transform: translateX(20px) translateY(10px); }
    100% { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes floatCard2 {
    0% { opacity: 0; transform: translateX(-20px) translateY(10px); }
    100% { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes floatCard3 {
    0% { opacity: 0; transform: translateX(20px) translateY(-10px); }
    100% { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Floating animation after entry */
.phone-float-element {
    animation: floatCardIn 0.6s ease-out forwards, floatHover 4s ease-in-out infinite 2s;
}

@keyframes floatCardIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Dark mode floating cards */
[data-theme="dark"] .phone-float-element {
    background: rgba(30, 41, 59, 0.95);
    color: var(--gray-100);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(37, 99, 235, 0.1);
}

/* Hero Phone Mock - Enhanced with Smooth Layer Integration */
.hero-phone-mock {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    position: relative;
    z-index: 2;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.phone-frame {
    position: relative;
    width: 280px;
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow: 
        /* Outer ambient shadow - soft and diffused */
        0 60px 120px -30px rgba(0, 0, 0, 0.5),
        0 40px 80px -40px rgba(37, 99, 235, 0.3),
        /* Mid-level shadow for depth */
        0 25px 50px -20px rgba(0, 0, 0, 0.4),
        /* Close shadow for grounding */
        0 10px 20px -10px rgba(0, 0, 0, 0.3),
        /* Inner highlights for premium feel */
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 6px rgba(0, 0, 0, 0.3),
        /* Subtle border glow */
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 30px rgba(37, 99, 235, 0.15);
    /* Removed bouncing animation - now static */
    transform-style: preserve-3d;
    /* Smooth transition for any state changes */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
    box-shadow: 
        0 70px 140px -30px rgba(0, 0, 0, 0.55),
        0 50px 100px -40px rgba(37, 99, 235, 0.35),
        0 30px 60px -20px rgba(0, 0, 0, 0.45),
        0 15px 30px -10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(37, 99, 235, 0.25);
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-15px) rotateX(0deg) rotateY(2deg);
    }
}

/* Phone ambient glow layer - creates smooth blending with background */
.phone-glow {
    position: absolute;
    width: 350px;
    height: 650px;
    border-radius: 60px;
    background: radial-gradient(
        ellipse 100% 100% at 50% 40%,
        rgba(37, 99, 235, 0.2) 0%,
        rgba(124, 58, 237, 0.12) 25%,
        rgba(124, 58, 237, 0.05) 50%,
        transparent 70%
    );
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* Phone reflection/ground effect - creates depth illusion */
.phone-reflection {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
    background: radial-gradient(
        ellipse 100% 100% at 50% 0%,
        rgba(37, 99, 235, 0.15) 0%,
        rgba(37, 99, 235, 0.08) 40%,
        transparent 80%
    );
    filter: blur(20px);
    z-index: -1;
    animation: reflectionPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes reflectionPulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1.1);
    }
}

/* Dark mode enhancements for phone */
[data-theme="dark"] .phone-glow {
    background: radial-gradient(
        ellipse 100% 100% at 50% 40%,
        rgba(37, 99, 235, 0.35) 0%,
        rgba(124, 58, 237, 0.2) 25%,
        rgba(124, 58, 237, 0.08) 50%,
        transparent 70%
    );
}

[data-theme="dark"] .phone-reflection {
    background: radial-gradient(
        ellipse 100% 100% at 50% 0%,
        rgba(37, 99, 235, 0.25) 0%,
        rgba(37, 99, 235, 0.12) 40%,
        transparent 80%
    );
}

[data-theme="dark"] .phone-frame {
    box-shadow: 
        0 60px 120px -30px rgba(0, 0, 0, 0.7),
        0 40px 80px -40px rgba(37, 99, 235, 0.4),
        0 25px 50px -20px rgba(0, 0, 0, 0.5),
        0 10px 20px -10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(37, 99, 235, 0.25),
        0 0 80px rgba(124, 58, 237, 0.15);
}

/* Phone side buttons */
.phone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 100px;
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, #374151, #1f2937);
    border-radius: 0 3px 3px 0;
}

.phone-frame::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 150px;
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg, #374151, #1f2937);
    border-radius: 0 3px 3px 0;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #111827;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-notch::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #1f2937;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.phone-notch::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #374151;
    border-radius: 50%;
}

.phone-frame .phone-screen {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 32px;
    padding: var(--space-4);
    min-height: 500px;
    border: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

/* Screen content animations */
.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    margin-bottom: var(--space-3);
    padding-top: 20px;
    animation: slideInDown 0.5s ease-out 0.8s backwards;
}

.screen-greeting {
    animation: slideInLeft 0.5s ease-out 1s backwards;
}

.screen-summary {
    animation: slideInRight 0.5s ease-out 1.1s backwards;
}

.screen-circle-card {
    animation: slideInUp 0.5s ease-out 1.2s backwards;
}

.screen-nav {
    animation: slideInUp 0.5s ease-out 1.3s backwards;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progress bar animation */
.progress-fill {
    animation: progressGrow 1.5s ease-out 1.5s backwards;
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: 75%; }
}

/* Notification pulse */
.notification-dot::after {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.app-logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.notification-dot {
    position: relative;
    font-size: 1.25rem;
}

.notification-dot::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.screen-greeting {
    margin-bottom: var(--space-4);
}

.greeting-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.greeting-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.screen-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.summary-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.summary-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-1);
}

.summary-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    display: block;
}

.summary-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.screen-circle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
}

.circle-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.circle-emoji {
    font-size: 2rem;
}

.circle-info {
    flex: 1;
}

.circle-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.circle-status {
    font-size: 0.75rem;
    color: var(--secondary);
}

.circle-progress {
    margin-bottom: var(--space-2);
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: var(--radius-full);
    width: 75%;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-align: right;
}

.circle-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.amount-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.screen-nav {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    box-shadow: var(--shadow-sm);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    color: var(--gray-500);
    padding: var(--space-1);
}

.nav-item span:first-child {
    font-size: 1.25rem;
}

.nav-item.active {
    color: var(--primary);
}

/* Phone Screen Carousel */
.phone-screen-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    touch-action: pan-y;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active:hover {
    background: var(--primary);
}

/* Carousel Arrow Buttons */
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    pointer-events: none;
    z-index: 10;
}

.carousel-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-600);
    pointer-events: auto;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.phone-frame:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Slide-specific styles */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Educational slides styling */
.edu-slide {
    padding: var(--space-3);
    padding-top: 30px;
}

.edu-slide .slide-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--space-3);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.edu-slide .slide-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: var(--space-2);
}

.edu-slide .slide-description {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.edu-slide .feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.edu-slide .feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: white;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.edu-slide .feature-item .feature-icon {
    font-size: 1.2rem;
}

.edu-slide .feature-item .feature-text {
    color: var(--gray-700);
}

/* Live animations for dashboard */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--secondary);
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Animated counter */
.animated-value {
    display: inline-block;
}

/* Swipe hint */
.swipe-hint {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: fadeInHint 0.5s ease-out 2s forwards;
}

@keyframes fadeInHint {
    to { opacity: 1; }
}

.swipe-hint i {
    animation: swipeHintMove 1.5s ease-in-out infinite;
}

@keyframes swipeHintMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Progress animation for circle */
.progress-fill.animated {
    animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.app-preview {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.preview-title {
    font-weight: 600;
    color: var(--gray-900);
}

.preview-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.preview-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.preview-members {
    display: flex;
    justify-content: center;
}

.member-avatar {
    width: 36px;
    height: 36px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-left: -8px;
    border: 2px solid var(--white);
}

.member-avatar:first-child {
    margin-left: 0;
}

.member-avatar.more {
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Social Proof */
.social-proof {
    padding: var(--space-12) 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.feature-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.feature-card-ui {
    background: #111827;
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
    margin: 0;
    color: rgba(255,255,255,0.88);
}

.feature-bullets li {
    font-size: 0.97rem;
    line-height: 1.45;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.vote-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    justify-content: space-between;
}

.vote-meter {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    justify-content: space-between;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: var(--white);
}

.chip-success { background: rgba(16,185,129,0.18); color: #34d399; }
.chip-warning { background: rgba(245,158,11,0.18); color: #fbbf24; }
.chip-info { background: rgba(59,130,246,0.18); color: #60a5fa; }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

.pill-primary { background: rgba(37,99,235,0.18); color: #93b4ff; }
.pill-success { background: rgba(16,185,129,0.18); color: #6ee7b7; }

.text-strong { font-weight: 600; }
.text-soft { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.progress-bar.thin { height: 6px; background: rgba(255,255,255,0.08); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill.active { background: linear-gradient(90deg, #10b981, #34d399); }

/* Color-coded borders for feature cards */
.border-green { border-left: 4px solid #10b981; }
.border-yellow { border-left: 4px solid #f59e0b; }
.border-blue { border-left: 4px solid #3b82f6; }
.border-purple { border-left: 4px solid #8b5cf6; }

/* ========================================
   Visual Flow Diagram (ByteByteGo style)
   ======================================== */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-200);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    min-width: 120px;
    text-align: center;
    border: 2px solid;
}

.flow-green { background: rgba(16,185,129,0.1); border-color: #10b981; }
.flow-blue { background: rgba(59,130,246,0.1); border-color: #3b82f6; }
.flow-purple { background: rgba(139,92,246,0.1); border-color: #8b5cf6; }
.flow-teal { background: rgba(20,184,166,0.1); border-color: #14b8a6; }

.flow-icon { font-size: 2rem; margin-bottom: var(--space-2); }
.flow-label { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; }
.flow-desc { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

.flow-arrow {
    font-size: 1.5rem;
    color: var(--gray-400);
    font-weight: 700;
}

.flow-loop { color: var(--secondary); }

/* Money Flow Diagram */
.money-flow-section {
    margin-bottom: var(--space-10);
    text-align: center;
}

.money-flow-title {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.money-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.member-ring {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    background: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
}

.member-node span {
    font-size: 0.65rem;
    color: var(--gray-600);
    position: absolute;
    bottom: -18px;
}

.member-node.highlight {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 25%; right: 0; }
.node-3 { bottom: 25%; right: 0; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-5 { top: 50%; left: 0; transform: translateY(-50%); }

.pot-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: var(--space-4);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.pot-icon { font-size: 1.5rem; }
.pot-amount { font-size: 1.25rem; font-weight: 700; }
.pot-label { font-size: 0.65rem; opacity: 0.9; }

.flow-legend {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.green { background: #10b981; }
.legend-dot.blue { background: #3b82f6; }
.legend-dot.gray { background: var(--gray-300); }

/* Timeline Visual */
.timeline-visual {
    margin-bottom: var(--space-8);
    text-align: center;
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.timeline-bar {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.timeline-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    min-width: 60px;
}

.timeline-segment.done {
    background: rgba(16,185,129,0.15);
    border: 2px solid #10b981;
}

.timeline-segment.current {
    background: rgba(59,130,246,0.15);
    border: 2px solid #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.timeline-segment.upcoming {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
}

.seg-label { font-size: 0.7rem; color: var(--gray-500); font-weight: 600; }
.seg-who { font-size: 1.25rem; margin-top: 4px; }

.timeline-legend {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.tl-done { color: #10b981; }
.tl-current { color: #3b82f6; }
.tl-upcoming { color: var(--gray-400); }

@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
        gap: var(--space-3);
    }
    .flow-arrow { transform: rotate(90deg); }
    .member-ring { width: 240px; height: 240px; }
    .member-node { width: 50px; height: 50px; font-size: 1.5rem; }
    .pot-center { width: 80px; height: 80px; padding: var(--space-3); }
    .pot-amount { font-size: 1rem; }
}


.app-preview-section {
    padding: var(--space-16) 0;
    background: var(--white);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.screenshot-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.screenshot-card img {
    display: block;
    width: 100%;
}

.screenshot-card figcaption {
    padding: var(--space-4);
    color: var(--gray-600);
    font-size: 0.95rem;
    text-align: center;
}

/* App Mock Cards */
.app-mock-card {
    background: #1f2937;
    padding: 0;
}

.app-mock {
    padding: var(--space-6);
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    min-height: 280px;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.mock-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.mock-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.mock-score {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
}

.mock-pool {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
    margin-bottom: var(--space-4);
}

.pool-label {
    display: block;
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-bottom: var(--space-1);
}

.pool-amount {
    display: block;
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 700;
}

.mock-info {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-400);
    font-size: 0.85rem;
}

.info-item i {
    color: var(--primary-light);
}

.mock-members {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.mock-members .member {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mock-members .member.highlight {
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.mock-members .member:last-child {
    background: var(--gray-700);
    color: var(--gray-400);
    font-size: 0.85rem;
}

.mock-trust-bar {
    height: 8px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
    overflow: hidden;
}

.trust-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    width: 92%;
}

.mock-payments {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.payment-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.payment-icon {
    font-size: 1rem;
}

.payment-name {
    flex: 1;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.payment-status {
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-row.paid .payment-status {
    color: var(--secondary);
}

.payment-row.pending .payment-status {
    color: var(--accent);
}

.mock-reminder {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: var(--space-3);
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.mock-reminder i {
    color: var(--accent);
}

.app-mock-card figcaption {
    background: var(--gray-800);
    color: var(--gray-400);
    padding: var(--space-4);
    text-align: center;
    border-top: 1px solid var(--gray-700);
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.proof-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.calculator-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-8);
    align-items: start;
}

.calculator-inputs {
    position: sticky;
    top: 100px;
}

.input-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.input-card h4 {
    margin-bottom: var(--space-4);
    color: var(--gray-800);
    font-size: 1.1rem;
}

.calculator-form {
    display: grid;
    gap: var(--space-3);
}

.calculator-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-top: var(--space-2);
}

.calculator-form input,
.calculator-form select {
    padding: var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.calculator-form input:focus,
.calculator-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.result-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.result-card.winner {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.result-card.winner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.result-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary), #10b981);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: var(--space-2);
}

.result-card h3 {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: var(--space-3);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.result-card.winner .result-amount {
    color: var(--secondary);
}

.result-amount.bank-amount {
    color: var(--gray-500);
    font-size: 2rem;
}

.result-time {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    margin-bottom: var(--space-4);
}

.result-card.winner .result-time {
    background: rgba(16, 185, 129, 0.1);
}

.time-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.time-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.time-value.bank-time {
    color: var(--gray-600);
}

.result-benefits,
.result-drawbacks {
    list-style: none;
    text-align: left;
    font-size: 0.875rem;
}

.result-benefits li,
.result-drawbacks li {
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
}

.result-benefits li:last-child,
.result-drawbacks li:last-child {
    border-bottom: none;
}

.result-benefits li {
    color: var(--secondary);
}

.result-drawbacks li {
    color: var(--gray-500);
}

.time-savings-highlight {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: white;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.highlight-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.highlight-content {
    flex: 1;
}

.highlight-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.highlight-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
}

.highlight-note {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 4px;
}

.timeline-comparison {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.timeline-comparison h4 {
    margin-bottom: var(--space-4);
    color: var(--gray-700);
}

.timeline-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.timeline-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: var(--space-3);
}

.timeline-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.timeline-bar-container {
    position: relative;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: visible;
}

.timeline-bar {
    height: 100%;
    border-radius: var(--radius-md);
    transition: width 0.5s ease;
    position: relative;
}

.timeline-bar.susuflex-bar {
    background: linear-gradient(90deg, var(--secondary), #10b981);
}

.timeline-bar.bank-bar {
    background: linear-gradient(90deg, var(--gray-400), var(--gray-500));
}

.timeline-marker {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.timeline-marker.bank-marker {
    background: var(--gray-600);
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        position: static;
    }
    
    .result-comparison {
        grid-template-columns: 1fr;
    }
    
    .timeline-row {
        grid-template-columns: 80px 1fr;
    }
}

/* How It Works */
.how-it-works {
    padding: var(--space-20) 0;
    background: var(--white);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.step h3 {
    margin-bottom: var(--space-3);
}

.step p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: var(--gray-300);
    font-size: 1.5rem;
}

.example-box {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    max-width: 700px;
    margin: 0 auto;
    border-left: 4px solid var(--primary);
}

.example-box h4 {
    margin-bottom: var(--space-2);
}

/* Features */
.features {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 
        0 4px 24px rgba(31, 38, 135, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(31, 38, 135, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: var(--space-2);
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Tradition Section */
.tradition {
    padding: var(--space-20) 0;
    background: var(--white);
}

.tradition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.tradition-text h2 {
    margin-bottom: var(--space-6);
}

.tradition-text p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

.tradition-names {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.name-tag {
    background: var(--gray-100);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.name-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* Testimonials */
.testimonials {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: var(--space-5);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-avatar.emoji-avatar {
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Testimonial avatar gradient variants */
.emoji-avatar.gradient-warm {
    background: linear-gradient(135deg, #FF6B6B, #FFE66D);
}

.emoji-avatar.gradient-teal {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.emoji-avatar.gradient-purple {
    background: linear-gradient(135deg, #A855F7, #6366F1);
}

.author-avatar img,
.author-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info strong {
    display: block;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* CTA Section */
.cta-section {
    padding: var(--space-20) 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* CTA Animated Background */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: ctaParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes ctaParticles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 40%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-content > p {
    opacity: 0.9;
    margin-bottom: var(--space-8);
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-note {
    opacity: 0.95;
    font-size: 0.875rem;
}

.waitlist-form {
    max-width: 900px;
    margin: 0 auto;
}

.waitlist-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-3);
    align-items: center;
}

.waitlist-row input {
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.waitlist-row button {
    width: 100%;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    margin-bottom: var(--space-4);
    font-size: 0.875rem;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    color: white;
    margin-bottom: var(--space-4);
    font-size: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid #1f2937;
    text-align: center;
    font-size: 0.875rem;
}

.disclaimer {
    margin-top: var(--space-4);
    font-size: 0.75rem;
}

.disclaimer a {
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-8);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tradition-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: var(--space-4) 0;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    body {
        padding-top: 64px;
    }

    .nav-container {
        height: 64px;
    }
}

/* Mobile Menu Styles - Hidden on desktop (Safari/Edge/Chrome compatible) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    right: -100vw; /* Safari fix */
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: -webkit-fill-available; /* iOS Safari */
    height: 100dvh; /* Dynamic viewport height for mobile Safari */
    background: var(--white);
    z-index: 1001;
    -webkit-transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    display: none !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

/* Only show mobile menu on mobile devices */
@media (max-width: 768px) {
    .mobile-menu {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: hidden; /* Still hidden until active */
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    
    .mobile-menu.active {
        visibility: visible !important;
        opacity: 1 !important;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        right: 0;
    }
}

/* Desktop: Ensure menu is absolutely hidden */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        right: -100% !important;
        -webkit-transform: translateX(100%) !important;
        transform: translateX(100%) !important;
    }
    
    .mobile-menu-overlay,
    .mobile-menu-overlay.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.mobile-menu.active {
    right: 0;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.mobile-menu-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: var(--space-2);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    color: var(--gray-900);
}

.mobile-menu-links {
    flex: 1;
    padding: var(--space-4) 0;
    overflow-y: auto;
}

.mobile-menu-links a {
    display: block;
    padding: var(--space-4) var(--space-6);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-links a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-menu-cta {
    padding: var(--space-4) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    border-top: 1px solid var(--gray-200);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.mobile-menu-footer {
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    position: relative;
    z-index: 10;
}

/* Mobile theme toggle button improvements */
.mobile-menu-footer .theme-toggle {
    width: 50px;
    height: 50px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer; /* Required for iOS Safari click events */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Dark mode mobile menu */
[data-theme="dark"] .mobile-menu {
    background: var(--gray-900);
}

[data-theme="dark"] .mobile-menu-header {
    border-bottom-color: var(--gray-700);
}

[data-theme="dark"] .mobile-menu-close {
    color: var(--gray-400);
}

[data-theme="dark"] .mobile-menu-close:hover {
    color: var(--gray-100);
}

[data-theme="dark"] .mobile-menu-links a {
    color: var(--gray-300);
    border-bottom-color: var(--gray-800);
}

[data-theme="dark"] .mobile-menu-links a:hover {
    background: var(--gray-800);
    color: var(--primary-light);
}

[data-theme="dark"] .mobile-menu-cta {
    border-top-color: var(--gray-700);
}

[data-theme="dark"] .mobile-menu-footer {
    border-top-color: var(--gray-700);
    background: var(--gray-800);
}

/* Dark mode feature cards - Keep dark backgrounds with light text */
[data-theme="dark"] .feature-card-ui {
    background: #1e293b;
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-card-ui .feature-bullets,
[data-theme="dark"] .feature-card-ui .feature-bullets li {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .feature-card-ui h3,
[data-theme="dark"] .feature-card-ui h4 {
    color: #f8fafc;
}

[data-theme="dark"] .feature-card-ui p {
    color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .feature-card-header .badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Dark mode regular feature cards */
[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .feature-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.2));
}

/* Dark mode greeting and summary styles */
[data-theme="dark"] .greeting-text {
    color: var(--gray-400);
}

[data-theme="dark"] .greeting-name {
    color: var(--gray-100);
}

[data-theme="dark"] .summary-item {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .summary-label {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .summary-value {
    color: #ffffff;
}

/* Dark mode app demo screen styles */
[data-theme="dark"] .screen-circle-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .circle-name {
    color: #ffffff;
}

[data-theme="dark"] .circle-status {
    color: #10b981;
}

[data-theme="dark"] .progress-text {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(59, 130, 246, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

[data-theme="dark"] .amount-label {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .amount-value {
    color: #10b981;
}

[data-theme="dark"] .progress-bar {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .screen-nav {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .app-preview {
    background: #1e293b;
}

[data-theme="dark"] .preview-title {
    color: var(--gray-100);
}

/* Dark mode calculator section (pricing page) */
[data-theme="dark"] .calculator-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .calculator-section .section-header h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .calculator-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .calculator-section .section-badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .input-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .input-card h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .calculator-form label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .calculator-form input,
[data-theme="dark"] .calculator-form select {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

[data-theme="dark"] .calculator-form input:focus,
[data-theme="dark"] .calculator-form select:focus {
    border-color: var(--primary);
}

[data-theme="dark"] .result-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .result-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .result-card.winner {
    border-color: var(--secondary);
}

[data-theme="dark"] .result-time .time-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .result-time .time-value {
    color: #f1f5f9;
}

[data-theme="dark"] .result-benefits li {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .result-drawbacks li {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode winner card - fix green gradient */
[data-theme="dark"] .result-card.winner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
}

/* Dark mode use cases section */
[data-theme="dark"] .use-cases-section {
    background: var(--gray-100);
}

[data-theme="dark"] .use-case-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .use-case-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .use-case-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .use-case-example {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .example-label {
    color: #60a5fa;
}

/* Dark mode stats section */
[data-theme="dark"] .stats-section {
    background: var(--gray-50);
}

[data-theme="dark"] .stat-number {
    color: #f1f5f9;
}

[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

/* Dark mode roadmap section */
[data-theme="dark"] .roadmap-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .roadmap-item h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .roadmap-item p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .quarter-header h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .legend-item {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .feature-request-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-request-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .feature-request-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode glossary section */
[data-theme="dark"] .glossary-nav {
    background: var(--gray-100);
}

[data-theme="dark"] .glossary-nav a {
    background: #1e293b;
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glossary-term {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .glossary-term dt {
    color: #f1f5f9;
}

[data-theme="dark"] .glossary-term dd {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .glossary-resources {
    background: var(--gray-100);
}

[data-theme="dark"] .resource-link {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

/* Dark mode press section */
[data-theme="dark"] .press-section h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .section-description {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .fact-card {
    background: #1e293b;
}

[data-theme="dark"] .fact-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .fact-value {
    color: #f1f5f9;
}

[data-theme="dark"] .boilerplate-card {
    background: #1e293b;
}

[data-theme="dark"] .boilerplate-card p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .screenshots-note {
    background: #1e293b;
}

[data-theme="dark"] .contact-card {
    background: #1e293b;
}

[data-theme="dark"] .guideline {
    background: #1e293b;
}

[data-theme="dark"] .guideline h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .guideline p,
[data-theme="dark"] .guideline li {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode FAQ section */
[data-theme="dark"] .faq-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .faq-question {
    color: #f1f5f9;
}

[data-theme="dark"] .faq-answer {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode: FAQ section background */
[data-theme="dark"] .faq-section {
    background: #111827;
}

/* Dark mode: Susu explainer section */
[data-theme="dark"] .susu-explainer {
    background: #0f172a;
}

[data-theme="dark"] .explainer-heading {
    color: #f1f5f9;
}

[data-theme="dark"] .explainer-text,
[data-theme="dark"] .explainer-text-spaced {
    color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .explainer-subheading {
    color: #f1f5f9;
}

/* Dark mode: Comparison table */
[data-theme="dark"] .comparison-table {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .comp-row {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .comp-header {
    background: #1e293b;
    color: #e2e8f0;
}

[data-theme="dark"] .comp-header span:last-child {
    color: #60a5fa;
}

[data-theme="dark"] .comp-row span:last-child {
    color: #34d399;
}

/* Dark mode: Partners section */
[data-theme="dark"] .partners-section {
    background: #0f172a;
}

[data-theme="dark"] .partners-title {
    color: #9ca3af;
}

[data-theme="dark"] .partners-grid {
    opacity: 0.85;
}

[data-theme="dark"] .partner-logo {
    color: #cbd5e1;
}

/* Dark mode: Amber outline button */
[data-theme="dark"] .btn-outline-amber {
    color: #fbbf24 !important;
    border-color: #fbbf24 !important;
}

[data-theme="dark"] .btn-outline-amber:hover {
    background: rgba(251, 191, 36, 0.1) !important;
}

/* Dark mode: Footer newsletter (fix var inversion) */
[data-theme="dark"] .newsletter-content h3 {
    color: #f9fafb;
}

[data-theme="dark"] .newsletter-content p {
    color: #9ca3af;
}

[data-theme="dark"] .newsletter-form input {
    color: #f9fafb;
}

[data-theme="dark"] .newsletter-form input::placeholder {
    color: #6b7280;
}

[data-theme="dark"] .footer-legal-small {
    color: #d1d5db;
}

/* Dark mode: Cookie consent hover fix */
[data-theme="dark"] .cookie-consent .btn-outline:hover {
    background: #273143;
    color: white;
}

/* Dark mode: App preview section */
[data-theme="dark"] .app-preview-section {
    background: #0f172a;
}

[data-theme="dark"] .section-heading-dark {
    color: #f1f5f9;
}

[data-theme="dark"] .section-subtext {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode: App mock cards */
[data-theme="dark"] .app-mock-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .app-mock-card figcaption {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .app-mock {
    background: #111827;
}

[data-theme="dark"] .mock-title {
    color: #f1f5f9;
}

[data-theme="dark"] .pool-label {
    color: #9ca3af;
}

[data-theme="dark"] .pool-amount {
    color: #f1f5f9;
}

[data-theme="dark"] .info-item {
    color: #9ca3af;
}

[data-theme="dark"] .payment-name {
    color: #e2e8f0;
}

[data-theme="dark"] .payment-status {
    color: #9ca3af;
}

[data-theme="dark"] .mock-reminder {
    color: #9ca3af;
}

/* Dark mode testimonials */
[data-theme="dark"] .testimonials {
    background: var(--gray-100);
}

[data-theme="dark"] .testimonial-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .testimonial-card p {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .testimonial-name {
    color: #f1f5f9;
}

[data-theme="dark"] .testimonial-role {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .name-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Dark mode team section */
[data-theme="dark"] .team-section {
    background: var(--gray-50);
}

[data-theme="dark"] .team-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .team-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .team-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode referral page */
[data-theme="dark"] .referral-step {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .referral-step h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .referral-step p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .reward-tier {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .reward-tier h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .reward-tier p {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode example boxes */
[data-theme="dark"] .example-box {
    background: #1e293b;
}

[data-theme="dark"] .example-box h4 {
    color: #f1f5f9;
}

[data-theme="dark"] .example-box p,
[data-theme="dark"] .example-box li {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Accessibility
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: var(--space-4);
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ========================================
   App Store Badges
   ======================================== */
.app-badges {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--gray-800);
    color: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.app-badge:hover {
    transform: translateY(-2px);
    background: var(--gray-700);
}

.app-badge i {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-small {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-large {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   Card Hover Effects
   ======================================== */
.feature-card,
.feature-card-ui,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card-ui:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Smooth theme transition */
body, .navbar, .btn, .feature-card, .feature-card-ui {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Social coming soon */
.social-coming-soon {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-style: italic;
}

/* Button loading state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading i {
    margin-right: 6px;
}

/* Example notice */
.example-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-top: var(--space-4);
}

[data-theme="dark"] .example-notice {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* ========================================
   Bento Grid (Apple/Stripe style)
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--space-4);
}

.bento-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.gradient-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.gradient-yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #dc2626); }

.bento-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.bento-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    flex-grow: 1;
}

.bento-visual {
    margin-top: auto;
    padding-top: var(--space-4);
}

/* Trust meter in bento */
.trust-meter {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.trust-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: 92%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: var(--radius-full);
}

.trust-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.trust-badges {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.mini-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-radius: var(--radius-full);
}

/* Payment logos */
.payment-logos {
    display: flex;
    gap: var(--space-4);
    margin-top: auto;
    padding-top: var(--space-4);
    font-size: 2rem;
    color: var(--gray-400);
}

/* AI Chat preview */
.ai-chat-preview {
    margin-top: auto;
    padding-top: var(--space-3);
}

.chat-bubble {
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    margin-bottom: var(--space-2);
}

.chat-bubble.user {
    background: var(--gray-100);
    color: var(--gray-700);
    margin-left: var(--space-6);
}

.chat-bubble.ai {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
    margin-right: var(--space-6);
}

/* Safety features */
.safety-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-4);
}

.safety-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-2) var(--space-3);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-700);
}

.safety-item i {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-medium, .bento-small {
        grid-column: span 1;
    }
}

/* ========================================
   Use Cases Section
   ======================================== */
.use-cases-section {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.use-case-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.use-case-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.use-case-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: var(--space-4);
}

.use-case-example {
    background: var(--gray-100);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.example-label {
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: var(--space-12) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Split CTA
   ======================================== */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.cta-benefits h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-benefits > p {
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--white);
    opacity: 0.95;
}

.benefits-list i {
    color: #34d399;
}

.cta-form-wrapper {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

.cta-form-wrapper h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-stack input {
    padding: var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.form-stack input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: var(--space-4);
}

@media (max-width: 768px) {
    .cta-split {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* ========================================
   Use Cases Detail Page
   ======================================== */
.use-cases-detail {
    padding: var(--space-16) 0;
}

.use-case-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--gray-200);
}

.use-case-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.use-case-block.reverse {
    direction: rtl;
}

.use-case-block.reverse > * {
    direction: ltr;
}

.use-case-visual {
    text-align: center;
}

.use-case-emoji-large {
    font-size: 6rem;
    margin-bottom: var(--space-6);
}

.visual-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
}

.v-stat {
    text-align: center;
}

.v-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.v-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.use-case-content h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.use-case-tagline {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.use-case-benefits {
    list-style: none;
    padding: 0;
    margin-top: var(--space-4);
}

.use-case-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--gray-700);
}

.use-case-benefits i {
    color: #10b981;
}

@media (max-width: 768px) {
    .use-case-block, .use-case-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .use-case-emoji-large {
        font-size: 4rem;
    }
}

/* ========================================
   Security Page
   ======================================== */
.security-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.trust-indicators {
    padding: var(--space-16) 0;
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.trust-card {
    text-align: center;
    padding: var(--space-6);
}

.trust-card .trust-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.trust-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.trust-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.security-features {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.security-block {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.security-icon-large {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.security-block h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.security-block ul {
    list-style: none;
    padding: 0;
}

.security-block li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--gray-700);
}

.security-block li i {
    color: #10b981;
}

.data-protection {
    padding: var(--space-16) 0;
}

.dp-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.dp-text h2 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.dp-text > p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.dp-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-6);
}

.dp-text li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.dp-text li i {
    color: #10b981;
}

.dp-visual {
    display: flex;
    justify-content: center;
}

.shield-graphic {
    position: relative;
    font-size: 8rem;
    color: var(--primary);
}

.shield-badge {
    position: absolute;
    background: #10b981;
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.shield-badge:first-of-type {
    top: 20%;
    right: -20px;
}

.shield-badge:last-of-type {
    bottom: 30%;
    left: -20px;
}

.bug-bounty {
    padding: var(--space-12) 0;
    background: var(--gray-50);
}

.bounty-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-300);
}

.bounty-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.bounty-card h2 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.bounty-card p {
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto var(--space-6);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
    .dp-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer Links Inline
   ======================================== */
.footer-links-inline {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    margin-top: var(--space-4);
}

.footer-links-inline a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-links-inline a:hover {
    color: var(--white);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========================================
   Mega Footer
   ======================================== */
.mega-footer {
    padding-top: var(--space-16);
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-10);
    gap: var(--space-8);
    flex-wrap: wrap;
}

.newsletter-content h3 {
    color: var(--white);
    margin-bottom: var(--space-2);
}

.newsletter-content p {
    color: #d1d5db;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
}

.newsletter-form input {
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    min-width: min(250px, 100%);
    flex: 1;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-grid.mega {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.footer-bottom.mega {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-legal-small {
    font-size: 0.8rem;
    color: #d1d5db;
    margin-top: var(--space-2);
}

.footer-bottom-right .disclaimer {
    text-align: right;
    max-width: 400px;
}

@media (max-width: 1024px) {
    .footer-grid.mega {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .footer-grid.mega .footer-brand {
        grid-column: span 4;
        margin-bottom: var(--space-6);
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
    .footer-grid.mega {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid.mega .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom.mega {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-right .disclaimer {
        text-align: center;
        max-width: none;
    }
}

/* ========================================
   Roadmap Page
   ======================================== */
.roadmap-section {
    padding: var(--space-16) 0;
}

.roadmap-legend {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.done { background: #10b981; }
.status-dot.progress { background: #3b82f6; }
.status-dot.planned { background: #f59e0b; }
.status-dot.future { background: var(--gray-300); }

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-quarter {
    margin-bottom: var(--space-12);
}

.quarter-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.quarter-header h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
}

.quarter-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.quarter-status.done { background: rgba(16, 185, 129, 0.15); color: #059669; }
.quarter-status.progress { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.quarter-status.planned { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.quarter-status.future { background: var(--gray-100); color: var(--gray-500); }

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.roadmap-item.done { border-left: 4px solid #10b981; }
.roadmap-item.progress { border-left: 4px solid #3b82f6; }
.roadmap-item.planned { border-left: 4px solid #f59e0b; }
.roadmap-item.future { border-left: 4px solid var(--gray-300); }

.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roadmap-item.done .item-icon { background: rgba(16, 185, 129, 0.15); color: #059669; }
.roadmap-item.progress .item-icon { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.roadmap-item.planned .item-icon { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.roadmap-item.future .item-icon { background: var(--gray-100); color: var(--gray-400); }

.item-content h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.item-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.feature-request-card {
    text-align: center;
    padding: var(--space-10);
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-300);
    margin-top: var(--space-12);
}

.fr-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.feature-request-card h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.feature-request-card p {
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto var(--space-6);
}

/* ========================================
   Glossary Page
   ======================================== */
.glossary-section {
    padding: var(--space-16) 0;
}

.glossary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-10);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.nav-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.glossary-nav a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.glossary-nav a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.glossary-content {
    max-width: 700px;
    margin: 0 auto;
}

.glossary-letter {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: var(--space-10) 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--primary);
}

.glossary-letter:first-child {
    margin-top: 0;
}

.glossary-term {
    padding: var(--space-5);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-4);
}

.glossary-term h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.term-origin {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.glossary-term p {
    color: var(--gray-600);
    line-height: 1.6;
}

.glossary-resources {
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.glossary-resources h3 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.resource-links {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.resource-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.resource-link i {
    color: var(--primary);
}

/* ========================================
   Press Kit Page
   ======================================== */
.press-section {
    padding: var(--space-16) 0;
}

.press-section h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-description {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.press-facts {
    margin-bottom: var(--space-12);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
}

.fact-card {
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
}

.fact-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.fact-value {
    font-weight: 600;
    color: var(--gray-900);
}

.press-boilerplate {
    margin-bottom: var(--space-12);
}

.boilerplate-card {
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.boilerplate-card h3 {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: var(--space-3);
}

.boilerplate-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.copy-btn {
    font-size: 0.85rem;
}

.press-logos {
    margin-bottom: var(--space-12);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.logo-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.logo-preview {
    padding: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

/* Press page previews should show a larger logo */
.logo-preview .logo-img {
    max-height: 72px;
}

.logo-preview.light {
    background: var(--white);
}

.logo-preview.dark {
    background: #111827;
    color: white;
}

.logo-preview .logo-icon {
    font-size: 2rem;
}

.logo-preview .logo-icon.large {
    font-size: 3rem;
}

.logo-preview .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-preview.icon-only {
    flex-direction: column;
}

.logo-info {
    padding: var(--space-4);
    background: var(--gray-50);
}

.logo-info h4 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.logo-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.brand-colors h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.color-swatches {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.swatch {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.color-name {
    font-size: 0.85rem;
    color: var(--gray-700);
}

.color-hex {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-family: monospace;
}

.press-screenshots {
    margin-bottom: var(--space-12);
}

.screenshots-note {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    color: var(--gray-600);
}

.press-contact {
    margin-bottom: var(--space-12);
}

.contact-card {
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.contact-email {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: var(--space-2);
}

.contact-response {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-500);
    font-size: 0.9rem;
}

.press-guidelines {
    margin-bottom: var(--space-12);
}

.guidelines-content {
    display: grid;
    gap: var(--space-4);
}

.guideline {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.guideline i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.guideline i.fa-check-circle { color: #10b981; }
.guideline i.fa-times-circle { color: #ef4444; }
.guideline i.fa-info-circle { color: #3b82f6; }

.guideline h4 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.guideline p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ========================================
   Referral Page
   ======================================== */
.referral-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

.referral-section {
    padding: var(--space-16) 0;
}

.referral-steps {
    margin-bottom: var(--space-16);
}

.referral-steps h2 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--space-8);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.referral-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.referral-step h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.referral-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--gray-300);
    font-size: 1.5rem;
    padding-top: var(--space-10);
}

.referral-rewards {
    margin-bottom: var(--space-16);
}

.referral-rewards h2 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.rewards-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.reward-tier {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    text-align: center;
    position: relative;
}

.reward-tier.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
}

.tier-icon.bronze { color: #cd7f32; }
.tier-icon.silver { color: #c0c0c0; }
.tier-icon.gold { color: #ffd700; }

.tier-referrals {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: var(--space-2);
}

.reward-tier h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.tier-perks {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tier-perks li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.tier-perks i {
    color: #10b981;
}

.referral-cta-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-10);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: var(--radius-xl);
    color: var(--white);
    margin-bottom: var(--space-16);
}

.cta-card-content h2 {
    color: var(--white);
    margin-bottom: var(--space-2);
}

.cta-card-content p {
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.link-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-align: center;
}

.link-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: var(--space-2);
}

.link-example {
    font-family: monospace;
    font-size: 1rem;
}

.link-example .highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.share-section {
    margin-bottom: var(--space-16);
}

.share-section h2 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--space-8);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4);
}

.share-option {
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s;
}

.share-option:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.share-icon {
    font-size: 2rem;
    margin-bottom: var(--space-2);
}

.share-icon .fa-whatsapp { color: #25d366; }
.share-icon .fa-twitter { color: #1da1f2; }
.share-icon .fa-facebook { color: #1877f2; }
.share-icon .fa-linkedin { color: #0a66c2; }
.share-icon .fa-comment-dots { color: var(--primary); }
.share-icon .fa-envelope { color: var(--gray-600); }

.share-option h4 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.share-option p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.referral-faq {
    max-width: 700px;
    margin: 0 auto;
}

.referral-faq h2 {
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--space-8);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.faq-item h4 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .step-arrow {
        transform: rotate(90deg);
        padding: var(--space-4) 0;
    }
    .referral-cta-card {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Social Proof & Trust Badges
   ======================================== */
.social-proof-stats {
    background: var(--gradient-hero);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-proof-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(37, 99, 235, 0.08), transparent);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.stat-item {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    transition: transform 0.3s ease;
}

.stat-number.counting {
    animation: countPulse 0.3s ease;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: var(--space-2);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Partner Logos */
.partners-section {
    padding: var(--space-12) 0;
    background: var(--gray-50);
    text-align: center;
}

/* Collapsible trust badge header (index.html uses inline styles) */
html:not([data-theme="dark"]) .trust-badge-toggle {
    background: var(--gradient-primary) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

.partners-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: var(--space-6);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4) var(--space-8);
    flex-wrap: wrap;
    width: 100%;
    opacity: 0.8;
}

.partner-logo {
    font-size: 2rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1 1 180px;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   Media / As Seen In Section
   ======================================== */
.media-section {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    text-align: center;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.media-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-400);
    margin-bottom: var(--space-6);
    font-weight: 600;
}

.media-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.media-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: default;
}

.media-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.media-icon {
    font-size: 2rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.media-logo:hover .media-icon {
    filter: grayscale(0%);
}

.media-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

.media-subtext {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-style: italic;
}

[data-theme="dark"] .media-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-color: var(--gray-200);
}

[data-theme="dark"] .media-name {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .media-grid {
        gap: var(--space-6);
    }
    
    .media-icon {
        font-size: 1.5rem;
    }
    
    .media-name {
        font-size: 0.75rem;
    }
}

/* Testimonials Enhanced */
.testimonials-enhanced {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.testimonials-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.testimonial-card-enhanced {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: var(--space-4);
}

/* Trust Badges Section */
.trust-badges-section {
    padding: var(--space-8) 0;
    background: #111827;
    color: white;
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    animation: fadeIn 0.3s ease;
}

.exit-popup-overlay.active {
    display: flex;
}

.exit-popup {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    padding: var(--space-10);
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
}

.exit-popup-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.3s;
}

.exit-popup-close:hover {
    color: var(--gray-700);
}

.exit-popup-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
}

.exit-popup h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.exit-popup p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.exit-popup-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.exit-popup-form input[type="text"],
.exit-popup-form input[type="email"] {
    flex: 1;
    min-width: 140px;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.exit-popup-form button {
    width: 100%;
    padding: var(--space-4);
    white-space: nowrap;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success Celebration Modal */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.celebration-overlay.active {
    display: flex;
}

.celebration-content {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border-radius: var(--radius-2xl);
    max-width: 450px;
    width: 100%;
    padding: var(--space-12);
    text-align: center;
    position: relative;
    animation: celebrationPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.celebration-icon {
    font-size: 5rem;
    margin-bottom: var(--space-4);
    animation: bounce 0.6s ease infinite;
}

.celebration-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.celebration-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.celebration-content .btn {
    min-width: 150px;
    font-size: 1.1rem;
    padding: var(--space-4) var(--space-8);
}

/* Confetti */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s ease-out forwards;
}

.confetti:nth-child(odd) {
    border-radius: 50%;
}

.confetti:nth-child(even) {
    border-radius: 2px;
}

@keyframes celebrationPop {
    0% { opacity: 0; transform: scale(0.5); }
    50% { transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

/* Dark mode support for celebration */
[data-theme="dark"] .celebration-content {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

[data-theme="dark"] .celebration-content p {
    color: var(--gray-300);
}

/* Team Section */
.team-section {
    padding: var(--space-20) 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.team-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.team-social a {
    color: var(--gray-400);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--primary);
}

/* "As Seen In" Press Section */
.press-section {
    padding: var(--space-12) 0;
    background: var(--white);
    text-align: center;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    margin-top: var(--space-6);
    opacity: 0.5;
    filter: grayscale(100%);
}

.press-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-600);
}

/* Waitlist Counter */
.waitlist-counter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.counter-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.counter-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Mobile Responsive Fixes
   ======================================== */

/* Small phones (375px and below) */
@media (max-width: 375px) {
    html {
        font-size: 15px; /* Keep above 14px to prevent iOS zoom */
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .phone-frame {
        width: 220px;
        padding: 8px;
        border-radius: 30px;
    }
    
    .phone-frame .phone-screen {
        min-height: 380px;
        padding: var(--space-3);
        border-radius: 22px;
    }
    
    .phone-notch {
        width: 80px;
        height: 22px;
        top: 8px;
    }
    
    .summary-item {
        padding: var(--space-2);
    }
    
    .summary-icon {
        font-size: 1.25rem;
    }
    
    .summary-label {
        font-size: 0.6rem;
    }
    
    .summary-value {
        font-size: 0.75rem;
    }
    
    .circle-emoji {
        font-size: 1.5rem;
    }
    
    .circle-name {
        font-size: 0.8rem;
    }
    
    .circle-status {
        font-size: 0.65rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Medium phones (376px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero {
        padding: 100px 0 var(--space-12);
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: var(--space-1) var(--space-3);
    }
    
    .phone-frame {
        width: 250px;
    }
    
    .phone-frame .phone-screen {
        min-height: 420px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Feature cards */
    .feature-card {
        padding: var(--space-5);
    }
    
    /* Partner logos */
    .partners-grid {
        gap: var(--space-4);
    }
    
    .partner-logo {
        font-size: 0.8rem;
    }
    
    .partner-logo i {
        font-size: 1.25rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--space-10) 0 var(--space-6);
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet and below - Hero phone adjustments */
@media (max-width: 1024px) {
    .hero-phone-mock {
        margin-top: var(--space-8);
    }
    
    .phone-frame {
        width: 260px;
    }
    
    .phone-frame .phone-screen {
        min-height: 460px;
    }
}

/* Tablet specific (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 480px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets */
    .btn {
        min-height: 48px;
        padding: var(--space-3) var(--space-6);
    }
    
    .nav-item {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-menu-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch - comprehensive list */
    .btn:hover,
    .btn-primary:hover,
    .btn-outline:hover,
    .btn-white:hover,
    .feature-card:hover,
    .feature-card-ui:hover,
    .nav-links a:hover,
    .theme-toggle:hover,
    .mobile-menu-close:hover,
    .mobile-menu-links a:hover,
    .bento-card:hover,
    .testimonial-card:hover,
    .use-case-card:hover,
    .team-card:hover,
    .partner-logo:hover,
    .app-badge:hover,
    .result-card:hover,
    .pricing-card:hover,
    .roadmap-item:hover,
    .glossary-term:hover,
    .faq-item:hover,
    .social-links a:hover,
    .footer-links a:hover,
    .logo:hover {
        transform: none !important;
    }
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
}

/* Fix horizontal overflow issues */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-visual {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure phone mockup doesn't cause overflow */
    .hero-phone-mock {
        max-width: 100%;
    }
    
    /* Fix table overflow in pricing */
    .pricing-table {
        overflow-x: auto;
    }
    
    /* Testimonials scroll fix */
    .testimonials-grid {
        gap: var(--space-4);
    }
    
    .testimonial-card {
        min-width: 280px;
    }
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        height: -webkit-fill-available;
    }
    
    body {
        min-height: -webkit-fill-available;
    }
    
    /* Fix 100vh issue on iOS */
    .hero {
        min-height: calc(100vh - 64px);
        min-height: calc(100dvh - 64px);
    }
}

/* Dark mode mobile fixes */
@media (max-width: 768px) {
    [data-theme="dark"] .hero {
        background: linear-gradient(135deg, #0B1220 0%, #1E293B 100%);
    }
    
    [data-theme="dark"] .phone-frame {
        box-shadow: 
            0 30px 60px -20px rgba(0, 0, 0, 0.5),
            0 20px 40px -20px rgba(0, 0, 0, 0.4);
    }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 var(--space-8);
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .phone-frame {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

/* Accessibility - 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;
    }
}

/* ========================================
   Mobile Touch & Usability Improvements
   ======================================== */

/* Ensure minimum touch target size (44x44px per Apple/Google guidelines) */
@media (max-width: 768px) {
    .btn, 
    .nav-item, 
    .mobile-menu-links a,
    .social-links a,
    .footer-links a,
    .theme-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap highlight */
    a, button {
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
    }
    
    /* Prevent zoom on input focus (iOS) */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Better scroll behavior */
    html {
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Fix sticky hover states on touch */
    @media (hover: none) {
        .btn:hover,
        .feature-card:hover,
        .nav-links a:hover {
            transform: none;
        }
    }
    
    /* Waitlist form mobile improvements */
    .waitlist-row {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .waitlist-row input {
        padding: var(--space-4);
        font-size: 16px;
    }
    
    .waitlist-row button {
        padding: var(--space-4);
    }
    
    /* Feature cards - better touch targets */
    .feature-card {
        padding: var(--space-6);
    }
    
    /* Stats grid spacing */
    .stats-grid {
        gap: var(--space-4);
    }
    
    /* Partner logos - ensure visible */
    .partners-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Section padding adjustments */
    section {
        padding: var(--space-12) 0;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: var(--space-10);
    }
}

/* Extra small devices - additional fixes */
@media (max-width: 380px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero h1 {
        font-size: 1.6rem;
        word-wrap: break-word;
    }
    
    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    /* Phone mockup - even smaller screens */
    .phone-frame {
        width: 200px;
    }
    
    .phone-frame .phone-screen {
        min-height: 340px;
    }
    
    .screen-greeting .greeting-name {
        font-size: 1.1rem;
    }
    
    .summary-item {
        padding: var(--space-2);
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(var(--space-4), env(safe-area-inset-left));
        padding-right: max(var(--space-4), env(safe-area-inset-right));
    }
    
    .mobile-menu {
        padding-bottom: max(var(--space-4), env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(var(--space-8), env(safe-area-inset-bottom));
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        height: -webkit-fill-available;
    }
}

/* ========================================
   Utility Classes for Inline Style Replacements
   ======================================== */

/* Investor Page Styles */
.investor-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
}

.investor-hero .section-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.investor-hero h1,
.investor-hero h2 {
    color: white;
}

.investor-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-padded {
    padding: var(--space-16) 0;
}

.section-padded-gray {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

.section-investor-cta {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.section-investor-cta .section-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.section-investor-cta h2 {
    color: white;
    margin-bottom: var(--space-6);
}

.text-center {
    text-align: center;
}

.use-of-funds-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-4 {
    margin-top: var(--space-4);
}

.btn-investor {
    font-size: 1.1rem;
    padding: var(--space-4) var(--space-8);
}

.btn-outline-white {
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.text-small-muted {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Blog/Stories Styles */
.stories-section-gray {
    background: var(--gray-50);
}

.btn-article {
    margin-top: 12px;
}

/* Contact Form Styles */
.form-success-message {
    display: none;
    color: var(--secondary);
    margin-top: var(--space-4);
}

.form-success-message.show {
    display: block;
}

/* Timeline bars */
.timeline-bar.susuflex-bar {
    width: 50%;
}

.timeline-bar.bank-bar {
    width: 100%;
}

/* PDF/Download Styles */
.pdf-date {
    text-align: right;
    font-size: 12px;
    color: #666;
}

.pdf-two-col-mt {
    margin-top: 15px;
}

.pdf-unit-economics {
    margin-top: 10px;
    font-size: 12px;
    color: #10b981;
}

.pdf-funding-note {
    font-size: 12px;
}

/* Technical Doc Styles */
.tech-date {
    text-align: right;
    font-size: 11px;
    color: #666;
}

.tech-two-col-mt {
    margin-top: 12px;
}

.tech-additional {
    margin-top: 8px;
}

/* ========================================
   Utility Classes to Replace Inline Styles
   ======================================== */

/* Investor Page Hero */
.investor-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
}

.investor-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.text-white {
    color: white;
}

.text-white-90 {
    color: rgba(255,255,255,0.9);
}

/* Note: .hero-subtitle is defined earlier with theme-aware colors.
   Removing duplicate that was forcing white text.
   If you need white text for a specific section, use a more specific selector. */

/* Section padding utility */
.section-padded {
    padding: var(--space-16) 0;
}

.section-padded-gray {
    padding: var(--space-16) 0;
    background: var(--gray-50);
}

/* The Ask section */
.ask-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.use-of-funds-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

/* FAQ expansion fix */
.faq-answer {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

/* ========================================
   Floating Help/Chat Button
   ======================================== */
.floating-help {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.help-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.4),
        0 0 0 0 rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: helpPulse 3s ease-in-out infinite;
}

@keyframes helpPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 0 10px rgba(37, 99, 235, 0); }
}

.help-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    animation: none;
}

.help-icon,
.help-close {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.help-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.floating-help.active .help-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.floating-help.active .help-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.floating-help.active .help-btn {
    animation: none;
    background: var(--gray-700);
}

.help-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-help.active .help-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.help-menu-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
}

.help-avatar {
    font-size: 2rem;
}

.help-menu-header strong {
    display: block;
    font-size: 1rem;
}

.help-menu-header p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.help-menu-options {
    padding: var(--space-3);
}

.help-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.help-option:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.help-option i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.help-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

[data-theme="dark"] .help-menu {
    background: var(--gray-100);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .help-option {
    color: var(--gray-700);
}

[data-theme="dark"] .help-option:hover {
    background: var(--gray-200);
}

@media (max-width: 480px) {
    .floating-help {
        bottom: 16px;
        right: 16px;
    }
    
    .help-btn {
        width: 56px;
        height: 56px;
    }
    
    .help-menu {
        width: calc(100vw - 32px);
        right: -8px;
    }
}

/* ========================================
   World-Class Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Different reveal directions */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-blur.revealed {
    opacity: 1;
    filter: blur(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-item,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger,
    .reveal-blur {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .page-loader,
    .loader-logo,
    .loader-spinner {
        animation: none;
    }
    
    .floating-shape,
    .cta-particles .particle {
        animation: none;
    }
}

/* Hidden by default utility */
.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ========================================
   Enhanced Accessibility
   ======================================== */

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Remove default focus outline when using mouse */
:focus:not(:focus-visible) {
    outline: none;
}

/* Skip link enhancement */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    z-index: 10001;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 20px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Enhanced Trust Signals
   ======================================== */

.trust-badges-section {
    padding: 40px 0;
    background: var(--gray-50);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-weight: 500;
    padding: 12px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* App Rating Badges */
.app-ratings {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.rating-badge:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

/* Compliance Badges Section */
.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 24px;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.compliance-badge img {
    height: 28px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.compliance-badge:hover img {
    opacity: 1;
}

/* ========================================
   Image Lazy Loading Styles
   ======================================== */

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Placeholder for lazy images */
.lazy-placeholder {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .navbar,
    .mobile-menu,
    .floating-help,
    .page-loader,
    .cta-section,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* ========================================
   High Contrast Mode Support
   ======================================== */

@media (prefers-contrast: high) {
    :root {
        --primary: #0000EE;
        --gray-500: #000000;
        --gray-600: #000000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .bento-card,
    .testimonial-card,
    .trust-badge {
        border: 2px solid var(--gray-800);
    }
}

/* ========================================
   Cookie Consent Banner
   ======================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    color: white;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
    min-width: 280px;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent .btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.cookie-consent .btn-outline {
    border-color: var(--gray-500);
    color: white;
}

.cookie-consent .btn-outline:hover {
    background: #374151;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
/* ========================================
   UX/UI Improvements - Jan 2026
   ======================================== */

/* Hero Stat Highlight */
.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    padding: 16px 24px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.stat-highlight {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-context {
    color: var(--gray-600);
    font-size: 1rem;
}

[data-theme="dark"] .hero-stat {
    background: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .stat-context {
    color: var(--gray-500);
}

/* Glowing CTA Button */
.btn-glow {
    position: relative;
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.6), 0 0 60px rgba(37, 99, 235, 0.3);
    }
}

/* Video Demo Section */
.video-demo-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

[data-theme="dark"] .video-demo-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
    background: #000;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-play-overlay.hidden {
    display: none;
}

.video-cta-text {
    color: white;
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 500;
}

.video-placeholder {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.play-button i {
    margin-left: 4px; /* Visual centering for play icon */
}

.video-coming-soon {
    color: white;
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.video-preview {
    position: relative;
    z-index: 1;
}

.preview-phone {
    width: 220px;
    background: white;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-screen {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 16px;
    min-height: 300px;
}

.preview-header {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.preview-content {
    text-align: center;
}

.preview-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.preview-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0;
}

.preview-status {
    color: var(--secondary);
    font-weight: 600;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .video-feature {
    background: var(--gray-200);
}

.video-feature i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.video-feature span {
    font-size: 0.95rem;
    color: var(--gray-700);
}

[data-theme="dark"] .video-feature span {
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .video-placeholder {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .preview-phone {
        width: 180px;
    }
    
    .preview-screen {
        min-height: 240px;
    }
    
    .video-features {
        grid-template-columns: 1fr;
    }
    
    .play-button {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
}

/* Real Testimonials Enhancement */
.testimonials-enhanced {
    padding: 80px 0;
    background: var(--white);
}

[data-theme="dark"] .testimonials-enhanced {
    background: var(--gray-50);
}

.testimonials-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card-enhanced {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .testimonial-card-enhanced {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-style: italic;
}

[data-theme="dark"] .testimonial-quote {
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

[data-theme="dark"] .testimonial-avatar {
    background: var(--gray-300);
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--gray-900);
}

[data-theme="dark"] .testimonial-info h4 {
    color: var(--gray-800);
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* App Screenshot Placeholders */
.screenshot-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    border: 2px dashed var(--gray-300);
}

.screenshot-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.screenshot-placeholder-text {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Scroll indicator for hero */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Real App Screenshot Showcase */
.real-screenshot-showcase {
    margin-bottom: 48px;
}

.screenshot-hero {
    text-align: center;
    margin: 0;
}

.app-screenshot-img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
}

[data-theme="dark"] .app-screenshot-img {
    border-color: var(--gray-300);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.screenshot-hero figcaption {
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .app-screenshot-img {
        max-height: 400px;
        border-radius: var(--radius-lg);
    }
}

/* Video CTA Section */
.video-cta-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

[data-theme="dark"] .video-cta-section {
    border-top-color: var(--gray-300);
}

.video-cta-label {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

[data-theme="dark"] .video-cta-label {
    color: var(--gray-500);
}

/* ========================================
   Collapsible Sections - Reduce Scrolling
   ======================================== */
.collapsible-section {
    border: none;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.collapsible-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: var(--radius-lg);
    cursor: pointer;
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.collapsible-section > summary::-webkit-details-marker {
    display: none;
}

.collapsible-section > summary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

.collapsible-section > summary:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.collapsible-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.collapsible-section-title .badge-count {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 2px 10px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
}

.collapsible-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
}

.collapsible-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.collapsible-section[open] .collapsible-toggle i {
    transform: rotate(180deg);
}

.collapsible-section[open] .collapsible-toggle .toggle-text::after {
    content: 'Click to collapse';
}

.collapsible-toggle .toggle-text::after {
    content: 'Click to expand';
}

.collapsible-content {
    padding-top: var(--space-6);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .collapsible-section > summary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .collapsible-section > summary:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .collapsible-section-title {
    color: var(--gray-100);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .collapsible-section > summary {
        padding: var(--space-3) var(--space-4);
        flex-wrap: wrap;
    }
    
    .collapsible-section-title {
        font-size: 1rem;
    }
    
    .collapsible-toggle {
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Optimization for Collapsible Sections */
@media (max-width: 480px) {
    .collapsible-section {
        margin-bottom: var(--space-3);
        border-radius: var(--radius-md);
    }
    
    .collapsible-section > summary {
        padding: 14px 16px;
        min-height: 56px; /* Better touch target */
        gap: var(--space-2);
    }
    
    .collapsible-section-title {
        font-size: 0.95rem;
        gap: var(--space-2);
        flex: 1;
    }
    
    .collapsible-section-title i {
        font-size: 1rem;
        min-width: 20px;
    }
    
    .collapsible-section-title .badge-count {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
    
    .collapsible-toggle {
        font-size: 0.8rem;
    }
    
    /* Hide text on very small screens, show only icon */
    .collapsible-toggle .toggle-text {
        display: none;
    }
    
    .collapsible-toggle i {
        font-size: 1rem;
        padding: 8px;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 50%;
    }
    
    .collapsible-content {
        padding-top: var(--space-4);
    }
}

/* Touch-friendly active states */
@media (hover: none) and (pointer: coarse) {
    .collapsible-section > summary {
        -webkit-tap-highlight-color: transparent;
    }
    
    .collapsible-section > summary:active {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(139, 92, 246, 0.18) 100%);
        transform: scale(0.99);
    }
    
    [data-theme="dark"] .collapsible-section > summary:active {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(139, 92, 246, 0.28) 100%);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .collapsible-content {
        animation: none;
    }
    
    .collapsible-toggle i {
        transition: none;
    }
    
    .collapsible-section > summary:active {
        transform: none;
    }
}

/* ========================================
   Enhanced Navigation System
   Amazing UX Edition v2026.02.04.2
   ======================================== */

/* Section Navigator (Floating Dots) */
.section-navigator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.section-navigator.visible {
    opacity: 1;
    visibility: visible;
}

.section-nav-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-nav-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.section-nav-dot:hover {
    background: rgba(37, 99, 235, 0.3);
    transform: scale(1.15);
}

.section-nav-dot.active {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.section-nav-dot.passed {
    background: rgba(37, 99, 235, 0.4);
}

.section-nav-dot .dot-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.section-nav-dot:hover .dot-icon {
    transform: scale(1.2);
}

.section-nav-dot .dot-label {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: rgba(15, 23, 42, 0.95);
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.section-nav-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}

.section-nav-progress {
    position: absolute;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    width: 3px;
    height: 0%;
    background: linear-gradient(180deg, var(--primary), #8b5cf6);
    border-radius: 3px;
    transition: height 0.3s ease;
    z-index: 1;
}

.section-nav-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 16px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.section-nav-tooltip.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top .btt-progress {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.5);
    transform: rotate(calc(var(--progress, 0) * 360deg));
    transition: transform 0.1s linear;
}

/* Expand/Collapse All Control */
.expand-collapse-control {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    margin: 0 auto;
    max-width: 400px;
}

.expand-all-btn,
.collapse-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.expand-all-btn:hover,
.collapse-all-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.expand-all-btn i,
.collapse-all-btn i {
    font-size: 0.85rem;
}

/* Mobile Quick Nav in Menu */
.mobile-quick-nav {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

.quick-nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 12px;
    padding: 0 16px;
}

.quick-nav-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
}

.quick-nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-200);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-nav-chip:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Section in-view indicator */
section.in-view {
    /* Subtle glow when section is in view */
}

section.in-view .section-header h2 {
    position: relative;
}

/* Reading Progress Bar Enhancement */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #8b5cf6, #ec4899);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.1s linear;
}

/* Dark mode adjustments */
[data-theme="dark"] .section-nav-track {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .expand-all-btn,
[data-theme="dark"] .collapse-all-btn {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-navigator {
        right: 12px;
    }
    
    .section-nav-track {
        padding: 12px 6px;
        gap: 8px;
    }
    
    .section-nav-dot {
        width: 32px;
        height: 32px;
    }
    
    .section-nav-dot .dot-icon {
        font-size: 0.85rem;
    }
    
    .section-nav-dot .dot-label {
        display: none;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    
    .expand-collapse-control {
        flex-direction: column;
        padding: 12px 16px;
    }
    
    .expand-all-btn,
    .collapse-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-navigator {
        display: none;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .section-navigator,
    .back-to-top,
    .section-nav-dot,
    .expand-all-btn,
    .collapse-all-btn {
        transition: opacity 0.2s ease;
    }
    
    .back-to-top:hover,
    .section-nav-dot:hover {
        transform: none;
    }
}

/* Keyboard focus styles */
.section-nav-dot:focus,
.back-to-top:focus,
.expand-all-btn:focus,
.collapse-all-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Hide on print */
@media print {
    .section-navigator,
    .back-to-top,
    .expand-collapse-control,
    .scroll-progress {
        display: none !important;
    }
}

/* Keyboard Hint Styles */
.keyboard-hint {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.keyboard-hint kbd,
.chip-key {
    display: inline-block;
    padding: 2px 8px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chip-key {
    margin-left: 8px;
    opacity: 0.6;
    font-size: 0.7rem;
}

[data-theme="dark"] .keyboard-hint kbd,
[data-theme="dark"] .chip-key {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hide keyboard hints on touch devices */
@media (hover: none) and (pointer: coarse) {
    .keyboard-hint,
    .chip-key {
        display: none;
    }
}

/* Discovery chip label */
.chip-label {
    /* Base label styling */
}

/* Section "Next" links enhancement */
.next-section {
    text-align: center;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.28);
    transition: all 0.3s ease;
}

.next-section-link:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.next-section-link span {
    transition: transform 0.2s ease;
}

.next-section-link:hover span {
    transform: translateX(4px);
}

[data-theme="dark"] .next-section-link {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.45);
}

[data-theme="dark"] .next-section-link:hover {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(147, 197, 253, 0.6);
}

.social-proof-stats--compact {
    padding: 2rem 0;
}

.stats-grid--horizontal {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item--compact {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.partners-section--compact {
    padding: 1.5rem 0;
}

.trust-badge-wrapper--narrow {
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge-toggle--styled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trust-badge-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-title-icon {
    color: var(--secondary);
    font-size: 1.25rem;
}

.trust-badge-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.trust-preview--inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
}

.trust-preview-icon {
    color: rgba(255, 255, 255, 0.6);
}

.trust-preview-icon--stripe {
    font-size: 1.5rem;
}

.trust-preview-icon--google {
    font-size: 1.25rem;
}

.trust-preview-icon--lock {
    font-size: 1rem;
}

.trust-chevron--muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.trust-details-panel--collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0 0 12px 12px;
    margin-top: -4px;
}

.trust-details-content {
    padding: 1.5rem 2rem;
}

.partners-grid--trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-logo--card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 100px;
}

.partner-logo-icon {
    font-size: 2rem;
}

.partner-logo-icon--stripe {
    color: #635bff;
}

.partner-logo-icon--firebase {
    color: #ffca28;
}

.partner-logo-icon--gcp {
    color: #4285f4;
}

.partner-logo-icon--ssl {
    color: var(--secondary);
}

.partner-logo-icon--pci {
    color: #8b5cf6;
}

.partner-logo-icon--vanta {
    color: #06b6d4;
}

.partner-logo-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.partner-logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.hero-cta--centered {
    justify-content: center;
    margin-bottom: 16px;
}