/* ==========================================================================
   OSONGO — yagona zamonaviy dizayn tizimi (ochiq sahifalar uchun)
   Yorug' / qorong'i mavzu, shisha (glass) sarlavha, aurora fon, bento kartalar,
   silliq animatsiyalar. Mavzu kaliti: localStorage "ziyoai_theme" (chat bilan umumiy).
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #eceffa;
  --surface: #ffffff;
  --surface-2: #f1f3fa;
  --ink: #0b1020;
  --ink-2: #29324d;
  --muted: #5b647a;
  --line: rgba(11, 16, 32, .09);
  --line-2: rgba(11, 16, 32, .16);
  --b1: #4f7cff;
  --b2: #8b5cf6;
  --b3: #06b6d4;
  --b4: #ec4899;
  --ok: #10b981;
  --grad: linear-gradient(120deg, var(--b1), var(--b2) 55%, var(--b4));
  --grad-soft: linear-gradient(135deg, rgba(79, 124, 255, .13), rgba(139, 92, 246, .13));
  --glass: rgba(255, 255, 255, .72);
  --shadow-1: 0 1px 2px rgba(11, 16, 32, .05), 0 10px 28px -14px rgba(11, 16, 32, .14);
  --shadow-2: 0 2px 4px rgba(11, 16, 32, .04), 0 30px 60px -28px rgba(50, 60, 140, .38);
  --glow: 0 0 0 1px rgba(79, 124, 255, .35), 0 14px 44px -14px rgba(79, 124, 255, .5);
  --aurora-1: rgba(79, 124, 255, .22);
  --aurora-2: rgba(236, 72, 153, .14);
  --aurora-3: rgba(6, 182, 212, .16);
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080b14;
  --bg-soft: #0e1220;
  --surface: #121727;
  --surface-2: #181e32;
  --ink: #eef1fa;
  --ink-2: #c6cde2;
  --muted: #98a2bd;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --glass: rgba(18, 23, 39, .72);
  --grad-soft: linear-gradient(135deg, rgba(79, 124, 255, .18), rgba(139, 92, 246, .18));
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .35), 0 30px 70px -28px rgba(0, 0, 0, .75);
  --glow: 0 0 0 1px rgba(109, 141, 255, .4), 0 14px 50px -14px rgba(109, 141, 255, .55);
  --aurora-1: rgba(79, 124, 255, .26);
  --aurora-2: rgba(168, 85, 247, .2);
  --aurora-3: rgba(6, 182, 212, .14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #080b14;
    --bg-soft: #0e1220;
    --surface: #121727;
    --surface-2: #181e32;
    --ink: #eef1fa;
    --ink-2: #c6cde2;
    --muted: #98a2bd;
    --line: rgba(255, 255, 255, .09);
    --line-2: rgba(255, 255, 255, .17);
    --glass: rgba(18, 23, 39, .72);
    --grad-soft: linear-gradient(135deg, rgba(79, 124, 255, .18), rgba(139, 92, 246, .18));
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .6);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .35), 0 30px 70px -28px rgba(0, 0, 0, .75);
    --glow: 0 0 0 1px rgba(109, 141, 255, .4), 0 14px 50px -14px rgba(109, 141, 255, .55);
    --aurora-1: rgba(79, 124, 255, .26);
    --aurora-2: rgba(168, 85, 247, .2);
    --aurora-3: rgba(6, 182, 212, .14);
  }
}

/* ---------- Asos ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, var(--aurora-1), transparent 62%),
    radial-gradient(760px 520px at 100% 6%, var(--aurora-2), transparent 60%),
    radial-gradient(900px 600px at 50% 112%, var(--aurora-3), transparent 62%);
}
img, svg, video { max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(79, 124, 255, .3); }
:focus-visible { outline: 2px solid var(--b1); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; }
p { margin: 0; }
.container { width: min(1140px, 100% - 36px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sarlavha (header): tekis, shaffof panel ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.hdr.scrolled { box-shadow: var(--shadow-1); }
.hdr-in { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.08rem; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: conic-gradient(from 210deg, var(--b1), var(--b2), var(--b4), var(--b1));
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, .7);
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.tbtn {
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink);
  transition: transform .25s var(--ease), border-color .2s;
}
.tbtn:hover { transform: rotate(14deg) scale(1.06); border-color: var(--line-2); }
.tbtn .sun { display: none; }
:root[data-theme="dark"] .tbtn .sun { display: block; }
:root[data-theme="dark"] .tbtn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tbtn .sun { display: block; }
  :root:not([data-theme="light"]) .tbtn .moon { display: none; }
}
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-box {
  position: absolute; right: 0; top: 50px; min-width: 210px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2);
  animation: rise .25s var(--ease) both;
}
.menu-box a { display: block; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.menu-box a:hover { background: var(--surface-2); }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .hdr-actions { margin-left: auto; }
  .hdr-actions .btn-primary { display: none; }
}

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff; border-color: transparent; background: var(--grad); background-size: 140% 100%;
  box-shadow: 0 14px 30px -12px rgba(99, 102, 241, .65);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 18px 38px -12px rgba(99, 102, 241, .8); border-color: transparent; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-ghost { background: transparent; }

/* ---------- Animatsiyalar ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dots { 0%, 80%, 100% { transform: scale(.55); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes shine { to { background-position: 200% 0; } }
/* "translate" xossasi ishlatiladi, shuning uchun kartalarning hover "transform" i bilan to'qnashmaydi */
html.js .reveal {
  opacity: 0; translate: 0 22px;
  transition: opacity .7s var(--ease) var(--d, 0s), translate .7s var(--ease) var(--d, 0s),
              transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
html.js .reveal.in, html.reveal-all .reveal { opacity: 1; translate: 0 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-1);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.display { font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; margin: 20px 0 18px; }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.typer::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--b2); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero-meta span::before { content: "✓"; color: var(--ok); margin-right: 7px; font-weight: 800; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }

/* chat maketi */
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: -8% -4%; border-radius: 50%; z-index: -1; filter: blur(46px); opacity: .6;
  background: conic-gradient(from 0deg, rgba(79, 124, 255, .55), rgba(236, 72, 153, .4), rgba(6, 182, 212, .45), rgba(79, 124, 255, .55));
}
.chat-mock {
  border: 1px solid var(--line); border-radius: 28px; background: var(--glass);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-2); padding: 16px; animation: float 7s ease-in-out infinite;
}
.cm-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.cm-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.cm-bar i:nth-child(1) { background: #fb7185; } .cm-bar i:nth-child(2) { background: #fbbf24; } .cm-bar i:nth-child(3) { background: #34d399; }
.cm-bar b { margin-left: 8px; color: var(--ink); }
.cm-msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.5; margin-top: 10px; }
.cm-user { margin-left: auto; color: #fff; background: var(--grad); border-bottom-right-radius: 6px; }
.cm-ai { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.cm-ai small { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; }
.cm-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.cm-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--b1); animation: dots 1.3s infinite; }
.cm-typing i:nth-child(2) { animation-delay: .16s; } .cm-typing i:nth-child(3) { animation-delay: .32s; }
.cm-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 11px 12px 11px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.cm-input span.send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }

/* ---------- Bo'limlar ---------- */
.section { padding: clamp(36px, 6vw, 72px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.kicker { color: var(--b2); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.sec-head p { color: var(--muted); max-width: 520px; margin-top: 8px; }
.more { color: var(--muted); font-weight: 700; text-decoration: none; }
.more:hover { color: var(--ink); }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.tile {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
  grid-column: span 2;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; }
.tile::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-soft); filter: blur(30px); opacity: .8; pointer-events: none; }
.tile .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 18px; position: relative; z-index: 1; }
.tile h3 { font-size: 1.22rem; margin-bottom: 8px; position: relative; z-index: 1; }
.tile p { color: var(--muted); font-size: .98rem; position: relative; z-index: 1; }
.tile .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; position: relative; z-index: 1; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.tile.hl { color: #fff; border-color: transparent; background: linear-gradient(150deg, #1d3a9f, #5b2dc4 60%, #b02a8a); }
.tile.hl p { color: rgba(255, 255, 255, .8); }
.tile.hl .ico { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); }
.tile.hl .chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.w4 { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.w4 { grid-column: span 1; } }

/* qadamlar */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 16px; color: #fff; font-weight: 800; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .8); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; } .step p { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* yangiliklar kartalari */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.n-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.n-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.n-img { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(110deg, var(--surface-2) 30%, var(--bg-soft) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.n-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.n-card:hover .n-img img { transform: scale(1.06); }
.n-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.n-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.n-meta .src { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-body h3 { font-size: 1.03rem; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.n-body p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; background: var(--surface); }

/* CTA lenta */
.cta-band { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 60px); border-radius: 32px; text-align: center; color: #fff; background: linear-gradient(135deg, #1e3fae, #6d28d9 55%, #be185d); box-shadow: var(--shadow-2); }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); filter: blur(60px); }
.cta-band h2 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); position: relative; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 12px auto 26px; position: relative; }
.cta-band .btn { position: relative; background: #fff; color: #1e1b4b; border-color: transparent; }

/* ---------- Ichki sahifalar ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 620px; font-size: 1.05rem; }
.page-head.center { text-align: center; } .page-head.center p { margin-inline: auto; }
.page-body { padding: 20px 0 clamp(40px, 6vw, 80px); }
.sub-h { font-size: 1.35rem; margin: 40px 0 18px; display: flex; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 6px; }
.tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .2s; }
.tabs a:hover { color: var(--ink); border-color: var(--line-2); }
.tabs a.on { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .8); }

/* narxlar */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; margin-top: 30px; }
.plan { position: relative; padding: 30px 26px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan h2 { font-size: 1.2rem; }
.plan .price { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; margin-top: 14px; }
.plan .period { color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 11px; }
.plan li { padding-left: 28px; position: relative; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; background: var(--grad); }
.plan.hl { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--glow); }
.plan.hl::before { content: "Mashhur"; position: absolute; top: -13px; left: 26px; padding: 4px 14px; border-radius: 999px; color: #fff; font-size: .75rem; font-weight: 800; background: var(--grad); }

/* FAQ */
.faq { max-width: 800px; margin: 28px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(79, 124, 255, .5); box-shadow: var(--glow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad-soft); }
.faq details p { padding: 0 22px 20px; color: var(--muted); animation: rise .35s var(--ease); }

/* ---------- Maqola (news-view, post) ---------- */
.article-wrap { width: min(820px, 100% - 36px); margin-inline: auto; padding: 18px 0 clamp(40px, 6vw, 80px); }
.crumbs { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.notice { margin-top: 14px; padding: 11px 15px; border-radius: 14px; background: rgba(251, 191, 36, .14); border: 1px solid rgba(251, 191, 36, .45); font-size: .9rem; }
.tag { display: inline-flex; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); }
.article-title { font-size: clamp(1.75rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin: 14px 0 10px; }
.meta { color: var(--muted); font-size: .93rem; font-weight: 500; }
.hero-media { margin: 24px 0 0; border-radius: 26px; overflow: hidden; background: var(--grad-soft); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.hero-media img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; }
.video { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--shadow-2); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lead-quote { font-size: 1.2rem; font-weight: 600; line-height: 1.55; margin-top: 28px; padding: 4px 0 4px 18px; border-left: 4px solid transparent; border-image: var(--grad) 1; color: var(--ink); }
.prose { margin-top: 26px; font-size: 1.07rem; line-height: 1.8; color: var(--ink-2); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 1.45rem; color: var(--ink); margin: 1.7em 0 .55em; }
.prose img { border-radius: 18px; height: auto; }
.note { margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
details.orig { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
details.orig summary { cursor: pointer; font-weight: 700; }
details.orig .prose { font-size: .98rem; color: var(--muted); }
.source { margin-top: 30px; padding: 18px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.source small { display: block; color: var(--muted); }
.share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.rel-h { margin: 46px 0 16px; font-size: 1.25rem; }
.cover { display: block; width: 100%; border-radius: 26px; margin: 24px 0 0; box-shadow: var(--shadow-2); border: 1px solid var(--line); }

/* ---------- Bugun (real vaqt) ---------- */
.live-grid { display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr; }
.live-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.live-card[hidden] { display: none; }
.live-card::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-soft); filter: blur(34px); pointer-events: none; }
.live-card > * { position: relative; z-index: 1; }
.lc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.lc-sub { color: var(--muted); font-size: .82rem; font-weight: 600; }
.lc-note { margin-top: 14px; color: var(--muted); font-size: .82rem; }
.wx-main { display: flex; align-items: center; gap: 16px; }
.wx-ico { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 8px 14px rgba(79, 124, 255, .25)); }
.wx-temp { font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.wx-temp small { display: block; margin-top: 6px; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); text-transform: capitalize; }
.wx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wx-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.wx-day { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 1.3rem; }
.wx-day small { color: var(--muted); font-size: .78rem; font-weight: 700; } .wx-day b { font-size: .86rem; letter-spacing: -.01em; }
.fx-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.fx-row:first-of-type { border-top: 0; }
.fx-ccy { font-weight: 700; color: var(--ink-2); min-width: 64px; }
.fx-val { margin-left: auto; font-size: 1.15rem; letter-spacing: -.02em; }
.fx-diff { font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.fx-diff.up { color: #059669; background: rgba(16, 185, 129, .13); }
.fx-diff.down { color: #e11d48; background: rgba(244, 63, 94, .12); }
@media (max-width: 800px) { .live-grid { grid-template-columns: 1fr; } }

/* ---------- Kim uchun ---------- */
.aud { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.aud-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s; }
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.aud-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.35rem; background: var(--grad-soft); border: 1px solid var(--line); flex: none; }
.aud-card h3 { font-size: 1.12rem; margin: 14px 0 6px; } .aud-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Telegram bot ---------- */
.bot-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(26px, 5vw, 52px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.bot-box::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-soft); filter: blur(50px); pointer-events: none; }
.bot-box > * { position: relative; z-index: 1; }
.bot-box h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 6px 0 12px; }
.bot-box p { color: var(--muted); } .bot-box .hero-cta { margin-top: 22px; }
.cmds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmds li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.cmds code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; font-weight: 700; color: var(--b1); }
.cmds span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .bot-box { grid-template-columns: 1fr; } }

/* ---------- Aloqa ---------- */
.contact-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.c-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
a.c-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.c-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.c-card b { font-size: .98rem; word-break: break-word; }

/* ---------- Markazlashtirilgan hero va 4 ustunli imkoniyatlar ---------- */
.hero-center { text-align: center; padding-bottom: clamp(20px, 4vw, 40px); }
.hero-center .display { max-width: 880px; margin-inline: auto; }
.hero-center .lead { margin-inline: auto; }
.hero-center .hero-cta, .hero-center .hero-meta { justify-content: center; }
.hero-mock { max-width: 540px; margin: clamp(34px, 6vw, 56px) auto 0; position: relative; text-align: left; }
.hero-mock::before { content: ""; position: absolute; inset: -10% -6%; border-radius: 50%; z-index: -1; filter: blur(50px); opacity: .55; background: conic-gradient(from 0deg, rgba(79, 124, 255, .5), rgba(236, 72, 153, .35), rgba(6, 182, 212, .4), rgba(79, 124, 255, .5)); }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center p { margin-inline: auto; }
.feat-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.feat { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.feat .ico { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: var(--grad-soft); border: 1px solid var(--line); }
.feat h3 { font-size: 1.1rem; margin-bottom: 8px; } .feat p { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Jamoa ---------- */
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); justify-content: center; }
.t-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.t-ava { width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(99, 102, 241, .7); border: 3px solid var(--surface); outline: 2px solid var(--line); }
.t-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-card h3 { font-size: 1.15rem; } .t-role { color: var(--b2); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.t-bio { color: var(--muted); font-size: .94rem; margin-top: 12px; }
.t-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.t-links a { padding: 7px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .84rem; color: var(--ink-2); transition: background .2s, border-color .2s; }
.t-links a:hover { background: var(--grad-soft); border-color: var(--line-2); }

/* ---------- Footer ---------- */
.ftr { margin-top: 30px; padding: 44px 0 calc(env(safe-area-inset-bottom, 0px) + 34px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, var(--bg-soft)); }
.ftr-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(2, 1fr); }
.ftr p { color: var(--muted); margin-top: 12px; max-width: 340px; font-size: .94rem; }
.ftr h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr li a { text-decoration: none; color: var(--ink-2); font-weight: 600; } .ftr li a:hover { color: var(--b1); }
.ftr-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Suzuvchi chat tugmasi ---------- */
.fab { position: fixed; right: 18px; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; background: var(--grad); box-shadow: 0 18px 40px -12px rgba(99, 102, 241, .75); transition: transform .3s var(--ease); }
.fab:hover { transform: translateY(-4px) scale(1.05); }

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

/* Yangi logo (assets/logo.svg) — umumiy sarlavha va pastki qismda */
.brand .mark-logo { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 8px 20px -10px rgba(61, 123, 255, .75); }
