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

:root {
    --blue: #3B5BDB;
    --blue-dark: #2f4ac0;
    --blue-light: #EEF1FF;
    --ink: #0F0F12;
    --ink-soft: #52526A;
    --ink-faint: #9898AA;
    --border: #E8E9EF;
    --border-mid: #D4D5E0;
    --bg: #FFFFFF;
    --bg-page: #F3F4F9;
    --green: #16a34a;
    --green-bg: rgba(22,163,74,0.09);
    --red: #dc2626;
    --red-bg: rgba(220,38,38,0.06);
    --ease: cubic-bezier(0.23,1,0.32,1);
    --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-page);
    color: var(--ink);
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 64px;
}

/* Dot-grid ambient background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(59,91,219,0.065) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    height: 60px;
    background: rgba(243,244,249,0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }

.nav-login {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid rgba(59,91,219,0.25);
    border-radius: 10px;
    background: var(--blue-light);
    transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
    touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
    .nav-login:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
}

/* ── PAGE LAYOUT ── */
.page {
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: calc(100dvh - 60px);
    position: relative;
    z-index: 1;
}

.form-side {
    padding: 48px 6% 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ── INFO SIDE ── */
.info-side {
    background: var(--ink);
    color: #fff;
    padding: 56px 44px;
    position: sticky;
    top: 60px;
    height: calc(100dvh - 60px);
    overflow: hidden;
}

/* Ambient orbs */
.info-side::before {
    content: '';
    position: absolute;
    top: -130px; right: -110px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(59,91,219,0.38) 0%, transparent 70%);
    pointer-events: none;
    animation: orb-drift 14s ease-in-out infinite alternate;
}
.info-side::after {
    content: '';
    position: absolute;
    bottom: -110px; left: -90px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(16px, -12px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
    .info-side::before, .info-side::after { animation: none; }
}

.info-inner {
    max-width: 280px;
    margin: 0 auto;
    padding-top: 28px;
    position: relative;
    z-index: 1;
}

.info-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-tag::before {
    content: '';
    display: inline-block;
    width: 20px; height: 2px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    flex-shrink: 0;
}

.info-side h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 36px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.65);
    transition: background 200ms var(--ease), color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .info-list li:hover .info-icon {
        background: rgba(59,91,219,0.45);
        border-color: rgba(59,91,219,0.5);
        color: #fff;
    }
}

.info-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.info-list li span {
    font-size: 12.5px;
    color: rgba(255,255,255,0.46);
    line-height: 1.55;
}

.info-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
}

.info-stat { display: flex; flex-direction: column; gap: 4px; }

.info-stat span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.55));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-stat small {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    line-height: 1.4;
}

/* ── CARD ── */
.join-card {
    width: 100%;
    max-width: 560px;
    background: var(--bg);
    border-radius: 22px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.05),
        0 4px 16px rgba(0,0,0,0.06),
        0 20px 60px rgba(59,91,219,0.08),
        0 40px 80px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

/* Animated gradient top strip */
.join-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #7c3aed, #ec4899, #f97316, var(--blue));
    background-size: 300% 100%;
    animation: gradient-shift 5s linear infinite;
    z-index: 2;
    pointer-events: none;
}
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .join-card::before { background: var(--blue); animation: none; }
}

/* ── CARD HEADER ── */
.card-header {
    padding: 36px 36px 28px;
    border-bottom: 1px solid var(--border);
}

.form-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}

.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
    50%       { box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}

h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.15;
}

.form-sub {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ── STEPPER ── */
.stepper {
    padding: 24px 36px 0;
    position: relative;
}

.stepper-track {
    position: absolute;
    top: 34px;
    left: 36px; right: 36px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
}

.stepper-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #7c3aed);
    border-radius: 2px;
    transition: width 0.4s var(--ease);
    width: 0%;
}

.stepper-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    padding-bottom: 24px;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-mid);
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.stepper-step.active .step-dot {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(59,91,219,0.15);
    transform: scale(1.1);
}

.stepper-step.completed .step-dot {
    background: var(--blue);
    border-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
    transform: scale(1);
}

.step-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ink-faint);
    transition: color 0.25s;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-faint);
    transition: color 0.25s;
}

.stepper-step.active .step-num,
.stepper-step.active .step-label { color: var(--blue); }

.stepper-step.completed .step-num,
.stepper-step.completed .step-label { color: var(--blue); opacity: 0.6; }

/* ── FORM ── */
form { padding: 0 36px; }
.form-step { padding-top: 8px; }

/* Step entrance animation */
@keyframes stepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.step-entering { animation: stepIn 0.3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .step-entering { animation: none; } }

/* ── FIELDS ── */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.field-row .field { margin-bottom: 0; }
.field-row.three-col { grid-template-columns: 1fr 1fr 1fr; }

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.1px;
}

.label-hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-faint);
}

.req { color: #dc2626; font-weight: 700; }
.optional { font-weight: 400; color: var(--ink-faint); }

.field-hint {
    font-size: 12px;
    color: var(--ink-faint);
    line-height: 1.55;
    margin-top: -2px;
}

/* ── INPUTS ── */
input, select, textarea {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    background: #f8f9ff;
    border: 1.5px solid var(--border-mid);
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 44px;
    outline: none;
    transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
    width: 100%;
    -webkit-appearance: none;
}

input:hover:not(:focus),
select:hover:not(:focus),
textarea:hover:not(:focus) {
    border-color: #b5b7cc;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,91,219,0.12);
    background: #fff;
}

input::placeholder, textarea::placeholder { color: var(--ink-faint); }
textarea { resize: vertical; min-height: 80px; }

*:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }

/* ── PASSWORD WRAP + TOGGLE ── */
.pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.pw-wrap input { padding-right: 44px; }

.pw-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: color 160ms var(--ease), background 160ms var(--ease);
    touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
    .pw-toggle:hover { color: var(--ink); background: var(--bg-page); }
}
.pw-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── PREFIX INPUT ── */
.input-prefix-wrap {
    display: flex;
    align-items: stretch;
    background: #f8f9ff;
    border: 1.5px solid var(--border-mid);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
    min-height: 44px;
}

.input-prefix-wrap:hover:not(:focus-within) { border-color: #b5b7cc; }
.input-prefix-wrap:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,91,219,0.12);
}

.input-prefix {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-faint);
    background: var(--border);
    border-right: 1.5px solid var(--border-mid);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.input-prefix-wrap input {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding-left: 12px;
    background: transparent;
}
.input-prefix-wrap input:focus {
    box-shadow: none;
    background: transparent;
}
.input-prefix-wrap:focus-within { background: #fff; }

/* ── STEP DIVIDER ── */
.step-divider {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 12px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ── BARTER TOGGLE ── */
.barter-toggle {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--blue-light);
    border-radius: 12px;
    border: 1px solid rgba(59,91,219,0.1);
    transition: background 200ms var(--ease);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

.toggle-label input[type="checkbox"] { display: none; }

.toggle-slider {
    position: relative;
    width: 40px; height: 22px;
    background: var(--border-mid);
    border-radius: 100px;
    flex-shrink: 0;
    transition: background 200ms var(--ease);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px; left: 3px;
    transition: transform 220ms var(--ease-spring);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-label input:checked ~ .toggle-slider { background: var(--blue); }
.toggle-label input:checked ~ .toggle-slider::after { transform: translateX(18px); }

/* ── NICHE GRID ── */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.niche-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-faint);
    margin-bottom: 10px;
}
.niche-count span { color: var(--blue); font-weight: 800; }

.niche-opt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 36px 11px 12px;
    border: 1.5px solid var(--border-mid);
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #f8f9ff;
    user-select: none;
    touch-action: manipulation;
    transition:
        border-color 180ms var(--ease),
        background   180ms var(--ease),
        color        180ms var(--ease),
        box-shadow   200ms var(--ease),
        transform    160ms var(--ease);
}

.niche-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--border);
    color: var(--ink-soft);
    transition: background 180ms var(--ease), color 180ms var(--ease);
}

.niche-label { line-height: 1.2; }

.niche-opt input[type="radio"],
.niche-opt input[type="checkbox"] { display: none; }

.niche-opt::after {
    content: '';
    position: absolute;
    top: 10px; right: 10px;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-mid);
    background: var(--bg);
    transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .niche-opt:hover {
        border-color: var(--blue);
        background: var(--blue-light);
        color: var(--ink);
        box-shadow: 0 2px 12px rgba(59,91,219,0.12);
    }
    .niche-opt:hover .niche-icon {
        background: rgba(59,91,219,0.12);
        color: var(--blue);
    }
}

.niche-opt:active { transform: scale(0.97); transition-duration: 120ms; }

.niche-opt.selected {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 4px 18px rgba(17,17,24,0.18);
}
.niche-opt.selected .niche-icon {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
}
.niche-opt.selected::after {
    background: var(--blue);
    border-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

/* ── PILL OPTIONS ── */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.pill-opt {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1.5px solid var(--border-mid);
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #f8f9ff;
    user-select: none;
    min-height: 36px;
    touch-action: manipulation;
    transition: border-color 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.pill-opt input[type="radio"] { display: none; }

@media (hover: hover) and (pointer: fine) {
    .pill-opt:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
}
.pill-opt:active { transform: scale(0.95); }

.pill-opt.selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(59,91,219,0.28);
}

/* ── ERROR ── */
.form-error {
    background: var(--red-bg);
    border: 1px solid rgba(220,38,38,0.18);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--red);
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: errorShake 0.3s var(--ease);
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-4px); }
    75%       { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
    .form-error { animation: none; }
}

/* ── CARD FOOTER ── */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px 28px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.draft-status { display: flex; align-items: center; gap: 8px; }

.draft-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}

.draft-text { font-size: 12px; font-weight: 500; color: var(--ink-faint); }

.footer-btns { display: flex; align-items: center; gap: 10px; }

/* Continue button — dark with shimmer */
.continue-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    touch-action: manipulation;
    transition: background 200ms var(--ease), transform 180ms var(--ease), box-shadow 200ms var(--ease);
}

.continue-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: btn-shimmer 3s ease-in-out 1.5s infinite;
}
@keyframes btn-shimmer {
    0%   { left: -60%; }
    100% { left: 160%; }
}
@media (prefers-reduced-motion: reduce) { .continue-btn::after { animation: none; } }

@media (hover: hover) and (pointer: fine) {
    .continue-btn:hover {
        background: var(--blue);
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(59,91,219,0.35);
    }
}
.continue-btn:active { transform: scale(0.97); transition-duration: 100ms; }
.continue-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.back-btn {
    background: none;
    border: 1.5px solid var(--border-mid);
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--ink-soft);
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
    transition: border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .back-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-page); }
}

/* ── SUCCESS ── */
.success-state {
    text-align: center;
    padding: 56px 36px 48px;
}

.success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px rgba(22,163,74,0.07);
    animation: successPop 0.45s var(--ease-spring) both;
}
@keyframes successPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-state h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 12px; }
.success-state p  { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    padding: 10px 20px;
    border: 1.5px solid rgba(59,91,219,0.2);
    border-radius: 10px;
    background: var(--blue-light);
    transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
    touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
    .back-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
}

/* ── PHOTO UPLOAD ── */
.photo-upload-wrap { display: flex; align-items: center; gap: 16px; }

.photo-preview-circle {
    width: 76px; height: 76px;
    border-radius: 50%;
    border: 2px dashed var(--border-mid);
    background: linear-gradient(135deg, #f0f3ff, #f8f9ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--ink-faint);
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
    touch-action: manipulation;
    transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .photo-preview-circle:hover {
        border-color: var(--blue);
        background: var(--blue-light);
        color: var(--blue);
        transform: scale(1.05);
    }
}
.photo-preview-circle:active { transform: scale(0.96); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .page { grid-template-columns: 1fr; }
    .info-side { display: none; }
    .form-side { padding: 40px 5% 60px; }
}

@media (max-width: 600px) {
    .form-side { padding: 20px 16px 60px; }
    .card-header { padding: 28px 24px 20px; }
    .stepper { padding: 20px 24px 0; }
    .stepper-track { left: 24px; right: 24px; top: 30px; }
    form { padding: 0 24px; }
    .card-footer { padding: 16px 24px 24px; }
    .success-state { padding: 40px 24px 36px; }
    h1 { font-size: 26px; }
    .field-row { grid-template-columns: 1fr; }
    .field-row.three-col { grid-template-columns: 1fr; }
    .step-label { display: none; }
    .niche-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ── LANGUAGE PILLS ── */
.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.lang-pill {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--bg-soft);
    border: 1.5px solid var(--border-mid);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 150ms ease;
}
.lang-pill:hover { border-color: var(--blue); color: var(--blue); }
.lang-pill--active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 600;
}
