@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ============================================================
   AMBER LIGHT — yorug' asos + to'q sariq urg'u
   Barcha tokenlar shu yerda. Rang/oraliq/soyani o'zgartirish
   uchun faqat :root blokini tahrirlang.
   ============================================================ */
:root {
  /* --- Asos --- */
  --bg: #FAFBFD;
  --bg-warm: #F2F6FC;
  --surface: #FFFFFF;
  --ink: #0B1533;
  --ink-2: #2C3A5C;
  --muted: #64748B;
  --muted-2: #94A0B8;
  --line: #E2E8F2;
  --line-soft: #EFF3F9;
  --grid: rgba(11, 21, 51, 0.045);

  /* --- Urg'u: BSTU ko'k --- */
  --blue: #0206CA;
  --blue-hi: #2B34E8;
  --blue-deep: #01047A;
  --sky: #1297E0;
  --blue-50: #EFF3FF;
  --blue-100: #DCE4FF;
  --blue-200: #B9C6FC;

  /* --- Holat --- */
  --ok: #0F9D58;
  --ok-50: #ECFAF2;
  --ok-200: #B7E7CD;
  --bad: #D92D20;
  --bad-50: #FEF3F2;
  --bad-200: #FBCFCB;

  /* --- Gradient --- */
  --grad-blue: linear-gradient(135deg, #1E2AE0 0%, #0206CA 55%, #01047A 100%);
  --grad-sky: linear-gradient(135deg, #1297E0 0%, #0206CA 100%);

  /* --- Radius --- */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;

  /* --- Soya (ko'k tusda) --- */
  --sh-sm: 0 1px 3px rgba(11, 21, 51, 0.05);
  --sh: 0 6px 22px -6px rgba(2, 6, 202, 0.14);
  --sh-lg: 0 18px 44px -12px rgba(2, 6, 202, 0.22);
  --sh-blue: 0 8px 24px rgba(2, 6, 202, 0.26);
  --sh-blue-hi: 0 14px 32px rgba(2, 6, 202, 0.34);

  --t: all 0.2s ease-out;

  /* Eski nomlar bilan moslik */
  --amber: var(--blue); --amber-hi: var(--blue-hi); --amber-deep: var(--blue-deep);
  --amber-50: var(--blue-50); --amber-100: var(--blue-100); --amber-200: var(--blue-200);
  --amber-ink: #FFFFFF;
  --grad-amber: var(--grad-blue);
  --sh-amber: var(--sh-blue); --sh-amber-hi: var(--sh-blue-hi);
  --primary: var(--blue); --primary-dark: var(--blue-deep);
  --primary-50: var(--blue-50); --primary-100: var(--blue-100);
  --secondary: var(--sky);
  --text: var(--ink); --text-muted: var(--muted); --text-soft: var(--ink-2);
  --border: var(--line); --border-light: var(--line-soft);
  --success: var(--ok); --danger: var(--bad);
  --blue-900: var(--ink); --blue-800: var(--ink); --blue-700: var(--blue);
  --sky-500: var(--sky); --sky-600: var(--blue-deep);
  --sky-100: var(--blue-50); --sky-50: var(--blue-50);
  --ink-soft: var(--muted); --ink-dark: var(--ink);
  --sand-100: var(--line-soft); --sand-200: var(--line);
  --mint-400: var(--ok); --mint-200: var(--ok-50);
  --brick-600: var(--bad); --brick-500: var(--bad); --brick-100: var(--bad-50);
  --radius-sm: var(--r-sm); --radius: var(--r-md); --radius-lg: var(--r-lg);
  --shadow-sm: var(--sh-sm); --shadow: var(--sh); --shadow-lg: var(--sh-lg);
  --grad-primary: var(--grad-blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
.mono, .eyebrow, .n-eyebrow { font-family: 'JetBrains Mono', monospace; }

/* Panjara foni — butun saytda */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 95% 60% at 50% 0%, black 20%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 95% 60% at 50% 0%, black 20%, transparent 95%);
}
body::after {
  content: ''; position: fixed; z-index: -1; pointer-events: none;
  width: 900px; height: 700px; top: -340px; right: -220px;
  background: radial-gradient(circle, rgba(2,6,202,0.09), transparent 62%);
  filter: blur(60px);
}

.container { max-width: 1180px; margin: 0 auto; padding: 34px 24px 84px; }

/* ============ TOPBAR ============ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 30px;
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.topbar .brand { display: flex; align-items: center; gap: 13px; font-weight: 800; font-size: 15.5px; color: var(--ink); }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-mark {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--grad-amber); display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; box-shadow: var(--sh-amber);
}
.brand-mark svg { width: 20px; height: 20px; }
.topbar .user-info { display: flex; align-items: center; gap: 14px; }
.avatar-chip { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.avatar-circle {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--grad-amber); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--amber-50);
}
.logout-btn {
  padding: 9px 18px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-weight: 600; font-size: 13.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: var(--t); display: inline-flex; align-items: center; gap: 7px;
  cursor: pointer; min-height: 40px;
}
.logout-btn:hover { border-color: var(--amber-200); color: var(--amber-deep); background: var(--amber-50); transform: translateY(-1px); }
.logout-btn svg { width: 14px; height: 14px; }

/* ============ LANDING (asosiy sahifa) ============ */
.landing { position: relative; background: var(--bg); overflow: hidden; }
.landing .dotgrid { display: none; }
.landing::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 72% at 50% 34%, black 28%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 72% at 50% 34%, black 28%, transparent 100%);
}
.landing::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 880px; height: 880px; top: -380px; left: -220px;
  background: radial-gradient(circle, rgba(2,6,202,0.13), transparent 62%);
  filter: blur(60px);
}
.ld-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 34px 32px 70px;
  min-height: 96vh; display: flex; flex-direction: column;
}
.ld-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.ld-nav .ld-logo { height: 42px; width: auto; display: block; }
.ld-nav-right {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.ld-nav-right a { transition: var(--t); }
.ld-nav-right a:hover { color: var(--amber-deep); }

.ld-main { flex: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }

.ld-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px; border-radius: var(--r-full);
  border: 1px solid var(--amber-200); background: var(--amber-50);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep);
}
.ld-badge i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex-shrink: 0;
  box-shadow: 0 0 9px rgba(2,6,202,0.75);
  animation: ld-blink 2.4s ease-in-out infinite;
}
@keyframes ld-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.ld-title {
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05;
  font-weight: 800; letter-spacing: -0.03em;
  margin: 26px 0 0; color: var(--ink); max-width: 15ch;
}
.ld-title em { font-style: normal; color: var(--amber-deep); }
.ld-lead { margin: 22px 0 0; font-size: 16.5px; line-height: 1.72; color: var(--muted); max-width: 46ch; }
.ld-lead b { color: var(--ink-2); font-weight: 600; }

.ld-form { margin-top: 34px; max-width: 440px; }
.ld-form .ld-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ld-field { position: relative; flex: 1; min-width: 168px; }
.ld-field > svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted-2); pointer-events: none; transition: var(--t);
}
.ld-field:focus-within > svg { color: var(--amber); }
.ld-field input {
  width: 100%; padding: 15px 16px 15px 45px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  font-size: 15px; font-family: inherit; transition: var(--t);
}
.ld-field input::placeholder { color: var(--muted-2); }
.ld-field input:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(2,6,202,0.13);
}

.ld-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.ld-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border: none; border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; min-height: 50px; transition: var(--t);
}
.ld-btn svg { width: 15px; height: 15px; transition: transform 0.2s ease-out; }
.ld-btn-primary { background: var(--grad-blue); color: #FFFFFF; box-shadow: var(--sh-blue); }
.ld-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-amber-hi); }
.ld-btn-primary:hover svg { transform: translateX(4px); }
.ld-btn-ghost { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.ld-btn-ghost:hover { border-color: var(--amber-200); background: var(--amber-50); color: var(--amber-deep); transform: translateY(-2px); }
.ld-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(2,6,202,0.38); }

.ld-trust {
  display: flex; align-items: center; gap: 9px; margin-top: 26px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.04em;
}
.ld-trust svg { width: 14px; height: 14px; }

.ld-error {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--bad-50); border: 1px solid var(--bad-200);
  color: var(--bad); font-size: 13.5px; font-weight: 500;
}
.ld-error svg { width: 18px; height: 18px; flex-shrink: 0; }

.ld-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 470px; }
.ld-ring { position: absolute; border-radius: 50%; border: 1px solid var(--amber-200); }
.ld-ring.r1 { width: 300px; height: 300px; }
.ld-ring.r2 { width: 400px; height: 400px; border-color: var(--amber-100); }
.ld-ring.r3 { width: 512px; height: 512px; border-color: var(--line); }
.ld-orb {
  position: relative; z-index: 2;
  width: 152px; height: 152px; border-radius: 50%;
  background: var(--grad-amber);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow:
    0 0 0 14px rgba(2,6,202,0.07),
    0 0 60px 14px rgba(2,6,202,0.26),
    0 20px 50px -10px rgba(2,6,202,0.36);
  animation: ld-float 6s ease-in-out infinite;
}
.ld-orb svg { width: 64px; height: 64px; }
@keyframes ld-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.ld-chip {
  position: absolute; z-index: 3;
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  animation: ld-float 7.5s ease-in-out infinite;
}
.ld-chip span {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 5px;
}
.ld-chip b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.ld-chip b.o { color: var(--amber); }
.ld-chip.c1 { top: 44px; right: 6px; animation-delay: -1.2s; }
.ld-chip.c2 { bottom: 96px; left: 0; animation-delay: -3.4s; }
.ld-chip.c3 { bottom: 22px; right: 58px; animation-delay: -5s; }

@media (max-width: 980px) {
  .ld-main { grid-template-columns: 1fr; gap: 40px; }
  .ld-visual { min-height: 340px; order: -1; transform: scale(0.82); }
  .ld-title { max-width: none; }
  .ld-inner { padding: 26px 20px 48px; }
  .landing.has-video .ld-inner { padding-bottom: 120px; }
  .ld-nav { margin-bottom: 30px; }
}
@media (max-width: 520px) {
  .ld-visual { transform: scale(0.66); min-height: 280px; }
  .ld-form .ld-row, .ld-actions { flex-direction: column; }
  .ld-btn { width: 100%; }
}

/* ============ KIRISH (login-shell — zaxira) ============ */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.login-art {
  position: relative; overflow: hidden;
  background: var(--bg-warm); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 52px 54px; color: var(--ink);
}
.login-art .eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep);
}
.login-art h1 { font-size: 40px; font-weight: 800; margin: 18px 0 0; max-width: 460px; }
.login-art h1 em { font-style: normal; color: var(--amber-deep); }
.login-art .sub-copy { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 420px; }
.login-art .feature-list { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.login-art .feature-item { display: flex; align-items: center; gap: 13px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.login-art .feature-item .f-ic {
  width: 42px; height: 42px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--amber-50); border: 1px solid var(--amber-100);
  display: flex; align-items: center; justify-content: center; color: var(--amber);
}
.login-art .feature-item .f-ic svg { width: 18px; height: 18px; }
.login-art .stat-row { display: flex; gap: 42px; margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); }
.login-art .stat-row div b { display: block; font-size: 29px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.login-art .stat-row div span { font-size: 12.5px; color: var(--muted); }
.art-logo { width: 240px; max-width: 58%; height: auto; margin-bottom: 44px; }

.login-form-side { display: flex; align-items: center; justify-content: center; padding: 48px 32px; background: var(--bg); }
.login-card { width: 100%; max-width: 400px; }
.login-card .top-mark { margin-bottom: 26px; }
.form-logo { width: 240px; max-width: 88%; height: auto; display: block; }
.login-card h2 { font-size: 30px; margin: 0 0 8px; font-weight: 800; }
.login-card p.sub { color: var(--muted); font-size: 15px; margin: 0 0 30px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2);
}
.field .input-wrap { position: relative; }
.field .input-wrap > svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; transition: var(--t);
}
.field .input-wrap:focus-within > svg { color: var(--amber); }
.field input, .field select {
  width: 100%; padding: 14px 16px 14px 45px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--surface); font-size: 15px; font-family: inherit; color: var(--ink); transition: var(--t);
}
.field input.no-icon { padding-left: 16px; }
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(2,6,202,0.13);
}

/* ============ TUGMALAR ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 26px; border: none; border-radius: var(--r-full);
  background: var(--grad-blue); color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  cursor: pointer; transition: var(--t); box-shadow: var(--sh-blue); min-height: 48px;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease-out; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-amber-hi); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--sh-amber), 0 0 0 3px rgba(2,6,202,0.38); }
.btn.secondary { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); box-shadow: none; }
.btn.secondary:hover { border-color: var(--amber-200); background: var(--amber-50); color: var(--amber-deep); box-shadow: var(--sh-sm); }
.btn.gold { background: var(--grad-amber); }
.btn.danger { background: var(--bad-50); color: var(--bad); box-shadow: none; }
.btn.danger:hover { background: var(--bad); color: #fff; box-shadow: 0 6px 18px rgba(217,45,32,0.26); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.auto { width: auto; padding: 14px 30px; }
.btn.sm { padding: 9px 18px; font-size: 13px; font-weight: 600; width: auto; min-height: 38px; box-shadow: none; }
.btn.sm:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }

.error-msg, .success-msg {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500; margin-bottom: 22px; border: 1px solid transparent;
}
.error-msg { background: var(--bad-50); color: #9B2018; border-color: var(--bad-200); }
.success-msg { background: var(--ok-50); color: #0A6E3E; border-color: var(--ok-200); }
.error-msg svg, .success-msg svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-art { padding: 34px 26px; }
  .login-art .feature-list, .login-art .stat-row { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 44px 46px; margin-bottom: 40px;
  box-shadow: var(--sh);
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.hero::before {
  content: ''; position: absolute; pointer-events: none;
  width: 520px; height: 520px; top: -240px; right: -140px;
  background: radial-gradient(circle, rgba(2,6,202,0.14), transparent 64%);
  filter: blur(50px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(105deg, black, transparent 62%);
  -webkit-mask-image: linear-gradient(105deg, black, transparent 62%);
}
.hero .htext { position: relative; z-index: 1; }
.hero .htext .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-full);
  background: var(--amber-50); border: 1px solid var(--amber-200);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--blue); margin-bottom: 18px;
}
.hero h1 { margin: 0 0 12px; font-size: 34px; font-weight: 800; color: var(--ink); }
.hero h1 span, .hero h1 .grad-text {
  color: var(--amber-deep) !important; background: none !important; -webkit-text-fill-color: var(--amber-deep);
}
.hero p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 460px; line-height: 1.72; }
.hero .hero-badges { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-full);
  background: var(--bg-warm); border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em; color: var(--ink-2);
  transition: var(--t);
}
.hero .hero-badge:hover { border-color: var(--amber-200); background: var(--amber-50); transform: translateY(-2px); }
.hero .hero-badge svg { width: 14px; height: 14px; color: var(--amber); }

.ring-wrap { position: relative; width: 148px; height: 148px; flex-shrink: 0; z-index: 1; }
.ring-wrap svg { transform: rotate(-90deg); display: block; }
.ring-wrap .ring-bg { stroke: var(--line-soft); }
.ring-wrap .ring-fg {
  stroke: url(#ringGrad); stroke-linecap: round;
  transition: stroke-dashoffset 0.9s ease-out;
  filter: drop-shadow(0 3px 8px rgba(2,6,202,0.32));
}
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.ring-center span { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted); margin-top: 5px; }

/* ============ KURS KARTOCHKALARI ============ */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .course-grid { grid-template-columns: 1fr; } }
.course-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.course-card.active:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--amber-200); }
.cc-cover { position: relative; aspect-ratio: 16/8.5; overflow: hidden; background: var(--bg-warm); }
.cc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease-out; }
.course-card.active:hover .cc-cover img { transform: scale(1.06); }
.cc-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 7px 15px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.94); color: var(--ink-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  backdrop-filter: blur(8px); border: 1px solid var(--line);
}
.cc-badge.live { background: var(--grad-amber); color: var(--amber-ink); border-color: transparent; box-shadow: var(--sh-amber); }
.cc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cc-body h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--ink); }
.course-card.soon .cc-body h3 { color: var(--ink-2); }
.cc-body p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.68; color: var(--muted); flex: 1; }
.cc-progress { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-progress .bar { flex: 1; min-width: 90px; height: 8px; border-radius: var(--r-full); background: var(--line-soft); overflow: hidden; }
.cc-progress .bar i { display: block; height: 100%; background: var(--grad-amber); border-radius: var(--r-full); transition: width 0.7s ease-out; }
.cc-progress span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.cc-soon-note {
  display: inline-flex; align-items: center; gap: 9px; margin-top: auto;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--bg-warm); color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 500;
}
.cc-soon-note::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0; box-shadow: 0 0 8px rgba(2,6,202,0.55);
}

/* ============ O'QUV YO'LI ============ */
.path-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.path-heading h2 { font-size: 26px; font-weight: 800; color: var(--ink); }
.path-heading span { font-size: 13.5px; color: var(--muted); }

.path-track { position: relative; }
.path-track::before {
  content: ''; position: absolute; left: 35px; top: 40px; bottom: 40px; width: 2px;
  background: linear-gradient(to bottom, var(--amber-200), var(--line), var(--line-soft));
}
.path-node { position: relative; display: flex; gap: 24px; align-items: center; padding-bottom: 22px; }
.path-node:last-child { padding-bottom: 0; }
.node-dot {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: var(--r-full); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted-2); transition: var(--t); box-shadow: var(--sh-sm);
}
.node-dot svg { width: 28px; height: 28px; }
.path-node.done .node-dot { background: var(--grad-amber); border-color: transparent; color: #fff; box-shadow: var(--sh-amber); }
.path-node.current .node-dot {
  background: var(--surface); border: 2px solid var(--amber); color: var(--amber);
  box-shadow: 0 0 0 6px var(--amber-50), var(--sh-sm);
}
.path-node.locked .node-dot { background: var(--bg-warm); color: #C9C1B8; border-style: dashed; box-shadow: none; }

.node-card {
  flex: 1; background: var(--surface); border-radius: var(--r-md);
  padding: 20px 24px; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; transition: var(--t);
}
.path-node.current .node-card { border-color: var(--amber-200); }
.path-node.done .node-card:hover, .path-node.current .node-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.path-node.locked .node-card { background: transparent; border-style: dashed; box-shadow: none; }
.node-card .n-eyebrow {
  font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.10em;
  margin-bottom: 5px; display: block; text-transform: uppercase; font-weight: 600;
}
.node-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.path-node.locked h3 { color: var(--muted-2); }
.n-status { font-size: 12.5px; margin-top: 6px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.n-status svg { width: 14px; height: 14px; }
.n-status.done-text { color: var(--ok); }
.n-status.locked-text { color: var(--muted-2); font-weight: 500; }
.n-status.ready-text { color: var(--amber-deep); }
.score-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  background: var(--amber-50); color: var(--amber-deep);
  padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--amber-100);
}

/* ============ SERTIFIKAT CTA ============ */
.cert-cta {
  margin-top: 40px; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--amber-200);
  border-radius: var(--r-xl); padding: 46px 40px; text-align: center;
  box-shadow: var(--sh);
}
.cert-cta::before {
  content: ''; position: absolute; pointer-events: none;
  width: 480px; height: 480px; top: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(2,6,202,0.16), transparent 62%);
  filter: blur(50px);
}
.cert-cta > * { position: relative; z-index: 1; }
.cert-cta .seal-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; padding: 15px;
  border-radius: var(--r-lg); background: var(--grad-amber); color: #fff;
  box-shadow: var(--sh-amber);
}
.cert-cta h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; color: var(--ink); }
.cert-cta p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }

/* ============ DARS ============ */
.lesson-header { margin-bottom: 26px; }
.back-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: var(--blue); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--t);
}
.back-link svg { width: 14px; height: 14px; transition: transform 0.2s ease-out; }
.back-link:hover { color: var(--amber); }
.back-link:hover svg { transform: translateX(-3px); }
.lesson-title-row { display: flex; align-items: center; gap: 18px; margin: 22px 0 10px; }
.topic-badge {
  width: 62px; height: 62px; border-radius: var(--r-md);
  background: var(--grad-amber); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--sh-amber);
}
.topic-badge svg { width: 29px; height: 29px; }
.lesson-header h1 { font-size: 28px; margin: 4px 0 0; font-weight: 800; color: var(--ink); }
.lesson-header .eyebrow {
  font-size: 12px; color: var(--blue); letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 700;
}
.lesson-header p.desc { color: var(--muted); font-size: 15.5px; margin: 14px 0 0; line-height: 1.72; max-width: 680px; }

.video-wrap {
  background: var(--ink); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; margin: 26px 0;
  border: 1px solid var(--line);
}
.video-wrap iframe { width: 100%; height: 100%; border: none; }
.video-placeholder { color: rgba(255,255,255,0.66); text-align: center; padding: 40px; font-size: 15px; line-height: 1.7; }
.video-placeholder svg { width: 46px; height: 46px; margin-bottom: 14px; color: var(--amber-hi); }
.video-placeholder small { font-family: 'JetBrains Mono', monospace; opacity: 0.6; font-size: 12px; }

.card {
  background: var(--surface); border-radius: var(--r-lg);
  padding: 30px; border: 1px solid var(--line);
  box-shadow: var(--sh-sm); margin-bottom: 20px;
}
.card.center { text-align: center; }
.card .prompt { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.card .prompt.done-msg { color: var(--ok); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; }
.card .prompt.done-msg svg { width: 19px; height: 19px; }

/* ============ TEST ============ */
.test-meta { display: flex; gap: 10px; margin: 22px 0 26px; flex-wrap: wrap; }
.test-meta .meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.test-meta .meta-chip svg { width: 14px; height: 14px; color: var(--amber); }

.question-block { margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.question-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.question-block h4 { font-size: 16px; margin: 0 0 16px; font-weight: 600; color: var(--ink); display: flex; gap: 12px; line-height: 1.55; }
.q-num { font-family: 'JetBrains Mono', monospace; color: var(--amber-deep); font-weight: 700; flex-shrink: 0; }
.option-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer;
  transition: var(--t); font-size: 15px; background: var(--surface); min-height: 46px;
}
.option-row:hover { background: var(--amber-50); border-color: var(--amber-200); transform: translateX(3px); }
.option-row input { accent-color: var(--amber); width: 17px; height: 17px; flex-shrink: 0; }
.option-row .opt-letter { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--amber-deep); width: 18px; flex-shrink: 0; }
.option-row.correct { background: var(--ok-50); border-color: var(--ok-200); }
.option-row.correct .opt-letter { color: var(--ok); }
.option-row.incorrect { background: var(--bad-50); border-color: var(--bad-200); }
.option-row.incorrect .opt-letter { color: var(--bad); }

.result-banner {
  border-radius: var(--r-lg); padding: 34px; text-align: center; margin-bottom: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid transparent;
}
.result-banner svg { width: 48px; height: 48px; }
.result-banner.pass { background: var(--ok-50); color: #0A6E3E; border-color: var(--ok-200); }
.result-banner.pass svg { color: var(--ok); }
.result-banner.fail { background: var(--bad-50); color: #9B2018; border-color: var(--bad-200); }
.result-banner.fail svg { color: var(--bad); }
.result-banner h2 { font-size: 22px; font-weight: 800; }
.result-banner p { margin: 0; font-size: 15px; opacity: 0.9; }
.action-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============ SERTIFIKAT SAHIFASI ============ */
.cert-page-wrap { display: flex; justify-content: center; padding: 30px 6px; }
.cert-actions { text-align: center; margin-top: 28px; }

/* ============ ADMIN ============ */
.admin-section-title { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--ink); margin: 0 0 20px; font-weight: 800; }
.admin-section-title svg { width: 20px; height: 20px; color: var(--amber); }
.table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin-table th {
  text-align: left; padding: 13px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px; letter-spacing: -0.005em;
  color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 600; white-space: nowrap;
}
table.admin-table td { padding: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.admin-table tr { transition: var(--t); }
table.admin-table tr:hover td { background: var(--amber-50); }
.progress-mini { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.progress-mini .bar { flex: 1; height: 8px; border-radius: var(--r-full); background: var(--line-soft); overflow: hidden; }
.progress-mini .bar i { display: block; height: 100%; background: var(--grad-amber); border-radius: var(--r-full); }
.progress-mini span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); white-space: nowrap; }
.cert-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  background: var(--amber-50); color: var(--amber-deep);
  padding: 5px 11px; border-radius: var(--r-full); white-space: nowrap; border: 1px solid var(--amber-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.form-row .field { margin-bottom: 0; }
.pw-reveal {
  font-family: 'JetBrains Mono', monospace; background: var(--ink); color: var(--amber-hi);
  padding: 4px 11px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
}
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-tab {
  padding: 11px 22px; border-radius: var(--r-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: var(--t);
}
.admin-tab.active { background: var(--grad-amber); color: var(--amber-ink); border-color: transparent; box-shadow: var(--sh-amber); }
.admin-tab:hover:not(.active) { border-color: var(--amber-200); color: var(--amber-deep); transform: translateY(-1px); }

@media (max-width: 768px) {
  .container { padding: 24px 18px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 32px 26px; }
  .hero h1 { font-size: 26px; }
  .path-track::before { left: 27px; }
  .node-dot { width: 56px; height: 56px; }
  .node-dot svg { width: 23px; height: 23px; }
  .node-card { padding: 16px 18px; }
  .avatar-chip span.uname { display: none; }
  .brand-logo { height: 32px; }
  .path-heading h2 { font-size: 21px; }
  .lesson-header h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ TEKSHIRISH NATIJASI (ixcham lenta) ============ */
.verify-ok, .verify-fail {
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px 24px; border-radius: var(--r-md);
  margin-bottom: 6px; border-left: 4px solid;
  background: var(--surface); border: 1px solid var(--line);
}
.verify-ok { border-left-color: var(--ok); }
.verify-fail { border-left-color: var(--bad); }
.verify-ok b, .verify-fail b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.verify-ok b { color: #0A6E3E; }
.verify-fail b { color: #9B2018; }
.verify-ok span, .verify-fail span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============ TEKSHIRISH SAHIFASI SARLAVHASI ============ */
.verify-head { text-align: center; max-width: 560px; margin: 30px auto 34px; }
.verify-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; margin-bottom: 20px;
  border-radius: var(--r-lg);
  background: var(--grad-blue); color: #fff;
  box-shadow: var(--sh-blue), 0 0 0 8px var(--blue-50);
}
.verify-emblem svg { width: 32px; height: 32px; }
.verify-head h1 { font-size: 27px; font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.025em; }
.verify-head p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* ============================================================
   ASOSIY SAHIFA BO'LIMLARI (3D ikonkalar bilan)
   ============================================================ */
.sec { position: relative; z-index: 1; padding: 76px 0; }
.sec-alt { background: var(--bg-warm); border-block: 1px solid var(--line); }
.sec-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.sec-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.sec-tag {
  display: inline-block; padding: 7px 17px; border-radius: var(--r-full);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue); font-size: 12.5px; font-weight: 600; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.sec-head p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.7; }

/* --- Xususiyat kartochkalari --- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.feat img { display: block; margin-bottom: 16px; }
.feat h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 9px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.68; margin: 0; }

/* --- Qadamlar --- */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 26px 28px;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.step-num {
  position: absolute; top: -16px; left: 26px;
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--grad-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; box-shadow: var(--sh-blue);
}
.step img { display: block; margin: 12px 0 16px; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 9px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.68; margin: 0; }

/* --- Nega aynan bu kurs --- */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-text h2 { font-size: clamp(25px, 3vw, 33px); font-weight: 800; color: var(--ink); margin: 0 0 22px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li {
  position: relative; padding-left: 34px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.6;
}
.why-list li b { color: var(--ink); font-weight: 700; }
.why-list li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230206CA' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 20px; text-align: center;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.why-card img { display: block; margin: 0 auto 12px; }
.why-card b { display: block; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.why-card span { font-size: 12.5px; color: var(--muted); }

/* --- Yakuniy chaqiriq --- */
.cta-band {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--grad-blue); border-radius: var(--r-xl);
  padding: 38px 42px; box-shadow: 0 20px 46px -12px rgba(2,6,202,0.42);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(100deg, black, transparent 65%);
  -webkit-mask-image: linear-gradient(100deg, black, transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band img { flex-shrink: 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25)); }
.cta-text { flex: 1; min-width: 220px; }
.cta-text h2 { font-size: 27px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.cta-text p { font-size: 15.5px; color: rgba(255,255,255,0.86); margin: 0; line-height: 1.6; }
.cta-band .ld-btn-primary { background: #fff; color: var(--blue); box-shadow: 0 8px 22px rgba(0,0,0,0.22); }
.cta-band .ld-btn-primary:hover { background: #F4F7FF; box-shadow: 0 12px 28px rgba(0,0,0,0.3); }

/* --- Futer --- */
.site-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--surface); padding: 30px 0; }
.foot-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-logo { height: 42px; width: auto; }
.foot-txt { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 3px; }
.foot-txt b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.foot-txt span { font-size: 13px; color: var(--muted); }
.foot-link { font-size: 14px; font-weight: 600; color: var(--blue); transition: var(--t); }
.foot-link:hover { color: var(--blue-deep); }

@media (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 56px 0; }
}
@media (max-width: 680px) {
  .feat-grid, .step-grid, .why-cards { grid-template-columns: 1fr; }
  .sec-inner { padding: 0 20px; }
  .cta-band { padding: 28px 24px; }
  .cta-text h2 { font-size: 22px; }
}

/* ============ 3D IKONKALI QO'SHIMCHALAR ============ */
.cta-icon3d { display: block; margin: 0 auto 16px; filter: drop-shadow(0 10px 18px rgba(2,6,202,0.22)); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 38px;
}
.stat-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.stat-item:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--blue-200); }
.stat-item img { flex-shrink: 0; }
.stat-item b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.stat-item span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-strip { grid-template-columns: 1fr; } }

/* ============================================================
   FON VIDEOSI + SHAFFOF "OYNA" PANEL
   Video: assets/video/hero.mp4 (yoki .webm) qo'yilsa avtomatik ishlaydi.
   Video bo'lmasa sayt oldingidek ko'rinadi — hech narsa buzilmaydi.
   ============================================================ */
/* Hero bo'limi — video va parda aynan shu blok balandligini egallaydi */
.ld-hero-sec { position: relative; overflow: hidden; }

.ld-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.ld-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}
/* QORONG'I PARDA + BLUR — video ko'rinadi, matn oq va o'qiladi */
.ld-scrim {
  position: absolute; inset: 0;
  /* blur yengil — video tiniqroq ko'rinadi */
  backdrop-filter: blur(2px) saturate(118%);
  -webkit-backdrop-filter: blur(2px) saturate(118%);
  background:
    /* matn ustidagi tor to'q maydon — faqat chap chorakda */
    linear-gradient(100deg,
      rgba(5, 9, 38, 0.80) 0%,
      rgba(5, 9, 38, 0.62) 30%,
      rgba(5, 9, 38, 0.30) 52%,
      rgba(5, 9, 38, 0.16) 72%,
      rgba(5, 9, 38, 0.10) 100%),
    /* pastda yorug' sahifaga yumshoq o'tish */
    linear-gradient(to bottom,
      rgba(5, 9, 38, 0.22) 0%,
      rgba(5, 9, 38, 0) 16%,
      rgba(5, 9, 38, 0) 86%,
      rgba(250, 251, 253, 0.40) 96%,
      rgba(250, 251, 253, 1) 100%);
}
/* Video bo'lganda panjara/nur kerak emas — video o'zi fon */
.landing.has-video::before,
.landing.has-video::after { display: none; }

/* ---- Video ustidagi QORONG'I VARIANT ---- */
.landing.has-video .ld-title {
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(3, 6, 26, 0.55), 0 1px 3px rgba(3, 6, 26, 0.45);
}
.landing.has-video .ld-title em { color: #93B4FF; }
.landing.has-video .ld-lead {
  color: rgba(233, 238, 247, 0.94);
  text-shadow: 0 1px 10px rgba(3, 6, 26, 0.6);
}
.landing.has-video .ld-lead b { color: #FFFFFF; }
.landing.has-video .ld-trust {
  color: rgba(226, 232, 240, 0.75);
  text-shadow: 0 1px 8px rgba(3, 6, 26, 0.6);
}
.landing.has-video .ld-trust svg { color: rgba(226, 232, 240, 0.62); }

.landing.has-video .ld-badge {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
  color: #C7D6FF;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.landing.has-video .ld-badge i { background: #93B4FF; box-shadow: 0 0 10px rgba(147,180,255,0.9); }

/* Oyna panel — qorong'i shisha */
.landing.has-video .glass-nav {
  background: rgba(10, 16, 48, 0.42);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 34px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.landing.has-video .glass-nav .ld-nav-right a {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgba(226, 232, 240, 0.92);
}
.landing.has-video .glass-nav .ld-nav-right a:hover {
  background: rgba(255, 255, 255, 0.20); border-color: rgba(255,255,255,0.34); color: #fff;
}

/* Kirish maydonlari — qorong'i shisha */
.landing.has-video .ld-field input {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.landing.has-video .ld-field input::placeholder { color: rgba(226, 232, 240, 0.62); }
.landing.has-video .ld-field input:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: #93B4FF;
  box-shadow: 0 0 0 3px rgba(147, 180, 255, 0.22);
}
.landing.has-video .ld-field > svg { color: rgba(226, 232, 240, 0.6); }
.landing.has-video .ld-field:focus-within > svg { color: #93B4FF; }

/* Tugmalar */
.landing.has-video .ld-btn-primary {
  background: linear-gradient(135deg, #3A44FF 0%, #1017D6 100%);
  box-shadow: 0 10px 30px rgba(20, 30, 220, 0.55), 0 0 0 1px rgba(255,255,255,0.10) inset;
}
.landing.has-video .ld-btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.landing.has-video .ld-btn-ghost:hover { background: rgba(255, 255, 255, 0.20); border-color: rgba(255,255,255,0.4); }

/* Statistika kartochkalari — qorong'i shisha */
.landing.has-video .ld-chip {
  background: rgba(10, 16, 48, 0.52);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.landing.has-video .ld-chip span { color: rgba(226, 232, 240, 0.66); }
.landing.has-video .ld-chip b { color: #FFFFFF; }
.landing.has-video .ld-chip b.o { color: #93B4FF; }

/* Halqalar va sfera */
.landing.has-video .ld-ring { border-color: rgba(255, 255, 255, 0.16); }
.landing.has-video .ld-ring.r2 { border-color: rgba(255, 255, 255, 0.11); }
.landing.has-video .ld-ring.r3 { border-color: rgba(255, 255, 255, 0.07); }
.landing.has-video .ld-orb {
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.05),
    0 0 70px 18px rgba(58, 68, 255, 0.42),
    0 20px 54px -8px rgba(0, 0, 0, 0.5);
}

/* --- Shaffof "oyna" panel (glassmorphism) --- */
.glass-nav {
  position: relative; z-index: 3;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 8px 32px -8px rgba(11, 21, 51, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.glass-nav .ld-nav-right a {
  padding: 8px 16px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.8);
  transition: var(--t);
}
.glass-nav .ld-nav-right a:hover {
  background: #fff; border-color: var(--blue-200); color: var(--blue);
}


@media (max-width: 980px) {
  .ld-scrim {
    background:
      linear-gradient(to bottom,
        rgba(5, 9, 38, 0.50) 0%,
        rgba(5, 9, 38, 0.70) 30%,
        rgba(5, 9, 38, 0.74) 70%,
        rgba(5, 9, 38, 0.74) 91%,
        rgba(250, 251, 253, 0.80) 99%,
        rgba(250, 251, 253, 1) 100%);
  }
  .glass-nav { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ld-video { display: none; } }


/* ============ RO'YXATDAN O'TISH TUGMASI ============ */
.ld-nav-right { gap: 12px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px !important; border-radius: var(--r-full);
  background: var(--grad-blue) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: var(--sh-blue);
  transition: var(--t);
}
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease-out; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--sh-blue-hi); color: #fff !important; }
.nav-cta:hover svg { transform: translateX(3px); }
.landing.has-video .glass-nav .ld-nav-right a.nav-cta {
  background: linear-gradient(135deg, #3A44FF 0%, #1017D6 100%) !important;
  border-color: transparent !important; color: #fff !important;
  box-shadow: 0 8px 24px rgba(20, 30, 220, 0.5);
}

.foot-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.foot-cta {
  padding: 10px 20px; border-radius: var(--r-full);
  background: var(--grad-blue); color: #fff !important;
  box-shadow: var(--sh-blue); transition: var(--t);
}
.foot-cta:hover { transform: translateY(-2px); box-shadow: var(--sh-blue-hi); color: #fff !important; }

@media (max-width: 620px) {
  .nav-cta { padding: 9px 15px !important; font-size: 12.5px; }
  .ld-nav-right { gap: 8px; }
}
