:root {
    /* Colors */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --cyan: #06B6D4;
    --success: #10B981;
    
    --bg-primary: #0B1120;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px; /* Отступ для якорей с учетом navbar */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-hero);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(11, 17, 32, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px var(--spacing-lg) var(--spacing-2xl);
    text-align: center;
}

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

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

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: 30%;
    right: 15%;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 60%;
    left: 60%;
    animation-delay: -14s;
}

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

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.badge svg {
    width: 16px;
    height: 16px;
}

.ai-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.beta-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(236, 72, 153, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: var(--spacing-xs);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.3);
}

.cta-primary svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cta-secondary svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.4);
}

.cta-secondary {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* Hide scroll indicator on smaller screens to prevent collision with CTA buttons */
@media (max-width: 870px) {
    .scroll-indicator {
        display: none;
    }
}

@media (max-height: 700px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.feature-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* How it works Section */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.2) 50%, transparent 100%);
}

.steps {
    display: grid;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    text-align: left;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

.step-content {
    flex: 1;
    padding-top: var(--spacing-md);
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.step-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pilot Section */
.pilot {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
}

.pilot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.pilot-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
}

.pilot-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-glow);
}

.pilot-badge svg {
    width: 16px;
    height: 16px;
}

.pilot-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.pilot-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
}

.pilot-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
    align-items: flex-start;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pilot-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.pilot-feature svg {
    color: var(--success);
    flex-shrink: 0;
}

.pilot-cta {
    text-align: center;
}

.cta-pilot {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-pilot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-pilot:hover::before {
    opacity: 1;
}

.cta-pilot:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.4);
}

.pilot-note {
    margin-top: var(--spacing-lg);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pilot-note strong {
    color: var(--accent);
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(11, 17, 32, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    backdrop-filter: blur(20px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    align-items: start;
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-made-with svg {
    width: 16px;
    height: 16px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile menu button - hidden by default (desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: var(--spacing-lg);
    }
    
    .hero {
        padding: 100px var(--spacing-md) var(--spacing-xl);
    }
    
    .hero-stats {
        gap: var(--spacing-xl);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .step-number {
        align-self: center;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 90px; /* Меньший отступ для мобильных */
    }
    
    .nav-container {
        height: 70px;
        padding: 0 var(--spacing-md);
        position: relative;
    }
    
    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }
    
    .mobile-menu-btn.open span:first-child {
        transform: rotate(45deg);
    }
    
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 17, 32, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-3xl);
        gap: var(--spacing-2xl);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md) var(--spacing-xl);
        width: 80%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        background: var(--gradient-card);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--gradient-primary);
        border-color: var(--primary);
        transform: translateY(-2px);
    }
    
    /* Show mobile menu button on mobile */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .hero {
        padding: 90px var(--spacing-md) var(--spacing-lg);
        min-height: 90vh;
    }
    
    .hero-badges {
        gap: var(--spacing-sm);
        justify-content: center;
        align-items: center;
    }
    
    .badge {
        min-height: 44px; /* Touch target */
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 0.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .cta-primary, .cta-secondary {
        justify-content: center;
        padding: var(--spacing-lg) var(--spacing-xl);
        min-height: 56px; /* Better touch target */
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin-top: var(--spacing-xl);
    }
    
    .feature-card {
        padding: var(--spacing-2xl) var(--spacing-lg);
        border-radius: var(--radius-lg);
    }
    
    .feature-title {
        font-size: 1.4rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .feature-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .pilot-features {
        text-align: left;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pilot-feature {
        font-size: 1.05rem;
        padding: var(--spacing-sm) 0;
    }
    
    .cta-pilot {
        padding: var(--spacing-lg) var(--spacing-2xl);
        min-height: 56px;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

/* Large mobile / Small tablet styles */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .badge {
        flex: 0 1 auto;
        min-width: 140px;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-primary, .cta-secondary {
        flex: 1;
        min-width: 200px;
        max-width: 240px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-2xl);
    }
    
    .pilot-features {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure no horizontal overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
        height: 65px;
    }
    
    .nav-logo .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
        padding: 5px;
    }
    
    .nav-links {
        top: 65px;
        height: calc(100vh - 65px);
        padding-top: var(--spacing-2xl);
        gap: var(--spacing-lg);
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-lg) var(--spacing-xl);
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero {
        padding: 85px var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }
    
    .badge {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 0.8rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-stats {
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
    }
    
    .stat-number {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-cta {
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        padding: var(--spacing-lg) var(--spacing-xl);
        font-size: 1rem;
        min-height: 54px;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
    
    .cta-primary svg,
    .cta-secondary svg {
        width: 22px;
        height: 22px;
    }
    
    .section-header {
        margin-bottom: var(--spacing-2xl);
        padding: 0 var(--spacing-sm);
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: var(--spacing-md);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features {
        padding: var(--spacing-2xl) 0;
    }
    
    .features-grid {
        gap: var(--spacing-xl);
    }
    
    .how-it-works {
        padding: var(--spacing-2xl) 0;
    }
    
    .steps {
        gap: var(--spacing-2xl);
    }
    
    .pilot {
        padding: var(--spacing-2xl) 0;
    }
    
    .pilot-container {
        padding: 0 var(--spacing-sm);
    }
    
    .pilot-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.3;
    }
    
    .pilot-description {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .feature-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
    
    .pilot-features {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }
    
    .pilot-feature {
        font-size: 1rem;
        padding: var(--spacing-sm) 0;
    }
    
    .cta-pilot {
        padding: var(--spacing-lg) var(--spacing-xl);
        font-size: 1rem;
        min-height: 54px;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }
    
    .cta-pilot svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
    
    .footer-content {
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    /* Improve text readability on very small screens */
    .hero-subtitle strong,
    .pilot-note strong {
        display: inline-block;
        margin: 0 2px;
    }
}

/* Animation utilities */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-primary:focus,
.cta-secondary:focus,
.cta-pilot:focus,
.footer-link:focus,
.mobile-menu-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mobile-specific accessibility and interaction improvements */
@media (max-width: 768px) {
    /* Better touch targets */
    .nav-link:focus,
    .cta-primary:focus,
    .cta-secondary:focus,
    .cta-pilot:focus {
        outline-width: 3px;
        outline-offset: 3px;
    }
    
    /* Prevent text selection on buttons for better mobile UX */
    .cta-primary,
    .cta-secondary, 
    .cta-pilot,
    .mobile-menu-btn {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better scroll behavior on mobile */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Improve button press feedback on mobile */
    .cta-primary:active,
    .cta-secondary:active,
    .cta-pilot:active,
    .nav-link:active {
        transform: translateY(1px) scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Prevent zoom on input focus for iOS */
    input, select, textarea {
        font-size: 16px;
    }
}

/* Mobile landscape optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px var(--spacing-md) var(--spacing-lg);
    }
    
    .nav-container {
        height: 60px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        padding-top: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vh, 3.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-stats {
        margin-bottom: var(--spacing-xl);
    }
}

/* Loading animation */
.hero-container {
    animation: fadeInUp 1s ease-out;
}

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