/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 3rem;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .material-symbols-outlined {
    color: var(--bg-dark) !important;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.logo-subtitle {
    font-size: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav a {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav a:hover {
    color: var(--text-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions .btn:first-child {
        display: none;
    }

    .logo {
        margin-right: 0;
    }

    .logo-subtitle {
        display: none;
    }

    .logo-icon {
        width: 2rem;
        height: 2rem;
    }

    .logo-icon .material-symbols-outlined {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        height: 3.5rem;
    }

    .header-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 255, 0, 0.03) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.95)),
        url('../assets/hero-bg.svg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Scanline Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 255, 0, 0.1);
    animation: scanline 8s linear infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    border: 1px solid var(--primary);
    padding: 1rem;
    text-align: left;
    transition: background var(--transition-normal);
}

.stat-card:hover {
    background: var(--primary-dim);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-column h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom span {
    color: var(--text-dim);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-dim);
    font-size: 0.75rem;
}

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