/* ===================================
   CSS Custom Properties (Brand Colors)
   =================================== */
:root {
    /* Brand Colors */
    --sky-blue: #0EA5E9;
    --pitch-green: #3AB072;

    /* UI Colors */
    --background: #0D1117;
    --foreground: #F9FAFB;
    --muted-foreground: #8E95A3;

    /* Typography */
    --font-display: 'Archivo', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --max-width: 1400px;

    /* Timing */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   Particle Canvas Background
   =================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===================================
   Background Gradient & Pattern
   =================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(58, 176, 114, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Subtle pitch line pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 49%, rgba(14, 165, 233, 0.03) 50%, transparent 51%);
    background-size: 100% 40px;
    z-index: 1;
    pointer-events: none;
}

/* ===================================
   Main Hero Section
   =================================== */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.container {
    max-width: var(--max-width);
    width: 100%;
    text-align: center;
}

/* ===================================
   Logo
   =================================== */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.3s forwards;
}

.logo-icon {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.3));
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--pitch-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

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

/* ===================================
   Headline
   =================================== */
.headline {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.6s forwards;
}

.title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--foreground);
    text-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
}

.subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===================================
   Coming Soon
   =================================== */
.coming-soon {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-smooth) 2s forwards;
}

.year {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    color: var(--foreground);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--pitch-green) 100%);
    color: var(--foreground);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 2rem;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(14, 165, 233, 0.5);
}

.cta-link:focus-visible {
    outline: 2px solid var(--sky-blue);
    outline-offset: 4px;
}

/* ===================================
   Progress Section
   =================================== */
.progress-section {
    max-width: 500px;
    margin: 0 auto 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-smooth) 3s forwards;
}

.progress-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.progress-bar-container {
    position: relative;
    height: 8px;
    background: var(--muted);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--sky-blue) 0%, var(--pitch-green) 100%);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    animation: fillProgress 2s var(--ease-smooth) 3.2s forwards;
}

@keyframes fillProgress {
    to {
        width: var(--progress-width);
    }
}

.progress-percentage {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sky-blue);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

/* ===================================
   Footer
   =================================== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 3.5s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: all 0.3s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
}

.social-link:hover {
    color: var(--sky-blue);
    transform: translateY(-2px);
}

.social-link:focus-visible {
    outline: 2px solid var(--sky-blue);
    outline-offset: 4px;
}

.footer p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .logo {
        margin-bottom: 3rem;
    }

    .headline {
        margin-bottom: 3rem;
    }

    .tactical-container {
        margin-bottom: 3rem;
        max-width: 500px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }

    .logo {
        margin-bottom: 2.5rem;
        gap: 0.75rem;
    }

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

    .logo-text {
        font-size: 1.5rem;
    }

    .headline {
        margin-bottom: 2.5rem;
    }

    .tactical-container {
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .coming-soon {
        margin-bottom: 2rem;
    }

    .progress-section {
        max-width: 100%;
    }

    .footer {
        padding: 1rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .tactical-container {
        margin-bottom: 2rem;
    }

    .progress-bar-container {
        height: 6px;
    }

    .progress-percentage {
        font-size: 1.25rem;
    }
}

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

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--sky-blue);
    outline-offset: 4px;
}
