/* ==========================================
   InFridge AI - Modern Website Styles
   Colors from Theme.swift
   ========================================== */

:root {
    /* Colors from Theme.swift */
    --primary: #34D375;
    --primary-dark: #1F8A4D;
    --background-light: #F8FAF9;
    --background-dark: #121212;
    --text-dark: #111827;
    --text-light: #FFFFFF;
    --secondary-text-light: #4B5563;
    --secondary-text-dark: #9CA3AF;
    --card-bg-light: #FFFFFF;
    --card-bg-dark: #1E1E1E;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #34D375 0%, #1F8A4D 100%);
    --gradient-mesh: radial-gradient(at 30% 30%, rgba(52, 211, 117, 0.3) 0%, transparent 50%),
                     radial-gradient(at 70% 70%, rgba(31, 138, 77, 0.2) 0%, transparent 50%),
                     radial-gradient(at 50% 50%, rgba(52, 211, 117, 0.1) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* ==========================================
   Container
   ========================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(52, 211, 117, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(52, 211, 117, 0.5);
}

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

.btn-secondary {
    background: rgba(52, 211, 117, 0.1);
    color: var(--primary);
    border: 2px solid rgba(52, 211, 117, 0.2);
}

.btn-secondary:hover {
    background: rgba(52, 211, 117, 0.15);
    border-color: var(--primary);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   Navigation
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

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

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

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

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

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================
   Hero Section - Redesigned
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
    background: #0f1115; /* Dark premium background */
    color: #fff;
}

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

.hero-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-primary {
    top: -20%;
    left: -10%;
    background: var(--primary);
}

.glow-secondary {
    bottom: -20%;
    right: -10%;
    background: #10b981;
    animation-delay: -10s;
}

.hero-grid {
    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: 50px 50px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

.relative { position: relative; }
.z-10 { z-index: 10; }

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(52, 211, 117, 0.1);
    border: 1px solid rgba(52, 211, 117, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(52, 211, 117, 0.1);
}

.badge-icon { font-size: 16px; }

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.gradient-animate {
    background: linear-gradient(to right, var(--primary), #10b981, #34cfec, var(--primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s infinite linear;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: -300% 50%; }
}

.hero-description {
    font-size: 20px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

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

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--primary);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(52, 211, 117, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 50px rgba(52, 211, 117, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    background: #4ade80;
    color: #000;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0f1115;
    margin-left: -12px;
}

.avatar:first-child { margin-left: 0; }

.proof-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #a1a1aa;
}

.stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
}

.proof-text strong {
    color: #fff;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-device-wrapper {
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: floatingDevice 6s infinite ease-in-out alternate;
}

@keyframes floatingDevice {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
    100% { transform: translateY(-20px) rotateY(-5deg) rotateX(2deg); }
}

.glass-device {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.app-screenshot {
    width: 100%;
    border-radius: 28px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.floating-glass {
    position: absolute;
    background: rgba(20, 22, 28, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateZ(50px);
}

.float-1 {
    top: 15%;
    left: -40px;
    animation: float1 4s infinite ease-in-out alternate;
}

.float-2 {
    bottom: 20%;
    right: -40px;
    animation: float2 5s infinite ease-in-out alternate-reverse;
}

@keyframes float1 {
    0% { transform: translateZ(50px) translateY(0); }
    100% { transform: translateZ(50px) translateY(-15px); }
}

@keyframes float2 {
    0% { transform: translateZ(50px) translateY(0); }
    100% { transform: translateZ(50px) translateY(15px); }
}

.float-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.05);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.float-content {
    display: flex;
    flex-direction: column;
}

.float-val {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.float-lbl {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}


/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeInAnim 1.2s ease-out forwards;
}

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInAnim {
    to { opacity: 1; }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-description {
        margin: 0 auto 40px;
    }
    
    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
    }
    
    .float-1 { left: 0; top: -20px; }
    .float-2 { right: 0; bottom: -20px; }
}

/* ==========================================
   Section Styles
   ========================================== */

.features, .how-it-works, .download-section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--secondary-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   Features Section
   ========================================== */

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

.feature-card {
    background: var(--card-bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(52, 211, 117, 0.2);
}

.feature-icon {
    margin-bottom: 24px;
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--secondary-text-light);
    line-height: 1.6;
}

/* ==========================================
   How It Works Section
   ========================================== */

.how-it-works {
    background: linear-gradient(180deg, rgba(52, 211, 117, 0.03) 0%, transparent 100%);
}

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

.step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number span {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(52, 211, 117, 0.3);
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    margin-top: 16px;
}

.step:last-child .step-line {
    display: none;
}

.step-content {
    padding-top: 8px;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    font-size: 18px;
    color: var(--secondary-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.step-image-placeholder {
    display: inline-block;
    animation: fadeInScale 0.6s ease-out both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   CTA / Download Section — Redesigned
   ========================================== */

.download-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: #080c10;
    overflow: hidden;
    text-align: center;
}

/* ambient glows */
.cta-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}

.cta-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 117, 0.28) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Animated label */
.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(52, 211, 117, 0.08);
    border: 1px solid rgba(52, 211, 117, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
}

.cta-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulse-dot 2s infinite ease-in-out;
}

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

/* Headline */
.cta-headline {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

.cta-headline-accent {
    background: linear-gradient(to right, var(--primary), #10b981, #34cfec);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s infinite linear;
}

/* Subtext */
.cta-subtext {
    font-size: 18px;
    color: #a1a1aa;
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}

/* Stars */
.cta-stars-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-stars {
    font-size: 20px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.cta-stars-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

/* CTA Button */
.cta-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    background: #fff;
    color: #000;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(52, 211, 117, 0.25), 0 4px 24px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.cta-download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 100px;
}

.cta-download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(52, 211, 117, 0.4), 0 8px 32px rgba(0,0,0,0.5);
    color: #fff;
}

.cta-download-btn:hover::before {
    opacity: 1;
}

.cta-download-btn:hover .cta-btn-small,
.cta-download-btn:hover .cta-btn-large,
.cta-download-btn:hover svg {
    position: relative;
    z-index: 1;
    color: #fff;
}

.cta-download-btn svg {
    position: relative;
    z-index: 1;
    color: #000;
    transition: color 0.3s;
}

.cta-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.cta-btn-small {
    font-size: 11px;
    opacity: 0.65;
    font-weight: 500;
    color: #000;
    transition: color 0.3s;
}

.cta-btn-large {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.cta-btn-arrow {
    position: relative;
    z-index: 1;
    color: #000;
    transition: transform 0.3s, color 0.3s;
}

.cta-download-btn:hover .cta-btn-arrow {
    transform: translateX(4px);
    color: #fff;
}

/* Trust badges */
.cta-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #a1a1aa;
    font-weight: 500;
}

.cta-badge-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
}

/* Stats Row */
.cta-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 24px 48px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.cta-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cta-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-headline { font-size: 40px; }
    .cta-subtext  { font-size: 16px; }
    .cta-stats    { padding: 20px 24px; flex-direction: column; gap: 20px; }
    .cta-stat-divider { width: 80%; height: 1px; }
    .cta-stat-num { font-size: 28px; }
    .cta-badges   { gap: 6px; }
}

@media (max-width: 480px) {
    .cta-headline { font-size: 34px; }
    .cta-download-btn { padding: 16px 28px; }
    .cta-btn-large { font-size: 18px; }
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 32px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ==========================================
   Animation Utilities
   ========================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-card {
        grid-template-columns: 1fr;
        padding: 60px 40px;
    }
    
    .download-visual {
        display: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }
    
    .step-number span {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .download-card {
        padding: 40px 24px;
    }
    
    .download-title {
        font-size: 32px;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
}
