/* ==========================================================================
   VoiceEdu.uz — inklyuziv ta'lim platformasi
   Landing page uslublari
   ========================================================================== */

:root{
  --brand:#4f46e5;
  --brand-600:#4338ca;
  --brand-700:#3730a3;
  --brand-soft:#eef2ff;
  --accent:#f97362;
  --accent-soft:#fff1ee;
  --mint:#10b981;
  --mint-soft:#e7f8f1;
  --amber:#f59e0b;

  --ink:#0f172a;
  --ink-2:#334155;
  --muted:#64748b;
  --line:#e6e9f2;
  --bg:#ffffff;
  --bg-soft:#f7f8fc;

  --radius:18px;
  --radius-lg:26px;
  --shadow-sm:0 2px 8px rgba(15,23,42,.05);
  --shadow:0 12px 34px rgba(15,23,42,.08);
  --shadow-lg:0 28px 70px rgba(49,46,129,.16);

  /* rem-da: shrift kattalashganda konteyner ham kengayadi */
  --container:73.75rem;
  --font:'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fs:100%;
}

/* Yuqori kontrast rejimi */
body.contrast{
  --brand:#0000c8;
  --brand-600:#0000a8;
  --brand-soft:#e8e8ff;
  --accent:#b30000;
  --ink:#000000;
  --ink-2:#000000;
  --muted:#1a1a1a;
  --line:#000000;
  --bg:#ffffff;
  --bg-soft:#ffffff;
  --shadow:none; --shadow-sm:none; --shadow-lg:none;
}
body.contrast .feat-card,
body.contrast .prob-card,
body.contrast .who-card,
body.contrast .subj,
body.contrast .step,
body.contrast .cmd-row{ border-width:2px; }

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

/*  hidden atributi har doim ishlasin: .btn yoki .admin-pager kabi klasslardagi
    display qoidasi uni bekor qilib yubormasin.  */
[hidden]{ display:none !important; }

html{
  font-size:var(--fs);
  scroll-behavior:smooth;
  scroll-padding-top:7rem;
  transition:font-size .22s ease;
}

body{
  margin:0;
  font-family:var(--font);
  font-size:1.0625rem;
  line-height:1.7;
  color:var(--ink-2);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  color:var(--ink); line-height:1.2; margin:0 0 .6em; font-weight:800; letter-spacing:-.02em;
  overflow-wrap:break-word; text-wrap:balance;
}
h1{ font-size:clamp(2.1rem,4.6vw,3.5rem); }
h2{ font-size:clamp(1.65rem,3vw,2.5rem); }
h3{ font-size:1.22rem; font-weight:700; }
p{ margin:0 0 1rem; overflow-wrap:break-word; text-wrap:pretty; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
img,svg{ display:block; max-width:100%; }
q{ quotes:'«' '»'; font-style:normal; color:var(--brand); font-weight:600; }
b,strong{ color:var(--ink); font-weight:700; }

:focus-visible{ outline:3px solid var(--brand); outline-offset:3px; border-radius:6px; }

.container{ width:min(100% - 2.5rem, var(--container)); margin-inline:auto; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--brand); color:#fff; padding:.8rem 1.2rem; border-radius:0 0 12px 0; font-weight:700;
}
.skip-link:focus{ left:0; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.72rem 1.35rem; border-radius:999px; border:1.5px solid transparent;
  font:inherit; font-weight:700; font-size:.97rem; cursor:pointer;
  transition:transform .2s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space:nowrap;
}
.btn svg{ width:1.1em; height:1.1em; }
.btn-lg{ padding:.95rem 1.8rem; font-size:1.03rem; }

.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 10px 24px rgba(79,70,229,.28); }
.btn-primary:hover{ background:var(--brand-600); transform:translateY(-2px); box-shadow:0 16px 34px rgba(79,70,229,.34); }

.btn-outline{ border-color:var(--line); color:var(--ink); background:#fff; }
.btn-outline:hover{ border-color:var(--brand); color:var(--brand); transform:translateY(-2px); }

.btn-ghost{ color:var(--ink); }
.btn-ghost:hover{ color:var(--brand); }

.btn-light{ background:#fff; color:var(--brand-700); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.18); }

.btn-outline-light{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn-outline-light:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }

/* ============ A11Y BAR ============ */
.a11y-bar{ background:var(--ink); color:#cbd5e1; font-size:.85rem; }
.a11y-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:44px; flex-wrap:wrap; }
.a11y-label{ display:inline-flex; align-items:center; gap:.5rem; font-weight:600; }
.a11y-label svg{ width:17px; height:17px; color:var(--accent); }
.a11y-actions{ display:flex; gap:.4rem; align-items:center; }
.a11y-btn{
  background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.16);
  border-radius:999px; padding:.2rem .7rem; font:inherit; font-weight:700; font-size:.82rem; cursor:pointer;
  transition:background .2s, border-color .2s;
}
.a11y-btn:hover{ background:rgba(255,255,255,.2); }
.a11y-btn:disabled{ opacity:.35; cursor:not-allowed; }
.a11y-btn[data-font="reset"]{ min-width:3.2rem; }
.a11y-btn--wide{ display:inline-flex; align-items:center; gap:.4rem; }
.a11y-btn--wide svg{ width:14px; height:14px; }
.a11y-btn[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:#fff; }

/* ============ HEADER ============ */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.88); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:border-color .3s, box-shadow .3s;
}
.header.scrolled{ border-bottom-color:var(--line); box-shadow:var(--shadow-sm); }
.header-inner{ display:flex; align-items:center; gap:1rem 1.4rem; min-height:4.6rem; flex-wrap:wrap; padding:.45rem 0; }

.logo{ display:inline-flex; align-items:center; gap:.6rem; font-weight:700; font-size:1.2rem; color:var(--ink); }
.logo-mark{
  width:40px; height:40px; border-radius:13px; display:grid; place-items:center;
  background:linear-gradient(140deg,var(--brand),#7c6cf5); color:#fff;
  box-shadow:0 8px 18px rgba(79,70,229,.32);
}
.logo-mark svg{ width:21px; height:21px; }
.logo-text strong{ color:var(--brand); font-weight:800; }
.logo-tld{ color:var(--muted); font-weight:600; font-size:.82em; margin-left:1px; }
.logo--light,.logo--light .logo-text strong{ color:#fff; }
.logo--light .logo-tld{ color:#93a1b8; }

.nav{ display:flex; flex-wrap:wrap; gap:.4rem 1.35rem; margin-left:auto; font-size:.97rem; font-weight:600; }
.nav a{ color:var(--ink-2); position:relative; padding:.3rem 0; }
.nav a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--brand); border-radius:2px; transition:width .25s;
}
.nav a:hover{ color:var(--brand); }
.nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:.7rem; margin-left:1rem; }

.burger{ display:none; width:44px; height:44px; border:1px solid var(--line); background:#fff; border-radius:12px; cursor:pointer; padding:0; margin-left:auto; }
.burger span{ display:block; width:20px; height:2px; background:var(--ink); margin:4px auto; border-radius:2px; transition:.25s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{ position:relative; padding:clamp(2rem,4vw,3.2rem) 0 clamp(2.2rem,4vw,3.4rem); overflow:hidden; }
.hero-bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(760px 420px at 12% 0%, #eef0ff 0%, transparent 60%),
    radial-gradient(620px 420px at 92% 18%, #fff0ec 0%, transparent 62%),
    linear-gradient(180deg,#fdfdff 0%, #ffffff 100%);
}
.hero-inner{ display:grid; grid-template-columns:repeat(auto-fit,minmax(27rem,1fr)); gap:clamp(2rem,4vw,3.5rem); align-items:center; }

.badge{
  display:inline-flex; align-items:center; gap:.55rem;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm);
  padding:.42rem 1rem; border-radius:999px; font-size:.85rem; font-weight:700; color:var(--ink-2);
  margin-bottom:1.3rem;
}
.badge-dot{ width:8px; height:8px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(16,185,129,.18); animation:pulse 2s infinite; }
@keyframes pulse{ 50%{ box-shadow:0 0 0 8px rgba(16,185,129,0); } }

.grad{ background:linear-gradient(120deg,var(--brand) 0%, #7c6cf5 45%, var(--accent) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }

.lead{ font-size:1.09rem; color:var(--ink-2); max-width:36em; }

.hero-btns{ display:flex; flex-wrap:wrap; gap:.8rem; margin:1.8rem 0 1.5rem; }

.hero-points{ display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; font-size:.93rem; font-weight:600; color:var(--ink-2); }
.hero-points li{ display:inline-flex; align-items:center; gap:.45rem; }
.hero-points svg{ width:17px; height:17px; color:var(--mint); }

/* Demo card */
.hero-demo{ position:relative; }
.demo-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); overflow:hidden;
}
.demo-top{
  display:flex; align-items:center; gap:.7rem; padding:.85rem 1.1rem;
  border-bottom:1px solid var(--line); background:var(--bg-soft);
}
.demo-dots{ display:flex; gap:.3rem; }
.demo-dots i{ width:9px; height:9px; border-radius:50%; background:#dfe3ee; }
.demo-dots i:first-child{ background:#ff6058; }
.demo-dots i:nth-child(2){ background:#ffbd2e; }
.demo-dots i:last-child{ background:#28ca41; }
.demo-title{ font-size:.85rem; font-weight:700; color:var(--muted); }
.demo-live{
  margin-left:auto; font-size:.74rem; font-weight:800; letter-spacing:.02em;
  color:var(--mint); background:var(--mint-soft); padding:.2rem .6rem; border-radius:999px;
}
.demo-live.speaking{ color:var(--brand); background:var(--brand-soft); }

.demo-body{ padding:1.4rem 1.3rem 1.5rem; }

.demo-mic{ position:relative; width:74px; height:74px; margin:.2rem auto 1.1rem; display:grid; place-items:center; }
.mic-btn{
  width:58px; height:58px; border-radius:50%; display:grid; place-items:center; position:relative; z-index:2;
  background:linear-gradient(140deg,var(--brand),#7c6cf5); color:#fff; box-shadow:0 10px 24px rgba(79,70,229,.35);
}
.mic-btn svg{ width:25px; height:25px; }
.wave{ position:absolute; inset:0; border-radius:50%; border:2px solid rgba(79,70,229,.35); animation:ring 2.4s ease-out infinite; }
.wave-2{ animation-delay:1.2s; }
@keyframes ring{ 0%{ transform:scale(.7); opacity:.9; } 100%{ transform:scale(1.5); opacity:0; } }

.demo-heard{
  text-align:center; font-weight:700; color:var(--ink); font-size:1.02rem;
  min-height:2.6em; margin-bottom:1rem;
}
.demo-heard-label{ color:var(--muted); font-weight:600; font-size:.85rem; display:block; }
.caret{ display:inline-block; width:2px; height:1em; background:var(--brand); margin-left:2px; vertical-align:-2px; animation:blink 1s steps(2) infinite; }
@keyframes blink{ 50%{ opacity:0; } }

.demo-question{ border:1px solid var(--line); border-radius:16px; padding:1rem; background:var(--bg-soft); transition:opacity .4s, transform .4s; }
.demo-question.enter{ animation:slideIn .45s ease; }
@keyframes slideIn{ from{ opacity:0; transform:translateY(10px); } }
.demo-q-num{ font-size:.75rem; font-weight:800; color:var(--brand); background:var(--brand-soft); padding:.15rem .55rem; border-radius:999px; }
.demo-q-text{ font-weight:700; color:var(--ink); margin:.6rem 0 .8rem; font-size:1rem; line-height:1.45; }

.demo-options{ display:grid; grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr)); gap:.5rem; }
.demo-options li{
  display:flex; align-items:center; gap:.55rem; background:#fff; border:1.5px solid var(--line);
  border-radius:11px; padding:.5rem .7rem; font-weight:700; color:var(--ink-2); font-size:.93rem;
  transition:border-color .25s, background .25s, color .25s, transform .25s;
}
.demo-options li span{
  width:23px; height:23px; border-radius:7px; background:var(--bg-soft); color:var(--muted);
  display:grid; place-items:center; font-size:.78rem; font-weight:800; transition:.25s;
}
.demo-options li.reading{ border-color:#c7cbf7; background:#fbfbff; }
.demo-options li.picked{ border-color:var(--mint); background:var(--mint-soft); color:#065f46; transform:translateY(-2px); }
.demo-options li.picked span{ background:var(--mint); color:#fff; }

.demo-status{
  display:flex; align-items:center; gap:.5rem; margin-top:1rem; padding:.6rem .85rem;
  background:var(--brand-soft); border-radius:12px; font-size:.88rem; font-weight:700; color:var(--brand-700);
}
.demo-status svg{ width:16px; height:16px; flex:none; }
.demo-status.ok{ background:var(--mint-soft); color:#065f46; }

.demo-float{
  position:absolute; display:flex; align-items:center; gap:.6rem;
  background:#fff; border:1px solid var(--line); border-radius:15px; padding:.6rem .85rem;
  box-shadow:var(--shadow); font-size:.8rem;
}
.demo-float svg{ width:19px; height:19px; flex:none; }
.demo-float div{ display:flex; flex-direction:column; line-height:1.3; }
.demo-float b{ font-size:.85rem; }
.demo-float span{ color:var(--muted); }
.demo-float-1{ top:16%; left:-42px; color:var(--brand); animation:float 5s ease-in-out infinite; }
.demo-float-2{ bottom:12%; right:-34px; color:var(--mint); animation:float 5s ease-in-out infinite 1.6s; }
@keyframes float{ 50%{ transform:translateY(-12px); } }

/* ============ STATS ============ */
.stats{ background:var(--ink); color:#fff; padding:1.7rem 0; }
.stats-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); gap:1.2rem 1rem; text-align:center; }
.stat b{ display:block; font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800; color:#fff; letter-spacing:-.02em; }
.stat span{ font-size:.9rem; color:#a9b4c8; font-weight:600; }

/* ============ SECTIONS ============ */
.section{ padding:clamp(1.8rem,3vw,2.6rem) 0; }
.sec-head{ max-width:44rem; margin:0 auto clamp(1.2rem,2vw,1.7rem); text-align:center; }
.sec-head h2{ margin-bottom:.45em; }
.sec-head p{ margin-bottom:0; }
.sec-head p{ color:var(--muted); font-size:1.03rem; }
.eyebrow{
  display:inline-block; font-size:.78rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brand); background:var(--brand-soft); padding:.3rem .85rem; border-radius:999px; margin-bottom:1rem;
}

/* Muammo */
.problem{ background:var(--bg-soft); }
.problem-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(17rem,1fr)); gap:1.2rem; }
.prob-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem 1.5rem; box-shadow:var(--shadow-sm); }
.prob-card--accent{ border-color:#c7cbf7; box-shadow:var(--shadow); }
.prob-card p{ color:var(--muted); font-size:.97rem; margin:0; }
.prob-icon{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; margin-bottom:1rem; }
.prob-icon svg{ width:24px; height:24px; }
.prob-icon--red{ background:var(--accent-soft); color:var(--accent); }
.prob-icon--green{ background:var(--mint-soft); color:var(--mint); }
.prob-icon--blue{ background:var(--brand-soft); color:var(--brand); }

/* Imkoniyatlar */
.feat-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(17rem,1fr)); gap:1.2rem; }
.feat-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem 1.6rem;
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.feat-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:#c7cbf7; }
.feat-card p{ color:var(--muted); font-size:.96rem; margin:0; }
.feat-icon{
  width:52px; height:52px; border-radius:15px; display:grid; place-items:center; margin-bottom:1.1rem;
  background:linear-gradient(140deg,var(--brand-soft),#fff); color:var(--brand); border:1px solid #e0e3fb;
}
.feat-icon svg{ width:25px; height:25px; }
.feat-card:nth-child(2) .feat-icon{ background:linear-gradient(140deg,var(--accent-soft),#fff); color:var(--accent); border-color:#fbdcd5; }
.feat-card:nth-child(5) .feat-icon{ background:linear-gradient(140deg,var(--mint-soft),#fff); color:var(--mint); border-color:#cdeee1; }

/* Qadamlar */
.steps-sec{ background:var(--bg-soft); }
.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(14.5rem,1fr)); gap:1.1rem; counter-reset:step; }
.step{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem 1.4rem; }
.step p{ color:var(--muted); font-size:.94rem; margin:0; }
.step-num{
  position:absolute; top:1.2rem; right:1.2rem; font-size:1.7rem; font-weight:800;
  color:#eceefb; letter-spacing:-.03em;
}
.step-icon{ width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:var(--brand); color:#fff; margin-bottom:1rem; box-shadow:0 8px 18px rgba(79,70,229,.25); }
.step-icon svg{ width:22px; height:22px; }
.step:nth-child(2) .step-icon{ background:#7c6cf5; }
.step:nth-child(3) .step-icon{ background:var(--mint); box-shadow:0 8px 18px rgba(16,185,129,.25); }
.step:nth-child(4) .step-icon{ background:var(--amber); box-shadow:0 8px 18px rgba(245,158,11,.25); }

/* Fanlar */
.subj-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(12.5rem,1fr)); gap:1rem; }
.subj{
  display:flex; flex-direction:column; gap:.2rem; padding:1.3rem 1.2rem;
  border:1px solid var(--line); border-radius:var(--radius); background:#fff;
  transition:transform .28s, box-shadow .28s, border-color .28s;
}
.subj:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:#c7cbf7; }
.subj b{ font-size:1.02rem; }
.subj-n{ font-size:.85rem; color:var(--muted); font-weight:600; }
.subj-ico{ width:46px; height:46px; border-radius:14px; display:grid; place-items:center; margin-bottom:.7rem; }
.subj-ico svg{ width:23px; height:23px; }
.s-math{ background:#eef2ff; color:#4f46e5; }
.s-lang{ background:#fff1ee; color:#f97362; }
.s-lit{ background:#fdf2fa; color:#db2777; }
.s-eng{ background:#e6f6ff; color:#0284c7; }
.s-phys{ background:#eef9ff; color:#0369a1; }
.s-chem{ background:#ecfdf5; color:#059669; }
.s-bio{ background:#e7f8f1; color:#10b981; }
.s-hist{ background:#fef6e7; color:#d97706; }
.s-geo{ background:#f0fdf4; color:#16a34a; }
.s-inf{ background:#f1f0ff; color:#6d28d9; }
.s-nat{ background:#fffbeb; color:#f59e0b; }
.s-law{ background:#f1f5f9; color:#475569; }

/* Buyruqlar */
.cmd-sec{ background:var(--bg-soft); }
.cmd-wrap{ display:grid; grid-template-columns:repeat(auto-fit,minmax(20rem,1fr)); gap:clamp(1.6rem,3vw,3rem); align-items:center; }
.cmd-copy p{ color:var(--muted); }
.cmd-copy .btn{ margin-top:.8rem; }
.cmd-list{ display:grid; gap:.6rem; }
.cmd-row{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--brand);
  border-radius:14px; padding:.85rem 1.1rem; transition:transform .25s, box-shadow .25s;
}
.cmd-row:hover{ transform:translateX(5px); box-shadow:var(--shadow-sm); }
.cmd-row:nth-child(even){ border-left-color:var(--accent); }
.cmd-q{ font-weight:800; color:var(--ink); font-size:.97rem; }
.cmd-a{ font-size:.89rem; color:var(--muted); font-weight:600; }

/* Kimlar uchun */
.who-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(17rem,1fr)); gap:1.2rem; }
.who-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem 1.6rem; transition:transform .3s, box-shadow .3s; }
.who-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.who-ico{ width:52px; height:52px; border-radius:15px; display:grid; place-items:center; margin-bottom:1.1rem; background:var(--ink); color:#fff; }
.who-ico svg{ width:25px; height:25px; }
.who-card:nth-child(2) .who-ico{ background:var(--brand); }
.who-card:nth-child(3) .who-ico{ background:var(--accent); }
.who-card ul{ display:grid; gap:.55rem; }
.who-card li{ position:relative; padding-left:1.6rem; font-size:.95rem; color:var(--muted); }
.who-card li::before{
  content:''; position:absolute; left:0; top:.55em; width:9px; height:9px; border-radius:50%;
  background:var(--brand-soft); border:2px solid var(--brand);
}

/* CTA */
.cta{
  background:linear-gradient(135deg,var(--brand-700) 0%, var(--brand) 50%, #7c6cf5 100%);
  color:#fff; padding:clamp(2.6rem,4.5vw,3.8rem) 0; text-align:center; position:relative; overflow:hidden;
}
.cta::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(520px 320px at 85% 10%, rgba(249,115,98,.35), transparent 65%);
}
.cta-inner{ position:relative; max-width:42rem; }
.cta h2{ color:#fff; }
.cta p{ color:#dcdcfb; font-size:1.05rem; }
.cta-ico{ width:62px; height:62px; border-radius:20px; display:grid; place-items:center; margin:0 auto 1.3rem; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); }
.cta-ico svg{ width:30px; height:30px; }
.cta-btns{ display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-top:1.8rem; }

/* Footer */
.footer{ background:var(--ink); color:#93a1b8; padding:3.4rem 0 1.6rem; font-size:.94rem; }
.footer-top{ display:grid; grid-template-columns:repeat(auto-fit,minmax(13rem,1fr)); gap:2rem; padding-bottom:2.4rem; }
.footer-brand p{ margin-top:1rem; max-width:24rem; }
.footer-col h4{ color:#fff; font-size:.98rem; margin-bottom:1rem; }
.footer-col{ display:flex; flex-direction:column; gap:.55rem; align-items:flex-start; }
/* Uzun email tor ustundan chiqib ketmasligi uchun — faqat zarur bo'lganda bo'linadi */
.footer-col a{ color:#93a1b8; transition:color .2s; max-width:100%; overflow-wrap:anywhere; }
.footer-col a:hover{ color:#fff; }
.footer-note{ color:#6b7a91; }
.footer-bottom{
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.1); padding-top:1.4rem; font-size:.86rem; color:#6b7a91;
}

/* ============ ILOVA SAHIFALARI UCHUN UMUMIY (profil, test) ============ */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

.btn-sm{ padding:.45rem 1rem; font-size:.88rem; }

.tbar{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.92); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.tbar-inner{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; min-height:4.4rem; padding:.45rem 0; }
.tbar-right{ display:flex; align-items:center; gap:.6rem; margin-left:auto; flex-wrap:wrap; }

.chip{
  display:inline-flex; align-items:center; gap:.4rem; font-size:.84rem; font-weight:700; color:var(--ink-2);
  background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:.35rem .85rem;
}
.chip svg{ width:15px; height:15px; color:var(--brand); }

/* Kirish tekshirilguncha himoyalangan sahifa ko'rinmaydi */
body.auth-pending main,
body.auth-pending .voicebar{ visibility:hidden; }

/* Mobil menyudagi kirish havolalari (katta ekranda header tugmalari bor) */
.nav-auth{ display:none; }

/* Reveal animatsiyasi */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.show{ opacity:1; transform:none; }

/* ============ RESPONSIVE ============
   Gridlar `auto-fit + minmax(rem)` asosida: ekran torayganda ham,
   shrift kattalashganda ham ustunlar soni o'zi kamayadi.
   Quyida faqat grid bilan hal bo'lmaydigan holatlar.
   ====================================== */
@media (max-width:1080px){
  .hero-demo{ max-width:33rem; margin-inline:auto; }
  .demo-float-1{ left:-18px; }
  .demo-float-2{ right:-10px; }
}

@media (max-width:820px){
  .nav{
    position:absolute; left:0; right:0; top:100%; margin:0; flex-direction:column; gap:0;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow);
    padding:.5rem 1.25rem 1.2rem; display:none;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:.85rem 0; border-bottom:1px solid var(--line); }
  .nav a.nav-auth{ display:block; }
  .nav a.nav-auth--primary{ color:var(--brand); font-weight:800; border-bottom:0; }
  .header-actions{ display:none; }
  .burger{ display:block; }
  .a11y-label{ display:none; }
  .a11y-inner{ justify-content:center; }
}

@media (max-width:640px){
  .demo-float{ display:none; }
  .hero-btns .btn{ width:100%; }
}

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