@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{
  --bg:#0A1830; --surface:#122843; --surface-2:#1B3656;
  --ink:#F4F0E4; --ink-soft:#B7C2D6;
  --harbor:#061020; --harbor-ink:#F4F0E4; --harbor-ink-soft:#AAB6CC;
  --gold:#D8B36C; --gold-ink:#1B1404;
  --brass:#C9A24A;
  --success:#5FAE84; --warning:#D6A94B; --danger:#E2795F;
  --rule: rgba(216,179,108,0.20);
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 20px 40px rgba(0,0,0,.45);
  /* совместимость со старыми именами переменных, используемыми на /register.php и /dashboard.php */
  --terracotta: var(--gold);
  --terracotta-ink: var(--gold-ink);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif; -webkit-font-smoothing:antialiased;
}
[dir="rtl"] body{ font-family:'Vazirmatn','Manrope',system-ui,sans-serif; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3{ font-family:'Vazirmatn','Spectral',Georgia,serif; }
h1,h2,h3{ font-family:'Spectral',Georgia,serif; font-weight:600; text-wrap:balance; margin:0; }
.mono{ font-family:'IBM Plex Mono',ui-monospace,monospace; font-variant-numeric:tabular-nums; }
a{ color:inherit; }
.wrap{ max-width:1080px; margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
@media (max-width:640px){ section{ padding:56px 0; } }
/* header */
header.site{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:16px; text-decoration:none; letter-spacing:.01em; }
.brand svg{ display:block; flex:none; }
.navlinks{ display:flex; align-items:center; gap:28px; font-size:14px; }
.navlinks a.link{ text-decoration:none; color:var(--ink-soft); }
.navlinks a.link:hover{ color:var(--gold); }
.langs{ display:flex; gap:6px; font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-soft); }
.langs a{ padding:2px 6px; border:1px solid var(--rule); border-radius:5px; text-decoration:none; color:var(--ink-soft); }
.langs a:hover{ color:var(--ink); border-color:var(--gold); }
.langs .active{ color:var(--gold-ink); background:var(--gold); border-color:var(--gold); font-weight:700; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--gold); color:var(--gold-ink);
  font-weight:700; font-size:14px; padding:11px 20px; border-radius:9px;
  text-decoration:none; border:none; cursor:pointer;
  font-family:inherit;
}
.btn:hover{ filter:brightness(1.08); }
.btn.ghost{ background:transparent; color:var(--ink); border:1px solid var(--rule); }
.btn.ghost:hover{ border-color:var(--gold); color:var(--gold); }
.btn.small{ padding:8px 14px; font-size:13px; }
/* hero */
.hero{ padding:76px 0 40px; }
.eyebrow{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); font-weight:700; margin-bottom:20px; }
.hero h1{ font-size:clamp(34px,5.2vw,56px); line-height:1.05; max-width:820px; }
.hero h1 em{ font-style:normal; color:var(--gold); }
.hero .lede{ max-width:600px; font-size:18px; line-height:1.65; color:var(--ink-soft); margin:22px 0 34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
/* comparison */
.compare{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:40px; }
@media (max-width:720px){ .compare{ grid-template-columns:1fr; } }
.compare .col{ border-radius:14px; padding:26px 26px 10px; border:1px solid var(--rule); }
.compare .col.old{ background:var(--surface-2); opacity:.75; }
.compare .col.new{ background:var(--surface); box-shadow:var(--shadow); border-color:var(--rule); position:relative; }
.compare .col.new::before{
  content:"YAVUZ"; position:absolute; top:-11px; left:24px;
  background:var(--gold); color:var(--gold-ink);
  font-size:11px; font-weight:700; letter-spacing:.04em;
  padding:3px 10px; border-radius:100px;
}
[dir="rtl"] .compare .col.new::before{ left:auto; right:24px; }
.compare h3{ font-size:14px; font-family:'Manrope',sans-serif; font-weight:800; margin-bottom:16px; color:var(--ink-soft); }
.compare .col.new h3{ color:var(--ink); }
.compare ul{ list-style:none; margin:0; padding:0; }
.compare li{ display:flex; gap:10px; padding:10px 0 22px; font-size:14.5px; line-height:1.5; border-top:1px solid var(--rule); }
.compare li:first-child{ border-top:none; }
.compare .col.old li::before{ content:"—"; color:var(--ink-soft); flex:none; }
.compare .col.new li::before{ content:"✓"; color:var(--gold); font-weight:700; flex:none; }
/* section head */
.shead{ max-width:640px; margin-bottom:44px; }
.shead .eyebrow{ margin-bottom:14px; }
.shead h2{ font-size:clamp(26px,3.6vw,36px); margin-bottom:14px; }
.shead p{ color:var(--ink-soft); font-size:16px; line-height:1.6; }
/* demo widget */
.demo{ background:var(--surface); border:1px solid var(--rule); border-radius:18px; box-shadow:var(--shadow); overflow:hidden; }
.demo-tabs{ display:flex; border-bottom:1px solid var(--rule); background:var(--surface-2); }
.demo-tab{
  flex:1; text-align:center; padding:16px 12px; font-weight:700; font-size:14px;
  cursor:pointer; color:var(--ink-soft); border:none; background:transparent; font-family:inherit;
  border-bottom:2px solid transparent;
}
.demo-tab.active{ color:var(--gold); background:var(--surface); border-bottom-color:var(--gold); }
.demo-body{ padding:30px; }
.demo-panel{ display:none; }
.demo-panel.active{ display:block; }
.progress-track{ height:6px; background:var(--surface-2); border-radius:100px; overflow:hidden; margin-bottom:10px; }
.progress-fill{ height:100%; background:var(--gold); border-radius:100px; width:45%; transition:width .5s ease; }
.progress-steps{ display:flex; justify-content:space-between; font-size:12px; color:var(--ink-soft); margin-bottom:28px; font-family:'IBM Plex Mono',monospace; }
.progress-steps b{ color:var(--ink); }
.doc-row{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--rule); }
.doc-row:first-child{ border-top:none; }
.doc-name{ font-weight:600; font-size:14.5px; }
.doc-sub{ font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
.pill{ font-family:'IBM Plex Mono',monospace; font-size:11px; padding:4px 10px; border-radius:100px; white-space:nowrap; transition:all .3s ease; }
.pill.pending{ background:var(--surface-2); color:var(--ink-soft); }
.pill.wait{ background:color-mix(in srgb, var(--brass) 22%, transparent); color:var(--brass); }
.pill.ok{ background:color-mix(in srgb, var(--success) 20%, transparent); color:var(--success); }
.row-right{ display:flex; align-items:center; gap:10px; }
.month-strip{ display:flex; gap:8px; margin:26px 0 4px; flex-wrap:wrap; }
.month-chip{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; padding:6px 12px; border-radius:100px; border:1px solid var(--rule); color:var(--ink-soft); }
.month-chip.done{ color:var(--success); border-color:transparent; background:color-mix(in srgb, var(--success) 18%, transparent); }
.month-chip.current{ color:var(--gold); border-color:var(--gold); font-weight:700; }
/* services */
.services{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:820px){ .services{ grid-template-columns:1fr; } }
.svc{ background:var(--surface); border:1px solid var(--rule); border-radius:14px; padding:28px; }
.svc svg{ margin-bottom:18px; }
.svc h3{ font-size:19px; margin-bottom:10px; }
.svc p{ color:var(--ink-soft); font-size:14.5px; line-height:1.6; margin:0 0 16px; }
.svc a{ font-size:13.5px; font-weight:700; color:var(--gold); text-decoration:none; }
/* languages */
.lang-band{ background:var(--surface-2); border:1px solid var(--rule); border-radius:18px; padding:44px 40px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.lang-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.lang-pill{ background:var(--surface); border:1px solid var(--rule); font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:14px; padding:9px 16px; border-radius:10px; color:var(--gold); }
.lang-band p{ max-width:400px; margin:0; font-size:15.5px; line-height:1.6; color:var(--ink-soft); }
/* process */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.step{ padding-top:14px; border-top:2px solid var(--rule); }
.step .num{ font-family:'IBM Plex Mono',monospace; color:var(--gold); font-size:13px; margin-bottom:10px; display:block; }
.step h3{ font-size:16px; margin-bottom:8px; }
.step p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin:0; }
/* cta band */
.band{ background:var(--harbor); color:var(--harbor-ink); border:1px solid var(--rule); border-radius:20px; padding:56px 44px; text-align:center; }
.band h2{ color:var(--harbor-ink); margin-bottom:14px; font-size:clamp(24px,3.4vw,34px); }
.band p{ color:var(--harbor-ink-soft); max-width:480px; margin:0 auto 28px; font-size:15.5px; line-height:1.6; }
footer{ border-top:1px solid var(--rule); padding:44px 0; background:var(--harbor); }
.foot-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; }
.foot-row .brand{ color:var(--harbor-ink); }
.foot-contacts{ display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--harbor-ink-soft); text-align:right; }
.foot-contacts a{ color:var(--harbor-ink-soft); text-decoration:none; }
.foot-contacts a:hover{ color:var(--gold); }
[dir="rtl"] .foot-contacts{ text-align:left; }
@media (max-width:640px){ .foot-contacts{ text-align:left; } [dir="rtl"] .foot-contacts{ text-align:right; } }
