:root {
    --page-bg: #0d1641;
    --panel-bg: rgba(17, 31, 79, 0.72);
    --panel-border: rgba(120, 153, 244, 0.16);
    --text: #f4f7ff;
    --muted: #a5b0cc;
    --soft: #d8e0ff;
    --blue: #028fe8;
    --blue-2: #1eb6ff;
    --coral: #e24a36;
    --footer: #141719;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1150px;
}

.site-nav {
    padding: 18px 0;
    background: linear-gradient(180deg, rgba(12, 20, 59, 0.92), rgba(12, 20, 59, 0.45), transparent);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    width: 176px;
    max-height: 38px;
    object-fit: contain;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    margin: 0 9px;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 800;
}

.lang-switch a.active {
    color: #fff;
}

.btn-visit,
.btn-primary-custom {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border: 0;
    color: #fff;
    font-weight: 800;
    border-radius: 6px;
    padding: 11px 18px;
    box-shadow: 0 14px 35px rgba(0, 143, 232, 0.22);
}

.btn-visit {
    padding: 9px 14px;
    font-size: 13px;
}

.btn-outline-custom {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-weight: 800;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline-custom:hover,
.btn-primary-custom:hover,
.btn-visit:hover {
    color: #fff;
    transform: translateY(-1px);
}

.section-mesh {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(13, 22, 65, 0.08), var(--page-bg) 92%),
        url("../hero-mesh.svg");
    background-size: cover;
    background-position: center top;
}

.hero {
    min-height: 810px;
    display: flex;
    align-items: center;
    padding: 130px 0 120px;
    overflow: hidden;
}

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

.hero h1 {
    margin: 0 0 42px;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.hero-subtitle {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(32px, 4.1vw, 52px);
    line-height: 1.17;
    font-weight: 900;
    margin-bottom: 28px;
}

.hero-copy {
    max-width: 620px;
    color: var(--soft);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 700;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 800;
}

.hero-meta span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--blue-2);
    box-shadow: 0 0 14px var(--blue-2);
    vertical-align: middle;
}

.glow {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 118, 137, 0.92);
    box-shadow: 0 0 18px 10px rgba(255, 92, 128, 0.34), 0 0 58px 16px rgba(255, 92, 128, 0.18);
    z-index: 1;
}

.glow-one {
    top: 57%;
    left: 65%;
}

.glow-two {
    top: 61%;
    left: 79%;
}

.glow-three {
    top: 82%;
    right: 6%;
}

.content-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.wave-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../section-waves.svg");
    background-size: 100% 560px;
    background-position: center 22%;
    background-repeat: no-repeat;
    opacity: 0.95;
    pointer-events: none;
}

.content-section > .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 74px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 700;
    margin: 0;
}

.feature-row {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    min-height: 150px;
}

.icon-dot,
.location-card span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-2);
    background: rgba(2, 143, 232, 0.11);
    box-shadow: 0 0 20px rgba(2, 143, 232, 0.12);
}

.feature-item h3,
.panel-card h3,
.module-card h3 {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 8px;
}

.feature-item p,
.panel-card p,
.module-card p,
.stat-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    margin: 0;
}

.impact-grid,
.panel-grid,
.location-grid {
    border: 1px solid var(--panel-border);
    background: rgba(18, 32, 82, 0.55);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}

.stat-card {
    min-height: 126px;
    padding: 30px 34px;
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    column-gap: 14px;
}

.stat-card:nth-child(2n) {
    border-right: 0;
}

.stat-card:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.stat-card i {
    color: rgba(255, 255, 255, 0.64);
    margin-top: 8px;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    grid-column: 2;
}

.stat-card span {
    grid-column: 2;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 22px;
}

.panel-card,
.module-card {
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    border-radius: 8px;
    padding: 26px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--soft);
    background: rgba(2, 143, 232, 0.12);
    border: 1px solid rgba(2, 143, 232, 0.2);
    border-radius: 99px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 18px;
}

.pill i {
    color: var(--blue-2);
}

.module-card {
    min-height: 185px;
    position: relative;
    width: 100%;
    color: var(--text);
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.module-card:hover,
.module-card:focus {
    transform: translateY(-3px);
    border-color: rgba(30, 182, 255, 0.36);
    background: rgba(20, 38, 96, 0.86);
    outline: 0;
}

.module-card-action {
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-2);
    border: 1px solid rgba(30, 182, 255, 0.22);
    border-radius: 50%;
    background: rgba(2, 143, 232, 0.1);
}

.module-modal .modal-dialog {
    max-width: 760px;
}

.module-modal .modal-content {
    color: var(--text);
    background: #32373d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.module-modal .modal-header,
.module-modal .modal-footer {
    border: 0;
    padding: 24px 32px;
}

.module-modal .modal-body {
    padding: 8px 32px 0;
}

.module-modal .modal-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
}

.module-modal-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.6;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 28px;
}

.module-modal-summary {
    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 800;
    margin: 0 0 28px;
}

.module-modal-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    overflow: hidden;
}

.module-modal-step {
    min-height: 128px;
    padding: 22px 18px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.module-modal-step:last-child {
    border-right: 0;
}

.module-modal-step span {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.module-modal-step strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 900;
}

.module-modal .modal-footer {
    justify-content: flex-end;
    padding-top: 30px;
}

.module-modal .btn-primary-custom {
    min-width: 174px;
    padding: 15px 24px;
}

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

.location-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    width: 100%;
    padding: 22px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(17, 31, 79, 0.58);
    color: var(--text);
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.location-card:hover,
.location-card:focus {
    transform: translateY(-3px);
    border-color: rgba(30, 182, 255, 0.36);
    background: rgba(20, 38, 96, 0.86);
    outline: 0;
}

.location-card strong {
    font-size: 15px;
    font-weight: 900;
}

.location-modal .modal-dialog {
    max-width: 640px;
}

.location-modal .modal-content {
    color: var(--text);
    background: #1d2438;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.location-modal .modal-header,
.location-modal .modal-footer {
    border: 0;
    padding: 24px 28px 0;
}

.location-modal .modal-body {
    padding: 18px 28px 24px;
}

.location-modal .modal-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
    margin: 0;
}

.location-modal-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 700;
    margin: 6px 0 0;
}

.location-leaderboard {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    overflow: hidden;
}

.location-leaderboard thead {
    background: rgba(2, 143, 232, 0.16);
}

.location-leaderboard th,
.location-leaderboard td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.location-leaderboard tbody tr:last-child td {
    border-bottom: 0;
}

.location-leaderboard th {
    text-align: left;
    color: var(--soft);
    font-weight: 900;
}

.location-leaderboard td {
    color: rgba(255, 255, 255, 0.88);
}

.rank-col {
    width: 80px;
    color: var(--blue-2);
    font-weight: 900;
}

.score-col {
    text-align: right;
    font-weight: 900;
    color: var(--soft);
}

.location-modal .btn-primary-custom {
    padding: 11px 18px;
}

.faq-section {
    padding-bottom: 110px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.accordion-item {
    color: var(--text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.accordion-button {
    color: #fff;
    background: transparent;
    box-shadow: none;
    padding: 22px 0;
    font-size: 14px;
    font-weight: 900;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}

.accordion-body {
    color: var(--muted);
    padding: 0 0 22px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}

.site-footer {
    background: var(--footer);
    padding: 42px 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.site-footer img {
    width: 150px;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 760px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.site-footer small {
    font-weight: 800;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    min-width: 320px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .site-nav {
        background: rgba(12, 20, 59, 0.94);
    }

    .navbar-collapse {
        margin-top: 16px;
        padding: 18px;
        border: 1px solid var(--panel-border);
        border-radius: 8px;
        background: rgba(13, 22, 65, 0.96);
    }

    .nav-link {
        margin: 4px 0;
    }

    .lang-switch {
        margin: 12px 0;
    }

    .hero {
        min-height: 720px;
    }

    .impact-grid,
    .timeline-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .stat-card:nth-child(2n),
    .stat-card:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--panel-border);
    }

    .stat-card:last-child {
        border-bottom: 0;
    }

    .site-footer .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 142px;
    }

    .hero {
        min-height: 760px;
        padding: 120px 0 90px;
    }

    .hero h1 {
        margin-bottom: 28px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 34px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .content-section {
        padding: 86px 0;
    }

    .section-heading {
        margin-bottom: 48px;
    }

    .timeline-grid,
    .location-grid {
        padding: 14px;
    }

    .panel-card,
    .module-card,
    .stat-card {
        padding: 22px;
    }

    .module-modal .modal-header,
    .module-modal .modal-footer {
        padding: 22px;
    }

    .module-modal .modal-body {
        padding: 4px 22px 0;
    }

    .module-modal .modal-title {
        font-size: 20px;
    }

    .module-modal-image {
        border-radius: 10px;
        margin-bottom: 22px;
    }

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

    .module-modal-step {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    }

    .module-modal-step:last-child {
        border-bottom: 0;
    }

    .module-modal-step strong {
        font-size: 18px;
    }

    .glow-one {
        left: 68%;
    }

    .glow-two {
        left: 48%;
    }
}
