/* site/site.css — ochiq sayt (bosh sahifa, qoidalar, qo'llanma).
   Rang sxemasi PHP versiyasidan saqlangan: siyoh-binafsha fon, yalpiz va marjon aksentlar. */

:root {
  --ink: #0E0A1A;
  --ink-2: #150E24;
  --panel: #17102B;
  --panel-2: #1D1436;
  --line: rgba(196, 166, 255, .16);
  --text: #F4EFE6;
  --muted: #A99CC7;
  --mint: #4FE3B0;
  --coral: #FF8A6B;
  --violet: #9B7BFF;
  --sand: #FFD48A;
  --sky: #7CD5FF;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text); overflow-x: hidden;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 12% -8%, rgba(123, 79, 227, .30), transparent 60%),
    radial-gradient(52vw 52vw at 96% 6%, rgba(255, 107, 74, .18), transparent 62%),
    radial-gradient(56vw 56vw at 40% 104%, rgba(38, 185, 138, .16), transparent 62%);
}

h1, h2, h3, .brand, .btn, .stat b { font-family: "Bricolage Grotesque", Manrope, sans-serif; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.06; margin: 0; font-weight: 800; max-width: 18ch; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--mint), var(--sky) 55%, var(--sand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); margin: 0 0 18px; font-weight: 700; }
h3 { font-size: 1.12rem; margin: 14px 0 8px; font-weight: 700; }
p { margin: 0 0 12px; color: #DCD4EE; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--mint); }
code, pre { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .92em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.gl { display: inline-block; vertical-align: middle; width: 24px; height: 24px; flex: none; }
.gl-14 { width: 14px; height: 14px; } .gl-15 { width: 15px; height: 15px; }
.gl-17 { width: 17px; height: 17px; } .gl-18 { width: 18px; height: 18px; }
.gl-20 { width: 20px; height: 20px; } .gl-22 { width: 22px; height: 22px; }
.gl-34 { width: 34px; height: 34px; } .gl-56 { width: 56px; height: 56px; }

/* ───────── nav ───────── */
nav {
  position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(150%) blur(14px);
  background: rgba(14, 10, 26, .72); border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--text); }
.brand:hover { color: var(--sand); }
.sp { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nl { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nl:hover, .nl.on { color: var(--sand); }
.langpick { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lg { padding: 3px 7px; border-radius: 999px; font-size: .95rem; line-height: 1; }
.lg.on { background: rgba(196, 166, 255, .18); }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  background: linear-gradient(100deg, var(--mint), var(--sky)); color: #0B0716 !important;
  font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; transition: transform .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); color: #0B0716; }
.btn.ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--mint); color: var(--mint) !important; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.burger span + span { margin-top: 5px; }
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drop { display: none; flex-direction: column; gap: 2px; padding: 8px 20px 16px; border-top: 1px solid var(--line); }
.nav-drop.open { display: flex; }
.nav-drop a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid rgba(196, 166, 255, .08); }
.drop-langs { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 0; }
.drop-langs a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.drop-langs a.on { background: rgba(196, 166, 255, .16); color: var(--sand); }
.drop-cta { justify-content: center; margin-top: 10px; background: linear-gradient(100deg, var(--mint), var(--sky)); color: #0B0716 !important; border-radius: 999px; border: 0 !important; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

/* ───────── hero ───────── */
.hero { padding: 62px 0 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 212, 138, .10); border: 1px solid rgba(255, 212, 138, .30);
  color: var(--sand); font-size: .84rem; font-weight: 700; margin-bottom: 20px;
}
.lead { font-size: clamp(1rem, 2vw, 1.16rem); color: #CFC6E6; max-width: 62ch; margin-top: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.rail { margin-top: 44px; border: 1px solid var(--line); border-radius: 18px; background: rgba(23, 16, 43, .6); overflow: hidden; }
.rail-head { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: .1em; }
.rail-track { display: flex; gap: 30px; padding: 16px 18px; white-space: nowrap; animation: slide 34s linear infinite; width: max-content; }
.rail-item { display: inline-flex; align-items: center; gap: 10px; color: #D7CFEA; font-weight: 600; font-size: .95rem; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rail-track { animation: none; flex-wrap: wrap; white-space: normal; width: auto; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.stat { background: rgba(23, 16, 43, .7); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--mint); font-weight: 800; }
.stat span { font-size: .82rem; color: var(--muted); }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ───────── sections ───────── */
section { padding: 52px 0; }
.sec-label { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(29, 20, 54, .92), rgba(23, 16, 43, .78));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(123, 255, 209, .35); }
.card p { color: #C9C0E0; font-size: .95rem; margin-bottom: 0; }
.card .tagline { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--sand); }

.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: rgba(23, 16, 43, .6); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.step b { flex: 0 0 30px; height: 30px; border-radius: 50%; background: linear-gradient(100deg, var(--mint), var(--sky)); color: #0B0716; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .92rem; }
.step div { flex: 1; }
.step h3 { margin: 0 0 4px; font-size: 1rem; }
.step p { margin: 0; font-size: .92rem; }

.rl { display: grid; gap: 18px; margin: 26px 0 40px; }
.rl-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.rl-card h2 { font-size: 1.22rem; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.rl-card ol, .rl-card ul { margin: 0; padding-left: 22px; line-height: 1.75; color: #D5CCE9; }
.rl-card li { margin: 6px 0; }
.rl-card li b { color: var(--sand); }
.note { background: rgba(79, 227, 176, .08); border: 1px solid rgba(79, 227, 176, .35); border-radius: 12px; padding: 14px 16px; line-height: 1.6; margin: 12px 0 0; }
.warn { background: rgba(255, 138, 107, .08); border: 1px solid rgba(255, 138, 107, .4); border-radius: 12px; padding: 14px 16px; line-height: 1.6; margin: 12px 0 0; }

.faq { border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 16, 43, .6); padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--mint); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { padding-bottom: 14px; margin: 0; font-size: .95rem; }

.cta-band { background: linear-gradient(100deg, rgba(123, 79, 227, .32), rgba(38, 185, 138, .22)); border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px; text-align: center; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .cta { justify-content: center; }

/* ───────── footer ───────── */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; margin-top: 30px; background: rgba(14, 10, 26, .6); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.foot-links a:hover { color: var(--mint); }
.foot-note { margin: 18px 0 0; color: #7E7398; font-size: .84rem; }
