/* === Coverage map — interactive world === */
.coverage-section {
    padding: 100px 24px;
    position: relative;
}
.coverage-header {
    text-align: center;
    margin-bottom: 48px;
}
.coverage-header h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff 0%, #b3d4ff 50%, #7eaaff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.coverage-header p {
    color: var(--text-secondary, #a1a1a6);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.coverage-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 32px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(126,170,255,0.10), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(168,85,247,0.08), transparent 50%),
        rgba(15, 15, 18, 0.55);
    border: 1px solid var(--rim-strong, rgba(255,255,255,0.14));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 1px 0 0 rgba(255,255,255,0.08) inset;
    position: relative;
    overflow: hidden;
}


.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.cov-stat {
    text-align: center;
    padding: 16px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--rim, rgba(255,255,255,0.10));
    border-radius: 18px;
    backdrop-filter: blur(8px);
}
.cov-stat-num {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #7eaaff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.cov-stat-lbl {
    font-size: 11.5px;
    color: var(--text-muted, #6e6e73);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 4px;
}

#coverage-map-host {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1.05;
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(126,170,255,0.08), transparent 60%),
        rgba(0,0,0,0.30);
    border: 1px solid var(--rim, rgba(255,255,255,0.08));
    overflow: hidden;
    user-select: none;
}
#coverage-map-host svg {
    width: 100%;
    height: 100%;
    display: block;
}
#coverage-map-host .country {
    fill: rgba(255,255,255,0.08);
    stroke: rgba(255,255,255,0.10);
    stroke-width: 0.5;
    transition: fill .2s, transform .2s;
    cursor: pointer;
}
#coverage-map-host .country.covered {
    fill: rgba(126,170,255,0.32);
    stroke: rgba(126,170,255,0.6);
    stroke-width: 0.7;
}
#coverage-map-host .country.covered:hover,
#coverage-map-host .country.active {
    fill: rgba(126,170,255,0.85);
    stroke: rgba(255,255,255,0.9);
    stroke-width: 1;
    filter: drop-shadow(0 0 12px rgba(126,170,255,0.7));
}

.cov-tooltip {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(20, 22, 32, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(126,170,255,0.40);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    min-width: 240px;
    transform: translate(-50%, -110%);
    transition: opacity .15s;
}
.cov-tooltip[hidden] { display: none; }
.cov-tt-flag {
    font-size: 36px;
    line-height: 1;
}
.cov-tt-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.cov-tt-rates {
    display: flex; flex-direction: column; gap: 3px;
    font-size: 12px;
    color: var(--text-muted, #888);
}
.cov-tt-rates > div {
    display: flex; justify-content: space-between; gap: 18px;
}
.cov-tt-rates b {
    color: #b3d4ff;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

@media (max-width: 720px) {
    .coverage-section { padding: 70px 12px; }
    .coverage-card { padding: 18px; border-radius: 22px; }
    .coverage-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cov-stat { padding: 12px 8px; border-radius: 14px; }
    .cov-stat-num { font-size: 20px; }
    #coverage-map-host { aspect-ratio: 16 / 11; }
    .cov-tooltip { min-width: 180px; padding: 10px 12px; gap: 10px; }
    .cov-tt-flag { font-size: 28px; }
    .cov-tt-name { font-size: 14px; }
}


/* === Liquid glass + pastel-blue accents (global tweaks) === */
:root {
    --accent-blue: #7eaaff;
    --accent-blue-soft: rgba(126,170,255,0.18);
    --accent-blue-rim: rgba(126,170,255,0.42);
}

/* Soften and round all glass surfaces a notch */
.glass, .section-card.glass, .modal-content, .card.glass-card {
    border-radius: max(var(--radius-xl, 28px), 24px) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.05) inset,
        0 1px 0 0 rgba(255,255,255,0.10) inset !important;
}

/* Inject a pastel-blue tint into hero badge, primary buttons, and section badges */
.hero-badge,
.section-badge {
    background: linear-gradient(135deg, var(--accent-blue-soft), rgba(168,85,247,0.10)) !important;
    border-color: var(--accent-blue-rim) !important;
}
.hero-badge::before,
.section-badge::before {
    background: var(--accent-blue) !important;
}

/* Scrollbar in pastel blue */
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(126,170,255,0.4), rgba(168,85,247,0.4)) !important;
}

/* Lighten the orb that's left so it doesn't dominate */
.gradient-orb.orb-1 {
    background: radial-gradient(circle, rgba(126,170,255,0.18), transparent 70%) !important;
    filter: blur(80px);
    animation-duration: 60s !important;
    will-change: auto !important;
}
@media (prefers-reduced-motion: reduce) {
    .gradient-orb { animation: none !important; }
}

/* Subtle blue tint on lang switch */
.lang-switch:hover {
    border-color: var(--accent-blue-rim) !important;
}


/* === Pill navbar — round only the inner glass surface === */
.navbar .nav-content {
    background: rgba(15, 16, 22, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 16px 8px 22px;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow:
        0 24px 60px -16px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.10) inset;
}
.navbar .btn { border-radius: 999px; }
.navbar .lang-switch { border-radius: 999px; }
@media (max-width: 768px) {
    /* keep the personal-cabinet button inside the pill on phones */
    .navbar .nav-content { gap: 0.5rem; padding: 6px 8px 6px 16px; }
    .navbar .nav-buttons { gap: 0.4rem; }
    .navbar .nav-buttons .btn-gradient {
        padding: 0.55rem 0.95rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }
    /* burger removed — it never opened anything */
    .navbar .mobile-menu-btn { display: none !important; }
}
@media (max-width: 380px) {
    .navbar .nav-content { gap: 0.4rem; padding: 6px 6px 6px 12px; }
    .navbar .nav-buttons .btn-gradient { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
}

/* Mobile nav — keep original */

/* Coverage map on mobile — stronger aspect ratio + min-height */
@media (max-width: 720px) {
    .coverage-section { padding: 60px 10px !important; }
    #coverage-map-host {
        aspect-ratio: 1.6 / 1 !important;
        min-height: 240px;
    }
    .cov-tooltip {
        position: fixed !important;
        left: 50% !important;
        bottom: 18px !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        max-width: calc(100% - 24px);
    }
}
