/* =====================================================
   TOWER CHIEF - Landing Page Styles
   Professional ATC Simulator
   ===================================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors - Midnight Tower Palette */
    --deep-space: #0A0A0F;
    --radar-black: #000000;
    --console-gray: #1A1A24;
    --steel: #2E2E3A;

    /* Accent Colors */
    --stars-green: #00E500;
    --stars-green-dim: rgba(0, 229, 0, 0.6);
    --accent-cyan: #00D4FF;
    --accent-light: #ffffff;
    --alert-red: #FF3333;

    /* Text Colors */
    --cloud-white: #E8E8EC;
    --dim-white: #8A8A96;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    --gradient-green: linear-gradient(135deg, #00E500 0%, #00FF66 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0F 0%, #0D0D14 100%);

    /* Typography */
    --font-hero: 'Bebas Neue', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;

    /* Effects */
    --glow-green: 0 0 20px rgba(0, 229, 0, 0.3);
    --glow-white: 0 0 20px rgba(255, 255, 255, 0.3);
    --glass-bg: rgba(26, 26, 36, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

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

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

body {
    font-family: var(--font-body);
    background: var(--deep-space);
    color: var(--cloud-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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

/* =====================================================
   UTILITIES
   ===================================================== */

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

/* =====================================================
   NAVIGATION
   ===================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    /* Increased padding for cleaner look */
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    /* Increased side padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 48px;
    /* Slightly larger for emphasis */
    width: auto;
    transition: all 0.3s ease;
}

.nav.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cloud-white);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cloud-white);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--deep-space);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cloud-white);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    position: relative;
    height: 100vh;
    /* Fixed full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* Simplified overlay for cleaner look */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.4) 100%);
}

/* Subtler vignette */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 150px 50px rgba(10, 10, 15, 0.4);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeIn 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--cloud-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--cloud-white);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    /* Explicit height to match input */
    padding: 0 2.5rem;
    background: var(--cloud-white);
    color: var(--deep-space);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    /* Slight rounding but mostly sharp */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    background: var(--accent-cyan);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* =====================================================
   WAITLIST FORM
   ===================================================== */

.waitlist-form {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    justify-content: center;
}

.email-input {
    width: 100%;

    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--cloud-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 54px;
    /* Explicit height to match button */
}

.email-input::placeholder {
    color: var(--dim-white);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--stars-green);
}

.form-message.error {
    color: var(--alert-red);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}
