:root {
  --bg: #0F172A; --bg2: #0B1220; --bg3: #17233A;
  --surf: #1E293B; --surf2: #263449;
  --border: #2C3E56; --border2: #3A4F6E;
  --acc: #22C55E; --acc2: #4ADE80; --acc-hover: #16A34A;
  --glow: rgba(34,197,94,0.18);
  --green: #22C55E; --red: #ef4444;
  --text: #F8FAFC; --text2: #94A3B8; --text3: #64748B;
  --ff: 'Inter', sans-serif; --ffd: 'Sora', sans-serif;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; font-family: var(--ff); font-size: 14px; color: var(--text); background: var(--bg); }
#loginBlock, #imkoniyatlar, #qanday-ishlaydi { scroll-margin-top: 90px; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
a { text-decoration: none; color: inherit; cursor: pointer; }

/* SKROLL PANELI — Windows'ning qo'pol kulrang paneli o'rniga qorong'i
   dizaynga singib ketadigan ingichka variant. Skroll ishlashda davom etadi,
   faqat ko'zga tashlanmaydi (ustiga borilsa biroz yorishadi). */
* { scrollbar-width: thin; scrollbar-color: rgba(148,163,184,.22) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,.22); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,.42); }
::-webkit-scrollbar-corner { background: transparent; }

/* IKONKALAR — emoji o'rniga chiziq uslubidagi (stroke) SVG ikonkalar.
   currentColor orqali atrofdagi matn rangini avtomatik oladi. */
.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.22em; flex-shrink: 0; }
.ico svg { width: 100%; height: 100%; display: block; }
.ico-lg { width: 1.6em; height: 1.6em; vertical-align: -0.3em; }
.ico-xl { width: 2.2em; height: 2.2em; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; min-height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 8px 32px; background: rgba(15,23,42,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
.nav-brand { display: flex; flex-direction: row; align-items: center; gap: 11px; font-family: var(--ffd); font-weight: 700; font-size: 18px; }
.nav-logo { font-size: 22px; }
.brand-mark { display: block; object-fit: cover; border-radius: 12px; background: #eefaff; border: 1px solid rgba(56,189,248,.32); }
.nav-brand > .brand-mark { width: 40px; height: 40px; box-shadow: 0 0 12px rgba(14,165,233,.22); }
.brand-logo-full { display: block; width: 104px; height: 64px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(14,165,233,.22)); }
.brand-lockup-mark { display: block; width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(14,165,233,.32)); }
.brand-lockup-copy { display: flex; flex-direction: column; justify-content: center; order: 2; line-height: 1; text-align: left; }
.nav-brand .brand-lockup-mark, .sb-brand .brand-lockup-mark { order: 1; }
.brand-lockup-copy strong { color: #f8fafc; font-family: var(--ffd); font-size: 18px; font-weight: 800; letter-spacing: -.45px; white-space: nowrap; }
.brand-lockup-copy strong span, .topbar-brand strong span { color: #38bdf8; }
.brand-lockup-copy small { margin-top: 5px; color: #7dd3fc; font-size: 7px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--text2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--acc); color: #06170C; font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 100px; transition: all .15s; }
.nav-cta:hover { background: var(--acc-hover); color: #fff; }

/* HERO */
.landing { background: var(--bg); }
.hero { padding: 130px 32px 40px; position: relative; overflow-x: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(34,197,94,0.22) 0%, transparent 60%); pointer-events: none; }

/* Chap/o'ng bo'sh maydonlarni to'ldiruvchi nozik chiziq + zarra effekti */
.hero-side-fx { position: absolute; top: 0; bottom: 0; width: 220px; pointer-events: none; z-index: 0; opacity: 0.8; }
.hero-side-fx-l { left: 0; }
.hero-side-fx-r { right: 0; }
.side-lines { width: 100%; height: 100%; }
.side-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 8px var(--acc2); animation: sideDotFloat 6s ease-in-out infinite; }
.hero-side-fx-l .sd1 { top: 18%; left: 55px; animation-delay: 0s; }
.hero-side-fx-l .sd2 { top: 48%; left: 25px; animation-delay: 1.2s; }
.hero-side-fx-l .sd3 { top: 75%; left: 70px; animation-delay: 2.4s; }
.hero-side-fx-r .sd1 { top: 22%; right: 60px; animation-delay: 0.6s; }
.hero-side-fx-r .sd2 { top: 50%; right: 30px; animation-delay: 1.8s; }
.hero-side-fx-r .sd3 { top: 78%; right: 65px; animation-delay: 3s; }
@keyframes sideDotFloat { 0%,100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(-14px); opacity: 0.4; } }
@media (max-width: 1200px) { .hero-side-fx { display: none; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; max-width: 1360px; margin: 0 auto; position: relative; z-index: 1; }
.hero-left { text-align: left; max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 20px; background: var(--glow); border: 1px solid rgba(34,197,94,0.4); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--acc2); margin-bottom: 26px; }
h1 { font-family: var(--ffd); font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -0.8px; margin-bottom: 22px; }
.grad { background: linear-gradient(135deg, var(--acc), var(--acc2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 16.5px; color: var(--text2); line-height: 1.75; margin-bottom: 32px; }

.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.btn-hero-ghost { background: var(--surf); border: 1px solid var(--border); color: var(--text); padding: 13px 24px; border-radius: 100px; font-family: var(--ffd); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s; }
.btn-hero-ghost:hover { border-color: var(--border2); background: var(--surf2); transform: translateY(-2px); }

.hero-checks { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; font-size: 13px; color: var(--text2); }
.hero-checks span { display: inline-flex; align-items: center; }
.chk { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--text3); font-style: normal; font-size: 10px; color: var(--acc2); margin-right: 7px; flex-shrink: 0; }

.login-label { font-size: 14px; color: var(--text2); margin-bottom: 14px; }
.login-hint { margin-top: 12px; font-size: 12px; color: var(--text3); }
.btn-hero { display: inline-block; padding: 14px 32px; background: var(--acc); color: #06170C; border-radius: 100px; font-family: var(--ffd); font-size: 16px; font-weight: 700; transition: all 0.2s; }
.btn-hero:hover { background: var(--acc-hover); color: #fff; transform: translateY(-2px); }

/* HERO VISUAL — jonli AI robot sahnasi */
.hero-right { display: flex; align-items: center; justify-content: center; position: relative; }
.orb-wrap { position: relative; width: 440px; height: 440px; display: flex; align-items: center; justify-content: center; }
.orb-wrap::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,.16), rgba(56,189,248,.06) 42%, transparent 70%); filter: blur(14px); animation: heroAura 4s ease-in-out infinite; }
.bot-illustration { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 48px rgba(2,6,23,.48)); }
.hero-bot-core { transform-box: fill-box; transform-origin: center; animation: botCoreFloat 4.6s ease-in-out infinite; }
.hero-orbit { transform-box: view-box; transform-origin: 220px 205px; }
.orbit-back { animation: orbitSpin 18s linear infinite; }
.orbit-front { animation: orbitSpinReverse 14s linear infinite; }
.hero-holo-glow { animation: holoGlow 2.8s ease-in-out infinite; }
.hero-holo-ring { fill: none; stroke: #67e8f9; stroke-width: 1.3; transform-box: fill-box; transform-origin: center; }
.hero-holo-ring.ring-a { opacity: .58; animation: holoRing 2.8s ease-out infinite; }
.hero-holo-ring.ring-b { opacity: .35; animation: holoRing 2.8s ease-out infinite .9s; }
.data-stream { fill: none; stroke: url(#orbitGrad); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 8 10; opacity: .42; animation: dataFlow 5s linear infinite; }
.stream-b { animation-duration: 6.5s; animation-direction: reverse; opacity: .3; }
.stream-c { animation-duration: 7.5s; opacity: .22; }
.data-nodes circle { animation: dataNode 2.4s ease-in-out infinite; }
.data-nodes circle:nth-child(2n) { animation-delay: .7s; }
.data-nodes circle:nth-child(3n) { animation-delay: 1.3s; }
.hero-eyes { transform-box: fill-box; transform-origin: center; animation: botBlink 5.2s ease-in-out infinite; }
.hero-smile { stroke-dasharray: 38; stroke-dashoffset: 38; animation: smileDraw 4.6s ease-in-out infinite; }
.hero-antenna { transform-box: fill-box; transform-origin: center; animation: antennaPulse 1.9s ease-in-out infinite; }
.hero-sparkles > * { transform-box: fill-box; transform-origin: center; animation: sparkle 2.4s ease-in-out infinite; }
.hero-sparkles > *:nth-child(2) { animation-delay: .8s; }
.hero-sparkles > *:nth-child(3) { animation-delay: 1.4s; }
.hero-sparkles > *:nth-child(4) { animation-delay: 1.9s; }
.hero-mini-card { transform-box: fill-box; transform-origin: center; }
.card-chat { animation: miniCardFloat 4.1s ease-in-out infinite; }
.card-flow { animation: miniCardFloat 4.8s ease-in-out infinite .65s; }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(9,18,33,.76); border: 1px solid rgba(74,222,128,.28); border-radius: 12px; padding: 10px 15px; font-size: 12px; color: var(--text); backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); white-space: nowrap; }
.float-card::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 10px var(--acc2); margin-left: 2px; animation: statusPulse 1.8s ease-in-out infinite; }
.float-card .ico { color: #86efac; width: 1.2em; height: 1.2em; }
.fc1 { top: 15%; left: -8%; animation: cardFloatA 4.5s ease-in-out infinite; }
.fc2 { top: 6%; right: -10%; animation: cardFloatB 5.5s ease-in-out infinite .5s; }
.fc3 { bottom: 10%; right: -6%; animation: cardFloatA 5s ease-in-out infinite 1s; }
@keyframes heroAura { 0%,100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes botCoreFloat { 0%,100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-360deg); } }
@keyframes holoGlow { 0%,100% { opacity: .55; transform: scaleX(.9); } 50% { opacity: 1; transform: scaleX(1.06); } }
@keyframes holoRing { 0% { transform: scale(.72); opacity: 0; } 28% { opacity: .65; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes dataFlow { to { stroke-dashoffset: -72; } }
@keyframes dataNode { 0%,100% { opacity: .25; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes botBlink { 0%,43%,47%,100% { transform: scaleY(1); } 45% { transform: scaleY(.08); } }
@keyframes smileDraw { 0%,12% { stroke-dashoffset: 38; } 28%,82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -38; } }
@keyframes antennaPulse { 0%,100% { transform: scale(.9); opacity: .78; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes sparkle { 0%,100% { opacity: .25; transform: scale(.62) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(22deg); } }
@keyframes miniCardFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes cardFloatA { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }
@keyframes cardFloatB { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(5px,-12px,0); } }
@keyframes statusPulse { 0%,100% { opacity: .4; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.2); } }

/* STEPS BAR */
.steps-bar { max-width: 1180px; margin: 50px auto 0; background: var(--surf); border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.step { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #06170C; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--acc2); }
.step-icon .ico { width: 1.2em; height: 1.2em; }
.step-txt { display: flex; flex-direction: column; gap: 2px; }
.step-txt b { font-size: 13px; font-weight: 700; }
.step-txt span { font-size: 11.5px; color: var(--text2); line-height: 1.4; }
.step-arrow { color: var(--text3); flex-shrink: 0; }

/* FOOTER STATS */
.footer-stats { max-width: 1180px; margin: 24px auto 60px; padding: 26px 32px; background: var(--surf); border: 1px solid var(--border); border-radius: 16px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.fstat { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text2); }
.fstat .ico { width: 24px; height: 24px; color: var(--acc); flex-shrink: 0; }
.fstat b { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }

/* DASHBOARD SHOWCASE — matn chapda, jonli mahsulot o'ngda */
.dashboard-showcase { position: relative; z-index: 3; width: 100%; max-width: 1380px; display: grid; grid-template-columns: minmax(320px,.72fr) minmax(650px,1.45fr); align-items: center; gap: 58px; margin: 72px auto 78px; padding: 0 32px; }
.dashboard-showcase-copy { max-width: 430px; }
.showcase-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; color: var(--acc2); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.showcase-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: statusPulse 1.8s ease-in-out infinite; }
.dashboard-showcase-copy h2 { margin-bottom: 17px; font-family: var(--ffd); font-size: clamp(30px,3.3vw,46px); line-height: 1.16; letter-spacing: -.5px; }
.dashboard-showcase-copy > p { max-width: 410px; color: var(--text2); font-size: 14px; line-height: 1.75; }
.showcase-points { display: flex; flex-direction: column; gap: 15px; margin: 26px 0 28px; }
.showcase-point { display: flex; align-items: flex-start; gap: 12px; }
.showcase-point > span { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(34,197,94,.25); border-radius: 10px; color: var(--acc2); background: rgba(34,197,94,.08); }
.showcase-point svg { width: 17px; height: 17px; }
.showcase-point div { display: flex; flex-direction: column; gap: 3px; padding-top: 1px; }
.showcase-point b { font-family: var(--ffd); font-size: 12.5px; }
.showcase-point small { color: var(--text3); font-size: 11px; line-height: 1.45; }
.showcase-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 100px; color: #052e16; background: linear-gradient(135deg,#4ade80,#22c55e); box-shadow: 0 12px 28px rgba(34,197,94,.16); font-family: var(--ffd); font-size: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.showcase-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(34,197,94,.22); }
.hero-preview-wrap { width: 100%; min-width: 0; margin: 0; padding: 0; position: relative; perspective: 1400px; }
.preview-ambient { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .26; pointer-events: none; }
.preview-ambient-a { width: 220px; height: 180px; left: -30px; bottom: -28px; background: #22c55e; }
.preview-ambient-b { width: 230px; height: 180px; right: -24px; top: -34px; background: #2563eb; }
.preview-window { position: relative; background: rgba(9,17,30,.96); border: 1px solid rgba(71,96,125,.78); border-radius: 18px; box-shadow: 0 50px 100px -20px rgba(0,0,0,.62), 0 0 0 1px rgba(34,197,94,.05), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; transform: rotateX(1.5deg); transform-origin: center bottom; }
.preview-window::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.045) 46%, transparent 62%); transform: translateX(-130%); animation: previewSheen 8s ease-in-out infinite 1.5s; }
.preview-topbar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: rgba(15,23,42,.86); border-bottom: 1px solid var(--border); color: var(--text3); }
.preview-topbar > span { width: 7px; height: 7px; border-radius: 50%; background: #334155; }
.preview-topbar > span:first-child { background: #fb7185; }
.preview-topbar > span:nth-child(2) { background: #fbbf24; }
.preview-topbar > span:nth-child(3) { background: #4ade80; }
.preview-topbar-title { margin-left: 8px; font-size: 9.5px; letter-spacing: .04em; }
.preview-sync { margin-left: auto; display: flex; align-items: center; gap: 5px; color: var(--acc2); font-size: 9.5px; }
.preview-sync i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: statusPulse 1.8s ease-in-out infinite; }
.preview-body { min-height: 350px; display: flex; }
.preview-sidebar { width: 194px; flex-shrink: 0; background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(10,19,34,.96)); border-right: 1px solid var(--border); padding: 22px 13px 16px; display: flex; flex-direction: column; }
.preview-brand { display: flex; align-items: center; gap: 8px; font-family: var(--ffd); font-weight: 700; font-size: 13px; margin-bottom: 22px; padding: 0 6px; }
.preview-brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #052e16; background: linear-gradient(135deg,#86efac,#22c55e); box-shadow: 0 7px 18px rgba(34,197,94,.22); }
.preview-brand-mark img { width: 24px; height: 24px; object-fit: cover; border-radius: 7px; }
.preview-brand-logo { display: block; width: 78px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 9px rgba(14,165,233,.2)); }
.preview-brand-mark-img { display: block; width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(14,165,233,.28)); }
.preview-brand-copy { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.preview-brand-copy strong { color: #f8fafc; font-size: 13px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap; }
.preview-brand-copy strong span { color: #38bdf8; }
.preview-brand-copy small { margin-top: 4px; color: #7dd3fc; font-size: 5px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.preview-nav-item { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text2); padding: 9px 10px; border-radius: 8px; margin-bottom: 5px; border: 1px solid transparent; }
.preview-nav-item.active { position: relative; background: linear-gradient(90deg,rgba(34,197,94,.18),rgba(34,197,94,.06)); border-color: rgba(34,197,94,.18); color: var(--acc2); }
.preview-nav-item.active::before { content: ''; position: absolute; left: -1px; width: 2px; height: 18px; border-radius: 2px; background: var(--acc2); box-shadow: 0 0 10px var(--acc2); }
.preview-sidebar-orb { margin-top: auto; display: flex; align-items: center; gap: 7px; color: var(--text3); font-size: 9.5px; padding: 9px 10px; background: rgba(34,197,94,.05); border: 1px solid rgba(34,197,94,.12); border-radius: 9px; }
.preview-sidebar-orb i { width: 8px; height: 8px; border: 2px solid var(--acc); border-top-color: transparent; border-radius: 50%; animation: previewSpin 2.2s linear infinite; }
.preview-main { flex: 1; min-width: 0; padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(circle at 90% 0,rgba(37,99,235,.08),transparent 42%); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.preview-heading h3 { font-family: var(--ffd); font-size: 16px; margin-top: 2px; }
.preview-eyebrow { color: var(--text3); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.preview-heading button { border: 1px solid rgba(34,197,94,.35); background: linear-gradient(135deg,#22c55e,#16a34a); color: #052e16; border-radius: 8px; padding: 7px 11px; font-size: 9.5px; font-weight: 700; box-shadow: 0 8px 20px rgba(34,197,94,.14); }
.preview-heading button b { font-size: 13px; margin-right: 3px; }
.preview-bot-card { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; background: linear-gradient(110deg,rgba(30,41,59,.92),rgba(25,38,57,.82)); border: 1px solid #30445e; border-radius: 12px; padding: 13px 15px; overflow: hidden; opacity: 0; transform: translateX(18px); animation: previewCardIn .65s cubic-bezier(.2,.8,.2,1) forwards, previewCardBreathe 5s ease-in-out infinite 1.2s; }
.preview-bot-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(34,197,94,.075),transparent 34%); opacity: .7; }
.preview-card-1 { animation-delay: .1s, 1.2s; }
.preview-card-2 { animation-delay: .28s, 1.7s; }
.preview-card-3 { animation-delay: .46s, 2.2s; }
.preview-ava { position: relative; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(0,0,0,.24); }
.ava-movie { background: linear-gradient(135deg,#22c55e,#15803d); }
.ava-shop { background: linear-gradient(135deg,#38bdf8,#2563eb); }
.ava-calendar { background: linear-gradient(135deg,#a78bfa,#6366f1); }
.preview-ava-glow { position: absolute; inset: -4px; border-radius: 14px; border: 1px solid currentColor; opacity: .18; animation: avaGlow 2.6s ease-out infinite; }
.preview-binfo { flex: 1; min-width: 0; }
.preview-bname { font-size: 12.5px; font-weight: 700; }
.preview-buser { font-size: 10px; color: var(--text3); margin-top: 2px; }
.preview-mini-chart { width: 72px; height: 27px; display: flex; align-items: flex-end; gap: 3px; margin-right: 8px; }
.preview-mini-chart i { flex: 1; height: 30%; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg,var(--acc2),rgba(34,197,94,.18)); transform-origin: bottom; animation: chartDance 3s ease-in-out infinite; }
.preview-mini-chart i:nth-child(2) { height: 58%; animation-delay: -.6s; }
.preview-mini-chart i:nth-child(3) { height: 42%; animation-delay: -1.1s; }
.preview-mini-chart i:nth-child(4) { height: 82%; animation-delay: -1.7s; }
.preview-mini-chart i:nth-child(5) { height: 67%; animation-delay: -2.2s; }
.preview-status { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(34,197,94,.22); background: rgba(34,197,94,.08); border-radius: 999px; padding: 4px 8px; font-size: 9.5px; color: var(--green); font-weight: 600; }
.preview-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 7px currentColor; animation: statusPulse 1.8s ease-in-out infinite; }
.preview-activity { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; padding: 9px 11px; border-radius: 9px; color: var(--text3); background: rgba(15,23,42,.58); border: 1px solid rgba(44,62,86,.72); font-size: 9.5px; }
.preview-activity span { display: flex; align-items: center; gap: 5px; }
.preview-activity b { color: var(--acc2); }
.activity-wave { position: relative; width: 17px; height: 11px; border-left: 2px solid var(--acc); border-right: 2px solid var(--acc); }
.activity-wave::before { content: ''; position: absolute; left: 3px; right: 3px; top: 3px; height: 3px; border-radius: 3px; background: var(--acc); animation: activityWave 1.3s ease-in-out infinite; }
.activity-dots { display: flex; gap: 3px; }
.activity-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--acc2); animation: statusPulse 1.2s ease-in-out infinite; }
.activity-dots i:nth-child(2) { animation-delay: .2s; }
.activity-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes previewSheen { 0%,38% { transform: translateX(-130%); } 66%,100% { transform: translateX(130%); } }
@keyframes previewCardIn { to { opacity: 1; transform: translateX(0); } }
@keyframes previewCardBreathe { 0%,100% { border-color: #30445e; } 50% { border-color: rgba(74,222,128,.34); } }
@keyframes previewSpin { to { transform: rotate(360deg); } }
@keyframes avaGlow { 0% { transform: scale(.78); opacity: .35; } 100% { transform: scale(1.22); opacity: 0; } }
@keyframes chartDance { 0%,100% { transform: scaleY(.58); opacity: .65; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes activityWave { 0%,100% { transform: scaleX(.5); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }
@media (max-width: 700px) {
  .preview-sidebar { display: none; }
  .preview-body { min-height: 320px; }
  .preview-main { padding: 17px 14px 13px; }
  .preview-mini-chart { width: 54px; }
}
@media (max-width: 1080px) {
  .dashboard-showcase { grid-template-columns: minmax(270px,.65fr) minmax(560px,1.35fr); gap: 32px; padding: 0 24px; }
}
@media (max-width: 900px) {
  .dashboard-showcase { grid-template-columns: 1fr; gap: 42px; margin: 54px auto 64px; }
  .dashboard-showcase-copy { max-width: 680px; text-align: center; margin: 0 auto; }
  .dashboard-showcase-copy > p { max-width: 590px; margin: 0 auto; }
  .showcase-points { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
  .hero-preview-wrap { max-width: 760px; margin: 0 auto; }
}

/* FEATURES */
.features-section { padding: 40px 24px 80px; max-width: 1000px; margin: 0 auto; }
.features-section-full { max-width: 1600px; padding: 60px 40px 100px; }
.section-title { font-family: var(--ffd); font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 40px; }
.features-section-full .section-title { margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--text2); font-size: 14.5px; margin: 0 0 44px; }
.feat-group-title { font-family: var(--ffd); font-size: 18px; font-weight: 700; margin: 0 0 18px; padding-left: 2px; }
.feat-group-title:not(:first-of-type) { margin-top: 44px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.feat-grid-full { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.feat-card { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 26px 20px; text-align: center; transition: all 0.2s; position: relative; }
.feat-card:hover { border-color: var(--acc); transform: translateY(-3px); }
.feat-card .ico { width: 40px; height: 40px; color: var(--acc); display: block; margin: 0 auto; }
.feat-card h3 { font-family: var(--ffd); font-size: 15px; font-weight: 700; margin: 14px 0 6px; }
.feat-card p { font-size: 12px; color: var(--text2); line-height: 1.6; }
.feat-card-premium { border-color: rgba(250,204,21,0.35); }
.feat-card-premium:hover { border-color: #facc15; }
.feat-card-premium .ico { color: #facc15; }
.feat-premium-badge { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 700; color: #facc15; background: rgba(250,204,21,0.12); border: 1px solid rgba(250,204,21,0.35); border-radius: 20px; padding: 3px 9px; }

/* DASHBOARD */
.dash-page { display: flex; height: 100vh; overflow: hidden; }
.mobile-topbar { display: none; }
.sidebar-backdrop { display: none; }
.sidebar { width: 230px; flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.sb-brand { min-height: 86px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-family: var(--ffd); font-weight: 700; font-size: 16px; }
.sb-brand .brand-mark { width: 42px; height: 42px; box-shadow: 0 0 11px rgba(14,165,233,.2); }
.sidebar-logo-full { display: block; width: 116px; height: 90px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(14,165,233,.2)); }
.sb-brand .brand-lockup-mark { width: 44px; height: 44px; }
.sb-brand .brand-lockup-copy strong { font-size: 15px; }
.sb-brand .brand-lockup-copy small { font-size: 6px; }
.sb-nav { flex: 1; padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.sb-item { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text2); font-size: 13px; cursor: pointer; transition: all 0.15s; }
.sb-item:hover { background: var(--surf); color: var(--text); }
.sb-item.active { background: var(--glow); color: var(--acc2); border: 1px solid rgba(34,197,94,0.3); }
.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: -32px -32px 24px; padding: 14px 32px; border-bottom: 1px solid var(--border); }
.topbar .mobile-menu-btn { display: none; }
.topbar-brand { display: none; align-items: center; gap: 7px; font-family: var(--ffd); font-weight: 700; font-size: 15px; margin-right: auto; }
.topbar-brand .brand-mark { width: 29px; height: 29px; }
.topbar-logo-full { display: block; width: 66px; height: 51px; object-fit: contain; }
.topbar-lockup-mark { display: block; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(14,165,233,.25)); }
.topbar-brand strong { color: #f8fafc; font-family: var(--ffd); font-size: 14px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.u-photo { width: 32px; height: 32px; border-radius: 50%; background: var(--surf2); }
.u-name { font-size: 13px; font-weight: 600; }
.u-logout { display: flex; align-items: center; gap: 6px; background: var(--surf); border: 1px solid var(--border); color: var(--text3); font-size: 12px; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.u-logout svg { width: 15px; height: 15px; }
.u-logout:hover { color: var(--red); border-color: var(--red); }

.dash-main { flex: 1; overflow-y: auto; padding: 32px; }
.sec-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sec-header h1 { font-family: var(--ffd); font-size: 24px; font-weight: 700; }

/* BUTTONS */
.btn-primary { padding: 10px 20px; background: var(--acc); color: white; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: var(--ff); }
.btn-primary:hover { background: var(--acc-hover); }
.btn-primary.btn-full { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; margin-top: 12px; }
.btn-sm { padding: 5px 12px; background: var(--surf2); border: 1px solid var(--border); color: var(--text2); border-radius: 6px; font-size: 11px; cursor: pointer; }

/* BOTS GRID */
.bots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.bot-card { position: relative; background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; transition: all 0.2s; }
.bot-card:hover { border-color: var(--border2); }
.bot-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-right: 22px; }
.bot-ava { width: 44px; height: 44px; flex-shrink: 0; background: linear-gradient(135deg, var(--acc), var(--acc-hover)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
.bot-ava .ico { width: 1.3em; height: 1.3em; }
.bot-cname { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-cuser { font-size: 12px; color: var(--acc2); }
.bot-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 3px 10px; border-radius: 100px; flex-shrink: 0; background: var(--bg3); color: var(--text3); }
.bot-status.on { background: rgba(34,197,94,0.15); color: var(--green); }
.bot-status.on::before { content: '●'; }
.bot-del { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text3); cursor: pointer; font-size: 16px; z-index: 1; }
.bot-del:hover { color: var(--red); }

.bot-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 12px 8px; margin-bottom: 14px; }
.bot-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.bot-stat .ico { color: var(--acc2); width: 1.05em; height: 1.05em; }
.bot-stat b { font-size: 13px; font-weight: 700; }
.bot-stat .bot-stat-time { font-size: 11px; font-weight: 600; }
.bot-stat span { font-size: 10px; color: var(--text3); }
.bots-empty { text-align: center; padding: 60px 20px; color: var(--text3); }
.bots-empty .big { font-size: 48px; margin-bottom: 16px; }

/* SHABLONLAR */
.template-group { margin-bottom: 32px; }
.template-group-title { font-family: var(--ffd); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.templates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.template-tabs.modal-tabs { padding: 0; margin-bottom: 20px; }
.template-tabs .mtab { font-size: 14px; padding: 10px 18px; }
.template-card { position: relative; background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; text-align: center; transition: all 0.2s; }
.template-card:hover { border-color: var(--acc); transform: translateY(-3px); }
.template-card.premium { border-color: rgba(251,191,36,0.35); }
.template-premium-badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4); color: #fbbf24; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.template-premium-badge .ico { width: 0.9em; height: 0.9em; }
.template-ico { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; background: var(--glow); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.template-ico .ico { width: 1.5em; height: 1.5em; }
.template-card h3 { font-family: var(--ffd); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.template-card p { font-size: 12px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; min-height: 36px; }

/* CTA BANNER — botlar ro'yxati tagidagi "yangi bot yaratish" taklifi */
.cta-banner { position: relative; overflow: hidden; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--glow); border: 1.5px dashed rgba(34,197,94,0.4); border-radius: var(--r); padding: 22px 26px; cursor: pointer; transition: all 0.2s; }
.cta-banner:hover { border-color: var(--acc); background: rgba(34,197,94,0.12); }
.cta-banner-left { display: flex; align-items: center; gap: 16px; z-index: 1; }
.cta-banner-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 1.5px dashed var(--acc); display: flex; align-items: center; justify-content: center; color: var(--acc2); }
.cta-banner h3 { font-family: var(--ffd); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.cta-banner p { font-size: 12.5px; color: var(--text2); }
.cta-banner-btn { z-index: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.cta-banner-plane { position: absolute; right: 24px; bottom: -10px; width: 90px; height: 90px; color: var(--acc); opacity: 0.12; transform: rotate(-15deg); pointer-events: none; }
.cta-banner-plane svg { width: 100%; height: 100%; }
@media (max-width: 640px) {
  .cta-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-banner-left { flex-direction: column; }
  .cta-banner-btn { width: 100%; justify-content: center; }
}
.bot-card-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
.bot-card-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.bot-card-actions .btn-sm { width: 100%; padding: 7px 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* CODE VIEW MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,6,10,0.7); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); width: 100%; max-width: 760px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-family: var(--ffd); font-size: 18px; font-weight: 700; }
.cm-username { font-size: 12px; color: var(--acc2); }
.modal-close { background: var(--surf2); border: 1px solid var(--border); color: var(--text2); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.modal-close:hover { color: var(--text); border-color: var(--border2); }

.modal-tabs { display: flex; gap: 4px; padding: 12px 24px 0; border-bottom: 1px solid var(--border); }
.mtab { background: none; border: none; color: var(--text3); padding: 10px 14px; font-size: 13px; font-family: var(--ff); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.15s; }
.mtab:hover { color: var(--text2); }
.mtab.active { color: var(--acc2); border-bottom-color: var(--acc); }

.modal-body { padding: 18px 24px 24px; overflow-y: auto; }
.mtab-panel { display: none; }
.mtab-panel.active { display: block; }

.code-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.code-meta { font-size: 11px; color: var(--text3); }
.code-block { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 16px; max-height: 50vh; overflow: auto; }
.code-block code { font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.7; color: var(--text); white-space: pre; }

.info-grid { display: flex; flex-direction: column; gap: 10px; }
.info-row { display: flex; align-items: center; justify-content: space-between; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 13px; }
.info-row span { color: var(--text2); }
.info-row b { color: var(--text); font-weight: 600; text-align: right; max-width: 60%; }

.config-editor { width: 100%; min-height: 320px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 16px; color: var(--text); font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.7; resize: vertical; }
.config-editor:focus { outline: none; border-color: var(--acc); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* JARAYON BOSQICHLARI (stepper) — bot yaratish sahifasi tepasida */
.stepper { display: flex; align-items: flex-start; max-width: 900px; margin: 0 auto 24px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 90px; text-align: center; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--bg3); border: 2px solid var(--border2); color: var(--text3); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.step-item.active .step-circle { background: var(--acc); border-color: var(--acc); color: #06170C; }
.step-item.done .step-circle { background: transparent; border-color: var(--acc); color: var(--acc); }
.step-item.done .step-circle::before { content: '✓'; }
.step-label b { display: block; font-size: 11.5px; font-weight: 700; color: var(--text2); }
.step-item.active .step-label b, .step-item.done .step-label b { color: var(--text); }
.step-label span { font-size: 10px; color: var(--text3); }
.step-line { flex: 1; height: 2px; background: var(--border2); margin-top: 15px; }

/* CREATE LAYOUT */
.create-layout { display: grid; grid-template-columns: 1fr 400px; gap: 20px; height: calc(100vh - 180px); }
.chat-box { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.msg { display: flex; gap: 10px; }
.msg.user { justify-content: flex-end; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg-avatar.ai-ava { background: linear-gradient(135deg, var(--acc), var(--acc-hover)); color: white; }
.msg-avatar .ico { width: 1em; height: 1em; }
.msg-col { display: flex; flex-direction: column; gap: 4px; max-width: 80%; }
.msg.user .msg-col { align-items: flex-end; }
.msg-bubble { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.65; }
.msg.ai .msg-bubble { background: var(--bg3); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--glow); border: 1px solid rgba(34,197,94,0.3); color: var(--text); border-bottom-right-radius: 4px; }
.msg-time { font-size: 10px; color: var(--text3); padding: 0 4px; }
.msg-ticks { color: var(--acc2); }
.chk-line { display: flex; align-items: flex-start; gap: 7px; margin: 3px 0; }
.chk-ico { color: var(--acc); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.quick-chip { background: var(--bg3); border: 1px solid var(--border); color: var(--text2); font-size: 11.5px; padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.quick-chip:hover { border-color: var(--acc); color: var(--acc2); }

.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
#chatInput, #editChatInput { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-family: var(--ff); font-size: 13px; resize: none; }
#chatInput:focus, #editChatInput:focus { outline: none; border-color: var(--acc); }
#chatInput::placeholder, #editChatInput::placeholder { color: var(--text3); }
.btn-send { width: 40px; height: 40px; background: var(--acc); border: none; border-radius: 8px; color: white; cursor: pointer; font-size: 16px; transition: all 0.2s; flex-shrink: 0; }
.btn-send:hover { background: var(--acc-hover); }
.btn-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* TOKEN BOX */
/* Ichki skroll YO'Q — BotFather ko'rsatmalari to'liq ko'rinsin, kerak bo'lsa
   sahifaning o'zi skroll bo'ladi (ikkita skroll paneli chalkashtirib yuborardi) */
.token-box { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; align-self: start; overflow: visible; }
.token-box h3 { font-family: var(--ffd); font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* Bot oldindan ko'rish kartasi */
.preview-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.preview-card-top { display: flex; align-items: center; gap: 12px; }
.preview-card-ava { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg, var(--acc), var(--acc-hover)); display: flex; align-items: center; justify-content: center; color: white; }
.preview-card-name { font-size: 13.5px; font-weight: 700; }
.preview-card-hint { font-size: 11px; color: var(--text3); }
.preview-commands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cmd-pill { background: var(--glow); border: 1px solid rgba(34,197,94,0.3); color: var(--acc2); font-size: 11px; font-family: monospace; padding: 4px 10px; border-radius: 100px; }
.token-secure-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text3); margin: 10px 0 16px; }
.token-secure-note .ico { color: var(--acc2); }
.token-guide { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.token-guide p { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.token-guide ol { padding-left: 18px; line-height: 2.2; font-size: 12px; color: var(--text2); }
.token-guide code { background: var(--surf2); padding: 1px 6px; border-radius: 4px; color: var(--acc2); }
.token-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; color: var(--text); font-family: monospace; font-size: 13px; }
.token-input:focus { outline: none; border-color: var(--acc); }
.token-input::placeholder { color: var(--text3); }
.result-box { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 13px; }
.result-box.ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.result-box.err { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }

/* CONFIG EDITOR (no-code) */
.cfg-field { margin-bottom: 18px; }
.cfg-field label { display: block; font-size: 12px; color: var(--text2); margin-bottom: 6px; font-weight: 600; text-transform: capitalize; }
.cfg-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-family: var(--ff); font-size: 13px; }
.cfg-input:focus { outline: none; border-color: var(--acc); }
.cfg-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
.cfg-table { width: 100%; border-collapse: collapse; }
.cfg-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text3); padding: 10px 12px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.cfg-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.cfg-table tr:last-child td { border-bottom: none; }
.cfg-table input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; color: var(--text); font-size: 13px; font-family: var(--ff); }
.cfg-table input:focus { outline: none; border-color: var(--acc); }
.cfg-row-del { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 14px; }
.cfg-row-del:hover { color: var(--red); }
.cfg-add-row { margin-top: 10px; }

/* XABARLAR TARIXI (msg-log) */
.msg-log { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.msg-log-row { border-radius: 8px; padding: 10px 14px; font-size: 12.5px; background: var(--bg3); border: 1px solid var(--border); }
.msg-log-row.user { border-left: 3px solid var(--acc); }
.msg-log-row.assistant { border-left: 3px solid var(--border2); opacity: 0.85; }
.msg-log-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.msg-log-top b { font-size: 12px; color: var(--acc2); }
.msg-log-top span { font-size: 10.5px; color: var(--text3); }
.msg-log-text { color: var(--text); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

/* ADMIN CREDENTIALS BOX */
.admin-cred-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; }
.admin-cred-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 12px; }
.admin-cred-row:last-child { border-bottom: none; }
.admin-cred-row code { background: var(--surf2); padding: 4px 10px; border-radius: 6px; color: var(--acc2); }

/* TUGMALAR KONSTRUKTORI */
.btn-ai-box { background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(96,165,250,0.06)); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--r); padding: 16px 18px; }
.btn-ai-box textarea { resize: vertical; }
.btn-menu-card { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; }
.btn-menu-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.btn-menu-head input { flex: 1; }
.btn-menu-head .trigger-input { max-width: 180px; font-family: var(--ff); color: var(--acc2); }
.btn-menu-del { background: none; border: none; color: var(--text3); cursor: pointer; padding: 6px; flex-shrink: 0; }
.btn-menu-del:hover { color: var(--red); }
.btn-menu-response { width: 100%; margin-bottom: 12px; resize: vertical; }
.btn-row-list { display: flex; flex-direction: column; gap: 8px; }
.btn-row-item { display: flex; gap: 6px; align-items: center; background: var(--surf2); border-radius: 8px; padding: 8px; }
.btn-row-item input.btn-text { flex: 2; }
.btn-row-item input.btn-target { flex: 2; font-family: var(--ff); font-size: 12px; }
.btn-row-item input.btn-rownum { width: 44px; text-align: center; flex-shrink: 0; }
.btn-row-del { background: none; border: none; color: var(--text3); cursor: pointer; flex-shrink: 0; padding: 4px; }
.btn-row-del:hover { color: var(--red); }
.btn-add-row-link { margin-top: 8px; }

/* QO'LLANMA MODAL */
.guide-box { max-width: 640px; }
.guide-body { display: flex; flex-direction: column; gap: 20px; }
.guide-step { display: flex; gap: 14px; align-items: flex-start; }
.guide-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--glow); color: var(--acc2); border: 1px solid rgba(34,197,94,0.4); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; font-family: var(--ffd); }
.guide-step h3 { font-family: var(--ffd); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.guide-step p { font-size: 13px; color: var(--text2); line-height: 1.7; }
.guide-step code { background: var(--surf2); padding: 1px 6px; border-radius: 4px; color: var(--acc2); }

/* TYPING */
.typing { display: flex; gap: 4px; padding: 8px 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: tb 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tb { 0%,80%,100% { transform: scale(0.7); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

@media (max-width: 900px) {
  .create-layout { grid-template-columns: 1fr; height: auto; }
  .dash-page { display: block; height: auto; min-height: 100vh; overflow: visible; }
  .topbar { position: sticky; top: 0; z-index: 40; background: var(--bg2); margin: -20px -20px 20px; padding: 14px 16px; }
  .topbar-brand { display: flex; }
  .topbar .mobile-menu-btn { width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surf); border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; }
  .mobile-menu-btn svg { width: 20px; height: 20px; }
  .u-logout span { display: none; }
  .sidebar { display: flex; position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; transform: translateX(-100%); transition: transform 0.25s ease; }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: 8px 0 24px rgba(0,0,0,0.4); }
  .sidebar-backdrop.mobile-open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 50; }
  .dash-main { height: auto; overflow: visible; padding: 20px; }
  .stepper { overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .step-item { width: 76px; }
  .step-line { min-width: 24px; }
  .nav-links { display: none; }
  .hero { padding: 110px 20px 30px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-left { text-align: center; margin: 0 auto; max-width: 100%; }
  .hero-cta-row, .hero-checks { justify-content: center; }
  .hero-right { order: -1; margin-bottom: 4px; }
  .orb-wrap { width: 260px; height: 260px; }
  .float-card { display: none; }
  .steps-bar { flex-direction: column; align-items: stretch; margin-top: 34px; }
  .step-arrow { display: none; }
  .features-section { padding: 30px 20px 60px; }
  .footer-stats { justify-content: center; }
}

@media (max-width: 560px) {
  .navbar { padding: 12px 16px; }
  .nav-name { font-size: 15px; }
  .brand-logo-full { width: 88px; height: 54px; }
  .nav-brand { gap: 7px; }
  .nav-brand .brand-lockup-mark { width: 42px; height: 42px; }
  .nav-brand .brand-lockup-copy strong { font-size: 15px; }
  .nav-brand .brand-lockup-copy small { margin-top: 4px; font-size: 5.8px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
  .hero { padding: 100px 16px 24px; }
  .hero-badge { font-size: 11.5px; padding: 6px 14px; }
  .hero-desc { font-size: 15px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-row #tg-login-btn { display: flex; justify-content: center; }
  .btn-hero-ghost { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .hero-checks { flex-direction: column; align-items: center; gap: 10px; }
  .orb-wrap { width: 210px; height: 210px; }
  .steps-bar { padding: 16px 18px; }
  .footer-stats { flex-direction: column; align-items: stretch; padding: 20px; }
  .fstat { justify-content: flex-start; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-grid-full { grid-template-columns: 1fr; }
  .features-section-full { padding: 40px 16px 60px; }
  .dashboard-showcase { gap: 32px; margin: 42px auto 54px; padding: 0 16px; }
  .dashboard-showcase-copy h2 { font-size: 31px; }
  .dashboard-showcase-copy > p { font-size: 13px; }
  .showcase-point small { font-size: 10.5px; }
  .hero-preview-wrap { padding: 0; }
  .preview-topbar-title { display: none; }
  .preview-heading h3 { font-size: 14px; }
  .preview-heading button { padding: 6px 8px; }
  .preview-mini-chart { display: none; }
  .preview-bot-card { padding: 11px; gap: 9px; }
  .preview-status { padding: 4px 6px; }
  .preview-activity { line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  .bot-illustration *, .orb-wrap::before, .float-card, .preview-window::after,
  .preview-sync i, .preview-sidebar-orb i, .preview-bot-card, .preview-ava-glow,
  .preview-mini-chart i, .preview-status i, .activity-wave::before, .activity-dots i,
  .showcase-eyebrow i, .company-badge span, .company-live i, .altron-mark i {
    animation: none !important;
  }
  .preview-bot-card { opacity: 1; transform: none; }
}

/* KOMPANIYA HAQIDA — alohida Altron.uz sahifasi */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; display: block; width: 100%; height: 2px; margin-top: 5px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 8px rgba(34,197,94,.55); }
.company-page { min-height: 100%; overflow-x: hidden; }
.company-main { position: relative; width: 100%; max-width: 1800px; min-height: calc(100vh - 78px); margin: 0 auto; padding: 142px clamp(28px,4vw,76px) 64px; }
.company-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .2; }
.company-glow-a { width: 420px; height: 360px; top: 85px; left: -180px; background: #22c55e; }
.company-glow-b { width: 380px; height: 340px; top: 180px; right: -170px; background: #2563eb; }
.company-intro { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(50px,5vw,100px); }
.company-copy { max-width: 630px; }
.company-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 15px; border: 1px solid rgba(34,197,94,.32); border-radius: 100px; color: var(--acc2); background: rgba(34,197,94,.09); font-size: 12px; font-weight: 600; }
.company-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 10px var(--acc2); animation: statusPulse 1.8s ease-in-out infinite; }
.company-copy h1 { font-size: clamp(42px,6vw,70px); margin-bottom: 20px; }
.company-copy > p { max-width: 580px; color: var(--text2); font-size: 17px; line-height: 1.8; }
.company-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.company-primary, .company-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 100px; font-family: var(--ffd); font-size: 12.5px; font-weight: 700; transition: transform .2s, border-color .2s, background .2s; }
.company-primary { color: #052e16; background: linear-gradient(135deg,#4ade80,#22c55e); box-shadow: 0 12px 30px rgba(34,197,94,.16); }
.company-secondary { color: var(--text2); border: 1px solid var(--border); background: var(--surf); }
.company-primary:hover, .company-secondary:hover { transform: translateY(-2px); }
.company-secondary:hover { color: var(--text); border-color: var(--border2); }
.company-window { position: relative; overflow: hidden; border: 1px solid rgba(72,98,127,.82); border-radius: 20px; background: linear-gradient(145deg,rgba(19,32,51,.98),rgba(8,16,29,.98)); box-shadow: 0 40px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05); }
.company-window::before { content: ''; position: absolute; width: 270px; height: 270px; right: -110px; bottom: -130px; border-radius: 50%; border: 1px solid rgba(56,189,248,.26); box-shadow: 0 0 70px rgba(37,99,235,.15), inset 0 0 60px rgba(34,197,94,.08); }
.company-window-top { height: 43px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--border); color: var(--text3); background: rgba(15,23,42,.76); font-size: 10px; }
.company-window-dots { display: flex; gap: 6px; margin-right: 12px; }
.company-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; }
.company-window-dots i:nth-child(2) { background: #fbbf24; }
.company-window-dots i:nth-child(3) { background: #4ade80; }
.company-live { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--acc2); font-weight: 600; letter-spacing: .06em; }
.company-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: statusPulse 1.8s ease-in-out infinite; }
.company-window-body { position: relative; z-index: 1; min-height: 470px; display: flex; flex-direction: column; justify-content: center; padding: 44px clamp(38px,4vw,68px) 48px; }
.altron-mark { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 27px; border: 1px solid rgba(74,222,128,.42); border-radius: 22px; color: #052e16; background: linear-gradient(145deg,#86efac,#22c55e); box-shadow: 0 18px 38px rgba(34,197,94,.2); }
.altron-mark span { font-family: var(--ffd); font-size: 34px; font-weight: 800; }
.altron-mark i { position: absolute; inset: -8px; border: 1px solid rgba(74,222,128,.16); border-radius: 27px; animation: avaGlow 3s ease-out infinite; }
.company-kicker { margin-bottom: 10px; color: var(--acc2) !important; font-size: 9px !important; font-weight: 700; letter-spacing: .16em; }
.company-window-body h2 { max-width: 620px; margin-bottom: 13px; font-family: var(--ffd); font-size: clamp(26px,3vw,40px); line-height: 1.22; }
.company-window-body > p { max-width: 680px; color: var(--text2); font-size: 13.5px; line-height: 1.8; }
.company-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.company-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(74,98,128,.55); border-radius: 100px; color: var(--text2); background: rgba(15,23,42,.62); font-size: 9.5px; }
.company-tags i { width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.company-values { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 68px; }
.company-value-card { min-height: 190px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg,rgba(30,41,59,.82),rgba(15,23,42,.78)); transition: transform .2s, border-color .2s; }
.company-value-card:hover { transform: translateY(-4px); border-color: rgba(74,222,128,.38); }
.company-value-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(34,197,94,.25); border-radius: 12px; color: var(--acc2); background: rgba(34,197,94,.08); }
.company-value-icon svg { width: 21px; height: 21px; }
.company-value-card h3 { margin-bottom: 8px; font-family: var(--ffd); font-size: 15px; }
.company-value-card p { color: var(--text2); font-size: 12px; line-height: 1.7; }
.company-product { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 18px; padding: 28px 30px; overflow: hidden; border: 1px solid rgba(34,197,94,.25); border-radius: 17px; background: linear-gradient(110deg,rgba(34,197,94,.12),rgba(30,41,59,.75) 55%,rgba(37,99,235,.09)); }
.company-product-logo { width: 82px; height: 82px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(14,165,233,.2)); }
.company-product-copy { flex: 1; }
.company-product-copy > span { color: var(--acc2); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.company-product-copy h2 { margin: 5px 0 7px; font-family: var(--ffd); font-size: 23px; }
.company-product-copy p { color: var(--text2); font-size: 12.5px; line-height: 1.6; }
.company-product > a { display: inline-flex; align-items: center; flex-shrink: 0; gap: 8px; padding: 12px 19px; border-radius: 100px; color: #052e16; background: var(--acc); font-family: var(--ffd); font-size: 12px; font-weight: 700; }
.company-footer { width: calc(100% - clamp(56px,8vw,152px)); max-width: 1648px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 22px 0 34px; border-top: 1px solid var(--border); color: var(--text3); font-size: 11px; }
.company-footer a { color: var(--text); font-family: var(--ffd); font-weight: 700; }
.company-footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.company-footer-brand img { display: block; width: 46px; height: 46px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(14,165,233,.2)); }
.company-footer-brand > span { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.company-footer-brand strong { color: #f8fafc; font-family: var(--ffd); font-size: 16px; font-weight: 800; letter-spacing: -.35px; }
.company-footer-brand strong span { color: #38bdf8; }
.company-footer-brand small { margin-top: 4px; color: #7dd3fc; font-size: 6px; font-weight: 700; letter-spacing: .14em; }
@media (max-width: 900px) {
  .company-main { padding: 116px 22px 50px; }
  .company-intro { grid-template-columns: 1fr; gap: 42px; }
  .company-copy { max-width: 680px; text-align: center; margin: 0 auto; }
  .company-copy > p { margin: 0 auto; }
  .company-actions { justify-content: center; }
  .company-window { max-width: 680px; width: 100%; margin: 0 auto; }
}
@media (max-width: 650px) {
  .company-main { padding: 106px 16px 40px; }
  .company-copy h1 { font-size: 42px; }
  .company-copy > p { font-size: 15px; }
  .company-actions { flex-direction: column; align-items: stretch; }
  .company-window-body { min-height: auto; padding: 28px 22px 30px; }
  .company-values { grid-template-columns: 1fr; margin-top: 38px; }
  .company-value-card { min-height: auto; }
  .company-product { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 24px; }
  .company-product-copy { min-width: 150px; }
  .company-product > a { width: 100%; justify-content: center; }
  .company-footer { flex-direction: column; text-align: center; padding: 22px 16px 30px; }
}

/* SUPERADMIN */
.sa-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 24px 60px; }
.sa-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sa-header h1 { font-family: var(--ffd); font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.sa-title-badge { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--glow); border: 1px solid rgba(34,197,94,0.3); color: var(--acc2); flex-shrink: 0; }
.sa-title-badge .ico { width: 20px; height: 20px; }
.sa-nav { display: flex; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 0; flex-wrap: wrap; }
.sa-nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; font-size: 13.5px; color: var(--text2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.15s; }
.sa-nav-link .ico { width: 16px; height: 16px; opacity: 0.75; transition: opacity 0.15s; }
.sa-nav-link:hover { color: var(--text); }
.sa-nav-link:hover .ico { opacity: 1; }
.sa-nav-link.active { color: var(--acc2); border-bottom-color: var(--acc); font-weight: 600; }
.sa-nav-link.active .ico { opacity: 1; }
.sa-type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.sa-type-badge .ico { width: 14px; height: 14px; }
.sa-type-badge.pack { background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.3); color: #60a5fa; }
.sa-type-badge.sub { background: rgba(192,132,252,0.12); border: 1px solid rgba(192,132,252,0.3); color: #c084fc; }
.sa-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.sa-status-badge.on { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: var(--acc2); }
.sa-status-badge.off { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }
.sa-status-badge.pending { background: rgba(250,204,21,0.12); border: 1px solid rgba(250,204,21,0.35); color: #facc15; }
.sa-status-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* TO'LOV HOLATI (dashboard tariflar oynasi) */
.pay-pending-box { display: flex; align-items: center; gap: 10px; background: rgba(250,204,21,0.08); border: 1px solid rgba(250,204,21,0.3); border-radius: var(--r); padding: 12px 16px; margin-bottom: 14px; font-size: 13px; }
.pay-pending-box .spinner { width: 16px; height: 16px; border: 2px solid rgba(250,204,21,0.3); border-top-color: #facc15; border-radius: 50%; animation: paySpin 0.8s linear infinite; flex-shrink: 0; }
@keyframes paySpin { to { transform: rotate(360deg); } }
.orders-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--surf2); border-radius: 8px; font-size: 12.5px; }
.order-row .order-main { color: var(--text2); }
.order-row .order-amount { font-weight: 700; }
.receipt-resend-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid rgba(148,163,184,.24); border-radius: 7px; color: #cbd5e1; background: rgba(15,23,42,.4); font: inherit; font-size: 11.5px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.receipt-resend-btn:hover { border-color: rgba(74,222,128,.42); color: #86efac; background: rgba(34,197,94,.06); }
.receipt-resend-btn:disabled { opacity: .58; cursor: wait; }

@media (max-width: 720px) {
  .order-row { flex-wrap: wrap; }
  .order-row .order-main { width: 100%; }
}

/* BILLING — sokin, professional tarif va to'lov interfeysi */
.billing-content { width: min(100%, 1180px); margin: 0 auto; padding: 18px 0 56px; }
.billing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.billing-kicker, .billing-card-label { display: block; margin-bottom: 9px; color: #7c8ba1; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.billing-heading h1 { max-width: 720px; margin: 0 0 9px; font-family: var(--ffd); font-size: clamp(24px,2.3vw,32px); font-weight: 700; line-height: 1.22; letter-spacing: -.55px; }
.billing-heading p { max-width: 620px; color: var(--text2); font-size: 13.5px; line-height: 1.65; }
.billing-assurance { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 8px 11px; border: 1px solid rgba(148,163,184,.18); border-radius: 8px; color: #94a3b8; background: rgba(15,23,42,.38); font-size: 11.5px; }
.billing-assurance-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.09); }

.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; width: 100%; }
.plan-card { display: flex; flex-direction: column; min-height: 390px; padding: 24px; border: 1px solid rgba(148,163,184,.18); border-radius: 12px; background: rgba(24,36,57,.72); box-shadow: 0 14px 30px rgba(2,6,23,.08); transition: border-color .16s, background .16s; }
.plan-card:hover { border-color: rgba(148,163,184,.34); background: rgba(27,40,63,.82); }
.plan-card.featured { border-color: rgba(74,222,128,.36); box-shadow: inset 0 1px 0 rgba(74,222,128,.08), 0 14px 30px rgba(2,6,23,.1); }
.plan-card-head { min-height: 25px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.plan-type { color: #7c8ba1; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; }
.plan-card-badge { padding: 5px 8px; border: 1px solid rgba(74,222,128,.25); border-radius: 6px; color: #86efac; background: rgba(34,197,94,.06); font-size: 9.5px; font-weight: 600; }
.plan-card h3 { min-height: 44px; margin: 0 0 8px; font-family: var(--ffd); font-size: 18px; font-weight: 700; line-height: 1.35; }
.plan-desc { min-height: 42px; margin: 0 0 20px; color: var(--text2); font-size: 12.5px; line-height: 1.6; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; color: var(--text); font-family: var(--ffd); }
.plan-price strong { font-size: clamp(25px,2vw,31px); font-weight: 700; letter-spacing: -.8px; }
.plan-price span { color: var(--text2); font-size: 11.5px; font-weight: 500; }
.plan-discount-badge { padding: 5px 8px; border: 1px solid rgba(248,113,113,.3); border-radius: 6px; color: #f87171; background: rgba(239,68,68,.08); font-size: 9.5px; font-weight: 800; }
.plan-price-old { color: var(--text3); font-size: 12.5px; text-decoration: line-through; margin: -14px 0 4px; }
.plan-divider, .checkout-summary-divider { height: 1px; margin-bottom: 17px; background: rgba(148,163,184,.14); }
.plan-features { display: flex; flex: 1; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.plan-features li { display: flex; align-items: center; gap: 9px; color: #b3bfd0; font-size: 12px; }
.plan-check { display: grid; width: 17px; height: 17px; place-items: center; flex-shrink: 0; border: 1px solid rgba(148,163,184,.22); border-radius: 50%; color: #86efac; font-size: 9px; }
.plan-select-btn { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border: 1px solid rgba(148,163,184,.25); border-radius: 8px; color: #dbe4ef; background: rgba(148,163,184,.07); font: 600 12.5px var(--ff); cursor: pointer; transition: border-color .16s, background .16s; }
.plan-select-btn:hover { border-color: rgba(226,232,240,.42); background: rgba(148,163,184,.12); }
.plan-select-btn.primary { border-color: #22c55e; color: #052e16; background: #22c55e; }
.plan-select-btn.primary:hover { background: #20b957; }

.checkout-content { max-width: 980px; }
.checkout-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 14px; align-items: start; }
.checkout-summary, .provider-section { border: 1px solid rgba(148,163,184,.18); border-radius: 12px; background: rgba(24,36,57,.72); }
.checkout-summary { display: block; max-width: none; margin: 0; padding: 24px; }
.checkout-summary h2, .provider-section h2 { margin: 0; font-family: var(--ffd); font-weight: 700; letter-spacing: -.3px; }
.checkout-summary h2 { min-height: 48px; font-size: 17px; line-height: 1.45; }
.checkout-summary .plan-price-big { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 20px; color: var(--text); font-family: var(--ffd); }
.checkout-summary .plan-price-big strong { font-size: 28px; font-weight: 700; letter-spacing: -.7px; }
.checkout-summary .plan-price-big span { color: var(--text2); font-size: 11.5px; }
.checkout-details { display: flex; flex-direction: column; gap: 11px; }
.checkout-details > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkout-details dt { color: var(--text3); font-size: 11.5px; }
.checkout-details dd { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; font-size: 11.5px; }
.summary-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.provider-section { padding: 24px; }
.provider-section h2 { margin-bottom: 6px; font-size: 18px; }
.provider-section > p { margin-bottom: 20px; color: var(--text2); font-size: 12px; }
.provider-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; max-width: none; }
.provider-btn { min-height: 68px; display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 13px; border: 1px solid rgba(148,163,184,.18); border-radius: 9px; color: var(--text); background: rgba(15,23,42,.35); font: 600 13px var(--ff); cursor: pointer; text-align: left; transition: border-color .16s, background .16s; }
.provider-btn:hover:not(:disabled) { border-color: rgba(148,163,184,.4); background: rgba(30,41,59,.7); }
.provider-btn:disabled { cursor: not-allowed; opacity: .42; }
.provider-icon { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(148,163,184,.22); border-radius: 8px; color: #dbe4ef; background: rgba(148,163,184,.06); font: 700 12px var(--ffd); }
.provider-icon.click { color: #7dd3fc; }
.provider-icon.payme { color: #5eead4; }
.provider-icon.uzum { color: #c4b5fd; }
.provider-icon.visa { color: #93c5fd; }
.provider-icon.other { color: #94a3b8; }
.provider-logo { position: relative; width: 104px; height: 38px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(226,232,240,.75); border-radius: 7px; background: #f8fafc; }
.provider-logo img { position: absolute; top: 50%; left: 0; display: block; width: 100%; height: auto; transform: translateY(-50%); }
.provider-btn-text { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.provider-btn-text small { color: var(--text3); font-size: 10.5px; font-weight: 400; }
.provider-arrow { color: #64748b; font-size: 16px; }
.provider-soon-badge { flex-shrink: 0; padding: 3px 7px; border: 1px solid rgba(148,163,184,.16); border-radius: 5px; color: var(--text3); background: transparent; font-size: 9.5px; font-weight: 500; }
.billing-back-link { display: inline-flex; margin-top: 18px; color: var(--text2); font-size: 12px; transition: color .15s; }
.billing-back-link:hover { color: var(--text); }

@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .billing-content { padding-top: 4px; }
  .billing-heading { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .billing-heading h1 { font-size: 24px; }
  .plans-grid, .checkout-layout, .provider-list { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .checkout-summary h2 { min-height: 0; }
}

/* SHARTNOMA (oferta) */
.contract-box { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; }
.contract-text { max-height: 260px; overflow-y: auto; font-size: 12.5px; line-height: 1.7; color: var(--text2); white-space: pre-wrap; background: var(--bg3); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.contract-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text2); margin-bottom: 12px; cursor: pointer; }
.contract-agree input { margin-top: 2px; }
.plans-locked-note { font-size: 12px; color: var(--text3); text-align: center; padding: 20px 0; }
.sa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 32px; }
.sa-stat { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.sa-stat .num { font-family: var(--ffd); font-size: 26px; font-weight: 800; }
.sa-stat .label { font-size: 12px; color: var(--text2); margin-top: 4px; }
.sa-stat.warn .num { color: var(--red); }
.sa-section { margin-bottom: 32px; }
.sa-section h2 { font-family: var(--ffd); font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sa-section h2 .ico { width: 17px; height: 17px; color: var(--acc2); }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; }
.btn-sm .ico { width: 13px; height: 13px; }
.sa-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
.sa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sa-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); padding: 10px 14px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.sa-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.sa-table tr:last-child td { border-bottom: none; }
.sa-denied { text-align: center; padding: 80px 20px; color: var(--text2); }
.sa-slots-input { width: 50px; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 4px 6px; color: var(--text); text-align: center; }
.sa-plan-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; color: var(--text); font-family: var(--ff); font-size: 13px; }
.sa-server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sa-server-card { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.sa-server-card .sa-server-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sa-server-card .label { font-size: 12.5px; color: var(--text2); }
.sa-server-card .pct { font-family: var(--ffd); font-size: 18px; font-weight: 800; }
.sa-progress-track { height: 8px; border-radius: 5px; background: var(--bg3); overflow: hidden; }
.sa-progress-fill { height: 100%; background: var(--acc); border-radius: 5px; transition: width 0.3s; }
.sa-progress-fill.warn { background: #facc15; }
.sa-progress-fill.danger { background: var(--red); }
.sa-server-sub { font-size: 11.5px; color: var(--text3); margin-top: 6px; }

@media (max-width: 700px) {
  .sa-wrap { padding: 20px 16px 40px; }
  .sa-nav { gap: 2px; }
  .sa-nav-link { padding: 8px 10px; font-size: 12.5px; }
}


/* AI kredit belgisi (chat sarlavhasida) */
.chat-header-actions { display: inline-flex; align-items: center; gap: 10px; }
.ai-credit-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--acc2); background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); cursor: help; white-space: nowrap; }
.ai-credit-badge.empty { color: #fca5a5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.35); }


/* Loyiha muallifi bo'limi (Biz haqimizda sahifasi) */
.company-author { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; margin-top: 18px; padding: 26px 30px; border: 1px solid var(--border); border-radius: 17px; background: linear-gradient(145deg,rgba(30,41,59,.82),rgba(15,23,42,.78)); }
.company-author-photo { width: 132px; height: 132px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 3px solid rgba(74,222,128,.55); box-shadow: 0 0 0 6px rgba(34,197,94,.1), 0 14px 34px rgba(0,0,0,.4); }
.company-author-copy > span { color: var(--acc2); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.company-author-copy h2 { margin: 6px 0 8px; font-family: var(--ffd); font-size: 26px; }
.company-author-copy p { max-width: 560px; color: var(--text2); font-size: 13px; line-height: 1.7; }
.company-author-copy p b { color: var(--text); letter-spacing: .04em; }
@media (max-width: 640px) { .company-author { flex-direction: column; text-align: center; padding: 24px 20px; } .company-author-photo { width: 112px; height: 112px; } }


/* "Biz haqimizda" sahifasining batafsil bo'limlari */
.company-section { position: relative; z-index: 1; margin-top: 64px; }
.company-section-head { margin-bottom: 22px; }
.company-section-head > span { color: var(--acc2); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.company-section-head h2 { margin: 6px 0 8px; font-family: var(--ffd); font-size: clamp(24px,3.2vw,34px); }
.company-section-head p { max-width: 640px; color: var(--text2); font-size: 14px; line-height: 1.7; }
.company-section .company-values { margin-top: 0; }
.company-values-four { grid-template-columns: repeat(4,1fr); }
.company-values-flat .company-value-card { min-height: 0; }
.company-values-flat .company-value-card h3 { font-size: 16px; }
.company-values-flat .company-value-card p { font-size: 13px; }
.company-story { display: grid; grid-template-columns: minmax(220px,.8fr) 1.6fr; gap: 40px; align-items: start; margin-top: 72px; }
.company-story .company-section-head { margin-bottom: 0; }
.company-story-text p { margin-bottom: 14px; color: var(--text2); font-size: 15px; line-height: 1.85; }
.company-story-text b { color: var(--text); }
.company-steps { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.company-steps li { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg,rgba(30,41,59,.82),rgba(15,23,42,.78)); }
.company-steps li b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; color: #052e16; background: var(--acc2); font-family: var(--ffd); font-size: 15px; }
.company-steps li h3 { margin-bottom: 6px; font-family: var(--ffd); font-size: 15px; }
.company-steps li p { color: var(--text2); font-size: 12.5px; line-height: 1.65; }
.company-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.company-chips span { padding: 9px 16px; border: 1px solid rgba(34,197,94,.28); border-radius: 100px; color: var(--text); background: rgba(34,197,94,.08); font-size: 13px; font-weight: 500; }
.company-start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.company-start-grid > div { padding: 24px 26px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg,rgba(30,41,59,.82),rgba(15,23,42,.78)); }
.company-start-grid > div:first-child { border-color: rgba(34,197,94,.35); }
.company-start-grid h3 { margin-bottom: 12px; font-family: var(--ffd); font-size: 17px; }
.company-start-grid ul { list-style: none; }
.company-start-grid li { position: relative; padding: 6px 0 6px 24px; color: var(--text2); font-size: 14px; line-height: 1.6; }
.company-start-grid li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 10px rgba(74,222,128,.6); }
.company-start-grid li b { color: var(--text); }
.company-start-grid a, .company-faq a { color: var(--acc2); text-decoration: underline; }
.company-faq { display: grid; gap: 10px; max-width: 860px; }
.company-faq details { border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg,rgba(30,41,59,.82),rgba(15,23,42,.78)); }
.company-faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-size: 14.5px; font-weight: 600; }
.company-faq summary::-webkit-details-marker { display: none; }
.company-faq summary::after { content: "+"; float: right; color: var(--acc2); font-size: 20px; line-height: 1; }
.company-faq details[open] summary::after { content: "−"; }
.company-faq details[open] { border-color: rgba(74,222,128,.38); }
.company-faq details p { padding: 0 20px 18px; color: var(--text2); font-size: 13.5px; line-height: 1.75; }
@media (max-width: 960px) {
  .company-values-four, .company-steps { grid-template-columns: repeat(2,1fr); }
  .company-story { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .company-values-four, .company-steps, .company-start-grid { grid-template-columns: 1fr; }
  .company-section { margin-top: 48px; }
}

/* Orqa fondagi yorug'lik bo'rtmalari sahifani gorizontal siljitib yubormasin */
.company-main { overflow-x: clip; }


/* Muallif lavozimlari */
.company-author-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.company-author-roles li { padding: 5px 13px; border: 1px solid rgba(34,197,94,.35); border-radius: 100px; color: var(--acc2); background: rgba(34,197,94,.1); font-size: 12px; font-weight: 600; }
@media (max-width: 640px) { .company-author-roles { justify-content: center; } }


/* TELEFON: menyu tugmasi va ochiladigan menyu (≤900px) */
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; margin-left: 8px; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: rgba(30,41,59,.7); cursor: pointer; flex-shrink: 0; }
  .nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navbar .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 14px; background: rgba(15,23,42,.98); border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px rgba(0,0,0,.4); }
  .navbar .nav-links.open { display: flex; }
  .navbar .nav-links a { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid rgba(44,62,86,.6); }
  .navbar .nav-links a:last-child { border-bottom: 0; }
  .navbar .nav-links a.active::after { display: none; }
  .navbar .nav-links a.active { color: var(--acc2); }
}

/* TELEFON: Telegram vidjeti sahifani o'ngga cho'zib yubormasin */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-left { min-width: 0; }
  #tg-login-btn, #tg-login-btn iframe { max-width: 100% !important; }
}
@media (max-width: 640px) {
  /* Telefonda "Telegram orqali kirish" tugmasi Telegram ilovasini o'zi ochadi — vidjet ortiqcha va keng */
  #tg-login-btn { display: none !important; }
}

/* Bezak (blur) dog'lari telefonda sahifani o'ngga cho'ztirmasin */
.dashboard-showcase { overflow-x: clip; }


/* ALTRON IT TEAM logotipi (jamoa kartasida) */
.altron-logo { display: block; width: min(330px, 100%); height: auto; margin-bottom: 20px; border-radius: 18px; border: 1px solid rgba(125,211,252,.25); box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 0 4px rgba(56,189,248,.06); }


/* ALTRON logotipi shaffof fonli — karta/ramkasiz, yengil nur bilan */
.altron-logo { width: min(380px, 100%); border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 26px rgba(56,189,248,.22)); }
