:root{
  --bg:#050510;
  --surface:#0a0a1a;
  --card:#0f0f24;
  --text:#f0f0ff;
  --muted:#8888aa;
  --line:rgba(140,120,255,.12);
  --primary:#00e0c2;
  --primary-2:#7c3aed;
  --accent:#0891b2;
  --accent-strong:#34d399;
  --accent-soft:rgba(110,231,183,.08);
  --violet-soft:rgba(167,139,250,.06);
  --danger:#ff4466;
  --ok:#00c853;
  --shadow:0 4px 40px rgba(100,60,255,.12);
  --glow:0 0 40px rgba(167,139,250,.15);
  --radius:12px;
  --radius-sm:8px;
  --max:1200px;
  --font:'Space Grotesk', 'Outfit', sans-serif;
  --nav-height:72px;
  --gradient-1:linear-gradient(135deg, #00e0c2 0%, #0891b2 100%);
  --gradient-2:linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-3:linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #6ee7b7 100%);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:#030308 !important;
  color:var(--text);
  line-height:1.6;
  min-height:100vh;
  position:relative;
  display:flex;
  flex-direction:column;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(99,102,241,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(110,231,183,.06) 0%, transparent 50%);
  z-index:0;
  display:none !important;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:none;
  opacity:0;
  z-index:0;
  display:none !important;
}

#particles{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  background:transparent;
}

/* Keep only one background layer at a time */
body.has-bg-video #particles{
  display:none !important;
}

body::before,
body::after,
.hero-stage-grid,
.hero-stage-panel::before,
.hero-stage-panel::after,
.hero-overlay,
.hero-visual::before,
.hero-visual::after{
  display:none !important;
}

/* Background video */
body.has-bg-video{background:transparent}
body[data-admin="1"]{background:transparent}
.bg-video{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  pointer-events:none;
  opacity:.22;
  filter:saturate(1.02) contrast(1.05);
}
.bg-video-overlay{
  position:fixed;
  inset:0;
  background:linear-gradient(180deg, rgba(3,3,8,.7), rgba(3,3,8,.84));
  z-index:0;
  pointer-events:none;
}

/* Ensure content sits above the background video */
#app-header{position:relative; z-index:1}
main, .hero, #app-header{position:relative; z-index:1}
main, #app-footer{position:relative; z-index:1}

/* Improve video visibility behind UI */
body.has-bg-video{
  --text:#ffffff;
  --muted:rgba(200,180,255,.6);
  --line:rgba(140,120,255,.14);
}
body.has-bg-video .site-header{background:transparent; border-bottom-color:transparent; backdrop-filter:none; box-shadow:none}
body.has-bg-video .card{
  background:rgba(15,15,36,.6);
  backdrop-filter:blur(16px);
}
body.has-bg-video .site-footer{background:transparent; border-top-color:rgba(140,120,255,.08)}
body.has-bg-video .nav a,
body.has-bg-video .btn,
body.has-bg-video .select{
  background:transparent;
  border-color:rgba(140,120,255,.14);
  color:#fff;
}
body.has-bg-video .brand{color:#fff}
body.has-bg-video .nav a:hover,
body.has-bg-video .btn:hover{
  background:transparent;
  border-color:rgba(140,120,255,.22);
}
body.has-bg-video .nav a[aria-current="page"]{background:transparent}
body.has-bg-video input,
body.has-bg-video textarea{
  background:rgba(140,120,255,.08);
  border-color:rgba(140,120,255,.14);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1280px; margin:0 auto; padding:0 32px}

.skip-link{
  position:absolute; left:-999px; top:8px;
  background:var(--primary);
  color:#000;
  padding:10px 12px;
  border-radius:4px;
}
.skip-link:focus{left:16px; z-index:9999}

/* Header */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:900;
  height:var(--nav-height);
  background:rgba(5,5,16,.7);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(0,224,194,.1);
  box-shadow:0 1px 30px rgba(100,60,255,.06);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:24px; height:var(--nav-height)}
.brand{display:flex; align-items:center; gap:10px; font-weight:500; letter-spacing:.14em; font-size:15px; text-transform:uppercase; flex-shrink:0; color:#fff; user-select:none}
.brand img{width:24px; height:24px}
.brand-home{
  gap:12px;
  letter-spacing:.16em;
  font-size:14px;
  text-decoration:none;
}
.brand-home:hover{
  text-decoration:none;
}
.brand-home .brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:10px;
  border:1px solid rgba(125,211,252,.16);
  background:linear-gradient(180deg, rgba(17,24,39,.72), rgba(8,13,30,.5));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  animation:glow 3s ease-in-out infinite;
}
.brand-home .brand-mark img{
  width:18px;
  height:18px;
}
.brand-home .brand-text{
  color:#fff;
  font-weight:500;
  letter-spacing:.2em;
}
.nav{display:flex; align-items:center; gap:4px; flex-wrap:nowrap}
.nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 24px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:rgba(255,255,255,0.6);
  font-size:13px;
  font-weight:500;
  text-decoration:none;
  transition:all 0.3s ease;
  overflow:visible;
}
.nav a::before{
  display:none !important;
}
.nav a::after{display:none !important}
.nav a:hover{
  color:#00e0c2;
  background:rgba(0,224,194,0.1);
  border-color:rgba(0,224,194,0.25);
  text-decoration:none;
}
.nav a:active{transform:none}
.nav a[aria-current="page"]{
  color:#fff;
  background:rgba(0,224,194,0.12);
  border:1px solid rgba(0,224,194,0.4);
  box-shadow:0 0 15px rgba(0,224,194,0.2);
}

.actions{display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex-wrap:nowrap; flex-shrink:0}

.lang-switch{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  position:relative;
  top:auto;
  right:auto;
  z-index:auto;
}
.lang-switch .lang-btn:not(:first-child){display:none}
.lang-switch.open .lang-btn:not(:first-child){display:block}
.lang-btn{
  width:36px;
  height:24px;
  padding:0;
  border-radius:8px;
  border:1px solid rgba(140,120,255,.15);
    background:transparent;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  box-shadow:none;
  transition:border-color .2s ease, opacity .2s ease, transform .2s ease;
  }
.lang-switch.open .lang-btn{animation:lang-switch-reveal .18s ease}
.lang-btn:hover{
  background:transparent;
  border-color:rgba(167,139,250,.35);
    transform:translateY(-1px);
  box-shadow:0 0 8px rgba(167,139,250,.15);
  }
.lang-btn:active{transform:none}
.lang-btn:focus{outline:2px solid rgba(140,120,255,.3); outline-offset:2px}
.lang-flag{position:absolute; inset:0}
  .lang-btn::after{
  content:"";
  position:absolute;
  top:50%;
  left:-10px;
  width:6px;
  height:6px;
  border-radius:999px;
  background:transparent;
  transform:translateY(-50%);
  transition:background-color .2s ease;
}
.lang-btn[aria-pressed="true"]{
  border-color:rgba(140,120,255,.45);
  box-shadow:0 0 0 1px rgba(140,120,255,.22), 0 0 14px rgba(167,139,250,.18);
}
.lang-btn[aria-pressed="true"]::after{background:var(--accent)}

@keyframes lang-switch-reveal{
  from{opacity:0; transform:translateY(-4px)}
  to{opacity:1; transform:translateY(0)}
}

/* Match dark pills on video-background pages */
body.has-bg-video .lang-btn{
  background:transparent;
  border-color:rgba(140,120,255,.14);
}
body.has-bg-video .lang-btn:hover{
  background:transparent;
  border-color:rgba(140,120,255,.25);
}
body.has-bg-video .lang-btn[aria-pressed="true"]{border-color:rgba(140,120,255,.3)}

/* Flag approximations */
.lang-flag.uz{
  background:linear-gradient(to bottom,
    #00afca 0 32%,
    #ffffff 32% 64%,
    #1eb53a 64% 100%
  );
}
.lang-flag.uz::before,
.lang-flag.uz::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#e03a3e;
}
.lang-flag.uz::before{top:32%}
.lang-flag.uz::after{top:64%}

.lang-flag.ru{
  background:linear-gradient(to bottom,
    #ffffff 0 33%,
    #0039a6 33% 66%,
    #d52b1e 66% 100%
  );
}

.lang-flag.en{
  background:
    linear-gradient(90deg, transparent 44%, #ffffff 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, #ffffff 44% 56%, transparent 56%),
    linear-gradient(90deg, transparent 47%, #c8102e 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, #c8102e 47% 53%, transparent 53%),
    linear-gradient(45deg, transparent 43%, #ffffff 43% 47%, transparent 47% 53%, #ffffff 53% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, #ffffff 43% 47%, transparent 47% 53%, #ffffff 53% 57%, transparent 57%),
    linear-gradient(45deg, transparent 46%, #c8102e 46% 48%, transparent 48% 52%, #c8102e 52% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #c8102e 46% 48%, transparent 48% 52%, #c8102e 52% 54%, transparent 54%),
    #012169;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.2);
  background:rgba(140,120,255,.06);
  color:var(--text);
  cursor:pointer;
  position:relative;
  overflow:hidden;
  font-size:13px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 6px 22px rgba(8,145,178,.2);
  backdrop-filter:blur(12px);
  transition:all .3s cubic-bezier(.4,0,.2,1);
}
.btn::before{content:""; position:absolute; inset:0; background:var(--gradient-1); opacity:0; transition:opacity .3s ease}
.btn::after{display:none}
.btn.btn-icon{width:auto; height:auto; min-width:auto; min-height:auto; padding:10px 16px; border-radius:0}
.btn.btn-icon svg{width:16px; height:16px}
.btn.btn-icon .btn-label{display:none}
.btn.icon-only svg{width:18px; height:18px}
.btn:hover{
  background:rgba(140,120,255,.12);
  border-color:rgba(167,139,250,.4);
  box-shadow:0 0 26px rgba(0,224,194,.35);
  text-decoration:none;
  transform:translateY(-3px);
}
.btn:active{
  transform:translateY(0);
}
.btn.primary{
  background:var(--gradient-1);
  border-color:transparent;
  color:#000;
  font-weight:600;
  box-shadow:0 4px 20px rgba(167,139,250,.3);
}
.btn.primary::before{display:none}
.btn.primary:hover{
  box-shadow:0 6px 30px rgba(167,139,250,.45);
  transform:translateY(-2px);
}
.btn.ghost{background:transparent; border-color:rgba(140,120,255,.15)}
.btn.ghost::before{display:none}
.btn.danger{
  border-color:rgba(255,68,100,.4);
  background:rgba(255,68,100,.08);
  color:#ff6b8a;
  box-shadow:none;
}
.btn.danger::before{display:none}

.select{
  appearance:none;
  padding:10px 36px 10px 14px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(140,120,255,.15);
  background:rgba(140,120,255,.06);
  color:var(--text);
  cursor:pointer;
  font-size:13px;
  letter-spacing:.02em;
  box-shadow:none;
  transition:border-color .2s ease;
}
.select:hover{
  border-color:rgba(140,120,255,.22);
  box-shadow:none;
}

.hamburger{display:none}

/* Main */
main{padding:calc(var(--nav-height) + 20px) 0 80px}

/* Sticky footer */
main{flex:1 0 auto}
#app-footer{margin-top:auto}

.hero{
  padding:0;
}
.hero-visual{
  position:relative;
  padding:0;
  border-radius:0;
  border:none;
  overflow:visible;
  background:transparent;
}
.hero-overlay{display:none !important}
.hero-inner{
  position:relative;
  min-height:100vh;
  padding:160px 0 80px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0;
}
.hero-title{
  margin:0 0 32px;
  max-width:12ch;
  font-size:clamp(56px, 11vw, 120px);
  font-weight:300;
  letter-spacing:-.06em;
  line-height:.93;
  text-align:center;
  text-wrap:balance;
  background:var(--gradient-3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  text-shadow:0 0 60px rgba(0,224,194,.4);
}
.hero-sub{max-width:640px; margin:0 0 12px; font-size:clamp(16px, 2vw, 20px); color:var(--muted); line-height:1.5; text-align:center}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:20px}
.hero-kpis{max-width:860px; width:100%; margin-top:6px; grid-template-columns:repeat(3, 1fr)}
.hero-kpis .item{background:rgba(140,120,255,.06)}
.hero-kpis .item .v{font-size:34px}
.hero-kpis .item .k{font-size:13px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:start;
}
.hero-grid.single{grid-template-columns:1fr}

.h1{
  font-size:clamp(32px, 5vw, 52px);
  line-height:1;
  margin:0 0 12px;
  font-weight:300;
  letter-spacing:-.04em;
  background:var(--gradient-1);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.lead{color:var(--muted); font-size:16px; margin:0 0 20px; line-height:1.7}

.pills{display:flex; gap:8px; flex-wrap:wrap; margin:18px 0; justify-content:center}
.pill{
  font-size:13px; color:var(--muted);
  padding:10px 18px;
  border:1px solid rgba(140,120,255,.12);
  border-radius:var(--radius);
  background:rgba(140,120,255,.06);
  box-shadow:none;
  transition:all .3s ease;
}
.pill:hover{
  transform:translateY(-1px);
  background:rgba(140,120,255,.14);
  border-color:rgba(167,139,250,.3);
  color:var(--primary);
  box-shadow:0 4px 16px rgba(167,139,250,.12);
}

.hero-shell{align-items:center}
.hero-copy{display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center}
.hero-badge,
.dashboard-badge{
  display:inline-flex;
  align-items:center;
  align-self:center;
  padding:8px 20px;
  border-radius:999px;
  border:1px solid rgba(167,139,250,.25);
  background:rgba(167,139,250,.08);
  color:var(--primary);
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  margin-bottom:24px;
  box-shadow:0 0 20px rgba(167,139,250,.1);
}
.hero-badge{animation:float 4s ease-in-out infinite}
.hero-badge-logo{
  width:220px;
  height:220px;
  padding:0;
  border-radius:44px;
  border:1px solid rgba(125,211,252,.24);
  background:linear-gradient(180deg, rgba(17,24,39,.75), rgba(8,13,30,.55));
  margin-bottom:20px;
  box-shadow:0 14px 32px rgba(2,6,23,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-badge-logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
}
.hero-pills{margin-top:8px; margin-bottom:0}
.hero-spotlight-wrap{width:100%; max-width:1000px}
.hero-stage-panel{
  position:relative;
  margin-bottom:18px;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  padding:24px;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(110,231,183,.07), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(99,102,241,.08), transparent 30%),
    linear-gradient(180deg, rgba(9,11,31,.88), rgba(6,8,24,.78));
  border:1px solid rgba(140,120,255,.14);
  border-radius:24px;
  backdrop-filter:blur(16px) saturate(1.15);
  box-shadow:0 18px 56px rgba(2,6,23,.38), inset 0 1px 0 rgba(255,255,255,.04);
  animation:panelGlow 2.5s ease-in-out infinite;
}
.hero-stage-panel::before,
.hero-stage-panel::after{
  content:"";
  position:absolute;
  inset:auto;
  pointer-events:none;
  z-index:0;
}
.hero-stage-panel::before{
  top:-80px;
  left:50%;
  width:320px;
  height:320px;
  transform:translateX(-50%);
  border-radius:999px;
  background:radial-gradient(circle, rgba(124,58,237,.18), transparent 68%);
  opacity:.7;
}
.hero-stage-panel::after{
  right:-120px;
  bottom:-140px;
  width:240px;
  height:240px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(34,211,238,.12), transparent 72%);
  opacity:.65;
}
.hero-stage-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(140,120,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,120,255,.04) 1px, transparent 1px);
  background-size:36px 36px;
  opacity:.55;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.08));
  pointer-events:none;
  animation:gridScroll 5s linear infinite;
}
.hero-stage-orbit{
  position:relative;
  z-index:1;
  min-height:272px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
}
.hero-stage-ring{
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.12);
  box-shadow:0 0 24px rgba(140,120,255,.05), inset 0 0 24px rgba(255,255,255,.02);
  animation:ringPulse 3s ease-in-out infinite;
}
.hero-stage-ring-a{width:272px; height:272px; --ring-rot:12deg; transform:rotate(12deg)}
.hero-stage-ring-b{width:208px; height:208px; --ring-rot:-22deg; transform:rotate(-22deg); animation-delay:.4s}
.hero-stage-ring-c{width:148px; height:148px; --ring-rot:34deg; transform:rotate(34deg); animation-delay:.8s}
.hero-stage-core{
  position:relative;
  z-index:1;
  width:min(328px, 100%);
  padding:28px 24px;
  border-radius:22px;
  border:1px solid rgba(140,120,255,.18);
  text-align:center;
  background:
    linear-gradient(180deg, rgba(17,20,48,.9), rgba(9,11,28,.84));
  box-shadow:0 18px 46px rgba(2,6,23,.34), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(14px) saturate(1.1);
  animation:coreFloat 3.5s ease-in-out infinite;
}
.hero-stage-core::before{
  content:"";
  position:absolute;
  top:0;
  left:24px;
  right:24px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.hero-stage-kicker{
  display:block;
  margin-bottom:12px;
  font-size:10px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--muted);
}
.hero-stage-core strong{
  display:block;
  font-size:clamp(26px, 3.5vw, 40px);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:300;
  color:#f8f7ff;
}
.hero-stage-core p{
  margin:14px auto 0;
  max-width:24ch;
  color:rgba(214,218,255,.68);
  font-size:13px;
  line-height:1.55;
}
.hero-stage-chip{
  position:absolute;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.18);
  background:rgba(8,11,31,.72);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px rgba(2,6,23,.24), inset 0 1px 0 rgba(255,255,255,.04);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(226,228,255,.78);
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-stage-chip::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), #7dd3fc);
  box-shadow:0 0 0 4px rgba(110,231,183,.08), 0 0 18px rgba(110,231,183,.22);
}
.hero-stage-chip:hover{
  transform:translateY(-2px);
  border-color:rgba(167,139,250,.32);
  box-shadow:0 16px 32px rgba(2,6,23,.3), 0 0 20px rgba(167,139,250,.1);
}
.hero-stage-chip-a{top:18px; left:18px; animation:chipFloatA 1.5s ease-in-out infinite}
.hero-stage-chip-b{top:38px; right:16px; animation:chipFloatB 1.8s ease-in-out infinite}
.hero-stage-chip-c{bottom:18px; left:28px; animation:chipFloatC 2s ease-in-out infinite}
.hero-stage-metrics{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:4px;
}
.hero-stage-metric{
  position:relative;
  min-height:92px;
  padding:16px 18px 14px;
  border-radius:18px;
  border:1px solid rgba(140,120,255,.14);
  background:linear-gradient(180deg, rgba(11,14,34,.84), rgba(8,10,26,.72));
  backdrop-filter:blur(12px);
  box-shadow:0 12px 24px rgba(2,6,23,.14), inset 0 1px 0 rgba(255,255,255,.03);
  transition:all .3s ease;
  animation:metricFloat 2s ease-in-out infinite;
}
.hero-stage-metric::before{
  content:"";
  position:absolute;
  top:0;
  left:20px;
  right:20px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(124,58,237,.2), rgba(103,232,249,.7), rgba(124,58,237,.2));
  opacity:.75;
}
.hero-stage-metric:nth-child(2){animation-delay:.3s}
.hero-stage-metric:nth-child(3){animation-delay:.6s}
.hero-stage-metric:hover{
  transform:translateY(-4px);
  border-color:rgba(167,139,250,.28);
  box-shadow:0 20px 40px rgba(2,6,23,.26), 0 0 24px rgba(167,139,250,.1);
}
.hero-stage-metric span{
  display:block;
  margin-bottom:12px;
  color:rgba(188,191,224,.72);
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.hero-stage-metric strong{
  font-size:clamp(22px, 3vw, 30px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.04em;
  color:#c4b5fd;
}
.hero-direction-grid{align-items:stretch}
.hero-card{
  min-height:100%;
  position:relative;
  overflow:hidden;
  transition:all .4s cubic-bezier(.4,0,.2,1);
  background:rgba(15,15,36,.5);
  border-color:rgba(140,120,255,.1);
  backdrop-filter:blur(8px);
}
.hero-card:hover{
  transform:translateY(-4px);
  text-decoration:none;
  border-color:rgba(167,139,250,.3);
  box-shadow:0 12px 40px rgba(100,60,255,.15);
  background:rgba(20,20,48,.6);
}
.hero-card-label{
  display:inline-flex;
  margin-bottom:18px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}

/* Landing hero cards */
.hero-card.pad{padding:40px}
.hero-card h3{font-size:clamp(28px, 4vw, 48px); font-weight:300; letter-spacing:-.04em}
.hero-card .small{font-size:13px}
.hero-card .btn{min-width:60px; min-height:60px; width:60px; height:60px; padding:0}

/* Directions (3 cards under NETRICA) */
#directions .hero-card.pad{padding:28px}
#directions .hero-card h3{font-size:22px; font-weight:400; letter-spacing:-.02em}
#directions .hero-card .btn{min-width:44px; min-height:44px; width:44px; height:44px}

/* Landing hero list */
.hero-list.pad{padding:22px}
.hero-list .list{gap:12px}
.hero-list .list .row{padding:14px}
.hero-list .list .row .muted{font-size:14px}

.card{
  position:relative;
  background:rgba(15,15,36,.5);
  border:1px solid rgba(140,120,255,.1);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 2px 16px rgba(0,0,0,.2);
  backdrop-filter:blur(8px);
  transition:all .35s cubic-bezier(.4,0,.2,1);
}
.card:hover{
  transform:translateY(-2px);
  border-color:rgba(167,139,250,.25);
  box-shadow:0 8px 32px rgba(100,60,255,.12);
}
.card::before{display:none}
.card::after{display:none}
.card.pad{padding:28px}

.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2, 1fr); gap:14px}


.section{margin-top:0; padding:80px 0}
.section,
.page-intro,
.card,
.auth-copy-panel,
.hero-stage-panel{
  animation:panelEnter .72s cubic-bezier(.2,.8,.2,1) both;
}
.section-title{display:flex; align-items:center; justify-content:center; gap:12px; margin:0 0 40px; text-align:center; flex-direction:column}
.section-title.stack{flex-direction:column; align-items:center; justify-content:center; gap:8px}
.section-title h2{
  margin:0;
  font-size:clamp(22px, 3.5vw, 44px);
  font-weight:300;
  letter-spacing:-.04em;
  line-height:1;
  background:var(--gradient-1);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.section-title p{margin:0; color:var(--muted); font-size:clamp(14px, 1.5vw, 18px); max-width:600px}

/* About stats hover-reveal */
.about-card{
  position:relative;
  display:block;
  cursor:pointer;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:border-color .25s ease;
}
.about-card:hover{text-decoration:none; border-color:rgba(167,139,250,.3); box-shadow:0 8px 32px rgba(100,60,255,.1)}
.about-card h3{margin:0}
.about-more{
  margin:10px 0 0;
  opacity:1;
  max-height:none;
  overflow:visible;
  transform:none;
}

/* Dashboard sidebar */
.dash-layout{display:grid; grid-template-columns:280px 1fr; grid-template-areas:"sidebar content"; gap:14px; align-items:start}
.dash-sidebar{grid-area:sidebar}
.dash-content{grid-area:content}
.dash-sidebar{display:flex; flex-direction:column; min-height:calc(100vh - 220px)}
.dash-content{min-width:0}
.dashboard-shell{align-items:stretch}
.dash-sidebar{
  background:rgba(140,120,255,.03);
}
.dash-brand{margin-bottom:12px}
.dash-brand:hover{text-decoration:none}
.dash-embed-bar{display:flex; align-items:center; justify-content:flex-start; margin-bottom:12px}
.dash-embed-frame{width:100%; height:calc(100vh - 260px); min-height:520px; border-radius:var(--radius); border:1px solid rgba(140,120,255,.1); background:rgba(140,120,255,.03)}
.dash-group{margin:10px 0 8px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.dash-nav{display:grid; gap:8px}
.dash-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:var(--radius);
  border:1px solid transparent;
  background:transparent;
  text-decoration:none;
  box-shadow:none;
  transition:background .2s ease, border-color .2s ease;
}
.dash-nav a:hover{
  background:rgba(140,120,255,.06);
  border-color:rgba(140,120,255,.1);
  transform:none;
  box-shadow:none;
}
.dash-nav a[aria-current="page"]{
  background:rgba(140,120,255,.08);
  border-color:rgba(140,120,255,.14);
  font-weight:700;
  box-shadow:none;
}
.dash-sidebar-footer{margin-top:auto; padding-top:12px}
.dash-user{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
}
.dash-avatar{
  width:40px; height:40px;
  border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  background:rgba(140,120,255,.12);
  border:1px solid rgba(140,120,255,.14);
  box-shadow:none;
}
.dash-user-name{font-weight:800}
.dash-user-role{font-size:12px; color:var(--muted)}
.dash-logout{width:100%; margin-top:10px}
.dashboard-overview{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  background:rgba(140,120,255,.04);
}
.dashboard-overview-copy{flex:1 1 auto}
.dashboard-title{margin:0 0 8px; font-size:clamp(28px, 4vw, 40px); font-weight:300; letter-spacing:-.04em; line-height:1; background:var(--gradient-1); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text}
.dashboard-lead{max-width:620px; margin:0}
.dashboard-overview-side{display:grid; gap:14px; min-width:280px}
.dashboard-overview-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.dashboard-visual-panel{
  position:relative;
  padding:16px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
}
.dashboard-visual-orbit{position:relative; min-height:220px; display:flex; align-items:center; justify-content:center}
.dashboard-visual-ring{
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.1);
  box-shadow:none;
  animation:ringPulse 6s ease-in-out infinite;
}
.dashboard-visual-ring-a{width:180px; height:180px; --ring-rot:12deg; transform:rotate(12deg)}
.dashboard-visual-ring-b{width:132px; height:132px; --ring-rot:-16deg; transform:rotate(-16deg); animation-delay:.6s}
.dashboard-visual-ring-c{width:88px; height:88px; --ring-rot:24deg; transform:rotate(24deg); animation-delay:1.2s}
.dashboard-visual-core{
  position:relative;
  z-index:1;
  width:130px;
  height:130px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.12);
  background:rgba(140,120,255,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:none;
  backdrop-filter:blur(12px);
  animation:coreFloat 3.5s ease-in-out infinite;
}
.dashboard-visual-core span,
.dashboard-visual-core small{letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-size:10px}
.dashboard-visual-core strong{font-size:30px; font-weight:600; line-height:1.05; margin:5px 0}
.dashboard-visual-chip{
  position:absolute;
  z-index:1;
  padding:9px 10px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(12px);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  box-shadow:none;
}
.dashboard-visual-chip-a{top:4px; left:2px}
.dashboard-visual-chip-b{top:36px; right:2px}
.dashboard-visual-chip-c{bottom:10px; left:22px}
.dashboard-stats-grid{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px}
.dashboard-stat-card{
  min-height:138px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:rgba(140,120,255,.04);
  transition:border-color .25s ease;
}
.dashboard-stat-card:hover{
  transform:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.dashboard-stat-top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.dashboard-stat-orb{
  width:14px; height:14px;
  border-radius:2px;
  background:rgba(140,120,255,.3);
  box-shadow:none;
  animation:none;
}
.dashboard-stat-label{letter-spacing:.04em}
.dashboard-stat-value{font-size:34px; font-weight:600; line-height:1}
.dashboard-stat-meta{letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.dashboard-main-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:14px; align-items:start}
.dashboard-quick-grid{display:grid; gap:14px}
.dashboard-card{
  display:block;
  text-decoration:none;
  transition:border-color .25s ease;
  background:rgba(140,120,255,.04);
}
.dashboard-card:hover{
  transform:none;
  text-decoration:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.dashboard-card-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px}
.dashboard-card-label{font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:12px}
.dashboard-card-head .dashboard-card-label{margin-bottom:0}
.dashboard-card-go{
  min-width:42px;
  padding:8px 12px;
  border-radius:0;
  border:1px solid rgba(140,120,255,.14);
  background:transparent;
  font-size:10px;
  letter-spacing:.18em;
  text-align:center;
  text-transform:uppercase;
  box-shadow:none;
  transition:border-color .2s ease, background .2s ease;
}
.dashboard-card-go:hover{
  transform:none;
  border-color:rgba(140,120,255,.22);
  background:rgba(140,120,255,.06);
  box-shadow:none;
}
.dash-activity-card{
  background:rgba(140,120,255,.04);
}
.dash-activity-card .list .row{background:rgba(140,120,255,.03)}

.kv{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:10px}
.kv .item{
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
  transition:border-color .2s ease;
}
.kv .item:hover{
  transform:none;
  border-color:rgba(140,120,255,.14);
  box-shadow:none;
}
.kv .item .k{color:var(--muted); font-size:13px}
.kv .item .v{font-weight:700; font-size:18px}

.card h3{margin:0 0 6px; font-size:18px; font-weight:400; letter-spacing:-.01em}
.muted{color:var(--muted)}
.hidden{display:none !important}

.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.15);
  color:var(--muted);
  background:rgba(140,120,255,.06);
  box-shadow:none;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hud-status{
  border-color:rgba(140,120,255,.14);
  color:var(--text);
  box-shadow:none;
}
.hud-mini-pill{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:0;
  border:1px solid rgba(140,120,255,.12);
  background:transparent;
  color:var(--text);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  box-shadow:none;
}
.hud-line-mark{letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}

.hr{height:1px; background:rgba(140,120,255,.1); margin:14px 0}

/* Forms */
.form{display:grid; gap:12px}
.field{display:grid; gap:6px}
label{font-size:13px; color:var(--muted)}
input,textarea{
  width:100%;
  padding:14px 14px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(140,120,255,.15);
  background:rgba(140,120,255,.04);
  color:var(--text);
  font-size:14px;
  box-shadow:none;
  transition:border-color .3s ease, box-shadow .3s ease;
}
textarea{min-height:120px; resize:vertical}
input:focus,textarea:focus{
  outline:none;
  border-color:rgba(167,139,250,.5);
  background:rgba(140,120,255,.06);
  box-shadow:0 0 16px rgba(167,139,250,.12);
}
.select:focus,.btn:focus{outline:2px solid rgba(167,139,250,.4); outline-offset:2px}
.helper{font-size:12px; color:var(--muted)}

/* Lists */
.list{display:grid; gap:10px}
.list .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.03);
  box-shadow:none;
  transition:border-color .2s ease;
}
.list .row:hover{
  transform:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.row-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}
.list-empty{width:100%; text-align:center; padding:10px 0; color:var(--muted)}
.list-empty b{display:block; color:var(--text)}

/* Chat */
.chat-frame{overflow:hidden; background:rgba(140,120,255,.04)}
.chat-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:16px;
  border-bottom:1px solid rgba(140,120,255,.1);
  background:transparent;
}
.chat-topbar-copy{display:grid; gap:6px}
.chat-intro-badge{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(140,120,255,.2);
  background:rgba(140,120,255,.06);
  color:var(--muted);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  box-shadow:none;
}
.chat-topbar-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.chat-wrap{display:grid; grid-template-rows:1fr auto; height:calc(100vh - 180px); min-height:520px}
.chat-log{overflow:auto; padding:16px; display:grid; gap:12px; background:transparent}
.msg{
  max-width:78%;
  padding:14px 14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(15,15,36,.5);
  box-shadow:none;
  animation:messageRise .35s ease both;
}
.msg.me{
  margin-left:auto;
  background:rgba(167,139,250,.1);
  border-color:rgba(167,139,250,.2);
  box-shadow:none;
}
.msg.ai{margin-right:auto}
.msg .meta{font-size:11px; color:var(--muted); margin-top:6px}
.chat-input{display:flex; gap:10px; padding:14px; border-top:1px solid rgba(140,120,255,.1); align-items:flex-end; background:transparent}
.chat-input textarea{flex:1; min-height:56px; max-height:140px; resize:none}
.chat-tz-btn{
  background:rgba(140,120,255,.15);
  border:1px solid rgba(140,120,255,.25);
  color:var(--accent);
  font-size:20px;
  width:46px;
  height:46px;
  border-radius:var(--radius);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transition:background .2s;
}
.chat-tz-btn:hover{background:rgba(140,120,255,.25)}
.chat-tz-btn:disabled{opacity:.5;cursor:not-allowed}
.chat-send{
  width:46px;
  height:46px;
  padding:0;
  border-radius:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  animation:none;
}
.chat-send svg{width:22px; height:22px; fill:var(--text)}
.chat-offer-card{background:rgba(140,120,255,.04)}

.page-shell-stack{display:grid; gap:16px}
.user-list-card,.messages-workspace,.compose-card{background:rgba(140,120,255,.04)}
.messages-switcher .btn{min-width:140px}

.typing{display:inline-flex; gap:4px; align-items:center}
.dot{width:7px; height:7px; border-radius:50%; background:rgba(140,120,255,.35); animation:bounce 1s infinite ease-in-out}
.dot:nth-child(2){animation-delay:.15s}
.dot:nth-child(3){animation-delay:.3s}
@keyframes bounce{0%,80%,100%{transform:translateY(0); opacity:.55}40%{transform:translateY(-4px); opacity:1}}
@keyframes panelEnter{0%{opacity:0; transform:translateY(16px)}100%{opacity:1; transform:translateY(0)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes glow{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 rgba(0,224,194,0)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 0 26px rgba(0,224,194,.4)}}
@keyframes messageRise{0%{opacity:0; transform:translateY(8px)}100%{opacity:1; transform:translateY(0)}}
@keyframes pulseGlow{0%,100%{box-shadow:none}50%{box-shadow:none}}
@keyframes hudSweep{0%{background-position:0 0}100%{background-position:0 0}}
@keyframes coreFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes chipFloatA{0%,100%{transform:translate(0,0)}25%{transform:translate(8px,-6px)}50%{transform:translate(-4px,-10px)}75%{transform:translate(-8px,4px)}}
@keyframes chipFloatB{0%,100%{transform:translate(0,0)}25%{transform:translate(-10px,5px)}50%{transform:translate(6px,8px)}75%{transform:translate(8px,-6px)}}
@keyframes chipFloatC{0%,100%{transform:translate(0,0)}25%{transform:translate(10px,6px)}50%{transform:translate(-6px,-8px)}75%{transform:translate(-4px,10px)}}
@keyframes toastSlide{0%{opacity:0; transform:translateX(20px)}100%{opacity:1; transform:translateX(0)}}
@keyframes ringPulse{0%,100%{opacity:.4; transform:rotate(var(--ring-rot, 0deg)) scale(1)}50%{opacity:.7; transform:rotate(var(--ring-rot, 0deg)) scale(1.04)}}
@keyframes panelGlow{0%,100%{box-shadow:0 8px 40px rgba(100,60,255,.06);border-color:rgba(140,120,255,.1)}50%{box-shadow:0 8px 50px rgba(100,60,255,.12);border-color:rgba(140,120,255,.18)}}
@keyframes gridScroll{0%{background-position:0 0}100%{background-position:32px 32px}}
@keyframes metricFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes glowPulse{0%,100%{box-shadow:none}50%{box-shadow:none}}

/* Footer */
.site-footer{
  border-top:1px solid rgba(140,120,255,.08);
  padding:40px 0;
  background:transparent;
  box-shadow:none;
}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px}
.footer-grid.single{grid-template-columns:1fr}
.footer-grid.center{justify-items:center; text-align:center}
.site-footer .footer-grid.center .brand{justify-content:center}
.small{font-size:12px; color:var(--muted)}

/* Toast */
.toast-wrap{position:fixed; right:16px; bottom:16px; display:grid; gap:10px; z-index:200}
.toast{
  min-width:280px;
  border-radius:var(--radius);
  padding:12px 12px;
  border:1px solid rgba(140,120,255,.15);
  background:var(--card);
  box-shadow:0 12px 40px rgba(100,60,255,.2);
  animation:toastSlide .3s ease both;
}
.toast.ok{border-color:rgba(110,231,183,.4)}
.toast.bad{border-color:rgba(255,68,100,.4)}

.auth-shell{display:flex; align-items:center; min-height:calc(100vh - 220px)}
.auth-layout{display:grid; grid-template-columns:minmax(0, .95fr) minmax(320px, .85fr); gap:40px; align-items:center; width:100%}
.auth-layout-single{grid-template-columns:minmax(0, 560px); justify-content:center}
.auth-copy{max-width:560px}
.auth-copy-panel{
  padding:28px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
}
.auth-signal-grid{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin-top:18px}
.auth-signal-card{
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
  transition:border-color .2s ease;
}
.auth-signal-card:hover{
  transform:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.auth-signal-card span{display:block; margin-bottom:8px; color:var(--muted); font-size:11px; letter-spacing:.16em; text-transform:uppercase}
.auth-signal-card strong{font-size:20px; font-weight:600}
.auth-card{
  width:100%;
  max-width:560px;
  justify-self:end;
  background:rgba(140,120,255,.04);
}
.auth-card-compact{justify-self:center}

.page-intro{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:24px 26px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
}
.page-intro-copy{max-width:760px}
.page-intro-stats{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; min-width:320px}
.page-intro-stats.single{grid-template-columns:1fr; min-width:180px}
.page-intro-chat,
.page-intro-products{flex-wrap:wrap}
.page-intro-chat .page-intro-stats,
.page-intro-products .page-intro-stats{
  width:min(100%, 720px);
  min-width:0;
  margin:0 auto;
}
.page-intro-back-wrap{
  flex-basis:100%;
  display:flex;
  justify-content:flex-end;
  margin-top:6px;
}
.page-intro-back-wrap .btn{
  width:auto;
  min-height:auto;
}
.page-intro-stat{
  padding:14px 16px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
  transition:border-color .2s ease;
}
.page-intro-stat:hover{
  transform:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.page-intro-stat span{display:block; margin-bottom:8px; font-size:11px; letter-spacing:.18em; color:var(--muted); text-transform:uppercase}
.page-intro-stat strong{font-size:22px; font-weight:600}
.section-panel{padding:4px 2px}

.product-grid{gap:18px}
.product-card{min-height:100%; background:rgba(140,120,255,.04)}
.product-card-head{display:flex; align-items:flex-start; justify-content:space-between; gap:16px}
.product-card-kicker{margin-bottom:10px; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.product-card-desc{min-height:66px}
.product-price-badge{white-space:nowrap}
.product-feature-list li{margin-bottom:8px}
.product-card-actions .btn{flex:1 1 auto}
.product-detail-card,.product-order-card{background:rgba(140,120,255,.04)}
.product-detail-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex-wrap:wrap}
.product-detail-copy{max-width:760px}
.product-detail-grid{gap:18px}
.product-detail-panel{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
}

.profile-shell{display:grid; grid-template-columns:340px minmax(0, 1fr); gap:18px; align-items:start}
.profile-glance-card,.profile-form-card{background:rgba(140,120,255,.04)}
.profile-glance-kicker{margin-bottom:10px; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.profile-glance-grid{display:grid; gap:12px; margin-top:16px}
.profile-glance-item{
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
  transition:border-color .2s ease;
}
.profile-glance-item:hover{
  transform:none;
  border-color:rgba(140,120,255,.14);
  box-shadow:none;
}
.profile-glance-item span{display:block; margin-bottom:8px; font-size:11px; letter-spacing:.18em; color:var(--muted); text-transform:uppercase}

.admin-shell,.admin-subpage-shell{display:grid; gap:18px}
.admin-hero-card,.admin-panel-card{background:rgba(140,120,255,.04)}
.admin-hero-card{display:flex; align-items:flex-start; justify-content:space-between; gap:18px}
body[data-page="messages"] .page-shell-stack{max-width:960px; margin:0 auto}
body[data-page="messages"] #messages-panel,
body[data-page="messages"] #admin-msgs-panel,
body[data-page="messages"] #compose-panel{width:100%}
body[data-page="messages"] .list .row{gap:14px}
body[data-page="messages"] .list .row > :first-child{flex:1 1 auto; min-width:0}
body[data-page="messages"] .list .row .small{overflow-wrap:anywhere}
.admin-hero-copy h2{margin:0 0 8px; font-size:clamp(26px, 3.5vw, 36px); font-weight:300; letter-spacing:-.04em; background:var(--gradient-1); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text}
.admin-hero-copy p{margin:0; color:var(--muted)}
.admin-hero-metrics{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; min-width:240px}
.admin-hero-metric{
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  box-shadow:none;
  transition:border-color .2s ease;
}
.admin-hero-metric:hover{
  transform:none;
  border-color:rgba(140,120,255,.14);
  box-shadow:none;
}
.admin-hero-metric span{display:block; margin-bottom:8px; color:var(--muted); font-size:11px; letter-spacing:.16em; text-transform:uppercase}
.admin-card-grid{gap:18px}
.admin-nav-card{
  display:block;
  transition:border-color .25s ease;
}
.admin-nav-card:hover{
  transform:none;
  text-decoration:none;
  border-color:rgba(140,120,255,.16);
  box-shadow:none;
}
.admin-card-kicker{margin-bottom:12px; font-size:11px; letter-spacing:.2em; color:var(--muted); text-transform:uppercase}
.admin-panel-card .list .row{background:rgba(140,120,255,.03)}
.admin-badge-count{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:24px; height:24px; padding:0 7px;
  border-radius:2px;
  font-size:12px; font-weight:700;
  color:#fff;
  background:#e11d48;
  box-shadow:none;
  animation:none;
  flex-shrink:0;
}
body[data-page="messages"] .admin-inbox-row{align-items:center; padding:18px}
body[data-page="messages"] #admin-msg-detail-user .card{width:100%}
.admin-stats-grid .admin-panel-card p{font-size:36px; font-weight:600; color:var(--text)}
.auth-submit{width:100%; justify-content:center}
.auth-links{margin-top:8px}

body[data-page="home"] .hero{padding-top:0}
body[data-page="home"] .hero-title{
  font-size:clamp(56px, 11vw, 120px);
  font-weight:300;
  letter-spacing:-.06em;
  line-height:.93;
  background:var(--gradient-3);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
body[data-page="home"] .hero-sub{font-size:clamp(16px, 2vw, 20px); max-width:52ch}
body[data-page="home"] .section-title{margin-bottom:40px}
body[data-page="home"] #about .about-card{min-height:auto}
body[data-page="home"] #about .about-card h3{font-size:22px; font-weight:400; letter-spacing:-.02em}
body[data-page="home"] main{padding-top:var(--nav-height)}
body[data-page="home"] .hero-inner{
  min-height:calc(100vh - var(--nav-height));
}

.hero-auth-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  margin-top:28px;
}
.hero-auth-btn{
  min-width:190px;
  padding:16px 40px !important;
  font-size:15px !important;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid rgba(140,120,255,.25) !important;
  border-radius:999px !important;
  background:rgba(140,120,255,.06) !important;
  color:var(--text) !important;
  backdrop-filter:blur(12px);
  transition:all .3s cubic-bezier(.4,0,.2,1);
}
.hero-auth-btn::before{display:none}
.hero-auth-btn:hover{
  border-color:rgba(167,139,250,.5) !important;
  background:rgba(140,120,255,.14) !important;
  box-shadow:0 0 30px rgba(0,224,194,.45);
  transform:translateY(-3px);
}

.hero-stats{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  width:min(100%, 760px);
}
.hero-stat-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:14px 16px;
  border-radius:20px;
  border:1px solid rgba(0,224,194,.26);
  background:linear-gradient(180deg, rgba(0,224,194,.1), rgba(8,145,178,.08));
  color:#d9fffb;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  backdrop-filter:blur(12px);
  animation:metricFloat 2.8s ease-in-out infinite;
}
.hero-stat-item:nth-child(2){animation-delay:.25s}
.hero-stat-item:nth-child(3){animation-delay:.5s}
.hero-stat-value{
  display:block;
  font-size:clamp(30px, 4vw, 44px);
  line-height:1;
  letter-spacing:-.05em;
  color:#f8ffff;
  margin-bottom:8px;
  text-transform:none;
}

.hero-copy > *{
  opacity:0;
  animation:panelEnter .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-copy > :nth-child(1){animation-delay:.08s}
.hero-copy > :nth-child(2){animation-delay:.18s}
.hero-copy > :nth-child(3){animation-delay:.28s}
.hero-copy > :nth-child(4){animation-delay:.38s}

.how-grid,
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.how-card,
.testimonial-card{
  min-height:100%;
}
.how-step{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  color:#001314;
  background:linear-gradient(135deg, #00e0c2, #67e8f9);
  margin-bottom:14px;
}
.how-card h3,
.testimonial-card h3{
  margin:0 0 8px;
}
.testimonial-card p{
  margin:0 0 12px;
  color:#d8ddf7;
  line-height:1.75;
}
.testimonial-author{
  font-weight:600;
  letter-spacing:.02em;
}

.faq-list{
  display:grid;
  gap:12px;
  max-width:940px;
  margin:0 auto;
}
.faq-item{
  border:1px solid rgba(140,120,255,.16);
  border-radius:16px;
  background:rgba(15,15,36,.52);
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-size:16px;
  font-weight:500;
  letter-spacing:.01em;
  position:relative;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  color:var(--primary);
}
.faq-item[open] summary::after{content:"−"}
.faq-item p{
  margin:0;
  padding:0 18px 16px;
  color:var(--muted);
  line-height:1.7;
}

body[data-page="home"] .section:nth-of-type(1){animation-delay:.12s}
body[data-page="home"] .section:nth-of-type(2){animation-delay:.24s}
body[data-page="home"] .section:nth-of-type(3){animation-delay:.36s}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .kv{grid-template-columns:1fr}
  .dash-layout{grid-template-columns:1fr; grid-template-areas:"content" "sidebar"}
  .dash-sidebar{min-height:auto}
  .dash-embed-frame{height:70vh; min-height:420px}
  .footer-grid{grid-template-columns:1fr}
  .chat-wrap{height:auto}
  .hero-inner{min-height:80vh; padding:120px 24px 60px}
  .hero-title{font-size:clamp(38px, 10vw, 72px)}
  .hero-stats{grid-template-columns:1fr; width:100%}
  .hero-stage-metrics{grid-template-columns:1fr}
  .hero-stage-panel{padding:18px 16px}
  .hero-stage-chip-a,.hero-stage-chip-b,.hero-stage-chip-c{position:static; margin:0 auto}
  .hero-stage-orbit{display:grid; gap:14px; min-height:auto}
  .hero-stage-core{width:100%; max-width:340px; padding:24px 20px}
  .hero-stage-ring{display:none}
  .dashboard-overview{flex-direction:column}
  .dashboard-overview-side{width:100%}
  .dashboard-overview-actions{justify-content:flex-start}
  .dashboard-stats-grid{grid-template-columns:1fr 1fr}
  .dashboard-main-grid{grid-template-columns:1fr}
  .auth-shell{min-height:auto}
  .auth-layout{grid-template-columns:1fr}
  .auth-card{justify-self:stretch}
  .auth-signal-grid{grid-template-columns:1fr}
  .page-intro{flex-direction:column; align-items:flex-start}
  .page-intro-stats,.admin-hero-metrics{grid-template-columns:1fr; min-width:0; width:100%}
  .page-intro-back-wrap{width:100%; justify-content:flex-start; margin-top:4px}
  .profile-shell{grid-template-columns:1fr}
  .admin-hero-card{flex-direction:column}
  .product-detail-top{flex-direction:column}
  .chat-topbar{flex-direction:column}
  .chat-topbar-actions{justify-content:flex-start}
  .chat-wrap{height:auto; min-height:unset}
  .chat-log{max-height:58vh}
  .nav{display:none}
  .hamburger{display:flex}
  body[data-page="home"] .hero-title{font-size:clamp(38px, 10vw, 72px)}
  .section{padding:60px 0}
  .how-grid,
  .testimonials-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 700px){
  main{padding:calc(var(--nav-height) + 10px) 0 40px}
  .container{padding:0 16px}
  .lang-switch{top:auto; right:auto}
  .page-intro{padding:18px 18px 20px; border-radius:var(--radius)}
  .page-intro .h1{font-size:clamp(24px, 6vw, 34px)}
  .page-intro-stat strong{font-size:18px}
  .card.pad{padding:18px}
  body[data-page="messages"] .page-shell-stack{max-width:none}
  .btn{width:100%; min-height:46px}
  .actions .btn{width:auto; min-height:auto}
  .messages-switcher{display:grid; grid-template-columns:1fr; width:100%}
  .messages-switcher .btn{width:100%}
  .list .row{padding:12px; border-radius:var(--radius)}
  body[data-page="messages"] .list .row{padding:16px}
  .list .row .btn{width:auto}
  .chat-input{flex-direction:column}
  .chat-send{width:100%; height:50px; border-radius:0}
  .msg{max-width:92%}
  .dashboard-stats-grid{grid-template-columns:1fr}
  .section{padding:40px 0}
  .hero-badge-logo{
    width:180px;
    height:180px;
    border-radius:36px;
    margin-bottom:14px;
  }
  .hero-badge-logo img{width:100%; height:100%}
  .hero-auth-actions{width:100%; flex-direction:column; gap:10px}
  .hero-auth-btn{min-width:0 !important; width:100%}
  .how-grid,
  .testimonials-grid{grid-template-columns:1fr}
  .faq-item summary{font-size:15px; padding:14px 16px}
  .faq-item p{padding:0 16px 14px}
}

@media (max-width: 540px){
  .hero-badge,.dashboard-badge,.chat-intro-badge{font-size:10px; letter-spacing:.14em}
  .page-intro .h1{font-size:clamp(22px, 5vw, 30px)}
  .hero-stage-panel{padding:16px 12px; border-radius:20px}
  .hero-stage-core{padding:22px 18px}
  .hero-stage-metric{padding:14px 14px 12px; min-height:84px; border-radius:16px}
  .section-title{align-items:center; flex-direction:column}
  .row-meta{flex-direction:column; gap:6px}
  .list .row{flex-direction:column; align-items:stretch}
  .list .row .badge,
  .list .row .btn{align-self:flex-start}
  .hero-title,
  body[data-page="home"] .hero-title{font-size:clamp(34px, 10vw, 52px)}
  .hero-inner{padding:122px 0 48px}
  .hero-stat-value{font-size:30px}
}

/* Support Chat Widget */
.support-fab{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:180;
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 24px;
  border:1px solid rgba(140,120,255,.2);
  border-radius:var(--radius);
  background:var(--card);
  color:var(--text);
  font-size:13px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,.3);
  transition:border-color .2s ease;
  animation:none;
}
.support-fab:hover{
  transform:translateY(-2px);
  border-color:rgba(167,139,250,.35);
  box-shadow:0 8px 24px rgba(100,60,255,.2);
}
.support-fab-icon{
  width:22px;
  height:22px;
  border-radius:50%;
  background:rgba(140,120,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  color:var(--text);
  flex-shrink:0;
}
.support-fab-dot{
  position:absolute;
  top:8px;
  right:8px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(52,211,153,.9);
  border:2px solid var(--card);
  display:none;
}
.support-fab-dot.active{display:block; animation:dotPulse 1.5s ease-in-out infinite}
@keyframes dotPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(52,211,153,.6)}
  50%{transform:scale(1.3);box-shadow:0 0 0 6px rgba(52,211,153,0)}
}

.support-panel{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:190;
  width:min(92vw, 480px);
  max-height:min(78vh, 720px);
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.12);
  background:var(--surface);
  box-shadow:0 12px 40px rgba(0,0,0,.5);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transform:translateY(8px);
  opacity:0;
  pointer-events:none;
  transition:transform .25s ease, opacity .2s ease;
}
.support-panel.open{
  transform:translateY(0) scale(1);
  opacity:1;
  pointer-events:auto;
}
.support-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(140,120,255,.1);
  background:transparent;
}
.support-panel-head h4{
  margin:0;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:8px;
}
.support-panel-head h4::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(52,211,153,.8);
  flex-shrink:0;
}
.support-panel-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:20px;
  cursor:pointer;
  padding:4px 8px;
  border-radius:var(--radius);
  transition:background .15s ease, color .15s ease;
}
.support-panel-close:hover{background:rgba(140,120,255,.1); color:var(--text)}
.support-messages{
  flex:1;
  overflow-y:auto;
  padding:14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:300px;
  max-height:none;
}
.support-msg{
  max-width:92%;
  padding:12px 16px;
  border-radius:var(--radius);
  font-size:14px;
  line-height:1.5;
  word-break:break-word;
}
.support-msg.user{
  align-self:flex-end;
  background:rgba(140,120,255,.1);
  border:1px solid rgba(140,120,255,.14);
  border-bottom-right-radius:0;
}
.support-msg.admin{
  align-self:flex-start;
  background:rgba(52,211,153,.08);
  border:1px solid rgba(52,211,153,.14);
  border-bottom-left-radius:0;
}
.support-msg-time{
  font-size:10px;
  color:var(--muted);
  margin-top:4px;
}
.support-msg-sender{
  font-size:10px;
  font-weight:600;
  color:var(--muted);
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.support-msg.admin .support-msg-sender{color:rgba(52,211,153,.7)}
.support-empty{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  padding:40px 10px;
}
.support-input-area{
  display:flex;
  gap:8px;
  padding:12px 14px;
  border-top:1px solid rgba(140,120,255,.1);
  background:transparent;
}
.support-input-area textarea{
  flex:1;
  min-height:40px;
  max-height:80px;
  resize:none;
  padding:8px 12px;
  font-size:13px;
  border-radius:var(--radius);
}
.support-input-area .btn{
  min-width:60px;
  padding:8px 14px;
  font-size:13px;
  align-self:flex-end;
}
.support-tz-btn{
  background:rgba(140,120,255,.15);
  border:1px solid rgba(140,120,255,.25);
  color:var(--accent);
  font-size:18px;
  width:40px;
  height:40px;
  border-radius:var(--radius);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:flex-end;
  transition:background .2s;
}
.support-tz-btn:hover{background:rgba(140,120,255,.25);}
.support-tz-btn:disabled{opacity:.5;cursor:not-allowed;}

/* Admin support chat panel */
.admin-support-threads{display:grid; gap:10px}
.admin-support-thread{
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  cursor:pointer;
  transition:border-color .2s ease;
}
.admin-support-thread:hover{border-color:rgba(140,120,255,.16); background:rgba(140,120,255,.07)}
.admin-support-thread-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:6px}
.admin-support-thread-email{font-weight:600; font-size:13px}
.admin-support-thread-time{font-size:11px; color:var(--muted)}
.admin-support-thread-preview{font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.admin-support-thread-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  border-radius:2px;
  background:rgba(140,120,255,.12);
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  padding:0 6px;
}
.admin-chat-back{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:var(--radius);
  border:1px solid rgba(140,120,255,.1);
  background:rgba(140,120,255,.04);
  color:var(--muted);
  font-size:13px;
  cursor:pointer;
  transition:border-color .15s ease;
  width:fit-content;
}
.admin-chat-back:hover{border-color:rgba(140,120,255,.16); color:var(--text)}

@media (max-width: 540px){
  .support-panel{right:8px; left:8px; bottom:8px; width:auto; max-height:calc(100vh - 96px)}
  .support-fab{right:12px; bottom:12px; padding:10px 16px; font-size:13px}
}

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

@media (max-width: 900px), (prefers-reduced-motion: reduce){
  .bg-video,
  .bg-video-overlay{display:none !important}
}

.nav a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.nav a:active {
  transform: scale(0.98);
}

/* Nav linklar ishlashi uchun */
.site-header,
.header-inner,
.nav,
.nav a {
  pointer-events: auto;
}

.nav a[href] {
  cursor: pointer;
}

/* Video fonni yashirish */
.bg-video,
.bg-video-overlay {
  display: none !important;
}

/* Qanday ishlaydi */
#how-it-works {
  padding: 80px 0;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step-card {
  background: rgba(140,120,255,.06);
  border: 1px solid rgba(140,120,255,.15);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  min-width: 200px;
  max-width: 280px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  display: block;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 15px 40px rgba(167,139,250,.15);
  text-decoration: none;
}

.step-number {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
  background: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.step-arrow {
  font-size: 32px;
  color: var(--accent);
}

/* Mobil uchun */
@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
}

/* Mobil nav tuzatish */
@media (max-width: 900px) {
  .site-header {
    position: relative;
    z-index: 9999;
  }

  .nav {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    pointer-events: auto;
  }

  .nav a {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 100;
    position: relative;
    padding: 10px 16px;
    min-height: 44px;
    min-width: 44px;
  }

  /* Ustidagi elementlarni olib tashla */
  .hero::before,
  .hero::after,
  .hero-overlay {
    pointer-events: none;
  }

  #particles {
    pointer-events: none;
  }
}

/* HEADER USTIDA HECH NARSA BO'LMASIN */
.site-header {
  position: fixed !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.site-header * {
  pointer-events: auto !important;
}

.header-inner,
.nav,
.nav a,
.brand,
.actions,
.lang-switch,
.lang-btn {
  pointer-events: auto !important;
  position: relative;
  z-index: 99999 !important;
}

/* Canvas va boshqa fonlar - bosishni to'smasin */
#particles,
canvas,
.bg-video,
.bg-video-overlay,
.hero-overlay,
.hero::before,
.hero::after,
body::before,
body::after {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* ===== GRADIENT GLOW FON ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(167,139,250,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(110,231,183,0.08) 0%, transparent 40%),
    radial-gradient(ellipse 50% 30% at 80% 60%, rgba(99,102,241,0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ===== PARTICLES CANVAS ===== */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Kontent ustida bo'lsin */
.site-header,
.hero,
.section,
main,
#main {
  position: relative;
  z-index: 10;
}

/* Existing global hide rules used !important earlier; keep the new background visible. */
body::before {
  display: block !important;
}

#particles {
  z-index: 1 !important;
}
