:root {
    --navy-dark: #051633;
    --navy-brand: #0A2E6E;
    --blue-electric: #0A66E6;
    --blue-glow: #3B82F6;
    --blue-soft: #EFF6FF;
    --surface: #FFFFFF;
    --bg-page: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --border-light: #E2E8F0;
    --header-h: 92px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.65;
    position: relative;
    padding-top: var(--header-h);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--navy-dark);
    font-weight: 700;
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Preserved Background Dot Grid */
.bg-grid {
    background-image: radial-gradient(rgba(10, 102, 230, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Preserved Synapse & Double-Helix Canvas */
#synapse-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

header, section, main, footer, .modal-backdrop-custom {
    position: relative;
    z-index: 2;
}

/* Fixed Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 5%;
    min-height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(5, 22, 51, 0.05);
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
    max-width: 65%;
    padding: 6px 0;
}

.header-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 74px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-header nav a:not(.nav-cta) {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.site-header nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--blue-electric), var(--blue-glow));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-header nav a:not(.nav-cta):hover,
.site-header nav a:not(.nav-cta).active {
    color: var(--blue-electric);
}

.site-header nav a:not(.nav-cta):hover::after,
.site-header nav a:not(.nav-cta).active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-electric), var(--navy-brand));
    color: #fff;
    border: none;
    padding: 0.62rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 16px rgba(10, 102, 230, 0.25);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(10, 102, 230, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--navy-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.22), transparent 55%),
                linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-brand) 100%);
    color: #FFFFFF;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
}

.hero h1 {
    color: #FFFFFF;
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.hero p {
    color: #CBD5E1;
    font-size: 1.06rem;
    margin-bottom: 1.8rem;
}

.typewriter-accent {
    color: #60A5FA;
}

.tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #BFDBFE;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Inner Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-brand) 100%);
    color: #FFFFFF;
    padding: 3.5rem 0 3.25rem;
}

.page-banner h1 {
    color: #FFFFFF;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.page-banner p {
    color: #CBD5E1;
    font-size: 1.05rem;
    max-width: 720px;
    margin-bottom: 0;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-nav .breadcrumb-item,
.breadcrumb-nav .breadcrumb-item a {
    color: #93C5FD;
    font-size: 0.88rem;
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #E2E8F0;
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: #64748B;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-soft-band {
    background: rgba(239, 246, 255, 0.65);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    color: var(--blue-electric);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: #CBD5E1;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
    height: 62px;
    width: auto;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 10px;
}

.footer-desc {
    color: #94A3B8;
    font-size: 0.94rem;
    max-width: 300px;
}

.site-footer h4 {
    color: #FFFFFF;
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-links button {
    color: #CBD5E1;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    font-size: 0.92rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #60A5FA;
}

.footer-copy {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.88rem;
    color: #94A3B8;
}
