/* ===============================================
   Urban Farming Lab 4.0 - Premium Design System
   =============================================== */

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

:root {
    /* Premium Dark Color Palette */
    --bg-primary: #030712;
    --bg-secondary: #0a0f1a;
    --bg-tertiary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);

    /* Accent Colors - Vibrant Tech Greens */
    --accent-primary: #10b981;
    --accent-secondary: #34d399;
    --accent-tertiary: #6ee7b7;
    --accent-glow: rgba(16, 185, 129, 0.5);

    /* Cyan Accents for Tech Feel */
    --cyan-primary: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);

    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: rgba(249, 250, 251, 0.7);
    --text-tertiary: rgba(249, 250, 251, 0.5);
    --text-muted: rgba(249, 250, 251, 0.4);

    /* Borders & Surfaces */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(16, 185, 129, 0.3);
    --surface-glass: rgba(255, 255, 255, 0.03);
    --surface-elevated: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 140px;

    /* Effects */
    --blur-glass: blur(20px);
    --blur-heavy: blur(40px);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.15);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.015;
    z-index: 10000;
    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)'/%3E%3C/svg%3E");
}

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

/* ===============================================
   Language Toggle - In Navbar
   =============================================== */
.lang-toggle {
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 3px;
    display: flex;
    gap: 2px;
    margin-left: 16px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-tertiary);
}

.lang-btn.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
    background: var(--surface-elevated);
}

/* ===============================================
   Navigation - Premium Glass Bar
   =============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: var(--blur-glass) saturate(180%);
    -webkit-backdrop-filter: var(--blur-glass) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: var(--shadow-elevated);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    position: relative;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--cyan-primary) 50%, var(--accent-secondary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.logo:hover {
    transform: scale(1.02);
}

.logo:hover .logo-text {
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--surface-elevated);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 1px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav-links a:hover::after {
    width: calc(100% - 36px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1100;
    /* Ensure toggle is above overlay */
}

.mobile-menu-toggle:hover {
    background: var(--surface-elevated);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 1px;
    pointer-events: none;
}

/* ===============================================
   Hero Section - Immersive Dark Experience
   =============================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 80px;
}

/* Animated gradient mesh background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 40% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-primary) 70%);
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, -2%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 2%) rotate(-1deg);
    }

    75% {
        transform: translate(1%, 1%) rotate(0.5deg);
    }
}

/* Grid overlay effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    opacity: 0.5;
    z-index: 1;
}

/* Floating orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    animation: orbFloat 15s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px 100px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    letter-spacing: -0.03em;
}

.title-line {
    display: inline-block;
    animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
    color: var(--text-primary);
    opacity: 0.9;
}

.title-line.highlight {
    animation-delay: 0.3s;
    position: relative;
    display: inline-block;
}

.title-line.highlight {
    background: linear-gradient(135deg,
            var(--accent-primary) 0%,
            var(--cyan-primary) 25%,
            var(--accent-secondary) 50%,
            var(--cyan-primary) 75%,
            var(--accent-primary) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards,
        gradientFlow 6s ease infinite;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 56px;
    line-height: 1.6;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

/* ===============================================
   Buttons - Premium Glass & Glow
   =============================================== */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--bg-primary);
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.2),
        0 4px 20px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px var(--accent-primary),
        0 8px 40px var(--accent-glow),
        0 0 80px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--surface-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--surface-elevated);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 40px var(--accent-glow);
}

/* ===============================================
   Scroll Indicator
   =============================================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 5;
}

.scroll-indicator span {
    display: block;
    width: 28px;
    height: 44px;
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    position: relative;
    background: var(--surface-glass);
    backdrop-filter: var(--blur-glass);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 1;
    }
}

@keyframes scrollDot {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 24px;
        opacity: 0.3;
    }
}

/* ===============================================
   Section Styles - Dark Elegance
   =============================================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--bg-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--cyan-primary));
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.7;
}

/* ===============================================
   Overview Section - Glass Cards
   =============================================== */
.overview {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 30% at 0% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 100% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
}

.overview-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    padding: 40px 32px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.overview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.overview-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.overview-card:hover::before,
.overview-card:hover::after {
    opacity: 0.15;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
    filter: saturate(0.8);
    transition: var(--transition-smooth);
}

.overview-card:hover .card-icon {
    filter: saturate(1);
    transform: scale(1.1);
}

.overview-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ===============================================
   Systems Section - Image Cards
   =============================================== */
.systems {
    background: var(--bg-secondary);
    position: relative;
}

.systems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
}

.system-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    position: relative;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 3;
    pointer-events: none;
}

.system-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--border-accent);
    box-shadow:
        var(--shadow-card),
        0 0 60px var(--accent-glow);
}

.system-card:hover::before {
    opacity: 0.1;
}

.system-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.9) saturate(0.9);
}

.system-card:hover .system-image img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1);
}

.system-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(3, 7, 18, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    z-index: 2;
}

.system-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    color: var(--accent-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    background: var(--surface-glass);
    backdrop-filter: var(--blur-glass);
    border-radius: 100px;
    border: 1px solid var(--border-accent);
}

.system-content {
    padding: 28px;
}

.system-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.system-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Placeholder Card */
.system-card-placeholder {
    opacity: 0.7;
}

.system-card-placeholder:hover {
    opacity: 1;
}

.placeholder-bg {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.placeholder-bg::before {
    content: '🌱';
    animation: placeholderPulse 3s ease-in-out infinite;
    filter: saturate(0.5);
}

.placeholder-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes placeholderPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ===============================================
   Future Section - Premium Dark
   =============================================== */
.future {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 0% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 100% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.future .section-title,
.future .section-subtitle {
    color: var(--text-primary);
}

.future-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.future-timeline {
    position: relative;
    padding-left: 32px;
}

.future-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), var(--cyan-primary), var(--accent-primary));
    border-radius: 1px;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.future-signup {
    position: sticky;
    top: 120px;
}

.signup-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.signup-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.signup-card>p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input[type="email"] {
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--surface-glass);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--surface-elevated);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    font-weight: 600;
}

.newsletter-form button:hover {
    box-shadow: 0 0 30px var(--accent-glow);
}

.form-notice {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===============================================
   Partners Section
   =============================================== */
.partners {
    background: var(--bg-primary);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.partner-logos-section {
    margin-top: 0;
    text-align: center;
}

.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo-item {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.partner-logo-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===============================================
   Team Section
   =============================================== */
.team {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.team::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.team-group-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-secondary);
    margin: 60px 0 32px;
    text-align: center;
    position: relative;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-group-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    margin: 16px auto 0;
    opacity: 0.5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.team-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-radius: 24px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--cyan-primary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 2px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    transition: var(--transition-smooth);
    position: relative;
}

.team-card:hover .avatar-placeholder {
    transform: scale(1.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-glow);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    border: 1px solid var(--border-accent);
}

.team-card>p:last-child {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===============================================
   Contact Section
   =============================================== */
.contact {
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--surface-glass);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--surface-elevated);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

.info-card a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-card a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ===============================================
   Footer - Dark Premium
   =============================================== */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 14px;
}

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

.footer-logos {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
    display: block;
    height: 50px;
    opacity: 0.6;
    transition: var(--transition-smooth);
    filter: grayscale(100%);
}

.footer-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===============================================
   Responsive Design
   =============================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .future-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .future-signup {
        position: static;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        min-height: 100svh;
        padding: 100px 16px 60px;
    }

    .hero-content {
        padding: 0 0 80px;
    }

    .hero-title {
        font-size: clamp(36px, 12vw, 60px);
    }

    .hero-subtitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 40px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .overview-grid,
    .systems-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 48px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 32px;
    }

    .partner-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo-item {
        height: 100px;
        padding: 16px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(32px, 11vw, 48px);
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .overview-card,
    .team-card {
        padding: 32px 24px;
    }

    .signup-card {
        padding: 32px 24px;
    }

    .system-image {
        height: 220px;
    }

    .partner-logos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-logo-item {
        height: 90px;
    }
}

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

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

.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===============================================
   Utility Classes
   =============================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.success-message {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-secondary);
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid var(--border-accent);
}

.error-message {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

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

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

/* ===============================================
   Mobile Menu Overlay
   =============================================== */


.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    /* Mobile viewport fix */
    /* Solid background to fix transparency issues - using hex to be robust */
    background-color: #030712 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 100px 32px 32px;
    gap: 8px;
    z-index: 999;
    animation: menuFadeIn 0.3s ease;
}

.nav-links.mobile-open a {
    font-size: 18px;
    padding: 16px 20px;
    border-radius: 12px;
    color: var(--text-primary);
}

.nav-links.mobile-open a:hover {
    background: var(--surface-elevated);
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 5px;
}

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

/* Selection Styling */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}