:root {
    --bg: #0a0a0b;
    --surface: #111113;
    --surface2: #18181b;
    --border: #1f1f24;
    --border2: #2a2a30;
    --text: #f0eeea;
    --muted: #5a5860;
    --muted2: #888693;
    --red: #e5484d;
    --red-soft: rgba(229, 72, 77, 0.10);
    --red-border: rgba(229, 72, 77, 0.22);
    --green: #4cc38a;
    --green-soft: rgba(76, 195, 138, 0.10);
    --yellow: #e8b84b;
    --yellow-soft: rgba(232, 184, 75, 0.10);
    --radius: 10px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.glow-top {
    position: fixed;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(229, 72, 77, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.wrap {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 56px;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.lang-link {
    color: var(--muted2);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.lang-link:hover {
    color: var(--text);
}

.lang-link.active {
    color: var(--red);
}

.lang-sep {
    color: var(--border2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
}

.nav-logo-dot {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(229, 72, 77, 0.5);
}

.nav-logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.nav-cta {
    font-size: 12px;
    color: var(--muted2);
    text-decoration: none;
    border: 1px solid var(--border2);
    padding: 7px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-cta:hover {
    color: var(--text);
    border-color: var(--red);
}

.hero {
    text-align: center;
    padding-bottom: 52px;
    animation: fadeUp 0.7s ease both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-soft);
    border: 1px solid var(--red-border);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 500;
}

.badge-dot {
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

h1 .accent {
    color: var(--red);
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted2);
    max-width: 440px;
    margin: 0 auto 28px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item::before {
    content: '—';
    color: var(--border2);
}

.quiz-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
    animation: fadeUp 0.7s 0.15s ease both;
}

.progress-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.progress-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.progress-frac {
    font-size: 11px;
    color: var(--muted);
    font-family: 'Syne', sans-serif;
}

.progress-bar {
    height: 2px;
    background: var(--border2);
    border-radius: 2px;
    margin-bottom: 28px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--red);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(229, 72, 77, 0.4);
}

.q-card {
    display: none;
}

.q-card.active {
    display: block;
    animation: fadeUp 0.35s ease both;
}

.q-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 22px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.18s;
    text-align: left;
    width: 100%;
    color: var(--muted2);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}

.opt:hover {
    border-color: rgba(229, 72, 77, 0.35);
    color: var(--text);
    background: rgba(229, 72, 77, 0.04);
}

.opt.selected {
    border-color: var(--red-border);
    background: var(--red-soft);
    color: var(--text);
}

.opt-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--border2);
    flex-shrink: 0;
    transition: all 0.18s;
    position: relative;
}

.opt.selected .opt-radio {
    border-color: var(--red);
    background: var(--red);
}

.opt.selected .opt-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg);
    border-radius: 50%;
}

.btn-next {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    display: none;
}

.btn-next:hover {
    background: #f05258;
    transform: translateY(-1px);
}

.btn-next.show {
    display: block;
}

#result {
    display: none;
}

#result.show {
    display: block;
    animation: fadeUp 0.5s ease both;
}

.result-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 16px;
}

.result-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 10px;
}

.result-heading {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}

.result-heading.red {
    color: var(--red);
}

.result-heading.yellow {
    color: var(--yellow);
}

.result-heading.green {
    color: var(--green);
}

.result-desc {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.65;
    margin-bottom: 24px;
}

.score-wrap {
    margin-bottom: 24px;
}

.score-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

.score-track {
    height: 4px;
    background: var(--border2);
    border-radius: 2px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.score-bar-fill.red {
    background: var(--red);
    box-shadow: 0 0 8px rgba(229, 72, 77, 0.4);
}

.score-bar-fill.yellow {
    background: var(--yellow);
}

.score-bar-fill.green {
    background: var(--green);
}

.flags {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.flag-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--muted2);
}

.flag-icon {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 13px;
}

.cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.cta-top {
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--border);
}

.cta-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 10px;
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cta-desc {
    font-size: 0.875rem;
    color: var(--muted2);
    line-height: 1.6;
}

.cta-features {
    padding: 20px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: var(--muted2);
}

.feat-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feat-dot.red {
    background: var(--red);
}

.feat-dot.green {
    background: var(--green);
}

.cta-btns {
    padding: 20px 32px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    flex: 1;
    min-width: 160px;
    padding: 13px 20px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.18s;
    display: block;
}

.btn-primary:hover {
    background: #f05258;
    transform: translateY(-1px);
}

.btn-secondary {
    flex: 1;
    min-width: 140px;
    padding: 13px 20px;
    background: transparent;
    color: var(--muted2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s;
}

.btn-secondary:hover {
    color: var(--text);
}

.privacy-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 48px;
}

.section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.section-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 12px;
}

.section-h {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-p {
    font-size: 0.9rem;
    color: var(--muted2);
    margin-bottom: 12px;
    line-height: 1.65;
}

.signs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

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

    .cta-features {
        grid-template-columns: 1fr;
    }
}

.sign-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.sign-icon {
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
}

.sign-t {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    font-family: 'Syne', sans-serif;
}

.sign-d {
    font-size: 0.775rem;
    color: var(--muted2);
    line-height: 1.5;
}

.faq-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--muted);
    flex-shrink: 0;
    transition: all 0.2s;
}

.faq-item.open .faq-icon {
    border-color: var(--red);
    color: var(--red);
    transform: rotate(45deg);
}

.faq-a {
    font-size: 0.875rem;
    color: var(--muted2);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 18px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
}

.footer-brand-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-note {
    width: 100%;
    font-size: 11px;
    color: #333;
    margin-top: 8px;
}

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

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