:root {
    --night: #071528;
    --ink: #0f172a;
    --muted: #64748b;
    --cyan: #08c8e8;
    --blue: #1248ff;
    --deep-blue: #0d35c9;
    --green: #16c784;
    --line: #d9e5f2;
    --soft: #f4f8ff;
}

body {
    color: var(--ink);
    background: #fff;
    letter-spacing: 0;
}

a {
    color: var(--deep-blue);
}

.site-nav,
.site-footer {
    background: linear-gradient(90deg, #071528, #0c1f3b 62%, #103ad9);
}

.site-footer,
.site-footer a {
    color: #d7e5f2;
}

.brand-logo {
    display: block;
    width: 176px;
    max-width: 44vw;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 3px rgba(255,255,255,1));
}

.btn-cyan {
    background: linear-gradient(135deg, var(--cyan), #0b7cff);
    color: #fff;
    border: 0;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(8, 200, 232, .28);
}

.btn-cyan:hover {
    background: linear-gradient(135deg, #21d8f2, #1d4ed8);
    color: #fff;
}

.module-nav-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    color: #071528;
    font-size: .88rem;
    font-weight: 850;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), #55e7ff);
    box-shadow: 0 10px 26px rgba(8, 200, 232, .25);
}

.module-nav-badge:hover {
    color: #071528;
    transform: translateY(-1px);
}

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(8, 200, 232, .45), transparent 32%),
        linear-gradient(115deg, rgba(7, 21, 40, .98), rgba(12, 31, 59, .90) 58%, rgba(18, 72, 255, .88)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero h1,
.page-hero h1 {
    max-width: 850px;
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    font-weight: 850;
    line-height: 1.05;
}

.hero p,
.page-hero p {
    max-width: 720px;
    color: #d7e5f2;
    font-size: 1.16rem;
}

.page-hero {
    padding: 100px 0;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(8, 200, 232, .42), transparent 30%),
        linear-gradient(115deg, #071528, #0c1f3b 58%, #1248ff);
}

.hero-panel {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    padding: 28px;
    background: rgba(7, 21, 40, .72);
    backdrop-filter: blur(14px);
}

.hero-panel p {
    color: #cbd9e8;
}

.section {
    padding: 78px 0;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(244, 248, 255, .96), rgba(255, 255, 255, 1));
}

.eyebrow {
    color: var(--deep-blue);
    font-weight: 850;
    text-transform: uppercase;
    font-size: .78rem;
}

.text-cyan {
    color: var(--cyan) !important;
}

.feature-card,
.module-card,
.panel-form,
.legal-panel,
.code-panel,
.panel-info,
.download-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.feature-card,
.module-card,
.panel-form,
.legal-panel,
.code-panel,
.panel-info,
.download-panel {
    padding: 26px;
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 92% 20%, rgba(8, 200, 232, .18), transparent 34%),
        #fff;
}

.feature-card {
    height: 100%;
    border-top-width: 4px;
}

.feature-card p,
.module-card p,
.timeline p,
.legal-panel p {
    color: var(--muted);
}

.accent-blue { border-top-color: var(--blue); }
.accent-cyan { border-top-color: var(--cyan); }
.accent-night { border-top-color: var(--night); }
.accent-green { border-top-color: var(--green); }

.module-highlight,
.module-card-featured {
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(8, 200, 232, .32), transparent 30%),
        linear-gradient(135deg, #071528, #0c1f3b 55%, #1248ff);
    border: 0;
}

.module-highlight {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: center;
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(18, 72, 255, .18);
}

.module-highlight p,
.module-card-featured p,
.module-card-featured li {
    color: #d7e5f2;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-tags span,
.status-pill {
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .84rem;
    font-weight: 800;
}

.module-tags span {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .10);
}

.status-pill {
    display: inline-block;
    color: #06202b;
    background: var(--cyan);
}

.status-muted {
    color: var(--ink);
    background: #eaf0f7;
}

.module-card {
    height: 100%;
}

.module-card h2 {
    margin-top: 16px;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}

.timeline-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 850;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.code-panel {
    background: #0b1220;
    color: #fff;
}

.code-panel pre {
    margin: 0;
    color: #d7e5f2;
    white-space: pre-wrap;
}

.mini-code {
    padding: 12px 14px;
    color: #d7e5f2;
    white-space: pre-wrap;
    border-radius: 8px;
    background: #0b1220;
}

.panel-info {
    border-left: 4px solid var(--cyan);
}

.accordion-item {
    border-color: var(--line);
}

.accordion-button:not(.collapsed) {
    color: var(--ink);
    background: #eef6ff;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 580px;
        padding: 72px 0;
    }

    .module-highlight {
        grid-template-columns: 1fr;
    }

    .download-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 144px;
        height: 48px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.35rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}
