:root {
    --bg: #f5f9fc;
    --bg-soft: #eaf2f9;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --border: #d7e4f0;
    --border-soft: #e1ebf4;
    --cyan: #0891b2;
    --blue: #0284c7;
    --text: #1b2a3d;
    --text-dim: #55677e;
    --text-faint: #7e93ab;
    --error: #dc2626;
    --btn-text: #ffffff;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background: var(--bg);
    background-image: radial-gradient(ellipse 800px 500px at 15% -5%, rgba(34,211,238,0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 100% 10%, rgba(56,189,248,0.05), transparent 60%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ── BREADCRUMB ── */
nav[aria-label="Breadcrumb"] a:hover {
    color: var(--text-dim);
}

/* ── HERO ── */
.hero {
    padding: 28px 0 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

    .eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--cyan);
        box-shadow: 0 0 8px var(--cyan);
    }

.hero h1 {
    color: var(--text);
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    max-width: 780px;
    margin-bottom: 16px;
}

    .hero h1 .accent {
        color: var(--cyan);
    }

.hero .lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    max-width: 560px;
}

/* ── CHECKER CARD ── */
.checker {
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    margin-top: 36px;
    position: relative;
    overflow: hidden;
}

    .checker::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 36px;
        right: 36px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--cyan), transparent);
        opacity: 0.5;
    }

.checker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.field select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2355677e" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 16px center;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 42px 14px 16px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .field select option {
        background: #ffffff;
    }

    .field select:hover {
        border-color: #a9c2da;
    }

    .field select:focus {
        outline: none;
        border-color: var(--cyan);
        box-shadow: 0 0 0 3px rgba(34,211,238,0.14);
    }

    .field select.error {
        border-color: var(--error);
        box-shadow: 0 0 0 3px rgba(248,113,113,0.14);
    }

.field-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

.field.has-error .field-error {
    display: block;
}

.btn-check-req {
    margin-top: 22px;
    width: 100%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border: none;
    border-radius: 12px;
    color: var(--btn-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

    .btn-check-req:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 28px rgba(34,211,238,0.3);
    }

    .btn-check-req:active {
        transform: translateY(0);
    }

/* ── RESULT ── */
.result {
    margin-top: 28px;
    display: none;
    border-top: 1px solid var(--border-soft);
    padding-top: 28px;
    scroll-margin-top: 90px;
}

    .result.show {
        display: block;
        animation: fadeUp 0.35s ease;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-headline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.result-band {
    font-family: var(--font-display);
    font-size: clamp(40px, 10vw, 60px);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
}

.result-meta {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
}

    .result-meta strong {
        color: var(--text);
        font-weight: 600;
        display: block;
        font-size: 16.5px;
        margin-bottom: 2px;
    }

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 16px 9px 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

    .btn-share:hover {
        border-color: var(--cyan);
        color: var(--cyan);
        background: var(--surface-raised);
    }

    .btn-share svg {
        flex-shrink: 0;
    }

.share-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 16px);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(15,40,70,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
}

    .share-toast.show {
        opacity: 1;
        transform: translate(-50%, 0);
    }

.skill-bars {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.skill-bar {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 16px;
}

    .skill-bar .name {
        font-size: 11px;
        font-weight: 700;
        color: var(--text-faint);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 8px;
    }

    .skill-bar .val {
        font-family: var(--font-display);
        font-size: 26px;
        font-weight: 700;
        color: var(--text);
    }

.gauge-track {
    height: 4px;
    background: var(--border-soft);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16,1,0.3,1);
}

.result-note {
    background: rgba(34,211,238,0.06);
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
}

    .result-note strong {
        color: var(--cyan);
        font-weight: 600;
    }

.result-cta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.result-cta-text {
    flex: 1;
    min-width: 200px;
}

    .result-cta-text strong {
        font-family: var(--font-display);
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        display: block;
        margin-bottom: 4px;
    }

    .result-cta-text p {
        font-size: 14.5px;
        line-height: 1.65;
        color: var(--text);
    }

.btn-outline {
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

    .btn-outline:hover {
        background: rgba(34,211,238,0.1);
    }

/* ── SECTIONS ── */
.section {
    padding: 64px 0;
}

.section-head {
    margin-bottom: 32px;
    max-width: 680px;
}

    .section-head .eyebrow {
        margin-bottom: 14px;
    }

    .section-head h2 {
        font-size: clamp(22px, 2.8vw, 30px);
        font-weight: 700;
        margin-bottom: 12px;
    }

    .section-head p {
        font-size: 16px;
        line-height: 1.8;
        color: var(--text);
    }

        .section-head p + p {
            margin-top: 12px;
        }

/* ── TABLE ── */
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

thead th {
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-faint);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

tbody td {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(34,211,238,0.03);
}

td.country {
    color: var(--text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

td.band {
    color: var(--cyan);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
}

.flag {
    font-size: 20px;
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.15s;
}

    .faq-item.open {
        border-color: rgba(34,211,238,0.4);
    }

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
}

    .faq-q:focus-visible {
        outline: 2px solid var(--cyan);
        outline-offset: -2px;
    }

.plus {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    position: relative;
}

    .plus::before, .plus::after {
        content: '';
        position: absolute;
        background: var(--cyan);
        border-radius: 2px;
        transition: transform 0.2s, opacity 0.2s;
    }

    .plus::before {
        width: 14px;
        height: 2px;
        top: 10px;
        left: 4px;
    }

    .plus::after {
        width: 2px;
        height: 14px;
        left: 10px;
        top: 4px;
    }

.faq-item.open .plus::after {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 320px;
}

.faq-a p {
    padding: 0 24px 22px;
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.8;
}

/* ── RELATED TOOLS ── */
.tool-card {
    display: block;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.15s;
}

    .tool-card:hover {
        border-color: rgba(34,211,238,0.45);
        background: var(--surface-raised);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(15,40,70,0.1);
    }

    .tool-card strong {
        font-family: var(--font-display);
        font-size: 16px;
        font-weight: 600;
        display: block;
        margin-bottom: 6px;
    }

    .tool-card p {
        color: var(--text);
        font-size: 14.5px;
        line-height: 1.65;
    }

.tool-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.15s;
}

    .tool-feature:hover {
        border-color: rgba(34,211,238,0.45);
        background: var(--surface-raised);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(15,40,70,0.1);
    }

.tool-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(56,189,248,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 20px;
}

.tool-feature-body {
    flex: 1;
    min-width: 0;
}

    .tool-feature-body strong {
        font-family: var(--font-display);
        font-size: 17px;
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
    }

    .tool-feature-body p {
        color: var(--text-dim);
        font-size: 14.5px;
        line-height: 1.6;
    }

.tool-feature-arrow {
    flex-shrink: 0;
    color: var(--cyan);
    font-size: 20px;
}

@media (max-width: 560px) {
    .tool-feature {
        flex-wrap: wrap;
    }

    .tool-feature-arrow {
        display: none;
    }
}

/* ── FINAL CTA ── */
.final-cta {
    background: linear-gradient(135deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    margin: 40px 0 80px;
}

    .final-cta h2 {
        font-size: clamp(22px, 3vw, 30px);
        margin-bottom: 14px;
    }

    .final-cta p {
        font-size: 16px;
        line-height: 1.75;
        color: var(--text);
        max-width: 460px;
        margin: 0 auto 28px;
    }

.btn-primary-lg {
    display: inline-block;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--btn-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

    .btn-primary-lg:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 28px rgba(34,211,238,0.28);
    }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    .checker {
        padding: 24px 20px;
    }

    .checker-grid {
        grid-template-columns: 1fr;
    }

    .skill-bars {
        grid-template-columns: repeat(2,1fr);
    }

    .result-cta {
        flex-direction: column;
    }

    .tool-feature {
        padding: 20px;
    }

    .final-cta {
        padding: 36px 24px;
    }

    table {
        font-size: 13.5px;
    }

    thead th, tbody td {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 16px;
    }

    .eyebrow {
        font-size: 11.5px;
        padding: 6px 12px;
    }

    .hero .lead {
        font-size: 15px;
    }

    .checker {
        padding: 20px 16px;
        margin-top: 28px;
    }

        .checker::before {
            left: 20px;
            right: 20px;
        }

    .skill-bars {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .result-headline {
        gap: 8px;
    }

    .btn-share {
        margin-left: 0;
    }

    .final-cta {
        padding: 28px 18px;
        margin: 32px 0 56px;
    }

        .final-cta p {
            max-width: 100%;
        }

    .btn-primary-lg {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    .tool-feature {
        padding: 18px;
        gap: 14px;
    }

    .tool-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .tool-feature-body strong {
        font-size: 15.5px;
    }

    .tool-feature-body p {
        font-size: 13.5px;
    }

    .section-head h2 {
        font-size: 21px;
    }

    .faq-q {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    td.country {
        gap: 6px;
    }

    .flag {
        font-size: 16px;
    }
}

/* ── DARK HERO BAND ── */
.dark-hero-wrap {
    --bg: #0a1628;
    --bg-soft: #0d1f38;
    --surface: #112240;
    --surface-raised: #152b50;
    --border: #1e3a60;
    --border-soft: #182f52;
    --cyan: #22d3ee;
    --blue: #38bdf8;
    --text: #cdd8e8;
    --text-dim: #8fa8c4;
    --text-faint: #5d7fa0;
    --error: #f87171;
    --btn-text: #04141f;
    background: var(--bg);
    background-image: radial-gradient(ellipse 800px 500px at 15% -5%, rgba(34,211,238,0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 100% 10%, rgba(56,189,248,0.05), transparent 60%);
    padding-bottom: 8px;
    border-radius: 0 0 32px 32px;
}

    .dark-hero-wrap .field select {
        background: var(--bg-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%237a9ab8" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 16px center;
    }

        .dark-hero-wrap .field select option {
            background: #0f1e35;
        }

        .dark-hero-wrap .field select:hover {
            border-color: #2c4a78;
        }
