/* ========================================
   AirviaGo - Modern Aviation Tech Design
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Deep Aviation Dark Theme */
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1420;
    --bg-tertiary: #151b2a;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2942;
    
    /* Accent - Aviation Blue/Cyan */
    --accent: #00d4ff;
    --accent-light: #4de8ff;
    --accent-dark: #00a3c7;
    --accent-glow: rgba(0, 212, 255, 0.3);
    
    /* Secondary Accent - Electric Purple */
    --accent-secondary: #8b5cf6;
    --accent-secondary-light: #a78bfa;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Border & Divider */
    --border: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.05);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* 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;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px var(--accent-glow);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Header */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

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

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

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.plane-loader {
    width: 80px;
    height: 80px;
    animation: float 2s ease-in-out infinite;
}

.plane-svg {
    width: 100%;
    height: 100%;
}

.plane-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 2s ease-in-out infinite;
}

.plane-icon {
    animation: fly 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes dash {
    0%, 100% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
}

@keyframes fly {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

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

.preloader-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

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

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

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

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

.nav-close {
    display: none;
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

.lang-btn {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

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

.nav-cta {
    display: none;
}

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

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

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

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

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

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

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 60%;
    background: radial-gradient(ellipse at top center, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Flight Map Animation */
.flight-map {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
    overflow: hidden;
}

.world-map-svg {
    width: 100%;
    height: 100%;
    min-width: 1200px;
    transform: scale(1.1);
}

/* Abstract Flight Network */
.flight-network-svg {
    width: 100%;
    height: 100%;
}

/* Background Pattern */
.bg-pattern {
    animation: patternFadeIn 2s ease-out forwards;
}

@keyframes patternFadeIn {
    from { opacity: 0; }
    to { opacity: 0.15; }
}

/* Decorative circles rotation */
.bg-pattern circle:nth-child(2) {
    animation: rotateCircle 60s linear infinite;
    transform-origin: 500px 250px;
}

.bg-pattern circle:nth-child(3) {
    animation: rotateCircle 90s linear infinite reverse;
    transform-origin: 500px 250px;
}

.bg-pattern circle:nth-child(4) {
    animation: rotateCircle 120s linear infinite;
    transform-origin: 500px 250px;
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Airport Network Nodes */
.airports {
    animation: nodesAppear 1.5s ease-out forwards;
}

@keyframes nodesAppear {
    from { 
        opacity: 0; 
        transform: scale(0.8);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

.airport-marker:not(.hub) {
    animation: nodeFloat 6s ease-in-out infinite;
}

.airport-marker:not(.hub):nth-child(odd) {
    animation-delay: 0.5s;
}

.airport-marker:not(.hub):nth-child(even) {
    animation-delay: 1s;
}

.airport-marker:not(.hub):nth-child(3n) {
    animation-delay: 1.5s;
}

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

/* Hub node special styling - Static, no movement */
.airport-marker.hub {
    animation: none;
    transform: none;
}

.airport-code {
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 600;
    fill: rgba(148, 163, 184, 0.7);
    text-anchor: middle;
    letter-spacing: 0.5px;
}

.airport-code.hub-label {
    font-size: 10px;
    font-weight: 700;
    fill: var(--accent);
}

/* Flight Routes - Network Lines */
.flight-routes {
    opacity: 0.6;
    animation: routesAppear 2s ease-out forwards;
}

@keyframes routesAppear {
    from { 
        opacity: 0;
        stroke-dashoffset: 1000;
    }
    to { 
        opacity: 0.6;
        stroke-dashoffset: 0;
    }
}

.route-path {
    stroke-linecap: round;
    stroke-dasharray: 8 4;
    animation: routeFlow 15s linear infinite;
}

@keyframes routeFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -48; }
}

/* Flying Dots - Data Packets */
.flying-dots {
    opacity: 0;
    animation: dotsAppear 1s ease-out 0.5s forwards;
}

@keyframes dotsAppear {
    from { opacity: 0; }
    to { opacity: 1; }
}

.flying-dots circle {
    will-change: transform;
}

/* Cyan dots glow */
.flying-dots circle[fill="var(--accent)"] {
    filter: 
        drop-shadow(0 0 4px rgba(0, 212, 255, 1)) 
        drop-shadow(0 0 8px rgba(0, 212, 255, 0.8))
        drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

/* Purple dots glow */
.flying-dots circle[fill="#a78bfa"] {
    filter: 
        drop-shadow(0 0 4px rgba(139, 92, 246, 1)) 
        drop-shadow(0 0 8px rgba(139, 92, 246, 0.8))
        drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

/* Responsive Flight Map */
@media (max-width: 1024px) {
    .flight-map {
        opacity: 0.5;
    }
    
    .airport-code {
        font-size: 4px;
    }
    
    .flying-dots circle {
        r: 2;
    }
}

@media (max-width: 768px) {
    .flight-map {
        opacity: 0.35;
    }
    
    .world-map-svg {
        min-width: 700px;
    }
    
    .airport-code {
        display: none;
    }
    
    .world-map-dots {
        display: none;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    width: fit-content;
    animation: fadeInUp 0.6s ease forwards;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

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

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

/* Hero Visual / Dashboard Mockup */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

.dashboard-mockup {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: var(--space-sm);
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: var(--error); }
.mockup-dots span:nth-child(2) { background: var(--warning); }
.mockup-dots span:nth-child(3) { background: var(--success); }

.mockup-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mockup-content {
    display: grid;
    grid-template-columns: 60px 1fr;
    min-height: 300px;
}

.mockup-sidebar {
    background: var(--bg-secondary);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-right: 1px solid var(--border);
}

.sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    transition: all var(--transition-fast);
}

.sidebar-item.active {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.mockup-main {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.flight-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.airport {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.route-line {
    flex: 1;
    height: 20px;
}

.plane-route {
    width: 100%;
    height: 100%;
}

.flight-info {
    display: flex;
    justify-content: space-between;
}

.seats-available {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

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

.occupancy {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    height: 80px;
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.chart-bar.active {
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 500;
}

.floating-card.card-1 {
    top: 20%;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: calc(var(--space-2xl) + 40px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeIn 0.6s ease 1s forwards;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: var(--space-sm);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: var(--radius-full);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Section Styles ===== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

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

.section-header.left-aligned {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

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

.section-header.left-aligned .section-subtitle {
    margin: 0;
}

/* ===== What Is Section ===== */
.what-is-section {
    background: var(--gradient-dark);
}

.what-is-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.what-is-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.content-block {
    display: flex;
    gap: var(--space-lg);
}

.content-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--accent);
}

.content-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.content-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Visual Card */
.what-is-visual {
    position: relative;
}

.visual-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    animation: rotate 20s linear infinite;
    opacity: 0.5;
}

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

.card-content {
    position: relative;
    z-index: 1;
}

.problem-solution {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.problem, .solution {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.problem {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ps-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.problem .ps-label { color: var(--error); }
.solution .ps-label { color: var(--success); }

.problem-solution p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.arrow-down {
    display: flex;
    justify-content: center;
}

.airviago-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.badge-logo {
    height: 40px;
    width: auto;
}

.airviago-badge span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

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

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

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

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

.feature-list li {
    position: relative;
    padding-left: var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== Who Section ===== */
.who-section {
    background: var(--bg-primary);
}

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

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

.who-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.who-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--accent);
    margin: 0 auto var(--space-xl);
}

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

.who-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.who-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
}

.who-benefits li {
    position: relative;
    padding-left: var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.who-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ===== How Section ===== */
.how-section {
    background: var(--gradient-dark);
}

.how-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
}

.timeline-item {
    position: relative;
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ===== Ecosystem Section ===== */
.ecosystem-section {
    background: var(--bg-secondary);
    overflow: hidden;
}

.ecosystem-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3xl);
}

.ecosystem-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.ecosystem-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    padding: var(--space-lg);
    box-shadow: var(--shadow-glow);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.5); }
}

.ecosystem-logo img {
    width: 100%;
    height: auto;
}

.ecosystem-center span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.ecosystem-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    width: 100%;
}

.ecosystem-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    opacity: 0;
}

.ecosystem-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
}

.ecosystem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent);
    flex-shrink: 0;
}

.ecosystem-text h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.ecosystem-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== Why Section ===== */
.why-section {
    background: var(--bg-primary);
}

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

.why-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
}

.why-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--accent);
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.why-card p {
    color: var(--text-secondary);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--gradient-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

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

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

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

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

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

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

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

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

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

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border);
}

.footer-logo img {
    height: 48px;
    margin-bottom: var(--space-lg);
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

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

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

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

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.copyright a {
    color: var(--accent);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.25rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .what-is-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ecosystem-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        padding: var(--space-4xl) var(--space-xl);
        flex-direction: column;
        transition: right var(--transition-base);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    .nav-close {
        display: flex;
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        color: var(--text-primary);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .who-card:last-child {
        max-width: none;
    }
    
    .timeline-line {
        left: 24px;
    }
    
    .timeline-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .ecosystem-items {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .content-block {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .why-card {
        flex-direction: column;
        text-align: center;
    }
    
    .why-icon {
        margin: 0 auto;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.invisible { visibility: hidden; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation classes for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Selection */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: var(--radius-full);
}

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

