@font-face {
  font-family: "Vazirmatn";
  src: url("../resume_fonts/Vazirmatn-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0e1b2c;
  --surface-2: #13243a;
  --line: rgba(180, 207, 237, 0.14);
  --text: #f5f8fc;
  --muted: #a8b8cb;
  --brand: #6ee7d8;
  --brand-2: #65a8ff;
  --purple: #a78bfa;
  --danger: #fb7185;
  --success: #34d399;
  --warning: #fbbf24;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  direction: rtl;
  background:
    radial-gradient(circle at 85% -10%, rgba(101, 168, 255, 0.16), transparent 36rem),
    radial-gradient(circle at 4% 28%, rgba(110, 231, 216, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.site-header--sticky { position: sticky; top: 0; }

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand__mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(110, 231, 216, 0.36);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(110, 231, 216, 0.2), rgba(101, 168, 255, 0.14));
  color: var(--brand);
  font-size: 16px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.nav__links { display: flex; align-items: center; gap: 28px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); border-color: rgba(110, 231, 216, 0.35); }
.button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(101, 168, 255, 0.35); outline-offset: 2px; }
.button:disabled { cursor: wait; opacity: 0.58; transform: none; }
.button--primary { border-color: transparent; background: linear-gradient(135deg, var(--brand), #8cf2ca); color: #06201d; }
.button--primary:hover { border-color: transparent; box-shadow: 0 13px 34px rgba(110, 231, 216, 0.2); }
.button--secondary { background: linear-gradient(145deg, rgba(101, 168, 255, 0.18), rgba(167, 139, 250, 0.12)); }
.button--danger { color: #fecdd3; border-color: rgba(251, 113, 133, 0.25); }
.button--small { min-height: 38px; padding: 6px 13px; border-radius: 11px; font-size: 13px; }
.button--wide { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(110, 231, 216, 0.2);
  border-radius: 999px;
  background: rgba(110, 231, 216, 0.07);
  color: #a7f3e9;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(110, 231, 216, 0.1); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 72px;
  padding-block: 78px 90px;
}

.hero__copy h1 {
  max-width: 700px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.4vw, 75px);
  line-height: 1.18;
  letter-spacing: -2.4px;
}

.gradient-text { background: linear-gradient(100deg, var(--brand), #9fc6ff 55%, #c4b5fd); background-clip: text; color: transparent; }
.hero__copy > p { max-width: 630px; margin: 0; color: var(--muted); font-size: 18px; }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; gap: 20px; margin-top: 26px; color: var(--muted); font-size: 13px; }
.hero__note span::before { content: "✓"; margin-left: 7px; color: var(--brand); }

.resume-showcase { position: relative; min-height: 550px; display: grid; place-items: center; }
.resume-showcase::before { content: ""; position: absolute; inset: 12% 6%; border-radius: 50%; background: rgba(101, 168, 255, 0.17); filter: blur(75px); }

.resume-mock {
  position: relative;
  width: min(410px, 88vw);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  background: #f7fafc;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.46);
  transform: rotate(-2deg);
}

.mock-head { height: 23%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 7%; background: linear-gradient(120deg, #133a63, #1c6f83); }
.mock-name { width: 76%; height: 13px; border-radius: 9px; background: #fff; }
.mock-role { width: 54%; height: 7px; margin-top: 11px; border-radius: 9px; background: rgba(255,255,255,.53); }
.mock-photo { width: 64px; height: 64px; border: 4px solid rgba(255,255,255,.42); border-radius: 35% 50% 42% 55%; background: linear-gradient(145deg, #6ee7d8, #65a8ff); }
.mock-body { height: 77%; display: grid; grid-template-columns: 35% 1fr; color: #15314d; }
.mock-side { padding: 13%; background: #e9f1f6; }
.mock-main { padding: 8%; }
.mock-title { width: 62%; height: 8px; margin: 0 0 13px; border-radius: 9px; background: #276d83; }
.mock-line { height: 5px; margin: 0 0 7px; border-radius: 7px; background: #b8c8d5; }
.mock-line--short { width: 70%; }
.mock-block { margin-bottom: 22px; }
.mock-card { height: 52px; margin-bottom: 10px; border: 1px solid #d5e0e8; border-radius: 8px; background: #fff; box-shadow: 0 5px 12px rgba(18,53,76,.05); }

.floating-card { position: absolute; z-index: 2; padding: 13px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(14, 27, 44, 0.92); box-shadow: var(--shadow); backdrop-filter: blur(14px); font-size: 13px; font-weight: 700; }
.floating-card--top { top: 9%; left: 0; transform: rotate(3deg); }
.floating-card--bottom { right: 0; bottom: 11%; }
.floating-card strong { color: var(--brand); }

.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.proof-item { padding: 24px; text-align: center; }
.proof-item + .proof-item { border-right: 1px solid var(--line); }
.proof-item strong { display: block; color: var(--text); font-size: 27px; line-height: 1.3; }
.proof-item span { color: var(--muted); font-size: 13px; }

.section-block { padding-block: 95px; }
.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin: 14px 0 12px; font-size: clamp(31px, 4vw, 48px); line-height: 1.28; letter-spacing: -1px; }
.section-heading p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: rgba(110, 231, 216, .1); color: var(--brand); font-size: 22px; }
.feature-card h3 { margin: 22px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 28px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: "۰" counter(step); display: block; margin-bottom: 22px; color: var(--brand); font-size: 30px; font-weight: 900; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing-card { width: min(720px, 100%); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin: auto; padding: 38px; border: 1px solid rgba(110,231,216,.22); border-radius: 28px; background: linear-gradient(145deg, rgba(110,231,216,.09), rgba(101,168,255,.06)); box-shadow: var(--shadow); }
.pricing-card h3 { margin: 0 0 8px; font-size: 27px; }
.pricing-card p { margin: 0; color: var(--muted); }
.price { margin-bottom: 13px; text-align: center; }
.price del { display: block; color: #70849a; font-size: 14px; text-decoration-color: #fb7185; }
.price strong { display: block; font-size: 32px; line-height: 1.25; }
.price span { color: var(--muted); font-size: 12px; }
.pricing-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; }
.pricing-list li::before { content: "✓"; margin-left: 8px; color: var(--brand); }

.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-block: 80px; padding: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(120deg, #123457, #123944); }
.cta-panel h2 { margin: 0 0 7px; font-size: 31px; }
.cta-panel p { margin: 0; color: #bfd0df; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 20px; }
.footer-links a:hover { color: var(--text); }

.faq-grid { width: min(850px, 100%); display: grid; gap: 11px; margin: auto; }
.faq-grid details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.028); }
.faq-grid summary { padding: 17px 20px; color: var(--text); font-weight: 750; cursor: pointer; }
.faq-grid summary::marker { color: var(--brand); }
.faq-grid details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

.content-hero { padding-block: 75px 55px; text-align: center; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--brand); }
.content-hero h1 { max-width: 850px; margin: 13px auto 14px; font-size: clamp(37px, 5vw, 61px); line-height: 1.25; letter-spacing: -1.7px; }
.content-hero > p { max-width: 760px; margin: auto; color: var(--muted); font-size: 17px; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 28px; padding-bottom: 95px; }
.article-content { min-width: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.026); }
.article-content h2 { margin: 44px 0 12px; padding-top: 8px; font-size: 28px; line-height: 1.45; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 28px 0 8px; font-size: 20px; }
.article-content p, .article-content li { color: #becbda; }
.article-content ul, .article-content ol { padding-right: 22px; }
.article-content li + li { margin-top: 7px; }
.article-content strong { color: var(--text); }
.article-content a { color: #9fc6ff; text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--brand); }
.checklist { display: grid; gap: 9px; padding: 0 !important; list-style: none; }
.checklist li { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.022); }
.checklist li::before { content: "✓"; margin-left: 9px; color: var(--brand); font-weight: 900; }
.seo-cta { margin-top: 42px; padding: 26px; border: 1px solid rgba(110,231,216,.22); border-radius: 20px; background: linear-gradient(130deg, rgba(110,231,216,.09), rgba(101,168,255,.07)); }
.seo-cta h2 { margin: 0 0 6px; padding: 0; }
.seo-cta p { margin: 0 0 18px; }
.template-catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 22px; }
.template-item { min-height: 145px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.022); }
.template-item__head { display: flex; align-items: center; gap: 10px; }
.template-item__swatch { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.template-item:nth-child(3n+2) .template-item__swatch { background: linear-gradient(135deg, #fb7185, #fbbf24); }
.template-item:nth-child(3n) .template-item__swatch { background: linear-gradient(135deg, #a78bfa, #65a8ff); }
.template-item h3 { margin: 0; font-size: 17px; }
.template-item p { margin: 9px 0 0; font-size: 13px; }

.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(28px, 5vw, 78px); border-left: 1px solid var(--line); background: linear-gradient(150deg, #0e2846, #0a1b2d 58%, #0d2f33); }
.auth-art::after { content: ""; position: absolute; width: 420px; height: 420px; left: -120px; bottom: -100px; border: 1px solid rgba(110,231,216,.18); border-radius: 42% 58% 63% 37%; box-shadow: 0 0 0 42px rgba(110,231,216,.025), 0 0 0 92px rgba(101,168,255,.018); }
.auth-art__copy { position: relative; z-index: 1; max-width: 580px; margin-block: auto; }
.auth-art h1 { margin: 20px 0 14px; font-size: clamp(38px, 5vw, 68px); line-height: 1.2; letter-spacing: -2px; }
.auth-art p { color: #bdcad8; font-size: 17px; }
.auth-quote { position: relative; z-index: 1; max-width: 480px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); color: #cbd7e2; font-size: 14px; }
.auth-panel { display: grid; place-items: center; padding: 34px; }
.auth-card { width: min(430px, 100%); }
.auth-card h2 { margin: 24px 0 5px; font-size: 31px; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.auth-tab { padding: 9px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.auth-tab.is-active { background: var(--surface-2); color: var(--text); font-weight: 750; }

.form { display: grid; gap: 17px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { color: #cfdae6; font-size: 13px; font-weight: 700; }
.input { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); color: var(--text); }
.input::placeholder { color: #62778e; }
.form-message { min-height: 26px; margin: 0; color: #fda4af; font-size: 13px; }
.form-hint { margin: -7px 0 0; color: var(--muted); font-size: 12px; }

.dashboard-body { background-color: #081321; }
.dashboard { padding-block: 50px 90px; }
.dashboard-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.dashboard-hero h1 { margin: 0 0 4px; font-size: 38px; }
.dashboard-hero p { margin: 0; color: var(--muted); }
.account-chip { max-width: 230px; overflow: hidden; padding: 7px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.create-box { display: flex; gap: 10px; width: min(540px, 100%); padding: 8px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.035); }
.create-box .input { min-height: 44px; border: 0; background: transparent; }
.create-box--actions { width: auto; }
.create-box--actions .button { white-space: nowrap; }
.notice { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 14px 18px; border: 1px solid rgba(52,211,153,.26); border-radius: 14px; background: rgba(52,211,153,.07); color: #bbf7d0; font-size: 14px; }
.notice.is-visible { display: flex; }
.dashboard-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 22px; }
.summary-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.028); }
.summary-card strong { display: block; font-size: 26px; }
.summary-card span { color: var(--muted); font-size: 12px; }
.resume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resume-card { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.resume-card__preview { position: relative; height: 155px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 70% 10%, rgba(110,231,216,.13), transparent 50%), #0d1d30; }
.resume-card__page { width: 83px; height: 116px; padding: 8px; border-radius: 5px; background: #f7f9fb; box-shadow: 0 13px 35px rgba(0,0,0,.34); transform: rotate(3deg); }
.mini-head { height: 25%; margin: -8px -8px 7px; border-radius: 5px 5px 0 0; background: linear-gradient(120deg, #19466e, #257488); }
.mini-line { height: 3px; margin: 5px 0; border-radius: 4px; background: #c4d0d9; }
.mini-line:nth-child(3n) { width: 68%; }
.status-badge { position: absolute; top: 13px; right: 13px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7,17,31,.74); color: #c8d5e2; font-size: 11px; }
.status-badge--live { border-color: rgba(52,211,153,.28); color: #86efac; }
.resume-card__body { padding: 20px; }
.resume-card__body h2 { overflow: hidden; margin: 0 0 4px; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.resume-card__meta { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.resume-card__actions { display: flex; flex-wrap: wrap; gap: 7px; }
.resume-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.paid-label { color: #86efac; font-size: 12px; }
.unpaid-label { color: #fde68a; font-size: 12px; }
.link-button { padding: 0; border: 0; background: transparent; color: #9fc6ff; font-size: 12px; }
.link-button:hover { color: white; }
.empty-state { grid-column: 1 / -1; padding: 74px 30px; border: 1px dashed rgba(180,207,237,.2); border-radius: 22px; color: var(--muted); text-align: center; }
.empty-state__icon { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 16px; border-radius: 20px; background: rgba(110,231,216,.08); color: var(--brand); font-size: 28px; }
.empty-state h2 { margin: 0; color: var(--text); }
.empty-state p { margin: 5px 0 0; }

.wizard-dialog {
  width: min(900px, calc(100% - 30px));
  max-height: min(900px, calc(100vh - 30px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(180,207,237,.2);
  border-radius: 28px;
  background: #0b1828;
  color: var(--text);
  box-shadow: 0 36px 120px rgba(0,0,0,.6);
}
.wizard-dialog::backdrop { background: rgba(2,8,18,.78); backdrop-filter: blur(10px); }
.wizard { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; max-height: min(900px, calc(100vh - 30px)); }
.wizard__header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 25px 30px 18px; background: radial-gradient(circle at 8% 0, rgba(110,231,216,.14), transparent 45%), linear-gradient(120deg, rgba(101,168,255,.08), transparent); }
.wizard__header h2 { margin: 6px 0 2px; font-size: 25px; letter-spacing: -.5px; }
.wizard__header p { margin: 0; color: var(--muted); font-size: 13px; }
.wizard__eyebrow { color: #a7f3e9; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.wizard__close { width: 38px; height: 38px; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); color: #cbd7e2; font-size: 25px; line-height: 1; }
.wizard__close:hover { border-color: rgba(251,113,133,.35); color: #fecdd3; }
.wizard-progress { padding: 0 30px 19px; border-bottom: 1px solid var(--line); }
.wizard-progress__track { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.wizard-progress__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); box-shadow: 0 0 18px rgba(110,231,216,.45); transition: width .28s ease; }
.wizard-progress ol { display: grid; grid-template-columns: repeat(5, 1fr); margin: 13px 0 0; padding: 0; list-style: none; }
.wizard-progress li { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; color: #6f8499; font-size: 11px; transition: color .2s ease; }
.wizard-progress li span { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(180,207,237,.15); border-radius: 50%; background: #0e1d2e; font-size: 10px; }
.wizard-progress li.is-current, .wizard-progress li.is-complete { color: #dce9f5; }
.wizard-progress li.is-current span { border-color: rgba(110,231,216,.58); background: rgba(110,231,216,.13); color: var(--brand); box-shadow: 0 0 0 5px rgba(110,231,216,.055); }
.wizard-progress li.is-complete span { border-color: transparent; background: var(--brand); color: #06201d; }
.wizard__body { min-height: 0; overflow: auto; padding: 26px 30px 30px; scrollbar-color: rgba(110,231,216,.28) transparent; }
.wizard-step { animation: wizard-enter .25s ease both; }
.wizard-step[hidden] { display: none; }
@keyframes wizard-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.wizard-step__intro { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
.wizard-step__intro h3 { margin: 0 0 3px; font-size: 20px; }
.wizard-step__intro p { margin: 0; color: var(--muted); font-size: 13px; }
.wizard-step__number { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(101,168,255,.25); border-radius: 14px; background: linear-gradient(145deg, rgba(101,168,255,.17), rgba(167,139,250,.08)); color: #b9d6ff; font-size: 16px; font-weight: 900; }
.wizard-step__number--done { border-color: rgba(110,231,216,.3); background: rgba(110,231,216,.12); color: var(--brand); }
.wizard-fields { display: grid; gap: 17px; }
.wizard-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wizard-fields .field { min-width: 0; }
.wizard-fields .field--wide { grid-column: 1 / -1; }
.wizard-fields .field > span, .wizard-title-field > span { color: #d7e2ed; font-size: 12px; font-weight: 750; }
.wizard-fields .field > span b { color: #fda4af; }
.wizard-fields .field > small { color: #71869b; font-size: 10px; }
.wizard-fields .input, .wizard-title-field .input { min-height: 47px; background: rgba(255,255,255,.032); }
.input--textarea { min-height: 100px !important; resize: vertical; line-height: 1.8; }
.wizard-fields .input:focus, .wizard-title-field .input:focus { border-color: rgba(110,231,216,.42); background: rgba(255,255,255,.05); }
.wizard-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.wizard-review__item { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.wizard-review__item--wide { grid-column: 1 / -1; }
.wizard-review__item span { display: block; margin-bottom: 3px; color: #7890a6; font-size: 10px; }
.wizard-review__item strong { display: block; overflow: hidden; color: #edf5fc; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.wizard-review__item--wide strong { white-space: normal; }
.wizard-title-field { margin-top: 4px; }
.wizard-privacy { display: flex; align-items: flex-start; gap: 11px; margin-top: 17px; padding: 13px 15px; border: 1px solid rgba(110,231,216,.18); border-radius: 14px; background: rgba(110,231,216,.055); color: #b9d9d5; }
.wizard-privacy > span { color: var(--brand); font-size: 20px; }
.wizard-privacy p { margin: 0; font-size: 11px; }
.wizard-privacy strong { color: #d9fffa; }
.wizard__footer { display: flex; align-items: center; gap: 10px; padding: 16px 30px; border-top: 1px solid var(--line); background: rgba(6,15,27,.72); }
.wizard__footer .button { min-height: 42px; }
.wizard__counter { flex: 1; color: #71869b; font-size: 11px; text-align: center; }

.payment-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.payment-card { width: min(480px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); }
.payment-card__head { padding: 27px; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, rgba(101,168,255,.13), rgba(110,231,216,.08)); }
.payment-card__head h1 { margin: 12px 0 4px; font-size: 26px; }
.payment-card__head p { margin: 0; color: var(--muted); font-size: 13px; }
.demo-badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: rgba(251,191,36,.11); color: #fde68a; font-size: 11px; }
.payment-card__body { padding: 27px; }
.payment-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 13px; border-bottom: 1px solid var(--line); color: var(--muted); }
.payment-row strong { color: var(--text); }
.payment-actions { display: grid; gap: 10px; margin-top: 25px; }
.secure-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(400px, calc(100% - 48px)); padding: 13px 17px; border: 1px solid var(--line); border-radius: 13px; background: #14263a; box-shadow: var(--shadow); color: white; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-error { border-color: rgba(251,113,133,.35); }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; }
.not-found h1 { margin: 0; color: var(--brand); font-size: 90px; line-height: 1; }
.not-found h2 { margin: 15px 0 5px; }
.not-found p { margin: 0 0 25px; color: var(--muted); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 55px; text-align: center; }
  .hero__copy > p { margin-inline: auto; }
  .hero__actions, .hero__note { justify-content: center; }
  .resume-showcase { min-height: 500px; }
  .feature-grid, .resume-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 26px, 1160px); }
  .nav { min-height: 67px; }
  .brand__text { display: none; }
  .hero { min-height: auto; padding-bottom: 55px; }
  .hero__copy h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero__copy > p { font-size: 15px; }
  .hero__actions { flex-direction: column; }
  .hero__note { flex-direction: column; gap: 4px; }
  .floating-card--top { left: 1%; }
  .floating-card--bottom { right: 1%; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-top: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-grid, .steps, .resume-grid, .dashboard-summary { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr; text-align: center; }
  .pricing-list { grid-template-columns: 1fr; text-align: right; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 30px; }
  .site-footer .container, .dashboard-hero { align-items: stretch; flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 10px 16px; }
  .article-shell { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .template-catalog { grid-template-columns: 1fr; }
  .dashboard { padding-top: 32px; }
  .dashboard-hero h1 { font-size: 31px; }
  .create-box { flex-direction: column; }
  .create-box--actions { width: 100%; }
  .wizard-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); border-radius: 22px; }
  .wizard { max-height: calc(100vh - 16px); }
  .wizard__header { padding: 20px 20px 15px; }
  .wizard__header h2 { font-size: 20px; }
  .wizard__header p { display: none; }
  .wizard-progress { padding-inline: 20px; }
  .wizard-progress li { gap: 0; }
  .wizard-progress li small { display: none; }
  .wizard__body { padding: 21px 20px 24px; }
  .wizard-fields--two, .wizard-review { grid-template-columns: 1fr; }
  .wizard-fields .field--wide, .wizard-review__item--wide { grid-column: auto; }
  .wizard-step__intro h3 { font-size: 18px; }
  .wizard__footer { padding: 13px 20px; }
  .wizard__footer .button { padding-inline: 13px; font-size: 12px; }
  .wizard__counter { display: none; }
  .auth-panel { padding: 24px; }
  .nav__actions .button:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
