@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    background: #fff;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

a {
    color: #0071e3;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.72;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.36s ease, backdrop-filter 0.36s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.nav-link:hover {
    opacity: 1;
    color: #fff;
}

.navbar.scrolled .nav-link {
    color: #1d1d1f;
}

.navbar.scrolled .nav-link:hover {
    color: #0071e3;
}

/* ── Language Dropdown ─────────────────────────────────────────────────── */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    outline: none;
    white-space: nowrap;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .lang-toggle {
    border-color: #d2d2d7;
    background: rgba(0, 0, 0, 0.03);
    color: #1d1d1f;
}

.navbar.scrolled .lang-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
    list-style: none;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s;
    white-space: nowrap;
}

.lang-menu li:hover {
    background: #f5f5f7;
}

.lang-menu li.active {
    color: #0071e3;
    font-weight: 500;
    background: rgba(0, 113, 227, 0.06);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/2.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 680px;
}

.hero-eyebrow {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section {
    width: 100%;
    padding: 80px 24px;
    background: #fff;
}

.section-dark {
    background: #f5f5f7;
}

.section-inner {
    max-width: 980px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.section-body {
    font-size: 17px;
    line-height: 1.65;
    color: #6e6e73;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
    font-weight: 400;
}

/* ── Graph Row ────────────────────────────────────────────────────────── */
.graph-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.graph-row img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Thanks List ──────────────────────────────────────────────────────── */
.thanks-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-list li {
    padding: 14px 18px;
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.thanks-list li:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.thanks-list li a {
    color: #1d1d1f;
    font-weight: 500;
}

.thanks-list li a:hover {
    color: #0071e3;
    opacity: 1;
}

/* ── Contact Card ─────────────────────────────────────────────────────── */
.contact-card {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 36px 40px;
    margin-top: 24px;
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card .contact-name {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 15px;
    color: #6e6e73;
    margin-bottom: 6px;
    line-height: 1.5;
    text-align: center;
}

.contact-card a {
    color: #0071e3;
    font-weight: 500;
}

/* ── Network Map iframe ───────────────────────────────────────────────── */
.network-map-frame {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: 18px;
    margin-top: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
    width: 100%;
    padding: 20px 24px;
    background: #f5f5f7;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer p {
    font-size: 12px;
    color: #86868b;
    text-align: center;
    line-height: 1.5;
}

/* ── Scroll Reveal ────────────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media screen and (max-width: 734px) {
    .nav-inner {
        padding: 0 16px;
        height: 44px;
    }

    .nav-logo img {
        height: 20px;
    }

    .hero {
        height: 65vh;
        min-height: 360px;
    }

    .hero-eyebrow {
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .section {
        padding: 56px 20px;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .section-body {
        font-size: 15px;
        text-align: left;
    }

    .thanks-list {
        grid-template-columns: 1fr;
    }

    .network-map-frame {
        height: 320px;
        border-radius: 12px;
    }

    .contact-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
}