@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Premium Dark Palette - Focus on Electric Blue */
    --bg-main: #050505;
    --bg-accent: #0a0a0a;
    --text-primary: #f0f0f0;
    --text-secondary: #9a9a9a;
    --neon-blue: #0077ff;
    --neon-cyan: #00d4ff;
    --neon-purple: #b100ff;
    --border-color: rgba(255, 255, 255, 0.05);

    /* Animation Tokens */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: 'Spectral', serif;
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* VFX Layering */
.bg-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
    z-index: 10;
}

.neural-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.15;
    pointer-events: none;
}

.laser-streak {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    width: 200px;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    animation: streakFlow 4s linear infinite;
}

@keyframes streakFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(500%);
        opacity: 0;
    }
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

section {
    padding: 80px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Hero */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 180px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title span {
    font-style: italic;
    color: var(--neon-blue);
    font-weight: 400;
}

.subtext {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out-expo);
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
}

header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Spectral', serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s var(--ease-out-expo);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
        gap: 12px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

.logo-text span {
    color: var(--neon-blue);
    font-weight: 800;
}

/* Footer Specific Overrides */
footer .logo {
    font-size: 1.4rem;
    gap: 10px;
}

footer .logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s var(--ease-out-expo);
        z-index: 1000;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btn-primary.header-btn {
        display: none;
        /* Hide main button in mobile header */
    }
}

/* Buttons */
.btn {
    padding: 14px 28px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.4s var(--ease-out-expo);
    border-radius: 2px;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 119, 255, 0.05);
}

/* About / Visual Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.pulse {
    animation: pulseAnim 4s infinite ease-in-out;
}

@keyframes pulseAnim {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    background: var(--bg-accent);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: border-color 0.4s;
}

.feature-item:hover {
    border-color: var(--neon-blue);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Step List */
.step-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-box {
    padding: 30px;
    border-left: 2px solid var(--border-color);
}

.step-box:hover {
    border-left-color: var(--neon-cyan);
}

.step-num {
    color: var(--neon-cyan);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Section Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Mobile Refinements */
@media (max-width: 768px) {

    .about-grid,
    .feature-grid,
    .step-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .subtext {
        font-size: 1rem;
    }

    .feature-item {
        padding: 25px;
    }

    .detail-card {
        padding: 30px;
    }

    .detail-header h1 {
        font-size: 2.2rem !important;
    }

    .apply-container {
        padding: 30px;
    }
}