/* ==========================================================================
   NURAFYA - Pan-African Diabetes Management Platform
   Custom Design System & Styling
   ========================================================================== */

/* CSS Variables */
:root {
    /* Colors - Dark Theme inspired by app */
    --color-bg-primary: #0a0f0d;
    --color-bg-secondary: #0f1a14;
    --color-bg-tertiary: #152218;
    --color-bg-card: rgba(20, 40, 30, 0.6);
    --color-bg-card-hover: rgba(30, 60, 45, 0.8);
    
    /* Brand Colors */
    --color-primary: #22c55e;
    --color-primary-light: #4ade80;
    --color-primary-dark: #16a34a;
    --color-secondary: #8b5cf6;
    --color-secondary-light: #a78bfa;
    --color-accent: #f59e0b;
    --color-accent-light: #fbbf24;
    --color-cyan: #06b6d4;
    --color-red: #ef4444;
    
    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    /* Borders */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.12);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

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

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

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

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================================================
   Typography
   ========================================================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0f0d;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background: rgba(10, 15, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 13, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-lg);
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
}

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

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: var(--space-sm) 0;
}

.mobile-cta {
    margin-top: var(--space-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.floating-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    top: 50%;
    right: 10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--color-cyan);
    bottom: 10%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.title-highlight {
    color: var(--color-red);
}

.title-accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--color-text-primary);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

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

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a2e23 0%, #0f1a14 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        var(--shadow-lg),
        0 0 60px rgba(34, 197, 94, 0.2);
    position: relative;
    z-index: 2;
}

.phone-notch {
    width: 100px;
    height: 28px;
    background: #0a0f0d;
    border-radius: 20px;
    margin: 0 auto var(--space-md);
}

.phone-screen {
    height: calc(100% - 40px);
    background: linear-gradient(180deg, #0f1a14 0%, #0a0f0d 100%);
    border-radius: 30px;
    overflow: hidden;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

/* SMS Conversation */
.sms-conversation {
    padding: var(--space-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
}

.sms-contact {
    font-weight: 600;
    color: var(--color-primary);
}

.sms-time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.sms-messages {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    overflow-y: auto;
}

.sms-bubble {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.8125rem;
    line-height: 1.5;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.sms-bubble:nth-child(1) { animation-delay: 0.2s; }
.sms-bubble:nth-child(2) { animation-delay: 0.6s; }
.sms-bubble:nth-child(3) { animation-delay: 1s; }
.sms-bubble:nth-child(4) { animation-delay: 1.4s; }
.sms-bubble:nth-child(5) { animation-delay: 1.8s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sms-received {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.sms-sent {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.sms-bubble p {
    margin-bottom: var(--space-xs);
}

.sms-bubble p:last-child {
    margin-bottom: 0;
}

.sms-bubble.typing {
    display: flex;
    gap: 4px;
    padding: var(--space-md);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: typingPulse 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(20, 40, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
    animation: floatCard 6s ease-in-out infinite;
}

.card-glucose {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-risk {
    bottom: 20%;
    left: -40px;
    animation-delay: -3s;
}

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

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

.glucose-icon {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-primary);
}

.risk-icon {
    background: rgba(139, 92, 246, 0.2);
    color: var(--color-secondary);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

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

.card-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.card-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.card-value small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.card-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.status-good {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

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

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.stat-visual {
    margin-bottom: var(--space-lg);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 2rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.stat-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Problem Map */
.problem-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--color-primary);
}

.map-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.map-list li {
    display: flex;
    gap: var(--space-md);
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.map-list strong {
    color: var(--color-text-primary);
}

.list-icon {
    color: var(--color-primary);
    font-weight: 700;
}

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

.africa-map svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

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

.step-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-xl);
    align-items: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.step-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.step-mockup {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

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

.mini-bubble {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-family: var(--font-mono);
}

.mini-bubble.received {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    align-self: flex-start;
    max-width: 90%;
}

.mini-bubble.sent {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    align-self: flex-end;
}

.food-tip {
    display: block;
    margin-bottom: 4px;
}

.food-tip:last-child {
    margin-bottom: 0;
}

.mini-bubble.verification {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--color-primary);
}

.verify-icon {
    color: var(--color-primary);
    font-weight: 700;
}

.verify-safe {
    color: var(--color-primary);
    font-weight: 600;
}

.step-icon {
    width: 64px;
    height: 64px;
    color: var(--color-text-muted);
    opacity: 0.3;
}

.step-connector {
    height: 60px;
    display: flex;
    justify-content: center;
    margin-left: 60px;
}

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

/* Why SMS Box */
.why-sms {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 700px;
    margin: 0 auto;
}

.why-sms-icon {
    width: 60px;
    height: 60px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.why-sms-icon svg {
    width: 100%;
    height: 100%;
}

.why-sms-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.why-sms-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.why-sms-content li {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    padding-left: var(--space-md);
    position: relative;
}

.why-sms-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* ==========================================================================
   App Showcase Section
   ========================================================================== */
.app-showcase {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.app-screens {
    margin-bottom: var(--space-4xl);
    overflow: hidden;
}

.app-screen-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.app-screen {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    transition: all var(--transition-base);
}

.app-screen img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.app-screen:hover {
    transform: translateY(-10px);
}

.app-screen-featured {
    width: 240px;
    z-index: 2;
}

.app-screen-featured img {
    box-shadow: 
        var(--shadow-lg),
        0 0 60px rgba(34, 197, 94, 0.2);
    border-color: var(--color-primary);
}

.screen-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

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

.app-feature {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.app-feature:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.app-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.app-feature-icon svg {
    width: 24px;
    height: 24px;
}

.app-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.app-feature p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-nutrition .feature-icon { background: rgba(34, 197, 94, 0.15); color: var(--color-primary); }
.feature-verify .feature-icon { background: rgba(239, 68, 68, 0.15); color: var(--color-red); }
.feature-language .feature-icon { background: rgba(139, 92, 246, 0.15); color: var(--color-secondary); }
.feature-screen .feature-icon { background: rgba(6, 182, 212, 0.15); color: var(--color-cyan); }

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.feature-desc {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-highlight {
    display: flex;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
}

.highlight-label {
    color: var(--color-text-muted);
}

.highlight-value {
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================================================
   Social Proof Section
   ========================================================================== */
.social-proof {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.outcome-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.outcome-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.outcome-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Testimonials */
.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

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

.testimonial-card:hover {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: var(--space-xl);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: var(--space-md);
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-style: italic;
}

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

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-location {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
}

.pricing-featured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.pricing-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--color-bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--space-sm);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.pricing-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features li strong {
    color: var(--color-text-primary);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.pricing-note p {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
}

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

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

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

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

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

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
}

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

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

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

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(34, 197, 94, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        var(--color-bg-secondary);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

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

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.7;
}

.cta-options {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.cta-option {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    min-width: 240px;
    transition: all var(--transition-base);
}

.cta-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.option-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
}

.option-icon svg {
    width: 28px;
    height: 28px;
}

.option-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.cta-option h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.option-instruction {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.option-code {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.option-code.whatsapp-number {
    color: #25d366;
}

.option-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.cta-divider {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.trust-signal svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.cta-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

.urgency-icon {
    font-size: 1.5rem;
}

.cta-urgency p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    text-align: left;
}

.cta-urgency strong {
    color: var(--color-red);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

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

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

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

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

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

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

/* Newsletter */
.footer-newsletter {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    text-align: center;
}

.footer-newsletter h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    font-size: 0.8125rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .floating-cards {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .problem-map {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-screen-container {
        gap: var(--space-md);
    }
    
    .app-screen {
        width: 160px;
    }
    
    .app-screen-featured {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: calc(80px + var(--space-2xl));
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .step-card {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .step-icon {
        display: none;
    }
    
    .step-connector {
        margin-left: 0;
        height: 40px;
    }
    
    .why-sms {
        flex-direction: column;
        text-align: center;
    }
    
    .why-sms-content ul {
        grid-template-columns: 1fr;
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    .pricing-featured:hover {
        transform: translateY(-4px);
    }
    
    .cta-options {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-divider {
        display: none;
    }
    
    .cta-option {
        width: 100%;
        max-width: 320px;
    }
    
    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .app-screen-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: var(--space-lg);
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .app-screen {
        scroll-snap-align: center;
        width: 180px;
        flex-shrink: 0;
    }
    
    .app-screen-featured {
        width: 200px;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .outcome-number {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

