@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-on-dark: #f8fafc;
    --text-on-light: #1e293b;
    --text-muted-on-dark: #94a3b8;
    --text-muted-on-light: #64748b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 50px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-on-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
label {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    width: 100%;
    padding: 6rem 0;
    margin: 0;
    box-sizing: border-box;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-on-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.main-nav,
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted-on-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.btn-header {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    color: #fff !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
}


/* Hero (Gradient -> Light) */
.hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #020617 0%, #0f172a 70%, rgba(15, 23, 42, 0) 100%);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transform: translateY(-3px);
}


/* Benefits (LIGHT) */
.benefits {
    background: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
}

.benefits h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-on-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted-on-light);
    font-size: 1.1rem;
}


/* Application Form (Dark Gradient -> Black) */
/* Fade to black to merge with footer, as it is the last section */
.application-form {
    padding: 6rem 0;
    width: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    /* Glassy Slate */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure form stays centered in full width section */

.form-container h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: #fff;
}

.form-container>p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    background: rgba(2, 6, 23, 0.7);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    padding: 1.2rem 3rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}


/* Footer Note (Black) */
.footer-note {
    background: #000;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
    border-top: none;
}


/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .main-nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        transition: right 0.4s ease;
        padding: 2rem;
    }

    .main-nav.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .bar {
        background: #fff;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}