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

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --surface-3: #22222f;
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    --text: #e8e8f0;
    --text-dim: #8888a0;
    --text-muted: #5a5a70;
    --accent: #00e89d;
    --accent-glow: rgba(0, 232, 157, 0.15);
    --accent-2: #7b61ff;
    --accent-2-glow: rgba(123, 97, 255, 0.15);
    --green: #00e89d;
    --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Onest', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ═══ NAV ═══ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo-zp { color: var(--accent); }
.logo-scan { color: var(--text); }
.logo-dot { color: var(--text-dim); font-weight: 400; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
    background: var(--accent);
    color: var(--bg);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}
.nav-cta:hover { box-shadow: 0 0 30px var(--accent-glow); transform: translateY(-1px); }

/* ═══ MAIN ═══ */
main { flex: 1; }

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,232,157,0.08) 0%, rgba(123,97,255,0.04) 40%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}
.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    bottom: -100px; right: -200px;
    background: radial-gradient(circle, rgba(123,97,255,0.06) 0%, transparent 60%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #00c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 560px;
    margin-bottom: 48px;
    font-weight: 300;
}


/* ═══ STATS STRIP ═══ */
.stats-strip {
    padding: 60px 24px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stat-item { text-align: center; }
.stat-item .num {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}
.stat-item .txt { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; display: block; }

/* ═══ SECTIONS ═══ */
.section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }

.section-label {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent); margin-bottom: 16px;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 60px;
    max-width: 600px;
}

/* ═══ HOW IT WORKS ═══ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s;
}

.step-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.step-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem; font-weight: 800;
    color: var(--surface-2);
    line-height: 1; margin-bottom: 20px;
    -webkit-text-stroke: 1px var(--border);
}

.step-card:hover .step-num { -webkit-text-stroke: 1px var(--accent); color: var(--accent-glow); }
.step-card h3 { font-family: 'Unbounded', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* ═══ PROFESSION GRID ═══ */
.prof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.prof-card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.prof-card:hover { border-color: var(--accent); background: var(--surface-2); }

.prof-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.prof-name { font-weight: 500; font-size: 0.9rem; }
.prof-salary { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* ═══ CTA SECTION ═══ */
.cta-section { padding: 100px 24px; text-align: center; }

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
}

.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center top, var(--accent-glow), transparent 60%); }
.cta-box h2 { font-family: 'Unbounded', sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--text-dim); margin-bottom: 32px; position: relative; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; flex-wrap: wrap; }

.btn-tg {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    background: #2AABEE; color: #fff; border: none;
    border-radius: 14px;
    font-family: 'Onest', sans-serif; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s; text-decoration: none;
}

.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(42,171,238,0.3); }

.btn-web {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: 'Onest', sans-serif; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s; text-decoration: none;
}

.btn-web:hover { border-color: var(--accent); color: var(--accent); }

/* ═══ BUTTONS ═══ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent) 0%, #00c4ff 100%);
    color: var(--bg);
    border: none;
    border-radius: 14px;
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,232,157,0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: 'Onest', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-secondary:hover { border-color: var(--text-dim); color: var(--text); }

.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.btn-row .btn-primary { flex: 1; }

/* ═══ CALCULATOR CARD ═══ */
.calc-card {
    width: 100%;
    max-width: 720px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
}

.calc-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(0,232,157,0.2), transparent 50%, rgba(123,97,255,0.15));
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.calc-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
}

.calc-page-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.calc-page-bg::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,232,157,0.06) 0%, rgba(123,97,255,0.03) 40%, transparent 70%);
}

/* ═══ STEP INDICATOR ═══ */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.step-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--text-dim);
    background: var(--surface-2);
}

.step-dot.active {
    border-color: var(--accent);
    color: var(--bg);
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.step-dot.done {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,232,157,0.1);
}

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
}

.step-line.done { background: var(--accent); }

.step-labels {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 8px;
    margin-bottom: 28px;
}

.step-label-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.step-label-text.active { color: var(--accent); }

/* ═══ FORM ═══ */
.calc-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.calc-title svg { color: var(--accent); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select {
    appearance: none;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-family: 'Onest', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Radio as styled buttons */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }

.radio-label {
    display: flex; align-items: center; gap: 8px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dim);
}

.radio-label:has(input:checked) {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,232,157,0.06);
}

.radio-label input { display: none; }

/* ═══ SKILLS ═══ */
.skills-context {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 16px;
}

.skills-intro {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}

.skill-tag:hover {
    border-color: var(--border-light);
    background: var(--surface-3);
}

.skill-tag:has(input:checked) {
    border-color: var(--accent);
    background: rgba(0, 232, 157, 0.08);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 232, 157, 0.08);
}

.skill-tag input { display: none; }
.skill-name { font-size: 0.88rem; }
.skill-boost { font-size: 0.75rem; font-weight: 700; color: var(--accent); opacity: 0.7; }
.skill-tag:has(input:checked) .skill-boost { opacity: 1; }

.skills-notice {
    padding: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 24px;
    text-align: center;
}

/* ═══ RESULT ═══ */
.result-section {
    width: 100%;
    max-width: 720px;
}

.result-header {
    text-align: center;
    margin-bottom: 24px;
}

.result-header .label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.result-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.salary-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #00c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
}

.salary-currency { font-size: 1.1rem; color: var(--text-dim); }

.salary-boost-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(0,232,157,0.1);
    border: 1px solid rgba(0,232,157,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 8px;
}

.salary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 20px;
}

.salary-range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.range-item { text-align: center; }
.range-label { display: block; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 4px; }
.range-value { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1rem; }

.skills-impact, .top-skills {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.skills-impact h2, .top-skills h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.skill-impact-list { display: flex; flex-direction: column; gap: 2px; }

.skill-impact-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.skill-impact-item:last-child { border-bottom: none; }
.skill-impact-item.selected .skill-impact-name { color: var(--accent); }

.skill-impact-name { flex: 1; font-size: 0.9rem; font-weight: 500; }
.skill-freq { font-size: 0.78rem; color: var(--text-muted); }
.skill-impact-boost { font-family: 'Unbounded', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--accent); min-width: 52px; text-align: right; }

.result-notice {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 20px;
}
.result-notice h2 { font-family: 'Unbounded', sans-serif; font-size: 1.2rem; margin-bottom: 12px; }
.result-notice p { color: var(--text-dim); margin-bottom: 24px; }

.actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
footer {
    padding: 40px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}

.footer-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .salary-range { grid-template-columns: 1fr; }
    .calc-card { padding: 28px 20px; }
    .stats-strip { gap: 32px; }
    .cta-box { padding: 40px 24px; }
    .cta-buttons { flex-direction: column; }
    .actions { flex-direction: column; }
    .btn-row { flex-direction: column; }
    .footer-inner { justify-content: center; text-align: center; }
    .step-line { width: 40px; }
    .step-labels { gap: 28px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .stats-strip { flex-direction: column; align-items: center; gap: 24px; }
    .salary-value { font-size: 2.2rem; }
}
