/*
 * scan2quiz.eu — style.css
 * Czcionka: Lato (nagłówki + tekst)
 * Wspólny plik dla index.php i register.php
 */

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

/* ── Zmienne ────────────────────────────────────────────────────────────────── */
:root {
    --navy: #0D1B40;
    --teal: #0A8F7C;
    --teal-d: #076658;
    --teal-l: #D0F0EB;
    --teal-xl: #F0FAF8;
    --purple: #7B2D8B;
    --g50: #F7F9FB;
    --g100: #EDF1F5;
    --g200: #D8DFE8;
    --g400: #8A97A8;
    --g600: #4A5568;
    --g900: #0F1923;
    --red: #E53E3E;
    --red-l: #FFF5F5;
    --green: #1D9E75;
    --green-l: #F0FDF9;
    --amber-l: #FFFBEB;
    --white: #FFFFFF;
}

/* ── Baza ──────────────────────────────────────────────────────────────────── */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    background: var(--g50);
    color: var(--g900);
    min-height: 100vh;
}

/* ── Alerty (wspólne) ──────────────────────────────────────────────────────── */
.alert {
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.alert ul {
    margin: 5px 0 0 16px;
}

.alert li {
    margin-bottom: 3px;
}

.alert-err {
    background: var(--red-l);
    border: 1px solid #FEB2B2;
    color: #9B2C2C;
}

.alert-ok {
    background: var(--green-l);
    border: 1px solid #9AE6B4;
    color: #1A6647;
}

/* ── Stopka (wspólna) ──────────────────────────────────────────────────────── */
.site-ft {
    background: var(--navy);
    padding: 18px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.site-ft-l {
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
}

.site-ft-r {
    display: flex;
    gap: 16px;
}

.site-ft-r a {
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    text-decoration: none;
}

.site-ft-r a:hover {
    color: rgba(255, 255, 255, .7);
}

/* ── Lang switcher (wspólny) ───────────────────────────────────────────────── */
.lang-sw {
    position: relative;
}

.lang-cur {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .9);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    transition: background .15s;
    line-height: 1;
}

.lang-cur:hover {
    background: rgba(255, 255, 255, .18);
}

.lf {
    font-size: 16px;
    line-height: 1;
}

.lc {
    font-size: 11px;
}

.lang-dd {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--g200);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 8px;
    min-width: 210px;
    z-index: 300;
}

.lang-dd[hidden] {
    display: none !important;
}

.lo {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--g600);
    transition: background .1s;
    white-space: nowrap;
}

.lo:hover {
    background: var(--g100);
}

.lo.active {
    background: var(--teal-l);
    color: var(--teal-d);
    font-weight: 700;
}

.lo span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
}

/* ══════════════════════════════════════════════════════════════════════════════
   INDEX.PHP
   ══════════════════════════════════════════════════════════════════════════════ */

nav {
    background: var(--navy);
    padding: 0 5vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 200;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background: var(--teal);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo svg {
    width: 18px;
    height: 18px;
}

.nav-name {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    letter-spacing: -.3px;
}

.nav-name span {
    color: var(--teal);
}

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

.nav-link {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    transition: color .15s, background .15s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.nav-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    background: var(--teal);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--teal-d);
    color: #fff;
}

.hero {
    background: var(--navy);
    padding: 56px 5vw 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 36px;
    background: var(--g50);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 143, 124, .15);
    border: 1px solid rgba(10, 143, 124, .3);
    color: #6EE7D6;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
    letter-spacing: .05em;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.hero-h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: clamp(26px, 5vw, 50px);
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.hero-h1 span {
    color: var(--teal);
}

.hero-sub {
    font-size: clamp(13px, 1.5vw, 15px);
    color: rgba(255, 255, 255, .55);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 0 auto 32px;
    max-width: 560px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
    min-width: 72px;
}

.stat-num {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--teal);
    display: block;
    line-height: 1;
}

.stat-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, .4);
    margin-top: 3px;
}

.search-wrap {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-form {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .28);
}

.search-iw {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.s-ico {
    position: absolute;
    left: 16px;
    color: var(--g400);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.search-inp {
    width: 100%;
    height: 54px;
    padding: 0 14px 0 48px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    color: var(--g900);
    background: transparent;
}

.search-inp::placeholder {
    color: var(--g400);
}

.search-btn {
    height: 54px;
    padding: 0 24px;
    background: var(--teal);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: background .15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--teal-d);
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

.search-hint {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    text-align: center;
}

.search-hint strong {
    color: rgba(255, 255, 255, .62);
}

.results-sec {
    padding: 32px 5vw 0;
    max-width: 880px;
    margin: 0 auto;
}

.r-banner {
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.r-banner.found {
    background: var(--teal-xl);
    border: 1px solid rgba(10, 143, 124, .2);
    color: #054E42;
}

.r-banner.nofound {
    background: var(--amber-l);
    border: 1px solid rgba(217, 119, 6, .2);
    color: #92400E;
}

.r-banner svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.qcard {
    background: #fff;
    border: 1px solid var(--g200);
    border-radius: 11px;
    padding: 14px 16px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.qcard:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(10, 143, 124, .12);
}

.qcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}

.qcard:hover::before {
    transform: scaleX(1);
}

.qcard-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 7px;
    line-height: 1.4;
}

.qcard-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--g400);
    flex-wrap: wrap;
}

.qcard-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.qcard-meta svg {
    width: 11px;
    height: 11px;
}

.lpills {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 7px;
}

.lpill {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    background: var(--teal-l);
    color: var(--teal-d);
    letter-spacing: .04em;
}

.qcard-lock {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--g100);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--teal);
    font-weight: 600;
}

.qcard-lock svg {
    width: 12px;
    height: 12px;
}

.r-cta {
    background: var(--navy);
    border-radius: 13px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.r-cta-text {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    line-height: 1.6;
}

.r-cta-text strong {
    color: #fff;
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 3px;
}

.r-cta-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-teal {
    padding: 9px 18px;
    background: var(--teal);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    transition: background .15s;
    white-space: nowrap;
}

.btn-teal:hover {
    background: var(--teal-d);
}

.btn-ghost {
    padding: 9px 18px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: background .15s;
    white-space: nowrap;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
}

.main-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 44px 5vw 52px;
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 40px;
    align-items: start;
}

.sec-lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.feat-h {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -.3px;
    margin-bottom: 10px;
}

.feat-sub {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
    margin-bottom: 28px;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.feat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feat-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--teal-l);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feat-ico svg {
    width: 18px;
    height: 18px;
}

.feat-body strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.feat-body span {
    font-size: 12px;
    color: var(--g600);
    line-height: 1.5;
}

.st-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.st-box {
    background: #fff;
    border: 1px solid var(--g200);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.st-n {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--navy);
    display: block;
}

.st-l {
    font-size: 11px;
    color: var(--g400);
    margin-top: 2px;
}

.auth-panel {
    background: #fff;
    border: 1px solid var(--g200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    position: sticky;
    top: 76px;
}

.a-tabs {
    display: flex;
    background: var(--g100);
    border-bottom: 1px solid var(--g200);
}

.a-tab {
    flex: 1;
    padding: 13px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--g400);
    text-decoration: none;
    transition: color .15s, background .15s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.a-tab.on {
    color: var(--navy);
    font-weight: 700;
    background: #fff;
    border-bottom-color: var(--teal);
}

.a-body {
    padding: 20px 20px 16px;
}

.soc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 7px;
    margin-bottom: 14px;
}

.btn-soc {
    height: 40px;
    border: 1.5px solid var(--g200);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--g600);
    text-decoration: none;
    transition: border-color .15s, transform .1s;
    cursor: pointer;
}

.btn-soc:hover {
    border-color: var(--g400);
    transform: translateY(-1px);
}

.btn-soc svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.bs-g:hover {
    border-color: #4285F4;
}

.bs-f:hover {
    border-color: #1877F2;
}

.bs-gh:hover {
    border-color: #333;
}

.or-r {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--g400);
    font-weight: 500;
    letter-spacing: .05em;
    margin-bottom: 12px;
}

.or-r::before,
.or-r::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--g200);
}

.f {
    margin-bottom: 12px;
}

.f label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--g600);
    margin-bottom: 5px;
}

.fi {
    position: relative;
}

.fi svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--g400);
    pointer-events: none;
}

.fi input {
    width: 100%;
    height: 40px;
    padding: 0 10px 0 32px;
    border: 1.5px solid var(--g200);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    color: var(--g900);
    background: #fff;
    outline: none;
    -webkit-appearance: none;
    transition: border-color .15s, box-shadow .15s;
}

.fi input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(10, 143, 124, .1);
}

.pw-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--g400);
    padding: 3px;
    line-height: 1;
    left: auto;
}

.pw-eye svg {
    width: 14px;
    height: 14px;
}

.fgt-lnk {
    text-align: right;
    margin-top: -6px;
    margin-bottom: 12px;
}

.fgt-lnk a {
    font-size: 12px;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.btn-main {
    width: 100%;
    height: 42px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.btn-main:hover {
    background: var(--teal-d);
}

.a-err {
    background: var(--red-l);
    border: 1px solid #FEB2B2;
    color: #9B2C2C;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.a-ok {
    background: var(--green-l);
    border: 1px solid #9AE6B4;
    color: #1A6647;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.gdpr-m {
    font-size: 11px;
    color: var(--g400);
    line-height: 1.5;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--g100);
}

.gdpr-m a {
    color: var(--teal);
    text-decoration: none;
}

.a-foot {
    padding: 12px 20px;
    background: var(--g50);
    border-top: 1px solid var(--g200);
    font-size: 12px;
    color: var(--g400);
    text-align: center;
    line-height: 1.6;
}

.a-foot a {
    color: var(--teal);
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════════════════════
   REGISTER.PHP
   ══════════════════════════════════════════════════════════════════════════════ */

body.page-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.reg-left {
    background: var(--navy);
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.left-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.left-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-brand-icon svg {
    width: 20px;
    height: 20px;
}

.left-brand-name {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: white;
    letter-spacing: -.3px;
}

.left-brand-name span {
    color: var(--teal);
}

.left-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.left-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 143, 124, .2);
    border: 1px solid rgba(10, 143, 124, .4);
    color: #6EE7D6;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 24px;
    width: fit-content;
    letter-spacing: .04em;
}

.left-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.left-h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 3vw, 42px);
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.left-h1 span {
    color: var(--teal);
}

.left-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.7;
    max-width: 360px;
}

.left-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.feat-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
}

.left-bottom {
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
}

.left-bottom a {
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
}

.left-bottom a:hover {
    color: var(--teal);
}

.deco {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    pointer-events: none;
}

.deco-1 {
    width: 400px;
    height: 400px;
    background: var(--teal);
    top: -100px;
    right: -150px;
}

.deco-2 {
    width: 250px;
    height: 250px;
    background: #fff;
    bottom: 60px;
    left: -80px;
}

.reg-right {
    padding: 48px 52px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reg-right-inner {
    width: 100%;
    max-width: 460px;
}

.lang-sw-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.reg-right .lang-cur {
    background: white;
    border: 1.5px solid var(--g200);
    color: var(--g600);
}

.reg-right .lang-cur:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.steps {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--g400);
}

.step-item.active {
    color: var(--navy);
}

.step-item.done {
    color: var(--teal);
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--g200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: white;
    color: var(--g400);
    flex-shrink: 0;
}

.step-item.active .step-num {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-l);
}

.step-item.done .step-num {
    border-color: var(--teal);
    background: var(--teal);
    color: white;
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--g200);
    margin: 0 8px;
    min-width: 20px;
}

.form-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -.3px;
}

.form-sub {
    font-size: 14px;
    color: var(--g400);
    margin-bottom: 32px;
    line-height: 1.5;
}

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

.btn-social {
    height: 46px;
    border: 1.5px solid var(--g200);
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--g600);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, transform .1s, box-shadow .15s;
}

.btn-social:hover {
    border-color: var(--g400);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.btn-social:active {
    transform: scale(.98);
}

.btn-social svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-social-google:hover {
    border-color: #4285F4;
}

.btn-social-facebook:hover {
    border-color: #1877F2;
}

.btn-social-github:hover {
    border-color: #333;
}

.divider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 12px;
    color: var(--g400);
    font-weight: 500;
    letter-spacing: .04em;
}

.divider-row::before,
.divider-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--g200);
}

.field-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    margin-bottom: 18px;
}

.field-row-2 .field {
    margin-bottom: 0;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--g600);
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

.input-wrap>svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--g400);
    pointer-events: none;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 40px;
    border: 1.5px solid var(--g200);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    color: var(--g900);
    background: white;
    outline: none;
    -webkit-appearance: none;
    transition: border-color .15s, box-shadow .15s;
}

input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(10, 143, 124, .1);
}

.reg-pw-eye {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--g400);
    padding: 4px;
    line-height: 1;
    left: auto;
}

.reg-pw-eye svg {
    width: 16px;
    height: 16px;
}

.pw-strength {
    height: 3px;
    background: var(--g200);
    border-radius: 2px;
    margin-top: 7px;
    overflow: hidden;
}

.pw-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width .25s, background .25s;
}

.pw-hint {
    font-size: 11px;
    color: var(--g400);
    margin-top: 4px;
}

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

.plan-card {
    border: 1.5px solid var(--g200);
    border-radius: 12px;
    padding: 14px 12px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    position: relative;
    background: white;
    user-select: none;
}

.plan-card:hover {
    border-color: var(--teal);
    transform: translateY(-1px);
}

.plan-card.selected {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(10, 143, 124, .1);
}

.plan-card input[type="radio"] {
    display: none;
}

.plan-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 99px;
    margin-bottom: 8px;
    display: inline-block;
    color: white;
}

.plan-price {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 4px;
}

.plan-price span {
    font-size: 11px;
    font-weight: 400;
    color: var(--g400);
}

.plan-desc {
    font-size: 11px;
    color: var(--g400);
    line-height: 1.5;
}

.plan-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.check-block {
    margin-bottom: 14px;
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--g600);
    line-height: 1.55;
    cursor: pointer;
}

.check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    border: 1.5px solid var(--g200);
    border-radius: 5px;
    cursor: pointer;
    accent-color: var(--teal);
    flex-shrink: 0;
}

.check-label a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.check-label a:hover {
    text-decoration: underline;
}

.req {
    color: var(--red);
}

.gdpr-info {
    background: var(--teal-l);
    border: 1px solid rgba(10, 143, 124, .2);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
    font-size: 12px;
    color: #054E42;
    line-height: 1.6;
    margin: 16px 0 20px;
}

.gdpr-info strong {
    color: var(--teal-d);
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .15s, transform .1s, box-shadow .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--teal-d);
    box-shadow: 0 4px 16px rgba(10, 143, 124, .3);
}

.btn-submit:active {
    transform: scale(.99);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

.success-card {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-l);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid var(--green);
}

.success-icon svg {
    width: 36px;
    height: 36px;
    color: var(--green);
}

.success-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}

.success-sub {
    font-size: 15px;
    color: var(--g400);
    line-height: 1.6;
    margin-bottom: 32px;
}

.success-sub strong {
    color: var(--navy);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--navy);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 15px;
    transition: background .15s;
}

.btn-login:hover {
    background: #1a2d5a;
}

.login-link {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: var(--g400);
}

.login-link a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.form-sep {
    border: none;
    border-top: 1px solid var(--g200);
    margin: 22px 0 20px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RTL
   ══════════════════════════════════════════════════════════════════════════════ */
[dir="rtl"] .s-ico {
    left: auto;
    right: 16px;
}

[dir="rtl"] .search-inp {
    padding: 0 48px 0 14px;
}

[dir="rtl"] .fi svg {
    left: auto;
    right: 10px;
}

[dir="rtl"] .fi input {
    padding: 0 32px 0 10px;
}

[dir="rtl"] .pw-eye {
    right: auto;
    left: 8px;
}

[dir="rtl"] .fgt-lnk {
    text-align: left;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    body.page-register {
        grid-template-columns: 1fr;
    }

    .reg-left {
        display: none;
    }

    .reg-right {
        padding: 32px 24px;
    }
}

@media (max-width: 820px) {
    .main-wrap {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        position: static;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 36px 5vw 48px;
    }

    .search-btn span {
        display: none;
    }

    .soc-row {
        grid-template-columns: 1fr;
    }

    .st-row {
        grid-template-columns: 1fr 1fr;
    }

    .nav-link {
        display: none;
    }

    .stats-bar {
        gap: 16px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .field-row-2 {
        grid-template-columns: 1fr;
    }
}