/* CV Builder — ictimai səhifələr (ana səhifə, məxfilik, şərtlər). Redaktor və kabinetlə eyni slate/indigo dizayn sistemi. */
:root, :root[data-theme="dark"] {
  --bg: #020617; --bg2: #0b1224; --card: #0f172a; --card-b: #1e293b; --line: #1e293b;
  --text: #cbd5e1; --strong: #ffffff; --muted: #94a3b8; --muted2: #64748b;
  --accent: #4f46e5; --accent-h: #6366f1; --accent-t: #a5b4fc; --accent-soft: rgba(79,70,229,.16);
  --ok: #34d399; --btn: rgba(30,41,59,.9); --btn-b: rgba(51,65,85,.8);
  --shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f8fafc; --bg2: #eef2ff; --card: #ffffff; --card-b: #e2e8f0; --line: #e2e8f0;
  --text: #334155; --strong: #0f172a; --muted: #64748b; --muted2: #94a3b8;
  --accent-t: #4338ca; --accent-soft: #e0e7ff; --ok: #047857; --btn: #f1f5f9; --btn-b: #cbd5e1;
  --shadow: 0 30px 60px -24px rgba(15,23,42,.25);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-t); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-h); outline-offset: 2px; }
.ico { display: inline-flex; width: 18px; height: 18px; flex: none; }
.ico svg { width: 100%; height: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* naviqasiya */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--strong); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 3px 8px rgba(37,99,235,.35)); }
.nav-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-r .lnk { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.nav-r .lnk:hover { color: var(--strong); background: var(--btn); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid var(--btn-b); background: var(--btn); color: var(--strong); cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px rgba(79,70,229,.6); }
.btn.pri:hover { background: var(--accent-h); }
.btn.lg { padding: 14px 22px; font-size: 15px; border-radius: 14px; }
.icon-btn { width: 40px; height: 40px; padding: 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 72px 80px; background: radial-gradient(900px 420px at 85% 0%, var(--accent-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-t); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { margin: 18px 0 16px; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.035em; color: var(--strong); text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 54ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--ok); }

/* hero illüstrasiyası: redaktor pəncərəsi */
.mock { position: relative; }
.win { background: var(--card); border: 1px solid var(--card-b); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.win-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.win-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--btn-b); }
.win-top span { margin-left: 10px; font-size: 11px; color: var(--muted2); font-weight: 600; }
.win-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; }
.w-form { padding: 16px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid var(--line); }
.w-lbl { height: 6px; width: 40%; border-radius: 4px; background: var(--btn-b); }
.w-in { height: 22px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg2); position: relative; overflow: hidden; }
.w-in.on { box-shadow: 0 0 0 2px var(--accent-h); }
.w-in b { position: absolute; left: 8px; top: 7px; height: 7px; border-radius: 4px; background: var(--muted2); }
.w-sheet { background: #e2e8f0; padding: 16px; }
.paper { background: #fff; border-radius: 3px; padding: 16px 16px 22px; box-shadow: 0 8px 18px rgba(15,23,42,.18); color: #0f172a; font-size: 7px; line-height: 1.5; min-height: 250px; }
.paper .nm { font-size: 13px; font-weight: 800; color: #1d4ed8; letter-spacing: -.01em; }
.paper .hd { font-size: 6.5px; font-weight: 700; letter-spacing: .06em; color: #1e293b; margin-top: 2px; }
.paper .ct { color: #64748b; margin-top: 4px; }
.paper .sh { margin: 10px 0 5px; font-size: 6.5px; font-weight: 700; letter-spacing: .06em; color: #1d4ed8; border-bottom: 1px solid #cbd5e1; padding-bottom: 2px; }
.paper .ln { height: 4px; border-radius: 3px; background: #e2e8f0; margin: 4px 0; }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-b); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--strong); }
.chip-float .ico { width: 16px; height: 16px; color: var(--ok); }
.chip-a { left: -18px; bottom: 26px; }
.chip-b { right: -10px; top: -16px; }
.chip-b .ico { color: var(--accent-t); }

/* bölmələr */
section.blk { padding-block: 76px; border-top: 1px solid var(--line); }
.sec-h { max-width: 640px; margin: 0 0 36px; }
.sec-h h2 { margin: 10px 0 10px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.025em; color: var(--strong); text-wrap: balance; }
.sec-h p { margin: 0; color: var(--muted); }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.f-card { background: var(--card); border: 1px solid var(--card-b); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.f-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-t); }
.f-ico .ico { width: 20px; height: 20px; }
.f-card h3 { margin: 4px 0 0; font-size: 17px; color: var(--strong); }
.f-card p { margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 22px 22px 22px 70px; border-radius: 18px; border: 1px solid var(--card-b); background: var(--card); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); }
.step h3 { margin: 0 0 6px; font-size: 16px; color: var(--strong); }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--card-b); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--strong); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-t); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.cta { text-align: center; padding: 48px 24px; border-radius: 24px; background: linear-gradient(135deg, #1e1b4b, #312e81 55%, #1d4ed8); color: #e0e7ff; }
.cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.cta p { margin: 0 0 22px; }
.cta .btn.pri { background: #fff; color: #1e1b4b; border-color: #fff; }

/* hüquqi səhifələr */
.legal { padding-block: 48px 72px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; color: var(--strong); margin: 0 0 6px; }
.legal .upd { color: var(--muted2); font-size: 13px; margin: 0 0 28px; }
.legal h2 { font-size: 19px; color: var(--strong); margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 16px; border: 1px solid var(--card-b); border-radius: 14px; background: var(--card); font-size: 13px; margin-bottom: 8px; }
.legal .toc a { text-decoration: none; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 26px; font-size: 13px; color: var(--muted2); }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--strong); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .mock { max-width: 560px; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-block: 40px 56px; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .nav-r .lnk.hide-sm { display: none; }
  .chip-a { left: 6px; bottom: -14px; }
  .chip-b { right: 6px; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .w-form { display: none; }
  section.blk { padding-block: 56px; }
}
