/* Rang palitrasi: to'q yashil-kulrang (slate), xantal-oltin, firuza; yorug' mavzu — och yalpiz fon */
:root {
  --bg: #e4eeed; --bg2: #ffffff; --panel: #fff; --line: rgba(61,86,83,.16); --text: #2c3b39; --muted: #667873;
  --brand: #3d5653; --brand2: #2aa6b0; --accent: #d4a318; --good: #2f8f6b; --err: #c0533b;
}
:root[data-theme="dark"] {
  --bg: #142019; --bg2: #1b2a27; --panel: rgba(255,255,255,.05); --line: rgba(255,255,255,.1);
  --text: #edf4f2; --muted: #9fb4b0; --brand: #5f8a84; --brand2: #3bb8c2; --accent: #e0b234; --good: #4cb38a; --err: #f08a74;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(520px 520px at 8% 4%, rgba(212,163,24,.28), transparent 70%), radial-gradient(1100px 600px at 85% -10%, rgba(42,166,176,.14), transparent), var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
header { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.bar { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { font-weight: 800; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.logo i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--brand)); display: inline-block; }
nav { display: flex; gap: 26px; margin: 0 auto; }
nav a { color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--text); }
.actions { display: flex; gap: 10px; align-items: center; }
.btn { border: 1px solid var(--line); background: var(--panel); padding: 11px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; }
.btn.primary { background: var(--brand); border: 0; color: #fff; box-shadow: 0 8px 24px rgba(61,86,83,.3); }
.btn.primary:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }
.btn.big { padding: 16px 28px; font-size: 18px; border-radius: 14px; }
.icon { width: 44px; padding: 11px 0; text-align: center; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 70px 0 60px; }
.chip { display: inline-block; border: 1px solid var(--accent); color: var(--text); padding: 9px 18px; border-radius: 99px; font-weight: 600; background: rgba(212,163,24,.14); }
h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; margin: 26px 0 20px; letter-spacing: -.02em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; max-width: 560px; }
.cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.mock { position: relative; }
.shot { background: linear-gradient(160deg, var(--bg2), var(--bg)); border: 1px solid var(--line); border-radius: 18px; padding: 16px; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.shot .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.shot .k { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.shot small { color: var(--muted); display: block; font-size: 11px; }
.shot b { font-size: 20px; } .shot .up { color: var(--good); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--brand)); border-radius: 6px 6px 0 0; opacity: .85; }
.float { position: absolute; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.float.a { top: -52px; right: -10px; max-width: 320px; } .float.b { bottom: 10px; left: -24px; }
.note { color: var(--muted); font-size: 12px; margin-top: 10px; }
section { padding: 64px 0; scroll-margin-top: 80px; }
section h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 8px; text-align: center; }
section .sub { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; } .card p { margin: 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.vip { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 20px 60px rgba(212,163,24,.2); }
.plan .price { font-size: 26px; font-weight: 800; margin: 8px 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; flex: 1; }
.plan li::before { content: "✓ "; color: var(--good); font-weight: 700; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; } .faq p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); text-align: center; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.modal[hidden] { display: none; }
.dialog { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 26px; width: min(440px, 100%); max-height: 94vh; overflow: auto; }
.dialog h2 { text-align: left; font-size: 22px; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; background: var(--panel); padding: 4px; border-radius: 12px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button.on { background: var(--brand); color: #fff; }
.dialog label { display: block; margin: 12px 0 4px; font-size: 13px; color: var(--muted); }
.dialog input { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.dialog .btn { width: 100%; margin-top: 18px; }
.err { color: var(--err); min-height: 1.2em; margin-top: 10px; font-size: 14px; }
@media (max-width: 900px) {
  nav { display: none; } .hero { grid-template-columns: 1fr; padding-top: 30px; } .shot { transform: none; } .bar { gap: 8px; }
  .float { display: none; }
}

/* Yorug' mavzuda kartochkalar soyasi va sarlavha */
.card, .shot, .float, .dialog { box-shadow: 0 6px 24px rgba(61,86,83,.1); }
header { border-bottom: 1px solid var(--line); }
.shot .k:first-child { background: var(--accent); color: #2c3b39; border-color: transparent; }
.shot .k:first-child small, .shot .k:first-child .up { color: #2c3b39; }
.shot .k:nth-child(2) { background: var(--brand); color: #fff; border-color: transparent; }
.shot .k:nth-child(2) small, .shot .k:nth-child(2) .up { color: #e0ece9; }
.plan li::before { color: var(--accent); }

/* Parolni ko'rsatish tugmasi */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 42px; width: 100%; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 30px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 6px; padding: 0; }
.pw-eye:hover { color: var(--brand); background: rgba(61,86,83,.08); }
.actions .btn { white-space: nowrap; }
