:root {
    --nw-navy: #0b1f3a;
    --nw-navy-2: #132c52;
    --nw-blue: #1f7ae0;
    --nw-red: #e0392f;
    --nw-gold: #daa213;
    --nw-ink: #0d1117;
    --nw-fog: #8ba0c2;
    --nw-white: #f7f9fc;
    --nw-radius: 18px;
    --nw-ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(1200px 600px at 15% -10%, #152c52 0%, var(--nw-ink) 60%), var(--nw-ink);
    color: var(--nw-white);
    min-height: 100svh;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Sora', 'Inter', sans-serif;
    margin: 0;
}

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

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

.nw-container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

/* ===== Header ===== */
.nw-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nw-header-scrolled {
    background: rgba(13, 17, 23, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.nw-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.9rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nw-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
}

.nw-header-nav a {
    margin-left: 1.75rem;
    font-size: 0.9rem;
    opacity: 0.82;
    transition: opacity 0.2s ease;
}

    .nw-header-nav a:hover {
        opacity: 1;
    }

/* ===== Hero ===== */
.nw-hero {
    padding: clamp(3.5rem, 6vw, 7rem) 0 clamp(2.5rem, 4vw, 4rem);
}

.nw-hero-inner {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.nw-eyebrow {
    display: inline-block;
    color: var(--nw-gold);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.nw-eyebrow-center {
    display: block;
    text-align: center;
}

.nw-hero-title {
    font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

/* IDE may flag "text" — valid CSS (gradient text), keep as-is */
.nw-accent {
    background: linear-gradient(90deg, var(--nw-blue), var(--nw-red));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

.nw-hero-text {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: var(--nw-fog);
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.15rem);
}

.nw-hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.nw-btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: transform 0.25s var(--nw-ease), box-shadow 0.25s ease, background 0.25s ease;
}

.nw-btn-primary {
    background: linear-gradient(135deg, var(--nw-blue), #1558a8);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(31, 122, 224, 0.35);
}

    .nw-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(31, 122, 224, 0.5);
    }

.nw-btn-secondary {
    background: transparent;
    color: var(--nw-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

    .nw-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-3px);
    }

.nw-btn-division {
    background: rgba(255, 255, 255, 0.08);
    color: var(--nw-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    text-align: center;
    margin-top: auto;
}

    .nw-btn-division:hover {
        background: linear-gradient(135deg, var(--nw-gold), #a8790a);
        color: #06201a;
        border-color: transparent;
        transform: translateY(-2px);
    }

/* ===== Stats band ===== */
.nw-stats {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.nw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.nw-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nw-stat-num {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    color: var(--nw-gold);
}

.nw-stat-label {
    font-size: 0.82rem;
    color: var(--nw-fog);
}

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

/* ===== Divisions ===== */
.nw-divisions {
    padding: clamp(3rem, 5vw, 5.5rem) 0;
    text-align: center;
}

.nw-section-title {
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.nw-section-sub {
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--nw-fog);
    font-size: 1.02rem;
}

.nw-division-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.nw-division-card {
    display: flex;
    flex-direction: column;
    padding: 2.2rem 1.9rem;
    border-radius: var(--nw-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.3s var(--nw-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

    .nw-division-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(218, 162, 19, 0.4);
    }

.nw-division-icon {
    color: var(--nw-gold);
    margin-bottom: 1.1rem;
}

.nw-division-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.nw-division-desc {
    color: var(--nw-fog);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.nw-division-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .nw-division-list li {
        font-size: 0.88rem;
        color: var(--nw-white);
        padding-left: 1.1rem;
        position: relative;
    }

        .nw-division-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.5em;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--nw-gold);
        }

/* ===== About ===== */
.nw-about {
    padding: clamp(2.5rem, 4vw, 4.5rem) 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nw-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.nw-about-text {
    color: var(--nw-fog);
    font-size: 1rem;
    margin: 1rem 0 0;
}

.nw-about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(218, 162, 19, 0.3);
    border-top: 4px solid var(--nw-gold);
    border-radius: var(--nw-radius);
    padding: 1.9rem;
}

    .nw-about-card h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

.nw-about-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--nw-fog);
}

@media (max-width: 850px) {
    .nw-about-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact ===== */
.nw-contact {
    padding: clamp(3rem, 5vw, 5rem) 0;
    text-align: center;
}

.nw-contact-inner {
    max-width: 620px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.nw-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
    color: var(--nw-fog);
}

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

.nw-footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

    .nw-footer-brand span {
        font-family: 'Sora', sans-serif;
        font-weight: 700;
        color: var(--nw-white);
    }

    .nw-footer-brand p {
        width: 100%;
        margin: 0.4rem 0 0;
        font-size: 0.82rem;
    }

.nw-footer-links, .nw-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .nw-footer-links h4, .nw-footer-contact h4 {
        color: var(--nw-white);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0.4rem;
    }

    .nw-footer-links a, .nw-footer-contact a {
        transition: color 0.2s ease;
    }

        .nw-footer-links a:hover, .nw-footer-contact a:hover {
            color: var(--nw-gold);
        }

.nw-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    font-size: 0.8rem;
    text-align: center;
}

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

/* ===== Gateway ===== */
.nw-gateway {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.nw-gateway-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.nw-gateway-title {
    font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.nw-gateway-sub {
    color: var(--nw-fog);
    font-size: clamp(1rem, 1vw + 0.75rem, 1.15rem);
    margin: 0;
}

.nw-divisions {
    padding: 0 0 clamp(3rem, 5vw, 5.5rem);
    text-align: center;
}

/* ===== Header mobile fix ===== */
.nw-header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .nw-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .nw-brand {
        font-size: 0.95rem;
        justify-content: center;
    }

    .nw-brand-name {
        white-space: nowrap;
    }

    .nw-header-nav {
        width: 100%;
        justify-content: center;
        gap: 0.4rem 0.85rem;
    }

    .nw-header-nav a {
        margin-left: 0;
        font-size: 0.78rem;
        line-height: 1.2;
        white-space: nowrap;
        opacity: 0.9;
    }
}

@media (max-width: 400px) {
    .nw-header-nav a {
        font-size: 0.72rem;
        gap: 0.35rem 0.6rem;
    }
}