/* ================================================
   FestFlow Landing Page — Premium Redesign CSS
   ================================================ */

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

:root {
    --orange: #f06640;
    --orange-bright: #ff7a55;
    --amber: #f5a623;
    --yellow: #ffd54f;
    --teal: #50c9b0;
    --teal-dark: #3aaf96;
    --teal-glow: rgba(80,201,176,0.25);
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --dark: #09090f;
    --dark-2: #0f0f18;
    --dark-3: #161622;
    --dark-card: rgba(22,22,38,0.65);
    --dark-card-solid: #1a1a2e;
    --dark-card-hover: #22223a;
    --gray-100: #f0f0f5;
    --gray-200: #d8d8e2;
    --gray-400: #8a8a9a;
    --gray-600: #55556a;
    --white: #ffffff;
    --gradient-brand: linear-gradient(135deg, var(--orange) 0%, var(--amber) 50%, var(--yellow) 100%);
    --gradient-brand-vivid: linear-gradient(135deg, #ff6b3d 0%, #f5a623 40%, #ffc857 100%);
    --gradient-teal: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    --gradient-purple: linear-gradient(135deg, var(--purple-dark), var(--purple));
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(240,102,64,0.08) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 20%, rgba(80,201,176,0.06) 0%, transparent 40%),
                     radial-gradient(ellipse at 50% 80%, rgba(168,85,247,0.05) 0%, transparent 50%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.2);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.3);
    --shadow-glow-orange: 0 0 40px rgba(240,102,64,0.2), 0 0 80px rgba(240,102,64,0.08);
    --shadow-glow-teal: 0 0 40px rgba(80,201,176,0.15);
    --glass-bg: rgba(255,255,255,0.025);
    --glass-border: rgba(255,255,255,0.08);
    --glass-border-hover: rgba(255,255,255,0.18);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.12;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.hidden {
    display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-xl);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand-vivid);
    color: var(--dark);
    box-shadow: 0 4px 24px rgba(240,102,64,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 36px rgba(240,102,64,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

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

.navbar.scrolled {
    background: rgba(9,9,15,0.88);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.nav-logo .logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo:hover .logo-img {
    filter: brightness(1.15);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    padding: 3px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lang-btn.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lang-btn:hover:not(.active) {
    color: var(--gray-200);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.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(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(9,9,15,0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    padding: 28px 24px;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.mobile-menu a {
    font-size: 1rem;
    color: var(--gray-400);
    padding: 10px;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--white);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    /* overflow removed to allow mobile mockup to be visible even on shorter screens */
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(240,102,64,0.08) 0%, transparent 50%),
        linear-gradient(
            180deg,
            rgba(9,9,15,0.2) 0%,
            rgba(9,9,15,0.5) 35%,
            rgba(9,9,15,0.92) 75%,
            var(--dark) 100%
        );
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--gray-200);
    margin-bottom: 28px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s ease-out;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 22px;
    letter-spacing: -0.035em;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    line-height: 1.08;
}

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

.hero-sub {
    font-size: 1.12rem;
    color: var(--gray-400);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.75;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-brand-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* Hero Mockup — ALWAYS VISIBLE, adapts to screen */
.hero-mockup {
    flex: 0 0 auto;
    width: 44%;
    max-width: 520px;
    animation: floatUp 1s ease-out 0.5s both;
    position: relative;
}

.hero-mockup::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(240,102,64,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

.mockup-img {
    width: 100%;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5)) drop-shadow(0 8px 16px rgba(240,102,64,0.1));
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-mockup:hover .mockup-img {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.02);
}

/* ---------- Sections Common ---------- */
.section {
    padding: 110px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal);
    margin-bottom: 18px;
    padding: 7px 18px;
    background: rgba(80,201,176,0.08);
    border: 1px solid rgba(80,201,176,0.12);
    border-radius: var(--radius-xl);
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section divider glow */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(80,201,176,0.3), transparent);
}

/* ---------- Glass Card Mixin ---------- */
.problem-card,
.solution-card,
.feature-item,
.impact-card,
.float-card,
.tech-item {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

/* ---------- Problem Section ---------- */
.problem-section {
    background: var(--dark-2);
    background-image: var(--gradient-mesh);
}

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

.problem-card {
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(240,102,64,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-card:hover {
    border-color: rgba(240,102,64,0.15);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-orange);
}

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

.problem-icon {
    font-size: 2.8rem;
    margin-bottom: 22px;
    display: inline-flex;
    justify-content: center;
}

/* ---------- SVG Icon Styling ---------- */
.icon-svg {
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)) drop-shadow(0 0 12px currentColor);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-orange { color: #ff7a55; }
.icon-teal { color: #50c9b0; }
.icon-brand { color: #f5a623; }

.problem-card:hover .icon-svg,
.solution-card:hover .icon-svg,
.feature-item:hover .icon-svg,
.step:hover .icon-svg {
    transform: scale(1.15) translateY(-4px);
}

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

.problem-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.65;
    position: relative;
}

/* ---------- Solution Section ---------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-md);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.visitor .card-accent { background: var(--gradient-brand-vivid); }
.truck .card-accent { background: var(--gradient-teal); }
.organizer .card-accent { background: var(--gradient-purple); }

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: inline-flex;
    justify-content: flex-start;
}

.solution-card h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.solution-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.solution-card li {
    color: var(--gray-400);
    font-size: 0.92rem;
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.solution-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 600;
}

/* ---------- How It Works ---------- */
.how-section {
    background: var(--dark-2);
    background-image: var(--gradient-mesh);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-brand-vivid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 auto 24px;
    box-shadow: 0 4px 24px rgba(240,102,64,0.35), inset 0 2px 0 rgba(255,255,255,0.2);
    position: relative;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: rgba(255,255,255,0.06);
    margin-top: 30px;
    flex-shrink: 0;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--teal);
    border-right: 2px solid var(--teal);
    transform: rotate(45deg);
}

.step-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: inline-flex;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-400);
    font-size: 0.9rem;
    max-width: 220px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- 4-step layout ---------- */
.steps-4 {
    max-width: 1100px;
}

.steps-4 .step-connector {
    width: 50px;
}

/* ---------- Features Section ---------- */
.features-section {
    background: var(--dark);
    background-image: var(--gradient-mesh);
}

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

.feature-item {
    border-radius: var(--radius-md);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(80,201,176,0.15), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-item:hover {
    border-color: rgba(80,201,176,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-teal);
}

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

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: inline-flex;
    justify-content: flex-start;
}

.feature-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--gray-400);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ---------- Impact Section ---------- */
.impact-section {
    background: var(--dark-2);
    background-image: var(--gradient-mesh);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.impact-card {
    background: rgba(26,26,46,0.65);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px rgba(0,0,0,0.2);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand-vivid);
    opacity: 0.8;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(240,102,64,0.1);
}

.impact-card:hover::before {
    opacity: 1;
    height: 6px;
}

.impact-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-brand-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.impact-label {
    color: var(--gray-400);
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 18px;
    min-height: 40px;
}

.impact-bar {
    height: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 3px;
    overflow: hidden;
}

.impact-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-brand-vivid);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-fill.fill-teal {
    background: var(--gradient-teal);
}

.impact-fill.fill-purple {
    background: var(--gradient-purple);
}

.impact-fill.fill-amber {
    background: linear-gradient(90deg, var(--amber), var(--yellow));
}

.impact-disclaimer {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.78rem;
    font-style: italic;
}

/* ---------- Pilot Section ---------- */
.pilot-section {
    background: var(--dark);
    overflow: hidden;
    background-image: var(--gradient-mesh);
}

.pilot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.pilot-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 22px;
}

.pilot-desc {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.75;
}

.pilot-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.pilot-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.check {
    width: 30px;
    height: 30px;
    background: rgba(80,201,176,0.1);
    border: 1px solid rgba(80,201,176,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pilot-visual {
    position: relative;
    min-height: 400px;
}

.pilot-card-stack {
    position: relative;
    width: 100%;
    height: 400px;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 26px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.float-icon {
    font-size: 1.7rem;
}

.card-1 { top: 20px; left: 20px; animation-delay: 0s; }
.card-2 { top: 110px; right: 10px; animation-delay: 1.5s; }
.card-3 { top: 210px; left: 40px; animation-delay: 3s; }
.card-4 { top: 310px; right: 30px; animation-delay: 4.5s; }

/* ---------- Tech Section ---------- */
.tech-section {
    background: var(--dark-2);
    padding: 80px 0;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(80,201,176,0.3), transparent);
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
}

.tech-item:hover {
    border-color: var(--glass-border-hover);
    color: var(--white);
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2rem;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 18px;
}

.contact-info > p {
    color: var(--gray-400);
    margin-bottom: 36px;
    font-size: 1rem;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--teal);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--white);
}

.contact-icon {
    font-size: 1.3rem;
}

.contact-form {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-200);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(80,201,176,0.1), 0 0 20px rgba(80,201,176,0.05);
    background: rgba(255,255,255,0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background: var(--dark-card-solid);
    color: var(--white);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: rgba(80,201,176,0.08);
    border: 1px solid rgba(80,201,176,0.15);
    border-radius: var(--radius-sm);
    color: var(--teal);
    font-weight: 500;
    margin-top: 18px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-2);
    padding: 52px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

/* AOS-like scroll animation */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

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

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ---------- Responsive ---------- */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
    .pilot-content {
        grid-template-columns: 1fr;
    }

    .pilot-visual {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets & Switch Hero to Stacked */
@media (max-width: 850px) {
    .nav-links {
        display: none;
    }

    .nav-right {
        display: none;
    }

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

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

    /* SHOW mockup below text, centered, smaller */
    .hero-mockup {
        width: 65%;
        max-width: 440px;
        margin: 10px auto 0;
    }
    .nav-links {
        display: none;
    }

    .nav-right {
        display: none;
    }

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

    .problem-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .step-connector::after {
        top: auto;
        bottom: 0;
        right: -3px;
        transform: rotate(135deg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 50px;
    }

    .hero-mockup {
        width: 80%;
        max-width: 380px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 14px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section {
        padding: 70px 0;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .nav-container {
        padding: 0 18px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-mockup {
        width: 90%;
        max-width: 320px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

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

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}
