/* ========================================
   Zeni Landing Page - Modern Design 2025
   Colorful, Bold, Playful
======================================== */

/* CSS Variables */
:root {
    --primary: #017DE9;
    --primary-hover: #0062b8;
    --primary-light: #e8f4fd;
    --primary-glow: rgba(1, 125, 233, 0.2);
    
    /* Feature Icon Colors - Soft, muted tones */
    --icon-coral: #F97066;
    --icon-coral-bg: #FEF3F2;
    --icon-blue: #017DE9;
    --icon-blue-bg: #EFF6FF;
    --icon-teal: #15B8A6;
    --icon-teal-bg: #F0FDFA;
    --icon-amber: #F59E0B;
    --icon-amber-bg: #FFFBEB;
    --icon-indigo: #6366F1;
    --icon-indigo-bg: #EEF2FF;
    --icon-rose: #F43F5E;
    --icon-rose-bg: #FFF1F2;
    --icon-slate: #64748B;
    --icon-slate-bg: #F8FAFC;
    
    /* Legacy variables */
    --accent-green: var(--icon-teal);
    --accent-green-bg: var(--icon-teal-bg);
    --accent-purple: var(--icon-indigo);
    --accent-purple-bg: var(--icon-indigo-bg);
    --accent-yellow: var(--icon-amber);
    --accent-yellow-bg: var(--icon-amber-bg);
    --accent-pink: #EC4899;
    --accent-pink-bg: #fce7f3;
    --accent-orange: #F97316;
    --accent-orange-bg: #ffedd5;
    
    /* Light theme (default) */
    --bg: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f4f4f5;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.12);
    --text: #09090b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.03);
    --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --bg: #09090b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --surface: #141417;
    --surface-elevated: #1c1c21;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --primary-light: rgba(1, 125, 233, 0.15);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.25);
    --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.4);
    
    /* Dark mode icon backgrounds - subtle transparent versions */
    --icon-coral-bg: rgba(249, 112, 102, 0.15);
    --icon-blue-bg: rgba(1, 125, 233, 0.15);
    --icon-teal-bg: rgba(21, 184, 166, 0.15);
    --icon-amber-bg: rgba(245, 158, 11, 0.15);
    --icon-indigo-bg: rgba(99, 102, 241, 0.15);
    --icon-rose-bg: rgba(244, 63, 94, 0.15);
    --icon-slate-bg: rgba(100, 116, 139, 0.15);
    
    --accent-green-bg: var(--icon-teal-bg);
    --accent-purple-bg: var(--icon-indigo-bg);
    --accent-yellow-bg: var(--icon-amber-bg);
    --accent-pink-bg: rgba(236, 72, 153, 0.15);
    --accent-orange-bg: rgba(249, 115, 22, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

[data-theme="dark"] .navbar {
    background: rgba(9, 9, 11, 0.85);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-z {
    color: #017DE9;
    font-style: italic;
    font-weight: 800;
}

.logo-eni {
    color: var(--text);
    font-weight: 600;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    color: var(--text);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.2s, transform 0.2s;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-toggle .icon-sun,
:root .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .icon-moon,
:root .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

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

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
}

[data-theme="dark"] .theme-toggle-mobile .theme-icon::before {
    content: "☀";
}

[data-theme="light"] .theme-toggle-mobile .theme-icon::before,
:root .theme-toggle-mobile .theme-icon::before {
    content: "☾";
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* ========================================
   Hero Section - Modern Bold
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 24px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}

.hero-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-green-bg);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 32px;
}

.badge-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.badge-icon ion-icon {
    color: #22c55e;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Email Signup Form */
.hero-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 40px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    box-shadow: var(--card-shadow);
}

.hero-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text);
    font-family: inherit;
    min-width: 0;
}

.hero-form input::placeholder {
    color: var(--text-muted);
}

.hero-form .btn {
    flex-shrink: 0;
}

/* Hero Actions (alternative to form) */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* ========================================
   Floating Elements - Spread Across Hero
======================================== */
.floating-element {
    position: absolute;
    z-index: 3;
    animation: floatSmooth 6s ease-in-out infinite;
}

/* Position elements ALL OVER the hero section */
.floating-element.element-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 20%;
    right: 8%;
    animation-delay: 0.8s;
}

.floating-element.element-3 {
    top: 55%;
    left: 5%;
    animation-delay: 1.6s;
}

.floating-element.element-4 {
    top: 45%;
    right: 5%;
    animation-delay: 2.4s;
}

.floating-element.element-5 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3.2s;
}

@keyframes floatSmooth {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Float Cards - Clean with rounded image */
.float-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: white;
}

.float-card.small {
    width: 130px;
}

.float-image {
    width: 150px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.float-card.small .float-image {
    width: 130px;
    height: 140px;
}

.float-image.green-bg {
    background: linear-gradient(160deg, #d1fae5 0%, #6ee7b7 100%);
}

.float-image.blue-bg {
    background: linear-gradient(160deg, #dbeafe 0%, #93c5fd 100%);
}

.float-image.purple-bg {
    background: linear-gradient(160deg, #ede9fe 0%, #c4b5fd 100%);
}

/* Product/Document visuals inside cards */
.product-bottle {
    width: 50px;
    height: 90px;
    background: linear-gradient(180deg, #bfdbfe 0%, #60a5fa 100%);
    border-radius: 8px 8px 20px 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

.product-bottle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 16px;
    background: #e5e7eb;
    border-radius: 4px 4px 0 0;
}

.doc-icon-big {
    width: 60px;
    height: 75px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
}

.doc-icon-big::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.doc-icon-big::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 10px;
    width: 25px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
}

.folder-icon-big {
    width: 65px;
    height: 50px;
    background: white;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.folder-icon-big::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 6px;
    width: 24px;
    height: 14px;
    background: white;
    border-radius: 4px 4px 0 0;
}

/* Float time label */
.float-time {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #09090b;
}

/* Float tag */
.float-tag {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
}

.tag-number {
    font-size: 28px;
    font-weight: 800;
    color: #09090b;
    line-height: 1;
}

.tag-text {
    font-size: 13px;
    font-weight: 600;
    color: #09090b;
    line-height: 1.3;
}

.tag-text small {
    font-weight: 400;
    color: #71717a;
    font-size: 11px;
}

/* Mini Stats Card */
.mini-stats {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 8px;
    background: #fef3c7;
    border-radius: 10px;
}

.mini-bar {
    width: 10px;
    background: #09090b;
    border-radius: 3px;
}

.mini-stats-text {
    display: flex;
    flex-direction: column;
}

.mini-label {
    font-size: 12px;
    color: #71717a;
}

.mini-value {
    font-size: 20px;
    font-weight: 800;
    color: #09090b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mini-value ion-icon {
    color: #22c55e;
    font-size: 16px;
}

/* Star Badge - Using Ionicons */
.star-badge {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #fef9c3;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.star-badge ion-icon {
    font-size: 16px;
    color: #09090b;
}

/* Float Likes */
.float-likes {
    padding: 10px 14px;
    background: white;
}

.like-count {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #09090b;
    background: #22c55e;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.like-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-icons ion-icon {
    font-size: 16px;
    color: #71717a;
}

.like-icons ion-icon:first-child {
    color: #ef4444;
}

/* Hero Stats Row */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Background */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.bg-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: var(--accent-purple);
    opacity: 0.15;
}

.bg-gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    background: var(--accent-green);
    opacity: 0.1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    opacity: 0.5;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    opacity: 0.3;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Tablet breakpoint for floating elements - hide on tablets and smaller */
@media (max-width: 1024px) {
    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
        gap: 12px;
    }
    
    .hero-form input {
        width: 100%;
        padding: 16px 20px;
        background: var(--surface);
        border: 1px solid var(--border-strong);
        border-radius: 50px;
        font-size: 16px;
    }
    
    .hero-form .btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .hero-visual-wrapper {
        margin-top: 40px;
        padding: 0;
    }
    
    .phone-mockup {
        transform: scale(0.9);
    }
    
    .phone-screen {
        width: 220px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-bg-elements {
        opacity: 0.3;
    }
}

/* ========================================
   Trust Section / Social Proof
======================================== */
.trust-section {
    padding: 60px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trust-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.2s;
}

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

@media (max-width: 768px) {
    .trust-section {
        padding: 30px 16px;
    }
    
    .trust-label {
        margin-bottom: 20px;
        font-size: 11px;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .trust-logo {
        font-size: 13px;
    }
}

/* ========================================
   Features Section - Colorful Bento Grid
======================================== */
.features {
    padding: 80px 16px;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* Clean Minimal Feature Cards - White/neutral background with colored icons only */

/* Scan Card */
.bento-card.card-green {
    background: var(--surface);
    border: 1px solid var(--border);
}

/* Edit Card */
.bento-card.card-purple {
    background: var(--surface);
    border: 1px solid var(--border);
}

/* Convert Card */
.bento-card.card-yellow {
    background: var(--surface);
    border: 1px solid var(--border);
}

/* Send/Share Card - same style as others */
.bento-card.card-dark {
    background: var(--surface);
    border: 1px solid var(--border);
}

.bento-large {
    grid-column: span 1;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.bento-medium {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

/* Card icon colors - must come after base styles */
.card-green .card-icon {
    background: var(--icon-coral-bg) !important;
    color: var(--icon-coral) !important;
}

.card-purple .card-icon {
    background: var(--icon-blue-bg) !important;
    color: var(--icon-blue) !important;
}

.card-yellow .card-icon {
    background: var(--icon-teal-bg) !important;
    color: var(--icon-teal) !important;
}

.card-dark .card-icon {
    background: var(--icon-indigo-bg) !important;
    color: var(--icon-indigo) !important;
}

.bento-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.bento-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.card-content {
    flex: 1;
}

.card-visual {
    margin-top: auto;
    padding-top: 24px;
}

/* Scan Card Visual */
.card-scan .scan-preview {
    background: rgba(0,0,0,0.08);
    border-radius: 16px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.scan-frame {
    width: 90px;
    height: 110px;
    position: relative;
    border: 2px dashed rgba(0,0,0,0.25);
    border-radius: 4px;
}

[data-theme="dark"] .scan-frame {
    border-color: rgba(255,255,255,0.4);
}

.scan-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid var(--icon-coral);
    animation: cornerPulse 2s ease-in-out infinite;
}

.scan-corner.tl { top: -4px; left: -4px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; animation-delay: 0s; }
.scan-corner.tr { top: -4px; right: -4px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; animation-delay: 0.1s; }
.scan-corner.bl { bottom: -4px; left: -4px; border-right: none; border-top: none; border-radius: 0 0 0 4px; animation-delay: 0.2s; }
.scan-corner.br { bottom: -4px; right: -4px; border-left: none; border-top: none; border-radius: 0 0 4px 0; animation-delay: 0.3s; }

@keyframes cornerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--icon-coral);
    border-radius: 2px;
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { top: 10%; opacity: 0.5; }
    50% { top: 85%; opacity: 1; }
}

/* Scanned Document Preview */
.scanned-doc {
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    bottom: 15%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    opacity: 0;
    animation: docAppear 3s ease-in-out infinite;
}

.doc-line {
    height: 6px;
    background: rgba(249, 112, 102, 0.3);
    border-radius: 3px;
    width: 100%;
}

.doc-line.short {
    width: 60%;
}

.doc-line.medium {
    width: 80%;
}

@keyframes docAppear {
    0%, 40% { opacity: 0; transform: scale(0.95); }
    60%, 90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.95); }
}

/* Signature Drawing Animation */
.animated-signature .signature-path {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: drawSignature 4s ease-in-out infinite;
}

/* Pen Cursor */
.signature-line {
    position: relative;
    overflow: hidden;
}

.pen-cursor {
    position: absolute;
    font-size: 16px;
    color: var(--icon-blue);
    opacity: 0;
    animation: penMove 4s ease-in-out infinite;
}

@keyframes penMove {
    0% { 
        left: 8%; 
        top: 60%; 
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    15% { 
        left: 25%; 
        top: 25%; 
    }
    25% { 
        left: 42%; 
        top: 50%; 
    }
    35% { 
        left: 58%; 
        top: 35%; 
    }
    45% { 
        left: 75%; 
        top: 40%; 
    }
    55% { 
        left: 92%; 
        top: 55%; 
        opacity: 1;
    }
    60%, 100% {
        left: 92%;
        top: 55%;
        opacity: 0;
    }
}

@keyframes drawSignature {
    0% {
        stroke-dashoffset: 250;
        opacity: 0.3;
    }
    30% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    70% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 250;
        opacity: 0.3;
    }
}

/* Convert Format Animation */
.convert-animation {
    position: relative;
}

.convert-animation .file-badge {
    transition: all 0.4s ease;
}

.convert-animation .convert-arrow ion-icon {
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(4px); opacity: 1; }
}

/* File badge enhancements */
.file-badge {
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.file-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: inherit;
    border-radius: 0 6px 0 4px;
    opacity: 0.6;
}

/* Edit Card Visual */
.card-visual-inline {
    margin-top: auto;
    padding-top: 20px;
}

.signature-line {
    background: rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-svg {
    width: 100%;
    height: 40px;
    color: var(--icon-blue);
}

/* Convert Card Visual */
.convert-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: rgba(0,0,0,0.08);
    border-radius: 12px;
}

.file-badge {
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #09090b;
}

.file-badge.alt {
    background: var(--surface-elevated);
    color: var(--text);
    border-color: var(--border-strong);
}

[data-theme="dark"] .card-yellow .file-badge {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.2);
    color: #09090b;
}

.convert-arrow {
    color: var(--text-muted);
    font-size: 20px;
    display: flex;
    align-items: center;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

.convert-arrow ion-icon {
    font-size: 20px;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* Send & Share Card */
.share-preview {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-link-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
}

.share-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.share-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.share-link-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-link-url {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.share-copy-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-copy-btn.copied {
    background: #22c55e;
    color: white;
}

.share-options {
    display: flex;
    gap: 8px;
}

.share-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.share-option ion-icon {
    font-size: 20px;
}

.share-option.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.share-permissions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.permission-label {
    font-size: 12px;
    color: var(--text-muted);
}

.permission-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--icon-teal-bg);
    color: var(--icon-teal);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .share-preview {
        padding: 16px;
        gap: 12px;
    }
    
    .share-link-box {
        padding: 10px 12px;
    }
    
    .share-option {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .share-option ion-icon {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-large {
        grid-column: span 1;
    }
    
    .bento-card {
        padding: 24px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
    }
    
    .bento-card h3 {
        font-size: 20px;
    }
}

/* ========================================
   How it Works Section
======================================== */
.how-it-works {
    padding: 120px 24px;
    background: var(--bg);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    max-width: 300px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.step-visual {
    margin-bottom: 28px;
}

.step-icon-wrapper {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 70px;
    color: var(--border-strong);
}

@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 16px;
    }
    
    .step-card {
        padding: 28px 24px;
    }
    
    .step-icon-wrapper {
        width: 72px;
        height: 72px;
    }
    
    .step-connector {
        display: none;
    }
}

/* ========================================
   AI Section
======================================== */
.ai-section {
    padding: 80px 24px;
    background: var(--bg);
}

.ai-card {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.ai-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--accent-purple-bg);
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.ai-icon {
    font-size: 20px;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
}

.ai-icon ion-icon {
    font-size: 20px;
}

.ai-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-purple);
}

.ai-card h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.ai-card > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
}

.ai-demo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: left;
    box-shadow: var(--card-shadow);
}

.ai-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-secondary);
}

.prompt-icon {
    color: var(--accent-purple);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.prompt-icon ion-icon {
    font-size: 16px;
}

.ai-response {
    padding: 24px;
}

.ai-response p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.ai-response ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-response li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.ai-response li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 600;
}

@media (max-width: 768px) {
    .ai-section {
        padding: 60px 16px;
    }
    
    .ai-card h2 {
        font-size: 28px;
    }
    
    .ai-card > p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .ai-demo {
        border-radius: 16px;
    }
    
    .ai-prompt {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .ai-response {
        padding: 18px;
    }
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: inline;
    margin-left: 2px;
}

.stat-suffix ion-icon {
    color: #eab308;
    font-size: 28px;
    vertical-align: middle;
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-suffix {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
    padding: 100px 24px;
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
    transform: scale(1.02);
}

.testimonial-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .author-name,
.testimonial-card.featured .author-title {
    color: white;
}

.testimonial-card.featured .author-title {
    opacity: 0.8;
}

.testimonial-card.featured .testimonial-rating ion-icon {
    color: #fbbf24;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating ion-icon {
    color: #eab308;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.testimonial-card.featured .author-avatar {
    background: rgba(255,255,255,0.2);
}

.author-name {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.author-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .testimonial-card.featured {
        transform: none;
        order: -1;
    }
    
    .testimonial-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-strong);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(1, 125, 233, 0.12);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .faq-item.active {
    box-shadow: 0 4px 24px rgba(1, 125, 233, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition-fast);
    font-family: inherit;
    gap: 16px;
}

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

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-normal), color var(--transition-fast);
    flex-shrink: 0;
}

.faq-item:hover .faq-icon {
    color: var(--text-secondary);
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 0 24px 24px;
    margin: 0;
}

@media (max-width: 600px) {
    .faq-container {
        gap: 12px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        padding: 0 20px 20px;
    }
    
    .faq-icon {
        font-size: 18px;
    }
}

/* ========================================
   Download Section
======================================== */
.download {
    padding: 60px 16px 80px;
    background: var(--bg);
}

.download-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), #0066cc);
    border-radius: 32px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

[data-theme="dark"] .download-card {
    background: linear-gradient(135deg, var(--primary), #0066cc);
}

.download-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    color: white;
}

[data-theme="dark"] .download-content h2 {
    color: white;
}

.download-content > p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
}

[data-theme="dark"] .download-content > p {
    color: rgba(255,255,255,0.85);
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: white;
    color: #09090b;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

[data-theme="dark"] .store-btn {
    background: white;
    color: #09090b;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.store-text {
    text-align: left;
}

.store-text span {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

.store-text strong {
    font-size: 16px;
    font-weight: 600;
}

/* QR Code */
.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 130px;
    height: 130px;
    background: #fafafa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    margin-bottom: 14px;
}

[data-theme="dark"] .qr-placeholder {
    background: #09090b;
    color: #a1a1aa;
}

.qr-code span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

[data-theme="dark"] .qr-code span {
    color: rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .download-content h2 {
        font-size: 26px;
    }
    
    .download-content > p {
        font-size: 15px;
    }
    
    .store-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-visual {
        display: none;
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 64px 24px 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-heart {
    color: #ef4444;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
    
    .footer-link-group {
        min-width: 120px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ========================================
   Page Content (for internal pages)
======================================== */
.page-content {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--bg);
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--text);
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.last-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Values Grid (Careers) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact/Careers page styles */
.section-block {
    margin-bottom: 64px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

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

.contact-card .card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.contact-card .card-link:hover {
    text-decoration: underline;
}

.faq-grid {
    display: grid;
    gap: 16px;
}

.faq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--border-strong);
}

.faq-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.social-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Careers specific */
.openings-card {
    text-align: center;
    padding: 48px 32px;
}

.openings-card .card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.openings-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.openings-card p {
    max-width: 400px;
    margin: 0 auto 24px;
}

.openings-card .card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.openings-card .card-link:hover {
    text-decoration: underline;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .perks-grid {
        grid-template-columns: 1fr;
    }
}

.perk-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.perk-card .card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.perk-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.perk-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Extra Small Screen Fixes (< 400px)
======================================== */
@media (max-width: 400px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .bento-card {
        padding: 20px;
    }
    
    .bento-card h3 {
        font-size: 18px;
    }
    
    .step-card {
        padding: 24px 20px;
    }
    
    .download-card {
        padding: 28px 20px;
    }
    
    .download-content h2 {
        font-size: 22px;
    }
    
    .trust-logo {
        font-size: 11px;
    }
    
    .footer-link-group h4 {
        font-size: 13px;
    }
    
    .footer-link-group a {
        font-size: 13px;
    }
}
