/* ============================================================
   TOPSAVDO — LEAD-GEN LANDING (light theme)
   Brand emerald #059669 · Inter + JetBrains Mono
   Deliberately distinct from the dark landing/: bright, clean, B2B.
   ============================================================ */

:root {
  /* Brand */
  --brand: #059669;
  --brand-700: #047857;
  --brand-600: #059669;
  --brand-500: #10b981;
  --brand-400: #34d399;
  --brand-300: #6ee7b7;

  /* Ink / text */
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6b7a;
  --muted-2: #94a3b8;

  /* Surfaces */
  --bg: #ffffff;
  --page: #f5f8f7;
  --tint: #ecfdf5;
  --tint-2: #f0fdf4;
  --line: #e6ebe9;
  --line-2: #d7dedb;

  /* Status */
  --up: #059669;
  --down: #ef4444;
  --amber: #f59e0b;

  /* Layout */
  --max: 1180px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 30px;

  /* Shadows — layered, soft */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .05);
  --sh: 0 6px 16px -6px rgba(15, 23, 42, .10), 0 2px 6px -2px rgba(15, 23, 42, .06);
  --sh-lg: 0 28px 56px -16px rgba(15, 23, 42, .18), 0 10px 20px -10px rgba(15, 23, 42, .08);
  --sh-em: 0 22px 48px -16px rgba(5, 150, 105, .38);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.hl {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-500) 70%, var(--brand-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 650; font-size: 15px; line-height: 1;
  padding: 12px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(5, 150, 105, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -10px rgba(5, 150, 105, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: var(--bg); color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-700); }

.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: rgba(5, 150, 105, .08); color: var(--brand-700); }

.btn-white { background: #ffffff; color: #047857; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .25); }
.btn-white:hover { transform: translateY(-1px); background: #f6fefb; }

.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }

.btn-ico { transition: transform .15s ease; }
.btn:hover .btn-ico { transform: translateX(3px); }

/* ============================================================ TOPBAR */
.topbar {
  background: linear-gradient(90deg, var(--brand-700), var(--brand-600));
  color: #eafff6; font-size: 13px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 22px; }
.topbar-msg { display: inline-flex; align-items: center; gap: 10px; }
.topbar-pill {
  background: rgba(255, 255, 255, .18); color: #fff; font-weight: 700; font-size: 11.5px;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.topbar-contacts { display: inline-flex; align-items: center; gap: 18px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #eafff6; font-weight: 500; opacity: .92; transition: opacity .15s; }
.topbar-link:hover { opacity: 1; }
.topbar-link svg { opacity: .85; }

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); background: rgba(255, 255, 255, .92); }
.nav-inner { display: flex; align-items: center; gap: 26px; padding: 13px 22px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-badge {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-500), var(--brand-700));
  border-radius: 10px; color: #fff;
  box-shadow: 0 6px 14px -4px rgba(5, 150, 105, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-mark { width: 20px; height: 20px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }

.nav-links { display: flex; gap: 24px; margin-left: 14px; flex: 1; }
.nav-links a { color: var(--muted); font-weight: 550; font-size: 14.5px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: var(--bg);
  border-radius: 11px; padding: 11px; flex-direction: column; justify-content: space-between; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================ HERO */
.hero { position: relative; padding: 64px 0 84px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5, 150, 105, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000 30%, transparent 75%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero-blob-1 { width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(52, 211, 153, .5), transparent); top: -160px; right: -80px; }
.hero-blob-2 { width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(16, 185, 129, .25), transparent); bottom: -120px; left: -60px; }

.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand-700);
  background: var(--bg); border: 1px solid var(--brand-300);
  padding: 6px 13px; border-radius: 999px; box-shadow: var(--sh-sm);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(16,185,129,.18); } 50% { box-shadow: 0 0 0 8px rgba(16,185,129,.04); } }

.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.03; margin-top: 22px; }
.lede { margin-top: 20px; font-size: 18.5px; color: var(--muted); max-width: 52ch; }

.hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink-2); font-weight: 500; }
.tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--brand-300); position: relative;
}
.tick::after {
  content: ''; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px;
  border-right: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600); transform: rotate(40deg);
}

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatars { display: flex; }
.ava {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff; border: 2.5px solid #fff; margin-left: -10px; box-shadow: var(--sh-sm);
}
.ava:first-child { margin-left: 0; }
.ava-1 { background: #0ea5a3; } .ava-2 { background: #6366f1; } .ava-3 { background: #f59e0b; } .ava-4 { background: var(--brand-600); }
.proof-text { font-size: 14px; color: var(--muted); }
.proof-text strong { color: var(--ink); }
.stars { display: block; color: var(--amber); letter-spacing: 2px; font-size: 13px; margin-top: 1px; }

/* ---- LEAD FORM CARD (centerpiece) ---- */
.lead-card {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 28px; box-shadow: var(--sh-lg);
}
.lead-card::before {
  content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  border-radius: 0 0 6px 6px;
}
.lead-head h2 { font-size: 24px; font-weight: 800; }
.lead-head p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.lead-head strong { color: var(--brand-700); }

.lead-form { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .select-wrap select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 11px;
  background: var(--bg); color: var(--ink); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .select-wrap select:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .14);
}
.field.invalid input { border-color: var(--down); box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.field-err { font-size: 12.5px; color: var(--down); min-height: 0; display: none; }
.field.invalid .field-err { display: block; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; }
.select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.lead-form .btn-lg { margin-top: 4px; }
.lead-alt { text-align: center; font-size: 14px; color: var(--muted); }
.lead-alt a { color: var(--brand-700); font-weight: 600; }
.lead-alt a:hover { text-decoration: underline; }
.lead-fine { display: flex; align-items: center; gap: 7px; justify-content: center; font-size: 12.5px; color: var(--muted-2); }
.lead-fine svg { color: var(--brand-500); flex-shrink: 0; }

/* success */
.lead-success { text-align: center; padding: 18px 8px 6px; }
.success-ring {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--brand-500), var(--brand-700));
  box-shadow: var(--sh-em); animation: pop .4s ease;
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.lead-success h3 { font-size: 21px; }
.lead-success p { margin: 10px 0 20px; color: var(--muted); font-size: 14.5px; }

/* ============================================================ TRUST STRIP */
.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-label { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 18px; }
.tlogo { font-weight: 800; font-size: 18px; color: #94a3b8; letter-spacing: -0.01em; transition: color .2s; }
.tlogo:hover { color: var(--brand-700); }

/* ============================================================ SECTION SHELL */
.section { padding: 92px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--brand-600); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.section-lede { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ============================================================ VALUE */
.value { background: var(--page); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.vico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.vico svg { width: 24px; height: 24px; }
.vico-1 { background: linear-gradient(150deg, #34d399, #059669); }
.vico-2 { background: linear-gradient(150deg, #38bdf8, #0284c7); }
.vico-3 { background: linear-gradient(150deg, #fbbf24, #d97706); }
.vico-4 { background: linear-gradient(150deg, #a78bfa, #7c3aed); }
.vcard h3 { font-size: 18px; }
.vcard p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ============================================================ FEATURES */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.fcard::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.fcard:hover { transform: translateY(-3px); border-color: var(--brand-300); box-shadow: var(--sh); }
.fcard:hover::before { transform: scaleY(1); }
.fico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--tint); border: 1px solid var(--brand-300); color: var(--brand-700);
}
.fico svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 17.5px; }
.fcard p { margin-top: 7px; font-size: 14.5px; color: var(--muted); }

.feat-foot { text-align: center; margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-700); font-weight: 650; font-size: 15px; }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================ SHOWCASE */
.showcase { background: var(--page); }
.showcase-inner { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.showcase-copy .kicker { margin-bottom: 12px; }
.showcase-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.showcase-copy > p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.showcase-list { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.showcase-list li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink-2); font-weight: 500; }

.showcase-visual { position: relative; }
.dash { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.dash-url { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted-2); }
/* Haqiqiy dashboard skrinshoti — light/dark variant CSS orqali almashadi */
.dash-shot {
  display: block;
  aspect-ratio: 2400 / 1500;
  background-image: url("/dashboard-light.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
[data-theme="dark"] .dash-shot { background-image: url("/dashboard-dark.png"); }

/* ---- Floating thermal receipt (haqiqiy ESC/POS chek formati, ixcham) ----
   O'ng-pastki burchakda — dashboard'ning chap/yuqori (KPI + chart) ochiq qoladi. */
.float-receipt {
  position: absolute; right: -22px; bottom: -34px; width: 158px;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(15,23,42,.02) 21px 22px),
    #fffef9;
  padding: 14px 13px 11px;
  font-family: 'JetBrains Mono', monospace; font-size: 8.5px; line-height: 1.45; color: #2b2722;
  box-shadow: var(--sh-lg); transform: rotate(3deg); z-index: 3;
  /* yuqori/past chekka — yirtilgan (perforatsiya) */
  -webkit-mask:
    radial-gradient(4.5px 4.5px at 5px -1px, transparent 4.5px, #000 4.5px) repeat-x top / 11px 5.5px,
    radial-gradient(4.5px 4.5px at 5px 5.5px, transparent 4.5px, #000 4.5px) repeat-x bottom / 11px 5.5px,
    linear-gradient(#000 0 0) center / 100% calc(100% - 11px) no-repeat;
          mask:
    radial-gradient(4.5px 4.5px at 5px -1px, transparent 4.5px, #000 4.5px) repeat-x top / 11px 5.5px,
    radial-gradient(4.5px 4.5px at 5px 5.5px, transparent 4.5px, #000 4.5px) repeat-x bottom / 11px 5.5px,
    linear-gradient(#000 0 0) center / 100% calc(100% - 11px) no-repeat;
}
.rc-head { text-align: center; }
.rc-shop { font-weight: 700; font-size: 12.5px; letter-spacing: .14em; color: #1c1917; }
.rc-meta { font-size: 8px; color: #6b645b; }
.rc-doc { text-align: center; font-weight: 700; font-size: 9px; letter-spacing: .03em; color: #1c1917; }
.rc-sep { height: 0; margin: 5px 0; }
.rc-da { border-top: 1px dashed #c4bbac; }
.rc-eq { border-top: 2px solid #b8ad9b; }
.rc-kv { display: flex; justify-content: space-between; gap: 8px; }
.rc-dim { color: #6b645b; font-size: 8px; margin-top: 1px; }
.rc-it { margin: 4px 0; }
.rc-nm { color: #1c1917; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-dt { display: flex; justify-content: space-between; gap: 8px; padding-left: 8px; color: #4a443c; }
.rc-total { font-weight: 700; font-size: 11.5px; color: #1c1917; letter-spacing: .02em; margin-top: 5px; padding-top: 5px; border-top: 1px dashed #c4bbac; }
/* CSS-only barcode (turli kenglikdagi chiziqlar) */
.rc-barcode {
  height: 26px; margin: 9px 2px 0;
  background-image: repeating-linear-gradient(90deg,
    #1c1917 0 1px, transparent 1px 3px,
    #1c1917 3px 5px, transparent 5px 6px,
    #1c1917 6px 9px, transparent 9px 11px,
    #1c1917 11px 12px, transparent 12px 15px,
    #1c1917 15px 18px, transparent 18px 19px);
  background-size: 19px 100%;
}
.rc-code { text-align: center; font-size: 8px; letter-spacing: .1em; color: #4a443c; margin-top: 4px; }

/* ============================================================ HOW IT WORKS */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0; }
.step { text-align: center; padding: 0 18px; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff; font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(150deg, var(--brand-500), var(--brand-700)); box-shadow: var(--sh-em);
}
.step h3 { font-size: 19px; }
.step p { margin-top: 9px; font-size: 14.5px; color: var(--muted); }
.step-line { width: 100%; min-width: 40px; height: 2px; margin-top: 26px; background-image: linear-gradient(90deg, var(--brand-300) 50%, transparent 50%); background-size: 12px 2px; }

/* ============================================================ PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 26px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.price-pop { border-color: var(--brand-400); box-shadow: 0 26px 50px -18px rgba(5, 150, 105, .3); }
.price-pop::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-xl); padding: 1.5px; background: linear-gradient(160deg, var(--brand-400), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--brand-500), var(--brand-600)); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; box-shadow: var(--sh-em); }
.price h3 { font-size: 20px; }
.price-for { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
.price-num { margin: 20px 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amt { font-size: 34px; font-weight: 800; color: var(--ink); font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em; }
.per { font-size: 13.5px; color: var(--muted); }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.price-list li { position: relative; padding-left: 28px; }
.price-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint); }
.price-list li::after { content: ''; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600); transform: rotate(-45deg); }
.price-foot { text-align: center; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.price-foot strong { color: var(--brand-700); }

/* 4-tarifli grid (tariffs-draft asosida) */
.price-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-grid-4 .price { padding: 28px 22px; }
.price-grid-4 .amt { font-size: 30px; }
.amt-sm { font-size: 22px !important; }
/* Limit bloki — tinted fon, do'kon/foydalanuvchi/mahsulot */
.price-limits { list-style: none; margin: 18px 0 0; padding: 14px 14px; background: var(--tint); border-radius: var(--r); display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.price-limits li { display: flex; justify-content: space-between; gap: 8px; }
.price-limits li span { color: var(--muted); }
.price-limits li b { color: var(--ink); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.price-grid-4 .price-num { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.price-grid-4 .price-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; gap: 9px; }
.price-grid-4 .price-list li:first-child { font-weight: 600; color: var(--brand-700); }

/* ============================================================ FAQ */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brand-300); box-shadow: var(--sh-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; cursor: pointer; font-weight: 650; font-size: 16px; color: var(--ink); list-style: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--tint); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--brand-700); border-radius: 1px; transform: translate(-50%, -50%); transition: transform .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.faq-body a { color: var(--brand-700); font-weight: 600; }
.faq-body a:hover { text-decoration: underline; }

/* ============================================================ FINAL CTA */
.final-cta { padding: 70px 0; }
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600) 55%, var(--brand-500));
  padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--sh-em);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%);
}
.cta-text { position: relative; }
.cta-text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-text p { color: rgba(255, 255, 255, .9); margin-top: 10px; font-size: 16.5px; }
.cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================ FOOTER */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 38ch; }
.footer-col h5 { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand-700); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: 13.5px; color: var(--muted-2); }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .lead-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid-4 .price-pop { order: 0; }
  .showcase-inner { grid-template-columns: 1fr; gap: 48px; }
  .float-receipt { right: 4px; bottom: -20px; transform: rotate(3deg) scale(.92); }
}
@media (max-width: 760px) {
  .topbar-msg { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--bg); padding: 14px 22px; margin: 0; border-bottom: 1px solid var(--line); box-shadow: var(--sh); gap: 2px;
  }
  .nav-links.open a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links.open a:last-child { border-bottom: 0; }

  .section { padding: 64px 0; }
  .hero { padding: 44px 0 64px; }
  .value-grid, .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .price-pop { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-line { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: 33px; }
  .lede { font-size: 16.5px; }
  .field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ============================================================ REVEAL / MOTION */
.reveal { opacity: 0.001; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   THEME TOGGLE (quyosh / oy)
   ============================================================ */
.theme-toggle {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2);
  border-radius: 11px; cursor: pointer; box-shadow: var(--sh-sm);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.theme-toggle:hover { border-color: var(--brand-400); color: var(--brand-700); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); }
.theme-toggle svg { display: block; transition: transform .25s ease; }
.theme-toggle:hover svg { transform: rotate(18deg); }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* ============================================================
   DARK MODE — token override (mahsulot ilovasi palitrasi)
   Yashil matn ranglari (brand-700/600) yorqinlashadi; gradientlar
   500/600 bilan juftlashgani uchun dark fonda ham jonli qoladi.
   ============================================================ */
[data-theme="light"] { color-scheme: light; }

[data-theme="dark"] {
  color-scheme: dark;

  /* Brand — matn uchun yorqinroq (kontrast) */
  --brand-700: #34d399;
  --brand-600: #10b981;
  --brand-300: rgba(110, 231, 183, .30);

  /* Ink / text */
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #93a4b7;
  --muted-2: #647587;

  /* Surfaces — slate */
  --bg: #141e2e;     /* karta */
  --page: #0b1220;   /* sahifa foni */
  --tint: rgba(52, 211, 153, .13);
  --tint-2: rgba(52, 211, 153, .08);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);

  /* Shadows — chuqurroq */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --sh: 0 8px 20px -8px rgba(0, 0, 0, .55);
  --sh-lg: 0 30px 60px -18px rgba(0, 0, 0, .72), 0 10px 24px -12px rgba(0, 0, 0, .5);
  --sh-em: 0 22px 48px -16px rgba(5, 150, 105, .5);
}

/* Surface-larni alohida boshqarish (o'zgaruvchidan tashqari) */
[data-theme="dark"] .nav { background: rgba(11, 18, 32, .72); }
[data-theme="dark"] .nav.scrolled { background: rgba(11, 18, 32, .9); }
[data-theme="dark"] .topbar { background: linear-gradient(90deg, #065f46, #047857); }
[data-theme="dark"] .dash-bar { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .ava { border-color: var(--bg); }
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(52, 211, 153, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, .06) 1px, transparent 1px);
}
/* Floating chek qog'oz rangida qoladi (qasddan) — ichki rc-* matnlari o'z rangiga ega */
