/* Manrope — SIL OFL 1.1 (fonts/LICENSE-Manrope.txt). O'z serverimizdan — tashqi servis yo'q. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/manrope-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Bilmly landing — dizayn.
   Asos: ilovaning tokenlari (Front/src/app/styles/index.css) — bitta urg'u
   rangi («Okean» ko'k, 2026-10-21), chegara — soya emas. Landing uchun qo'shilgan: qorong'i
   «aurora» sarlavha, shisha demo kartasi, ovoz «orb»i, bento tarmoq.
   Harakatlar `prefers-reduced-motion` da o'chadi. */

:root {
  --bg: #F4F8FC; --surface: #ffffff; --surface-sunken: #EEF3F8;
  --text: #0F1E2E; --text-muted: #4F6275; --text-subtle: #8496A8;
  --separator: rgba(15,30,46,.08); --separator-strong: rgba(15,30,46,.14);
  --accent: #0B6BCB; --accent-hover: #0A5BAD; --accent-active: #094A8E;
  --accent-soft: #EAF4FD; --accent-on-soft: #094A8E; --accent-line: #B9D9F6;
  --teal: #14B8A6; --cyan: #22d3ee; --sky: #38BDF8; --amber: #f59e0b;
  --ok: #047857; --ok-soft: #ecfdf5; --warn: #b45309; --warn-soft: #fffbeb;
  --ink: #061A2C; --ink-2: #0B2540; --ink-text: #F2F8FF; --ink-muted: rgba(242,248,255,.68);
  --ink-line: rgba(255,255,255,.12); --glass: rgba(255,255,255,.06);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(15,30,46,.05);
  --shadow-2: 0 10px 30px -12px rgba(15,30,46,.18);
  --glow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(11,107,203,.55);
  --ease: cubic-bezier(.32,.72,0,1); --fast: 160ms; --slow: 320ms;
  --col: 1120px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
svg { display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--col); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ── Tugmalar ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 0;
  font-weight: 600; cursor: pointer; white-space: nowrap; letter-spacing: -.005em;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -8px rgba(11,107,203,.6);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 28px -8px rgba(11,107,203,.7); }
.btn-primary:disabled { background: var(--accent-line); box-shadow: none; cursor: default; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(15,30,46,.06); }
.btn-outline { background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--separator-strong) inset; }
.btn-outline:hover { background: rgba(15,30,46,.04); }
.btn-xl { height: 58px; padding: 0 30px; font-size: 18px; }
.on-dark .btn-ghost, .on-dark .btn-outline { color: var(--ink-text); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); }
.on-dark .btn-outline { box-shadow: 0 0 0 1px var(--ink-line) inset; }
.on-dark .btn-outline:hover { background: rgba(255,255,255,.06); }
.btn-glow { position: relative; }
.btn-glow::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(120deg, var(--accent), var(--teal), var(--cyan));
  filter: blur(14px); opacity: .55; transition: opacity var(--fast);
}
.btn-glow:hover::after { opacity: .85; }

/* ── Logo — «stiker» so'z-belgi, «i» ustida mash'al (brand/logo*.svg).
   Logo hamma joyda ko'k plashka ichida — Telegram avatari bilan bir xil (2026-10-22) ── */
.logo-plate { display: inline-flex; align-items: center; background: var(--accent); border-radius: 14px; padding: 5px 12px 2px; box-shadow: 0 6px 18px -8px rgba(11,107,203,.7); }
.logo { display: block; height: 46px; width: auto; }
.foot .logo { height: 42px; }
.foot .logo-plate { border-radius: 12px; padding: 4px 10px 1px; }

/* ── Navigatsiya ──────────────────────────────────────────────── */
.nav {
  /* Ko'k–zumrad tasma (2026-10-24): chapda brend ko'ki, o'ngda zumrad — ostidagi
     sarlavha nurlari bilan bir xil yo'nalishda, pastki cheti sarlavhaga eriydi. */
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: linear-gradient(90deg, #0B6BCB 0%, #0A64BE 35%, #0A7AA8 70%, #0D9488 100%);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 56px; pointer-events: none;
  background: inherit; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--teal)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(11,107,203,.8);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a:not(.btn) { padding: 8px 12px; color: rgba(255,255,255,.85); border-radius: var(--r-sm); font-weight: 500; font-size: 15px; }
.nav-links > a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.14); }
.nav .btn { height: 40px; padding: 0 16px; font-size: 15px; }
.nav .btn-ghost { color: #fff; }
.nav .btn-ghost:hover { background: rgba(255,255,255,.14); }
/* Tasmada asosiy tugma oq — ko'k ustida ko'k ko'rinmaydi */
.nav .btn-primary { background: #fff; color: var(--accent-active); box-shadow: 0 2px 0 rgba(6,26,44,.35); }
.nav .btn-primary:hover { background: var(--accent-soft); }
@media (max-width: 760px) { .nav-links > a:not(.btn) { display: none; } .nav .btn-ghost { display: none; } }

/* ── Hero (qorong'i, aurora) ───────────────────────────────────── */
.hero {
  position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden;
  margin-top: -64px; padding-top: 64px;
}
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 720px; height: 620px; left: -180px; top: -260px; background: var(--accent); opacity: .7; }
.aurora i:nth-child(2) { width: 620px; height: 560px; right: -160px; top: -240px; background: var(--teal); opacity: .6; animation-delay: -6s; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; right: 22%; bottom: -220px; background: var(--cyan); opacity: .3; animation-delay: -12s; animation-duration: 26s; }
.aurora i:nth-child(4) { width: 300px; height: 300px; left: 35%; top: 10%; background: var(--sky); opacity: .18; animation-delay: -3s; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero .wrap {
  position: relative; display: grid; gap: 40px; padding-top: 56px; padding-bottom: 72px;
}
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 104px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.07); border: 1px solid var(--ink-line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-muted); letter-spacing: .01em;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 22px 0 18px; max-width: 12ch; }
.hero h1 .hl {
  background: linear-gradient(92deg, #7CC4F8 0%, #5EEAD4 45%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-muted); max-width: 46ch; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--ink-muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: #7CC4F8; }

/* ── Demo kartasi (shisha) ─────────────────────────────────────── */
.demo-wrap { position: relative; }
.demo {
  position: relative; border-radius: var(--r-xl); padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glow);
}
.demo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px 240px at 50% -40%, rgba(56,189,248,.35), transparent 70%);
}
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.demo-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.demo-title { font-weight: 700; font-size: 15.5px; }
.demo-sub { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 1px; }
.demo-progress {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid var(--ink-line);
  font-variant-numeric: tabular-nums; white-space: nowrap; flex: none;
}

/* Orb — AI ovozi. Holatga qarab: idle (sekin nafas), listening (gapiryapti —
   to'lqin), recording (siz gapiryapsiz — qizg'ish halqa), sending (aylanish). */
.orb { position: relative; width: 44px; height: 44px; flex: none; }
.orb-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #B9D9F6, #0B6BCB 45%, #0A5BAD 75%);
  box-shadow: 0 0 24px rgba(30,136,229,.6), inset 0 -6px 14px rgba(0,0,0,.25);
  animation: breathe 3.2s ease-in-out infinite;
}
.orb-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(124,196,248,.45); opacity: 0; }
.orb-ring.r2 { inset: -14px; border-color: rgba(124,196,248,.25); }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes wave { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.demo[data-state="listening"] .orb-ring, .demo[data-state="starting"] .orb-ring { animation: wave 1.6s ease-out infinite; }
.demo[data-state="listening"] .orb-ring.r2 { animation-delay: .5s; }
.demo[data-state="listening"] .orb-core { animation-duration: .9s; }
.demo[data-state="recording"] .orb-core {
  background: radial-gradient(circle at 35% 30%, #fecdd3, #f43f5e 45%, #be123c 75%);
  box-shadow: 0 0 28px rgba(244,63,94,.6), inset 0 -6px 14px rgba(0,0,0,.25);
  animation-duration: 1.2s;
}
.demo[data-state="recording"] .orb-ring { border-color: rgba(251,113,133,.5); animation: wave 1.2s ease-out infinite; }
.demo[data-state="sending"] .orb-ring { opacity: 1; border-style: dashed; border-color: rgba(124,196,248,.6); animation: spin 1.4s linear infinite; }

/* Bo'sh holat — katta orb va tushuntirish */
.demo-idle { position: relative; text-align: center; padding: 26px 8px 10px; }
.demo[data-state="idle"] .demo-head .orb { display: none; }
.demo:not([data-state="idle"]) .demo-idle { display: none; }
.orb-big { width: 128px; height: 128px; margin: 0 auto 22px; }
.orb-big .orb-core { animation: breathe 3.6s ease-in-out infinite; box-shadow: 0 0 60px rgba(30,136,229,.55), inset 0 -14px 30px rgba(0,0,0,.28); }
.orb-big .orb-ring { opacity: 1; inset: -12px; animation: wave 3.6s ease-out infinite; }
.orb-big .orb-ring.r2 { inset: -12px; animation-delay: 1.2s; }
.orb-big .orb-ring.r3 { inset: -12px; animation-delay: 2.4s; }
.orb-big .orb-core::after {
  /* ovoz chiziqlari */
  content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 22px; transform: translate(-50%,-50%);
  background:
    linear-gradient(#fff,#fff) 0 50%/4px 10px no-repeat,
    linear-gradient(#fff,#fff) 9px 50%/4px 22px no-repeat,
    linear-gradient(#fff,#fff) 18px 50%/4px 16px no-repeat,
    linear-gradient(#fff,#fff) 27px 50%/4px 20px no-repeat,
    linear-gradient(#fff,#fff) 36px 50%/4px 9px no-repeat;
  border-radius: 3px; opacity: .95;
}
.demo-idle h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.demo-idle p { color: var(--ink-muted); font-size: 15px; margin: 8px auto 0; max-width: 34ch; }

.demo-chat { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; max-height: 360px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; }
.demo-chat:empty { margin: 0; }
.msg { max-width: 92%; padding: 12px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-ai { align-self: flex-start; background: rgba(255,255,255,.1); border: 1px solid var(--ink-line); border-bottom-left-radius: 6px; }
.msg-ai > span:first-child { display: block; font-weight: 600; }
.msg-native { display: block; color: var(--ink-muted); font-size: 13.5px; margin-top: 4px; }
.msg-tools { margin-top: 8px; }
.play {
  height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--ink-line);
  background: rgba(255,255,255,.08); color: var(--ink-text); font-size: 13px; font-weight: 600; cursor: pointer;
}
.play[data-playing="true"] { background: var(--accent); border-color: transparent; }
.msg-me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; font-weight: 500; }
.msg-me.dots { background: rgba(11,107,203,.45); color: rgba(255,255,255,.85); }
.msg-me.dots::after { content: "…"; animation: blink 1s steps(3) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.fb { align-self: flex-end; max-width: 92%; padding: 12px 15px; border-radius: 16px; border-top-right-radius: 6px;
  background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); font-size: 14.5px; animation: rise .35s var(--ease) both; }
.fb-praise { color: #a7f3d0; font-weight: 600; }
.fb details { margin-top: 8px; }
.fb summary { cursor: pointer; font-weight: 600; color: var(--ink-muted); font-size: 13.5px; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.fb summary::-webkit-details-marker { display: none; }
.fb summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--fast); }
.fb details[open] summary::before { transform: rotate(45deg); }
.fb-corr { margin-top: 8px; color: var(--ink-text); }
.fb-corr s { color: var(--ink-muted); }
.fb-corr b { color: #7CC4F8; }
.fb-note, .fb-more { color: var(--ink-muted); font-size: 13.5px; margin-top: 4px; }

.demo-controls { position: relative; margin-top: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.demo-controls .btn-xl { width: 100%; }
.rec { display: flex; align-items: center; gap: 14px; padding: 6px 2px; }
.rec-btn {
  position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(11,107,203,.8);
  transition: transform var(--fast) var(--ease), background var(--fast);
}
.rec-btn:hover { transform: scale(1.04); }
.rec-btn:disabled { opacity: .5; cursor: default; transform: none; }
.rec-btn svg { width: 26px; height: 26px; }
.rec-btn .ic-stop { display: none; }
.rec-btn[data-recording="true"] { background: #e11d48; box-shadow: 0 10px 24px -8px rgba(225,29,72,.8); }
.rec-btn[data-recording="true"]::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(251,113,133,.6); animation: wave 1.2s ease-out infinite; }
.rec-btn[data-recording="true"] .ic-mic { display: none; }
.rec-btn[data-recording="true"] .ic-stop { display: block; }
.rec-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.rec-time { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.demo-status { font-size: 14px; color: var(--ink-muted); padding: 10px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); }
.demo-status[data-tone="warn"] { color: #fde68a; background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); }
.demo-end { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; text-align: center; }
.demo-level { font-size: 15px; color: var(--ink-muted); }
.demo-level b { color: var(--ink-text); padding: 2px 10px; border-radius: var(--r-pill); background: rgba(124,196,248,.2); border: 1px solid rgba(124,196,248,.4); }
.demo-end-text { font-size: 16px; font-weight: 600; }
.demo-foot { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--ink-muted); }
.demo-foot svg { width: 14px; height: 14px; }

/* Darajalar qatori — demo tagida */
.levels { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--ink-muted); flex-wrap: wrap; }
.levels-chips { display: inline-flex; gap: 6px; }
.lvl {
  padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--ink-line); font-weight: 700; font-size: 12px;
  color: var(--ink-muted); letter-spacing: .04em; transition: all var(--slow) var(--ease);
}
.lvl[data-on="true"] { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(30,136,229,.6); transform: scale(1.08); }

/* ── Marquee — vaziyatlar ──────────────────────────────────────── */
.marquee { border-bottom: 1px solid var(--separator); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; padding: 16px 0; }
.marquee-track:hover { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; padding: 0 18px; font-size: 14.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.marquee span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-line); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Bo'limlar ────────────────────────────────────────────────── */
.section { padding: 80px 0 0; }
@media (min-width: 720px) { .section { padding-top: 112px; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--text-muted); }

/* Qadamlar */
.steps { display: grid; gap: 16px; position: relative; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-lg); padding: 26px 24px 24px;
  transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease), border-color var(--slow);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--teal)); box-shadow: 0 8px 18px -8px rgba(11,107,203,.8);
}
.step-ic { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-on-soft); }
.step-ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { color: var(--text-muted); font-size: 15.5px; }

/* Bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 820px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; } .b-4 { grid-column: span 4; } .b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } }
.tile {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-xl);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 260px;
  transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease), border-color var(--slow);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
.tile h3 { font-size: 21px; }
.tile p { color: var(--text-muted); font-size: 15.5px; max-width: 46ch; }
.tile-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-on-soft); margin-bottom: 6px; }
.tile-ic svg { width: 20px; height: 20px; }
.tile-art { margin-top: auto; padding-top: 18px; }
.tile-dark { background: var(--ink-2); color: var(--ink-text); border-color: transparent; }
.tile-dark p { color: var(--ink-muted); }
.tile-dark .tile-ic { background: rgba(255,255,255,.1); color: #B9D9F6; }
.tile-dark::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .5; pointer-events: none; }

/* Mini chat (bento ichida) */
.mini { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.mini .m { max-width: 86%; padding: 9px 13px; border-radius: 14px; line-height: 1.45; }
.mini .ai { align-self: flex-start; background: var(--surface-sunken); border: 1px solid var(--separator); border-bottom-left-radius: 4px; }
.mini .me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.mini .ok { align-self: flex-end; background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(4,120,87,.18); border-radius: 14px; font-weight: 600; }
.mini .corr { align-self: flex-end; color: var(--text-muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.mini .corr::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.tile-dark .mini .ai { background: rgba(255,255,255,.08); border-color: var(--ink-line); }
.tile-dark .mini .corr { color: var(--ink-muted); }

/* To'lqin — oldin/keyin */
.waves { display: grid; gap: 10px; }
.wave { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.wave b { width: 84px; flex: none; color: var(--text); }
.bars { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.bars i { width: 4px; flex: none; border-radius: 2px; background: var(--accent-line); height: var(--h); }
.bars { gap: 4px; }
.bars.after i { background: var(--accent); }

/* So'z chiplari */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface-sunken); border: 1px solid var(--separator); font-size: 13.5px; font-weight: 600; }
.chip.due { background: var(--accent-soft); color: var(--accent-on-soft); border-color: var(--accent-line); }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(4,120,87,.18); }

/* Daraja shkalasi */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale span { text-align: center; font-size: 12px; font-weight: 700; padding: 10px 0 8px; border-radius: 10px; background: var(--surface-sunken); border: 1px solid var(--separator); color: var(--text-subtle); position: relative; }
.scale span.me { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(11,107,203,.8); }
.scale span.me::after { content: "siz"; position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); font-size: 11px; color: var(--accent); }

/* ── Tamoyillar (qorong'i band) ────────────────────────────────── */
.manifesto { position: relative; margin-top: 112px; background: var(--ink); color: var(--ink-text); overflow: hidden; padding: 88px 0; }
.manifesto .aurora i:nth-child(1) { left: auto; right: -200px; top: -300px; opacity: .5; }
.manifesto .aurora i:nth-child(2) { right: auto; left: -200px; top: auto; bottom: -300px; opacity: .45; }
.manifesto .kicker { color: #7CC4F8; }
.manifesto h2 { max-width: 20ch; font-size: clamp(30px, 4.2vw, 44px); }
.manifesto .section-head p { color: var(--ink-muted); }
.nos { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 720px) { .nos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nos { grid-template-columns: repeat(4, 1fr); } }
.no { padding: 22px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--ink-line); backdrop-filter: blur(10px); }
.no-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #B9D9F6; margin-bottom: 14px; }
.no-ic svg { width: 20px; height: 20px; }
.no h3 { font-size: 18px; margin-bottom: 6px; }
.no p { color: var(--ink-muted); font-size: 14.5px; }

/* ── Kimga ────────────────────────────────────────────────────── */
.who { display: grid; gap: 14px; }
@media (min-width: 720px) { .who { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.who li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-lg); transition: border-color var(--slow), transform var(--slow) var(--ease); }
.who li:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.who-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-on-soft); }
.who-ic svg { width: 22px; height: 22px; }
.who h3 { font-size: 17.5px; margin-bottom: 4px; }
.who p { color: var(--text-muted); font-size: 15px; }

/* ── Savollar ─────────────────────────────────────────────────── */
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-lg); padding: 0 22px; transition: border-color var(--slow); }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-on-soft); font-weight: 600; font-size: 18px; transition: transform var(--slow) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-muted); padding: 0 0 20px; font-size: 15.5px; max-width: 60ch; }

/* ── Yakuniy CTA ──────────────────────────────────────────────── */
.cta-final { padding: 112px 0 40px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0A5BAD 0%, #0B6BCB 45%, #0D9488 120%); color: #fff;
  box-shadow: 0 40px 100px -40px rgba(11,107,203,.8);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 50% 0%, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 46px); max-width: 18ch; margin: 0 auto; position: relative; }
.cta-box p { position: relative; margin: 14px auto 28px; max-width: 46ch; color: rgba(255,255,255,.8); font-size: 17px; }
.cta-box .btn-primary { position: relative; background: #fff; color: var(--accent-active); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.cta-box .btn-primary:hover { background: #EAF4FD; }
.cta-note { position: relative; margin-top: 14px !important; font-size: 13.5px !important; color: rgba(255,255,255,.65) !important; }

/* ── Footer ───────────────────────────────────────────────────── */
.foot { background: linear-gradient(90deg, #0B6BCB 0%, #0A64BE 35%, #0A7AA8 70%, #0D9488 100%); padding: 28px 0 34px; color: rgba(255,255,255,.85); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot .brand { color: var(--text); font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a:hover { color: #fff; }

/* ── Paydo bo'lish ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.mini-cap { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-subtle); }
.tile-dark .mini-cap { color: var(--ink-muted); }
