:root {
    --bg-0: #f3f7ff;
    --bg-1: #e8f0ff;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text-0: #0f172a;
    --text-1: #334155;
    --text-2: #64748b;
    --brand-0: #0ea5e9;
    --brand-1: #0369a1;
    --brand-2: #22d3ee;
    --ok: #0f766e;
    --warn: #b45309;
    --line: #d9e2ec;
    --shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

body {

    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text-0);
    background:
        radial-gradient(1200px 500px at 80% -10%, #cffafe 0%, transparent 60%),
        radial-gradient(900px 400px at -10% 10%, #dbeafe 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    min-height: 100vh;
}

main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4px 16px 28px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 26px;
    margin: 8px 0 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, #082f49, #0c4a6e 52%, #0e7490);
    color: #f0f9ff;
    box-shadow: var(--shadow);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(300px 180px at 90% 10%, rgba(125, 211, 252, .4), transparent 70%),
        radial-gradient(280px 180px at 8% 90%, rgba(34, 211, 238, .24), transparent 70%);
}

#homeSection.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
    min-height: 500px;
    background:
        radial-gradient(700px 260px at 95% 10%, rgba(125, 211, 252, .35), transparent 60%),
        radial-gradient(500px 180px at 0% 100%, rgba(8, 145, 178, .3), transparent 60%),
        linear-gradient(130deg, #041f36 0%, #0a3f63 42%, #0a6c8b 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-sub {
    max-width: 640px;
    line-height: 1.65;
    color: #d9f5ff;
}

.home-cta .primary-btn {
    background: linear-gradient(135deg, rgba(56, 189, 248, .88), rgba(2, 132, 199, .88));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(186, 230, 253, .45);
    box-shadow: 0 16px 28px rgba(2, 36, 61, .34), inset 0 1px 0 rgba(255, 255, 255, .3);
    position: relative;
    overflow: hidden;
}

.home-cta .primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .3) 48%, transparent 76%);
    transform: translateX(-140%);
    transition: transform .6s ease;
}

.home-cta .primary-btn:hover::after {
    transform: translateX(140%);
}

.hero-side {
    position: relative;
    z-index: 2;
}

.hero-side-card {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(186, 230, 253, .35);
    background: linear-gradient(155deg, rgba(7, 42, 71, .85), rgba(7, 63, 101, .62));
    box-shadow: 0 24px 50px rgba(2, 24, 42, .35), inset 0 1px 0 rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    color: #e0f7ff;
}

.side-label {
    margin: 0;
    color: #7dd3fc;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 800;
}

.hero-side-card h3 {
    margin: 12px 0 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
}

.side-metrics {
    display: grid;
    gap: 12px;
}

.side-metrics div {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(186, 230, 253, .1);
    border: 1px solid rgba(186, 230, 253, .2);
}

.side-metrics span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #cffafe;
}

.side-metrics p {
    margin: 4px 0 0;
    color: #bae6fd;
    font-size: 13px;
}

.hero-kicker {
    margin: 0 0 12px;
    color: #bae6fd;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
}

.hero p {
    margin: 12px 0 0;
    font-size: 17px;
    color: #e0f2fe;
}

.primary-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #f8fbff;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid rgba(224, 242, 254, .35);
    box-shadow: 0 12px 22px rgba(8, 47, 73, .28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(8, 47, 73, .36);
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

#dashboard {
    padding: 0;
    animation: fadeUp .35s ease;
}

.card {
    background: var(--surface);
    padding: 20px;
    margin: 14px 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    overflow: auto;
}

.card h2 {
    margin: 0 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: .2px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0;
}

.kpi-card {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #f8fafc;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .2);
}

.kpi-card p {
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.kpi-card h3 {
    margin: 10px 0 0;
    font-size: 30px;
}

.filter-row {
    display: grid;
    grid-template-columns: 190px 1fr 1fr;
    gap: 12px;
    align-items: end;
    background: var(--surface-soft);
}

label {
    display: block;
    font-size: 12px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

input,
select {
    padding: 11px 12px;
    width: 100%;
    margin: 8px 0 0;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font: inherit;
    color: var(--text-0);
    background: #fff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .18);
}

button {
    cursor: pointer;
    font: inherit;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

th,
td {
    border-bottom: 1px solid #e2e8f0;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

th {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    color: #0f172a;
    font-weight: 700;
    position: sticky;
    top: 0;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 11px;
}

tbody tr:nth-child(even) {
    background: #fcfdff;
}

tbody tr:hover {
    background: #ecfeff;
}

.cell-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.badge-completed {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.badge-processing {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}

.badge-cancel {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fca5a5;
}

.badge-yes {
    color: #0f766e;
    background: #ccfbf1;
    border-color: #67e8f9;
}

.badge-no {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fca5a5;
}

.table-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 120;
}

.modal.active {
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 22px;
    width: 340px;
    border-radius: 16px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, .25);
}

.modal-box h3 {
    margin-top: 0;
}

#loginBtn,
#closeLogin {
    margin-top: 12px;
    width: 100%;
    border-radius: 10px;
    border: none;
    padding: 10px 12px;
    font-weight: 700;
}

#loginBtn {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: white;
}

#closeLogin {
    background: #e2e8f0;
    color: #334155;
}

#loginError {
    color: #b91c1c;
    min-height: 18px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-top: 26px;
}

.nav-link {
    text-decoration: none;
}

.uniform-grid .primary-btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-hero {
    padding: 34px 26px;
    margin: 14px 0;
    border-radius: 22px;
    color: #f0f9ff;
    background: radial-gradient(700px 260px at 95% 10%, rgba(125, 211, 252, .35), transparent 60%),
        radial-gradient(500px 180px at 0% 100%, rgba(8, 145, 178, .3), transparent 60%),
        linear-gradient(130deg, #041f36 0%, #0a3f63 42%, #0a6c8b 100%);
    box-shadow: var(--shadow);
}

.info-hero h1 {
    margin: 8px 0 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.info-hero p {
    margin: 0;
    color: #dbeafe;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0;
}

.support-grid {
    grid-template-columns: 1.3fr .7fr;
}

.content-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
    padding: 20px;
}

.media-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    overflow: hidden;
    padding: 14px;
    background: linear-gradient(145deg, #f8fbff, #eef6ff);
}

.image-placeholder {
    min-height: 420px;
    border-radius: 18px;
    background:
        radial-gradient(800px 240px at 50% 0%, rgba(125, 211, 252, .4), rgba(125, 211, 252, 0)),
        linear-gradient(145deg, #dff3ff, #cdeeff);
    display: grid;
    place-items: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #bae6fd;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 18px 32px rgba(14, 116, 144, .18);
}

.image-oversize {
    width: 100%;
    margin-left: 0;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    /* max-height: 560px; */
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, .22));
}

.content-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.content-card p {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.65;
}

.resource-table a {
    color: #0369a1;
    font-weight: 700;
}

.contact-item {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.contact-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.contact-item p {
    margin: 0 0 6px;
}

@media(max-width:900px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .content-grid,
    .support-grid,
    .media-card {
        grid-template-columns: 1fr;
    }

    .image-oversize {
        width: 100%;
        margin-left: 0;
    }

    .image-placeholder {
        min-height: 300px;
    }
}


/* =========================
   RESOURCE GRID
========================= */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.resource-card {
    display: flex;
    flex-direction: column;

    min-height: 260px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;

    padding: 24px;

    text-decoration: none;
    color: inherit;

    position: relative;
    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.resource-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right,
            rgba(37, 99, 235, .08),
            transparent 40%);

    pointer-events: none;
}

.resource-card:hover {
    transform: translateY(-8px);

    border-color: #2563eb;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .08);
}

.resource-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 20px;
}

.resource-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    font-size: 28px;

    background:
        linear-gradient(135deg,
            #2563eb,
            #06b6d4);

    color: #fff;

    box-shadow:
        0 10px 20px rgba(37, 99, 235, .25);
}

.resource-tag {
    padding: 6px 12px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}

.resource-tag.pdf {
    background: #dbeafe;
    color: #1d4ed8;
}

.resource-tag.video {
    background: #fee2e2;
    color: #dc2626;
}

.resource-tag.image {
    background: #f3e8ff;
    color: #9333ea;
}

.resource-tag.toolkit {
    background: #dcfce7;
    color: #15803d;
}

.resource-card h3 {
    margin: 0 0 12px;

    font-size: 20px;
    font-weight: 700;

    color: #0f172a;
}

.resource-card p {
    flex-grow: 1;

    margin: 0;

    color: #64748b;

    line-height: 1.7;
    font-size: 15px;
}

.resource-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px solid #eef2f7;

    color: #2563eb;

    font-weight: 700;
    font-size: 14px;
}

.resource-card:hover .resource-footer {
    color: #1d4ed8;
}

/* =========================
   RESOURCE STATS
========================= */

.resource-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 0 40px;
}

.stat-card {
    background: linear-gradient(135deg,
            rgba(37, 99, 235, .08),
            rgba(6, 182, 212, .08));
    border: 1px solid rgba(37, 99, 235, .15);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            #2563eb,
            #06b6d4);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .08);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.stat-card strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-card span {
    display: block;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.program-page {
    max-width: 1400px;
    margin: auto;
    padding: 30px;
}

.program-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 15px;
    border-radius: 30px;
    background: linear-gradient(135deg, #005BAC, #0077E6);
    color: white;
    margin-bottom: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    margin-bottom: 20px;
    font-size: 13px;
}

.program-hero h1 {
    line-height: 44px;
    font-size: 44px;
    margin-bottom: 20px;
    margin-top: 0;
}

.hero-kpi {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.kpi-box {
    text-align: center;
    background: rgba(255, 255, 255, .15);
    padding: 10px;
    border-radius: 20px;
    min-width: 140px;
}

.kpi-box strong {
    display: block;
    font-size: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
}


.section-heading {
    margin: 50px 0 25px;
}

.section-heading h2 {
    font-size: 32px;
}

.content-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.step-card span {
    font-size: 40px;
    font-weight: 800;
    color: #005BAC;
}

.commission-table-v2 {
    width: 100%;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
    border-radius: 20px;
}

.commission-table-v2 th {
    background: #005BAC;
    color: white;
    padding: 18px;
    text-align: center;
    font-size: 24px;
}

.commission-table-v2 td {
    font-size: 24px;
    padding: 18px;
    border-bottom: 1px solid #eee;
    text-align: center
}

.highlight {
    background: #ecfdf5;
    font-weight: 700;
}

.notice-box {
    background: #fff8e7;
    padding: 20px;
    margin-top: 20px;
    border-radius: 16px;
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reward-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.gold {
    border-top: 5px solid #f59e0b;
}

.silver {
    border-top: 5px solid #94a3b8;
}

.bronze {
    border-top: 5px solid #b45309;
}

.dday-banner {
    margin-top: 25px;
    padding: 35px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    text-align: center;
}

.timeline-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0 25px;
}

.timeline-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

@media(max-width:992px) {

    .program-hero,
    .steps-grid,
    .reward-grid,
    .timeline-v2 {
        grid-template-columns: 1fr;
    }

    .hero-kpi {
        flex-direction: column;
    }

    .program-hero h1 {
        font-size: 36px;
    }
}

.settlement-section {
    margin-top: 60px;
}

.settlement-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.settlement-icon {
    font-size: 48px;
}

.quarter-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
}

.flow-item {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.flow-item span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #005BAC;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 15px;
    font-weight: 700;
}

.flow-arrow {
    font-size: 30px;
    color: #005BAC;
    font-weight: bold;
}

.example-box {
    background: #f8fafc;
    padding: 10px;
    border-radius: 24px;
}

.example-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.example-timeline>div {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.highlight-month {
    background: #dbeafe !important;
    border: 2px solid #2563eb;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.info-box h4 {
    margin-bottom: 15px;
}

.info-box ul {
    margin: 0;
    padding-left: 18px;
}

@media(max-width:992px) {

    .quarter-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .example-timeline,
    .info-grid {
        grid-template-columns: 1fr;
    }

}

.motivation-section {
    margin: 24px 0;
}

.motivation-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg,
            #1e293b,
            #334155);
    color: #fff;
    min-height: 72px;
}

.motivation-item {
    display: none;
    font-size: 15px;
    font-weight: 700;
    animation: fadeIn .4s ease;
}

.motivation-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.program-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.program-toc a {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
}

.accordion-section {
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    border: none;
    cursor: pointer;
    background: #fff;
    border-radius: 20px;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.accordion-header span:first-child {
    font-size: 22px;
    font-weight: 800;
}

.accordion-icon {
    font-size: 28px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height .45s ease,
        opacity .3s ease;
    opacity: 0;
    margin-top: 10px;
}

.accordion-section.active .accordion-content {

    max-height: 4000px;
    opacity: 1;

}

.accordion-icon {

    transition:
        transform .35s ease;

}

.accordion-section.active .accordion-icon {

    transform: rotate(180deg);

}

.accordion-section.active .accordion-header {

    background:
        linear-gradient(135deg, #162957, #92a9cf);

    color: #fff;

}

.community-section {

    margin: 32px 0 40px;

    padding: 32px;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, .06);

}

.community-header {

    text-align: center;

    margin-bottom: 28px;

}

.community-badge {

    display: inline-flex;

    padding: 8px 16px;

    border-radius: 999px;

    background: #eef4ff;

    color: #1d4ed8;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 12px;

}

.community-header h2 {

    margin: 0 0 12px;

    font-size: 28px;

    font-weight: 800;

}

.community-header p {

    max-width: 720px;

    margin: auto;

    color: #64748b;

}

.community-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(220px, 1fr));

    gap: 20px;

}

.community-card {

    text-align: center;

    padding: 24px;

    border-radius: 20px;

    background:
        linear-gradient(180deg,
            #ffffff,
            #f8fafc);

    border: 1px solid #e2e8f0;

    transition: .25s ease;

}

.community-card:hover {

    transform: translateY(-4px);

}

.community-icon {

    font-size: 32px;

    margin-bottom: 12px;

}

.community-card strong {

    display: block;

    font-size: 32px;

    font-weight: 800;

    color: #0f172a;

}

.community-card span {

    display: block;

    margin-top: 6px;

    color: #64748b;


}

.mobile-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(15, 23, 42, .45);

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 999;

}

.mobile-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(148, 163, 184, .24);
}

.mark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: .3px;
    font-size: 20px;
    color: #0b3a53;
}

nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    border-color: #7dd3fc;
}

.nav-btn.active {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(2, 132, 199, .24);
}

.nav-auth {
    border-color: #93c5fd;
}

.mobile-menu-btn {
    display: none;
}

@media(max-width:768px) {

    .topbar {
        padding: 12px 16px;
        position: relative;
    }

    .mark {
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: none;
        background: #fff;
        border-radius: 10px;
        font-size: 22px;
        cursor: pointer;
        border: 1px solid #cbd5e1;
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        flex-direction: column;
        gap: 10px;
        border-top: 1px solid #e5e7eb;
        box-shadow:
            0 10px 25px rgba(0,
                0,
                0,
                .08);

    }

    #mainNav.active {

        display: flex;

    }

    #mainNav .nav-btn {
        width: 100%;
        text-align: center;
    }

}

.site-footer {

    margin-top: 60px;

    background: #0f172a;

    color: #cbd5e1;

}

.footer-container {

    max-width: 1200px;

    margin: auto;

    padding: 48px 24px;

    display: flex;

    justify-content: space-between;

    gap: 40px;

}

.footer-brand {

    max-width: 420px;

}

.footer-logo {

    font-size: 22px;

    font-weight: 800;

    color: #fff;

    margin-bottom: 12px;

}

.footer-brand p {

    line-height: 1.7;

    color: #94a3b8;

}

.footer-links {

    display: flex;

    gap: 60px;

}

.footer-group {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-group h4 {

    color: #fff;

    margin-bottom: 8px;

}

.footer-group a {

    color: #94a3b8;

    text-decoration: none;

    transition: .2s;

}

.footer-group a:hover {

    color: #fff;

}

.footer-bottom {

    border-top:
        1px solid rgba(255,
            255,
            255,
            .08);

    padding: 18px 24px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #64748b;

    font-size: 14px;

}

@media(max-width:768px) {

    .footer-container {

        flex-direction: column;

    }

    .footer-links {

        gap: 30px;

        flex-wrap: wrap;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 8px;

        text-align: center;

    }

}

/* Race banner */
.race-banner {
    background:
        linear-gradient(135deg, #005BAC, #0A7BFF);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow:
        0 12px 30px rgba(0, 91, 172, .18);
}

.race-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 18px;
}

.race-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 16px;
}

.race-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, .08);
}

.race-number {
    font-size: 34px;
    font-weight: 800;
    color: #005BAC;
    line-height: 1.2;
    margin-bottom: 8px;
}

.race-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
}