/* ============================================
   YovitAI Landing Page Styles
   Modern, Responsive, Animated
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #a855f7;
    --accent: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Backgrounds */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-success: linear-gradient(135deg, #22d3ee 0%, #22c55e 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 120px;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse-ring 1.5s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 0.3s; }
.pulse-ring:nth-child(3) { animation-delay: 0.6s; }

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: white;
    line-height: 1.2;
}

.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;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-text .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    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);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating Health Symbols */
.floating-symbols {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-symbols .symbol {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    color: var(--primary-light);
    animation: float-symbol 20s ease-in-out infinite;
}

.symbol-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 2rem; color: #ef4444; }
.symbol-2 { top: 25%; right: 15%; animation-delay: -3s; font-size: 1.8rem; color: #3b82f6; }
.symbol-3 { top: 45%; left: 5%; animation-delay: -6s; font-size: 1.6rem; color: #a855f7; }
.symbol-4 { top: 60%; right: 8%; animation-delay: -9s; font-size: 2.2rem; color: #6366f1; }
.symbol-5 { top: 75%; left: 15%; animation-delay: -12s; font-size: 1.4rem; color: #10b981; }
.symbol-6 { top: 20%; left: 25%; animation-delay: -15s; font-size: 1.5rem; color: #ef4444; }
.symbol-7 { top: 80%; right: 20%; animation-delay: -18s; font-size: 1.7rem; color: #f59e0b; }
.symbol-8 { top: 35%; right: 25%; animation-delay: -2s; font-size: 1.9rem; color: #ec4899; }

@keyframes float-symbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.08;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.12;
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
        opacity: 0.1;
    }
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-number i {
    font-size: 0.8em;
    color: var(--warning);
    margin-left: 4px;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

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

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

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(180deg, #1a1a24 0%, #0d0d12 100%);
    border-radius: 40px;
    padding: 12px;
    border: 3px solid #2a2a3a;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #13131a 0%, #0a0a0f 100%);
    border-radius: 32px;
    overflow: hidden;
}

.phone-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* App Preview */
.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.preview-header i {
    color: var(--gray-500);
}

.bio-age-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.bio-age-ring svg {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.ring-progress {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 134;
    animation: ring-fill 2s ease-out forwards;
}

@keyframes ring-fill {
    from { stroke-dashoffset: 534; }
    to { stroke-dashoffset: 134; }
}

.age-display {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.age-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.age-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.preview-stats {
    text-align: center;
    margin-bottom: 20px;
}

.preview-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--success);
}

.preview-stat i {
    font-size: 0.625rem;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
}

.card-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.card-icon.heart { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.card-icon.liver { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.card-icon.brain { background: rgba(34, 211, 238, 0.2); color: #22d3ee; }

.card-title {
    display: block;
    font-size: 0.625rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.card-score {
    font-size: 0.75rem;
    font-weight: 600;
}

.card-score.good { color: var(--success); }
.card-score.warning { color: var(--warning); }

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(26, 26, 36, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    animation: float-card 4s ease-in-out infinite;
}

.card-1 {
    top: 80px;
    right: -40px;
}

.card-2 {
    bottom: 120px;
    left: -60px;
    animation-delay: -2s;
}

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

.fc-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fc-icon.success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.fc-title {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.fc-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

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

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.trust-item i {
    color: var(--primary);
}

/* Section Styling */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
}

.section-subtitle i {
    color: var(--primary);
    opacity: 0.7;
    margin: 0 4px;
}

.section-badge i {
    margin-right: 6px;
}

.trusted-label i {
    color: #ef4444;
    margin: 0 8px;
    font-size: 0.75rem;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.feature-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--gradient-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-icon.gradient-bg {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.feature-list i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Feature Visual */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-age-preview {
    text-align: center;
}

.age-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.age-circle svg {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 85;
}

.age-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.age-text .num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.age-text .label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.age-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.comp-item {
    text-align: center;
}

.comp-label {
    display: block;
    font-size: 0.625rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.comp-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-400);
}

.comp-item.highlight .comp-value {
    color: var(--success);
}

.comp-arrow {
    color: var(--gray-600);
}

/* Feature Preview Mini */
.feature-preview-mini {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
}

.ai-message {
    display: flex;
    gap: 12px;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ai-bubble {
    background: var(--bg-card);
    border-radius: 12px 12px 12px 0;
    padding: 12px;
}

.ai-bubble p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-300);
    line-height: 1.5;
}

.lab-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lab-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.lab-item:last-child {
    border-bottom: none;
}

.lab-name {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.lab-value {
    font-size: 0.8rem;
    font-weight: 600;
}

.lab-value.good { color: var(--success); }
.lab-value.warning { color: var(--warning); }

.lifestyle-items, .med-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lifestyle-item, .med-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.lifestyle-item i {
    color: var(--primary);
    width: 16px;
}

.med-icon {
    width: 28px;
    height: 28px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
}

.med-count {
    margin-left: auto;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.chart-preview {
    text-align: center;
}

.mini-chart {
    width: 100%;
    height: 60px;
}

.chart-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 8px;
}

.chart-label i.good {
    color: var(--success);
}

/* Drug Interaction Preview */
.interaction-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.interaction-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
}

.alert-icon {
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.alert-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alert-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #ef4444;
}

.alert-text {
    font-size: 0.65rem;
    color: var(--gray-400);
    line-height: 1.4;
}

.interaction-safe {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--gray-300);
}

.safe-icon {
    color: var(--success);
    font-size: 0.9rem;
}

.interaction-card .feature-icon {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

/* What-If Analysis Preview */
.whatif-preview {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.whatif-slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.whatif-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.whatif-item:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.whatif-item i {
    color: var(--primary-light);
    width: 18px;
    font-size: 0.9rem;
}

.whatif-label {
    color: var(--gray-300);
    flex: 1;
}

.whatif-impact {
    font-weight: 600;
    color: var(--success);
    background: rgba(34, 197, 94, 0.15);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.whatif-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.whatif-total-label {
    font-size: 0.8rem;
    color: var(--gray-300);
}

.whatif-total-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.what-if-card .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-primary);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.step.reverse {
    direction: rtl;
}

.step.reverse > * {
    direction: ltr;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-400);
}

.step-visual {
    display: flex;
    justify-content: center;
}

.upload-animation, .scores-animation, .recommendations-animation {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.upload-animation {
    text-align: center;
}

.doc-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.upload-arrow {
    color: var(--success);
    animation: upload-bounce 1s ease-in-out infinite;
}

@keyframes upload-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scores-animation {
    text-align: center;
}

.score-ring {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.score-ring span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.score-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.score-badges .badge {
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--success);
}

.recommendations-animation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-300);
}

.rec-item i {
    color: var(--success);
}

.step-connector {
    display: flex;
    justify-content: center;
    padding: 0 0 0 40px;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.3;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: -4px;
}

/* Science Section */
.science {
    background: var(--bg-secondary);
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.science-text {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.science-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.science-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

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

.biomarkers-list h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.biomarkers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.biomarker {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--gray-300);
}

.whatif-science-box {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.whatif-science-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.15), transparent 50%);
    pointer-events: none;
}

.whatif-science-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--success) 0%, var(--primary) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.whatif-science-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 8px;
}

.whatif-science-content p {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .whatif-science-box {
        flex-direction: column;
        text-align: center;
    }

    .whatif-science-icon {
        margin: 0 auto;
    }
}

.science-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.dna-helix {
    position: relative;
    width: 200px;
    height: 300px;
}

.helix-strand {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-bottom-color: var(--secondary);
    border-radius: 50%;
    animation: helix-spin 4s linear infinite;
}

.helix-strand.strand-2 {
    animation-delay: -2s;
    transform: rotateX(60deg);
}

@keyframes helix-spin {
    from { transform: rotateY(0deg) rotateX(60deg); }
    to { transform: rotateY(360deg) rotateX(60deg); }
}

.research-cards {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.research-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(26, 26, 36, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--gray-300);
}

.research-card i {
    color: var(--primary);
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-primary);
    padding-bottom: 80px;
}

.screenshots-slider {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex-shrink: 0;
    text-align: center;
    scroll-snap-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all var(--transition-base);
}

.screenshot-item.active {
    opacity: 1;
    transform: scale(1);
}

.screenshot-phone {
    width: 220px;
    height: 440px;
    background: linear-gradient(180deg, #1a1a24 0%, #0d0d12 100%);
    border-radius: 32px;
    padding: 8px;
    border: 2px solid #2a2a3a;
    margin-bottom: 16px;
}

.phone-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #13131a 0%, #0a0a0f 100%);
    border-radius: 26px;
    overflow: hidden;
}

.screen-header {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.screen-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.screen-body {
    padding: 16px;
}

/* Dashboard Preview */
.dash-greeting {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.dash-score {
    text-align: center;
    margin-bottom: 16px;
}

.score-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.score-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.score-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
}

.dash-cards {
    display: flex;
    gap: 8px;
}

.dash-card {
    flex: 1;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
}

.dash-card i {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.dash-card span {
    font-size: 0.625rem;
    color: var(--gray-400);
}

/* Longevity Preview */
.longevity-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
}

.ring-outer {
    position: absolute;
    inset: 0;
    border: 8px solid var(--border-color);
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    border-bottom-color: var(--secondary);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ring-inner {
    position: absolute;
    inset: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bio-age {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.bio-label {
    font-size: 0.5rem;
    color: var(--gray-500);
}

.longevity-diff {
    text-align: center;
    font-size: 0.75rem;
    color: var(--success);
    margin-bottom: 16px;
}

.risk-scores {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.risk-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

.risk-item span:first-child {
    color: var(--gray-400);
}

.risk-item .good { color: var(--success); font-weight: 600; }
.risk-item .warning { color: var(--warning); font-weight: 600; }

/* Chat Preview */
.chat-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.7rem;
    line-height: 1.4;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.ai {
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    color: var(--gray-300);
}

.ai-avatar-small {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    color: white;
    flex-shrink: 0;
}

.chat-msg.ai p {
    margin: 0;
}

/* Labs Preview */
.lab-date {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.lab-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lab-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.7rem;
}

.lab-row span:first-child {
    color: var(--gray-400);
}

.lab-row .good { color: var(--success); font-weight: 600; }
.lab-row .warning { color: var(--warning); font-weight: 600; }

/* Lifestyle Preview */
.lifestyle-score {
    text-align: center;
    margin-bottom: 16px;
}

.ls-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.ls-label {
    font-size: 0.625rem;
    color: var(--gray-500);
}

.lifestyle-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ls-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--gray-400);
}

.ls-item.done {
    color: var(--gray-300);
}

.ls-item i {
    font-size: 0.875rem;
}

.ls-item.done i {
    color: var(--success);
}

/* What-If Screenshot Preview */
.whatif-current, .whatif-projected {
    text-align: center;
    padding: 12px 0;
}

.whatif-label-small {
    display: block;
    font-size: 0.6rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.whatif-age {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-300);
}

.whatif-sliders-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.whatif-slider-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--gray-400);
}

.whatif-slider-row i {
    width: 16px;
    color: var(--primary-light);
    font-size: 0.75rem;
}

.whatif-slider-row span:first-of-type {
    flex: 1;
}

.impact-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
}

.whatif-age-projected {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whatif-savings {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    margin-top: 4px;
}

.phone-content.whatif .screen-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
}

.phone-content.whatif .screen-header span {
    color: var(--success);
}

.screenshot-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.screenshot-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.nav-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-label.active {
    color: white;
}

.save-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--success);
    border-radius: 100px;
    font-size: 0.625rem;
    color: white;
    margin-left: 4px;
}

.toggle-switch {
    width: 50px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
}

.toggle-slider {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--transition-base);
}

.toggle-switch.yearly .toggle-slider {
    transform: translateX(22px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
}

.pricing-card.featured {
    background: var(--gradient-glow);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.card-header {
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.card-price {
    margin-bottom: 32px;
}

.currency {
    font-size: 1.5rem;
    color: var(--gray-400);
    vertical-align: top;
}

.amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.period {
    color: var(--gray-500);
}

.card-features {
    list-style: none;
    margin-bottom: 32px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-300);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li.disabled {
    color: var(--gray-600);
}

.card-features li.highlight {
    color: white;
}

.card-features i {
    font-size: 0.875rem;
}

.card-features .fa-check {
    color: var(--success);
}

.card-features .fa-times {
    color: var(--gray-600);
}

.card-features .fa-star {
    color: var(--warning);
}

.trial-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 12px;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
}

.stars {
    margin-bottom: 16px;
}

.stars i {
    color: var(--warning);
    font-size: 0.875rem;
}

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

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

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

.author-name {
    display: block;
    font-weight: 600;
    color: white;
}

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

/* Download Section */
.download {
    position: relative;
    background: var(--bg-secondary);
    padding: 100px 0;
    overflow: hidden;
}

.download-bg .gradient-orb {
    opacity: 0.3;
}

.download-bg .orb-1 {
    top: -200px;
    left: -200px;
}

.download-bg .orb-2 {
    bottom: -200px;
    right: -200px;
}

.download-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.download-icons i {
    font-size: 2.5rem;
    opacity: 0.3;
    animation: pulse-icon 2s ease-in-out infinite;
}

.download-icons i:nth-child(1) { color: #ef4444; animation-delay: 0s; }
.download-icons i:nth-child(2) { color: #6366f1; animation-delay: 0.3s; }
.download-icons i:nth-child(3) { color: #a855f7; animation-delay: 0.6s; }

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.download-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.download-content p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all var(--transition-base);
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-btn i {
    font-size: 2rem;
    color: var(--gray-900);
}

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

.store-text .small {
    display: block;
    font-size: 0.625rem;
    color: var(--gray-600);
}

.store-text .large {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gray-900);
}

.download-qr span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-500);
    margin: 20px 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 24px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-badges i {
    color: var(--success);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        margin-top: 60px;
    }

    .floating-card {
        display: none;
    }

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

    .feature-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .feature-visual {
        order: -1;
    }

    .step {
        grid-template-columns: 60px 1fr;
    }

    .step-visual {
        display: none;
    }

    .science-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .science-visual {
        min-height: 300px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

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

    .feature-card.featured {
        grid-column: span 1;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        font-size: 3rem;
    }

    .step-icon {
        margin: 0 auto 20px;
    }

    .science-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-badges {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        transform: scale(0.85);
    }

    .screenshots-slider {
        gap: 16px;
    }

    .screenshot-phone {
        width: 180px;
        height: 360px;
    }
}

/* Animation classes for scroll reveal */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

/* Print styles */
@media print {
    .navbar, .hero-scroll, .download, .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
