/* ═══════════════════════════════════════════════════════════
   Терминальная тема: фосфорный зелёный, моноширинный шрифт, scanlines
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #050805;
  --bg-2: #070c07;
  --bg-3: #0b120c;
  --surface: rgba(57, 255, 136, .025);
  --surface-2: rgba(57, 255, 136, .05);
  --surface-3: rgba(57, 255, 136, .09);
  --line: rgba(57, 255, 136, .13);
  --line-2: rgba(57, 255, 136, .26);
  --text: #d6ffe4;
  --text-2: #8fc7a1;
  --text-3: #4f7a5c;
  --violet: #39ff88;
  --violet-2: #8affb9;
  --cyan: #4dd8ff;
  --pink: #ffb000;
  --green: #39ff88;
  --yellow: #ffb000;
  --red: #ff4d4d;
  --orange: #ff8a3d;
  --grad: linear-gradient(90deg, #39ff88, #39ff88);
  --grad-hot: linear-gradient(90deg, #39ff88, #39ff88);
  --glow: 0 0 6px rgba(57, 255, 136, .55), 0 0 18px rgba(57, 255, 136, .25);
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --font: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --display: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(57, 255, 136, .45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 4px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.16); }
.mono { font-family: var(--mono); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-hot { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: gradShift 6s linear infinite; }
@keyframes gradShift { to { background-position: 200% center; } }

/* boot */
.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.boot-mark { width: 44px; height: 44px; border-radius: 4px; background: var(--grad); animation: bootPulse 1.2s var(--ease) infinite; }
@keyframes bootPulse { 50% { transform: scale(.85) rotate(45deg); opacity: .6; } }

/* фон */
.bg-fx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-fx::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 15% 10%, rgba(57, 255, 136, .16), transparent 70%),
    radial-gradient(35% 30% at 90% 20%, rgba(77, 216, 255, .10), transparent 70%),
    radial-gradient(40% 40% at 60% 100%, rgba(255, 176, 0, .07), transparent 70%);
  animation: bgFloat 22s ease-in-out infinite alternate;
}
.bg-fx::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes bgFloat { to { transform: translate3d(3%, 4%, 0) rotate(3deg); } }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(57, 255, 136, .12), rgba(77, 216, 255, .05) 40%, transparent 70%); transition: opacity .4s; will-change: transform; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ───────── layout ───────── */
.container { width: min(1240px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }
.section-head p { color: var(--text-2); margin-top: 16px; font-size: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } .section { padding: 80px 0; } }

/* ───────── buttons ───────── */
.btn {
  --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--h); padding: 0 20px;
  border-radius: 4px; font-weight: 700; font-size: 14.5px; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .3s, opacity .2s; user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(57, 255, 136, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 250% 100%; background-position: 150% 0; transition: background-position .8s var(--ease); z-index: -1; }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(57, 255, 136, 1), 0 0 0 1px rgba(255,255,255,.12) inset; }
.btn-primary:hover::after { background-position: -50% 0; }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--line-2); }
.btn-outline { border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--violet-2); background: rgba(57, 255, 136, .08); }
.btn-danger { background: rgba(255, 77, 77, .12); color: #ff8ea3; border: 1px solid rgba(255, 77, 77, .25); }
.btn-danger:hover { background: rgba(255, 77, 77, .2); }
.btn-success { background: rgba(57, 255, 136, .12); color: var(--green); border: 1px solid rgba(57, 255, 136, .25); }
.btn-success:hover { background: rgba(57, 255, 136, .2); }
.btn-tg { background: #229ed9; color: #fff; box-shadow: 0 10px 30px -12px rgba(34, 158, 217, .9); }
.btn-tg:hover { background: #2aabe8; }
.btn-white { background: #fff; color: #0a160b; }
.btn-white:hover { background: #e9e9ff; }
.btn-sm { --h: 34px; padding: 0 13px; font-size: 13px; border-radius: 4px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; border-radius: 4px; }
.btn-icon { width: var(--h); padding: 0; }
.btn-block { width: 100%; }
.link { color: var(--violet-2); font-weight: 600; }
.link:hover { color: var(--cyan); }

/* ───────── cards ───────── */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card.pad-lg { padding: 30px; }
.card.flat { backdrop-filter: none; }
.card-title { font-family: var(--display); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.spot { --mx: 50%; --my: 50%; overflow: hidden; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(57, 255, 136, .14), transparent 45%);
}
.spot::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(138, 255, 185, .7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.gborder { position: relative; }
.gborder::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), #39ff88, #4dd8ff, #ffb000, #39ff88);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinAng 5s linear infinite; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinAng { to { --ang: 360deg; } }

/* ───────── badges ───────── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.b-green { color: var(--green); background: rgba(57, 255, 136, .1); border-color: rgba(57, 255, 136, .2); }
.b-yellow { color: var(--yellow); background: rgba(255, 176, 0, .1); border-color: rgba(255, 176, 0, .2); }
.b-red { color: #ff8ea3; background: rgba(255, 77, 77, .1); border-color: rgba(255, 77, 77, .22); }
.b-violet { color: var(--violet-2); background: rgba(57, 255, 136, .12); border-color: rgba(57, 255, 136, .25); }
.b-cyan { color: var(--cyan); background: rgba(77, 216, 255, .1); border-color: rgba(77, 216, 255, .2); }
.b-gray { color: var(--text-3); }
.pulse .dot { animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse { 50% { opacity: .35; transform: scale(.7); } }

/* ───────── forms ───────── */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 700; color: var(--text-2); letter-spacing: .01em; }
.field .hint { font-size: 12px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 4px; background: rgba(0,0,0,.25); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none; font-size: 14.5px;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(57, 255, 136, .18); background: rgba(0,0,0,.35); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a7acc6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: #0c190d; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 17px; color: var(--text-3); pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; border-radius: 4px; background: var(--surface-3); border: 1px solid var(--line-2); transition: background .25s; cursor: pointer; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch.on { background: var(--violet); border-color: transparent; }
.switch.on::after { transform: translateX(18px); }
.check-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; }

/* segmented / tabs */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 4px; background: rgba(0,0,0,.3); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { height: 34px; padding: 0 14px; border-radius: 4px; font-weight: 700; font-size: 13.5px; color: var(--text-2); transition: background .2s, color .2s; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 12px 14px; font-weight: 700; font-size: 14px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--text-2); }
.tabs button.on { color: var(--text); border-color: var(--violet); }

/* choice tiles */
.choice { position: relative; padding: 16px; border-radius: 4px; border: 1px solid var(--line-2); background: rgba(0,0,0,.2); text-align: left; transition: border-color .2s, background .2s, transform .2s; width: 100%; }
.choice:hover { border-color: rgba(138, 255, 185, .5); }
.choice.on { border-color: var(--violet); background: rgba(57, 255, 136, .1); box-shadow: 0 0 0 3px rgba(57, 255, 136, .15); }
.choice.on::after { content: ''; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.choice[disabled] { opacity: .4; pointer-events: none; }

/* ───────── table ───────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255,255,255,.02); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr:hover { background: rgba(255,255,255,.025); }
.table .r { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* user avatar */
.avatar { width: 36px; height: 36px; border-radius: 4px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; overflow: hidden; background: var(--grad); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 28px; height: 28px; border-radius: 4px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; border-radius: 4px; font-size: 24px; }
.user-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.user-cell b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-cell small { display: block; color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────── modal / drawer / toast ───────── */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(3, 3, 8, .7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fadeIn .25s; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #09130a; border: 1px solid var(--line-2); border-radius: 4px; padding: 28px; box-shadow: var(--shadow); animation: popIn .35s var(--ease); }
.modal.wide { width: min(760px, 100%); }
.modal h3 { font-size: 20px; margin-bottom: 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.drawer-overlay { place-items: stretch end; padding: 0; }
.drawer { width: min(640px, 100vw); height: 100%; overflow-y: auto; background: #071108; border-left: 1px solid var(--line-2); padding: 28px; animation: slideIn .4s var(--ease); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.toasts { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 4px; background: #0c1a0d; border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: toastIn .4s var(--ease); font-weight: 600; font-size: 14px; }
.toast svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.toast.success svg { color: var(--green); }
.toast.error svg { color: var(--red); }
.toast.info svg { color: var(--cyan); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: currentColor; animation: spin .7s linear infinite; flex: none; }
.spinner.lg { width: 34px; height: 34px; border-width: 3px; color: var(--violet-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.center-pad { display: grid; place-items: center; padding: 80px 20px; }
.skeleton { border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 56px 20px; color: var(--text-2); }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 4px; display: grid; place-items: center; background: rgba(57, 255, 136, .1); color: var(--violet-2); border: 1px solid rgba(57, 255, 136, .2); }
.empty-icon svg { width: 28px; height: 28px; }
.empty h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }

.progress { height: 6px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.progress.warn > i { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.progress.crit > i { background: linear-gradient(90deg, var(--orange), var(--red)); }

.copy { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 13px; border-radius: 4px; background: rgba(0,0,0,.3); border: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; min-width: 0; }
.copy span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; color: var(--text-3); flex: none; }
.copy button:hover { background: var(--surface-3); color: var(--text); }
.copy button svg { width: 15px; height: 15px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 14px; }
.kv > :nth-child(odd) { color: var(--text-3); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv > :nth-child(even) { margin-bottom: 10px; } }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 4px; font-size: 14px; border: 1px solid; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert.info { background: rgba(77, 216, 255, .06); border-color: rgba(77, 216, 255, .2); color: #bdf3ff; }
.alert.warn { background: rgba(255, 176, 0, .06); border-color: rgba(255, 176, 0, .22); color: #ffe7a8; }
.alert.violet { background: rgba(57, 255, 136, .08); border-color: rgba(57, 255, 136, .25); color: #d6ccff; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }

/* charts */
.chart { position: relative; width: 100%; }
.chart svg { overflow: visible; width: 100%; }
.chart .tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); background: #0f1f10; border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 11px; font-size: 12.5px; white-space: nowrap; box-shadow: var(--shadow); z-index: 5; }
.chart .tip b { font-family: var(--mono); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .ring-val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1; }
.ring .ring-val small { display: block; font-family: var(--font); font-size: 10.5px; color: var(--text-3); font-weight: 700; margin-top: 4px; letter-spacing: .06em; }

/* ═══════════════════════ NAV ═══════════════════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: padding .35s var(--ease), background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 10px 0; background: rgba(5, 5, 11, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .container { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; flex: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 4px; background: #081108; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.logo-mark::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: .2; }
.logo-mark i { display: block; width: 16px; height: 3.5px; border-radius: 2px; background: var(--grad); margin: 1.5px 0; position: relative; }
.logo-mark i:nth-child(2) { opacity: .75; } .logo-mark i:nth-child(3) { opacity: .5; }
.logo-mark span { display: flex; flex-direction: column; }
.logo b { font-weight: 700; } .logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 14px; border-radius: 4px; font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; padding: 10px; background: rgba(12,12,22,.96); border: 1px solid var(--line-2); border-radius: 4px; backdrop-filter: blur(20px); }
  .nav-links.open a { padding: 14px; }
  .burger { display: inline-flex; }
  .nav .container { gap: 12px; justify-content: space-between; }
  .nav-actions .hide-m { display: none; }
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(110%) rotate(3deg); opacity: 0; } }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 560px; margin-top: 26px; animation: fadeUp 1s .35s var(--ease) both; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; animation: fadeUp 1s .45s var(--ease) both; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 26px; animation: fadeUp 1s var(--ease) both; }
.hero-pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 12px; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; animation: fadeUp 1s .55s var(--ease) both; }
.hero-stats div b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; }
.hero-stats div span { font-size: 13px; color: var(--text-3); font-weight: 600; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-left: auto; animation: globeIn 1.8s .1s var(--ease) both; }
.globe-wrap canvas { width: 100% !important; height: 100% !important; cursor: grab; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-wrap::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(57, 255, 136, .35), transparent 65%); filter: blur(40px); z-index: -1; }
@keyframes globeIn { from { opacity: 0; transform: scale(.85) rotate(-8deg); } }
.float-card { position: absolute; z-index: 3; padding: 12px 14px; border-radius: 4px; background: rgba(14, 14, 28, .72); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: 12.5px; animation: floaty 6s ease-in-out infinite; pointer-events: none; }
.float-card b { font-family: var(--display); font-size: 14px; font-weight: 600; display: block; }
.float-card .k { color: var(--text-3); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.fc-1 { top: 12%; left: -4%; }
.fc-2 { bottom: 16%; right: -2%; animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 8%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 4px; border: 2px solid var(--line-2); z-index: 3; }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--text-2); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 520px; margin: 0 auto; order: -1; margin-bottom: -40px; }
  .hero { padding-top: 100px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { display: none; }
  .scroll-hint { display: none; }
}

/* marquee */
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--text-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '✦'; color: var(--violet); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].in { opacity: 1; transform: none; }
[data-tilt] { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.bento .card { padding: 28px; display: flex; flex-direction: column; border-radius: 4px; }
.bento .b-a { grid-column: span 3; grid-row: span 2; }
.bento .b-b { grid-column: span 3; }
.bento .b-c { grid-column: span 3; }
.bento .b-d { grid-column: span 2; }
.bento .b-e { grid-column: span 2; }
.bento .b-f { grid-column: span 2; }
.bento h3 { font-size: 21px; margin-bottom: 10px; }
.bento p { color: var(--text-2); font-size: 14.5px; }
.f-icon { width: 48px; height: 48px; border-radius: 4px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(57, 255, 136, .25), rgba(77, 216, 255, .1)); border: 1px solid rgba(138, 255, 185, .3); color: #cfc4ff; }
.f-icon svg { width: 24px; height: 24px; }
.f-visual { margin-top: auto; padding-top: 24px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card { grid-column: span 1 !important; grid-row: auto !important; } .bento .b-a { grid-column: span 2 !important; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .b-a { grid-column: span 1 !important; } }

/* speed bars */
.speed { display: flex; flex-direction: column; gap: 14px; }
.speed-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-2); }
.speed-row b { font-family: var(--mono); color: var(--text); text-align: right; }
.speed-bar { height: 10px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.speed-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.8s var(--ease); box-shadow: 0 0 20px rgba(77, 216, 255, .5); }
.in .speed-bar i { width: var(--w); }
.speed-row.old .speed-bar i { background: rgba(255,255,255,.18); box-shadow: none; }

.shield { position: relative; height: 130px; display: grid; place-items: center; }
.shield-core { width: 66px; height: 66px; border-radius: 4px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 0 50px rgba(57, 255, 136, .6); z-index: 2; }
.shield-core svg { width: 32px; height: 32px; }
.shield i { position: absolute; width: 66px; height: 66px; border-radius: 4px; border: 1px solid rgba(138, 255, 185, .5); animation: ripple 3s ease-out infinite; }
.shield i:nth-child(2) { animation-delay: 1s; } .shield i:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }
.terminal { font-family: var(--mono); font-size: 12.5px; background: rgba(0,0,0,.45); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; color: #b8bdd8; line-height: 1.8; }
.terminal .p { color: var(--green); } .terminal .c { color: var(--cyan); } .terminal .v { color: var(--violet-2); }
.terminal .cursor { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-chart { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.mini-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: .85; animation: barPulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.17s); transform-origin: bottom; }
@keyframes barPulse { 50% { transform: scaleY(.45); opacity: .5; } }

/* rack section */
.rack-sec { position: relative; height: 260vh; }
.rack-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.rack-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.rack-canvas { position: relative; height: min(80vh, 720px); }
.rack-canvas canvas { width: 100% !important; height: 100% !important; }
.rack-steps { position: relative; }
.rack-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(-24px); transition: opacity .3s ease, transform .4s var(--ease); pointer-events: none; }
.rack-step.on { opacity: 1; transform: none; pointer-events: auto; position: relative; transition: opacity .5s .25s ease, transform .7s .25s var(--ease); }
.rack-step h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 18px; }
.rack-step p { color: var(--text-2); font-size: 17px; max-width: 480px; }
.rack-step ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.rack-step li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.rack-step li svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.rack-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.rack-progress i { height: 4px; width: 36px; border-radius: 4px; background: var(--line-2); transition: background .4s, width .4s var(--ease); }
.rack-progress i.on { background: var(--grad); width: 64px; }
@media (max-width: 900px) {
  .rack-sec { height: auto; }
  .rack-sticky { position: relative; height: auto; padding: 80px 0; }
  .rack-grid { grid-template-columns: 1fr; }
  .rack-canvas { height: 420px; order: -1; }
  .rack-step { position: relative; opacity: 1; transform: none; margin-bottom: 40px; }
  .rack-progress { display: none; }
}

/* pricing */
.price-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; padding: 26px; border-radius: 4px; transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { border-color: var(--line-2); }
.plan.featured { background: linear-gradient(180deg, rgba(57, 255, 136, .14), rgba(77, 216, 255, .03)); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.plan-name { font-family: var(--display); font-size: 22px; font-weight: 600; }
.plan-cpu { color: var(--text-2); font-size: 14px; margin-top: 4px; font-weight: 600; }
.plan-vendor { font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; border-radius: 4px; flex: none; }
.plan-vendor.amd { background: rgba(255, 77, 77, .12); color: #ff8ea3; border: 1px solid rgba(255, 77, 77, .25); }
.plan-vendor.intel { background: rgba(77, 216, 255, .1); color: var(--cyan); border: 1px solid rgba(77, 216, 255, .25); }
.plan-specs { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.plan-specs li { display: flex; align-items: center; gap: 11px; color: var(--text-2); }
.plan-specs li b { color: var(--text); font-weight: 700; }
.plan-specs svg { width: 17px; height: 17px; color: var(--violet-2); flex: none; }
.plan-price { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line-2); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.plan-price .amount { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan-price .per { font-size: 13px; color: var(--text-3); font-weight: 600; }
.plan-flags { display: flex; gap: 4px; margin-top: 8px; font-size: 15px; }
.plan-ribbon { position: absolute; top: 0; right: 24px; padding: 6px 12px; border-radius: 0 0 4px 4px; background: var(--grad); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }

/* locations */
.locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.loc { padding: 24px; border-radius: 4px; }
.loc-flag { font-size: 36px; line-height: 1; margin-bottom: 18px; }
.loc h3 { font-size: 20px; }
.loc .code { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; }
.ping { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--text-2); }
.ping-bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.ping-bars i { width: 4px; border-radius: 2px; background: var(--green); animation: pingBar 1.5s ease-in-out infinite; }
.ping-bars i:nth-child(1) { height: 5px; } .ping-bars i:nth-child(2) { height: 9px; animation-delay: .15s; } .ping-bars i:nth-child(3) { height: 13px; animation-delay: .3s; } .ping-bars i:nth-child(4) { height: 16px; animation-delay: .45s; }
@keyframes pingBar { 50% { opacity: .35; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), var(--line-2), transparent); }
.step { text-align: center; padding: 0 10px; position: relative; }
.step-num { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 4px; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 700; background: #09140a; border: 1px solid var(--line-2); position: relative; }
.step-num::before { content: ''; position: absolute; inset: -6px; border-radius: 4px; background: var(--grad); opacity: .15; filter: blur(10px); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* panel mock */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 18px; }
.split > div > p { color: var(--text-2); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li svg { width: 22px; height: 22px; padding: 4px; border-radius: 4px; background: rgba(57, 255, 136, .12); color: var(--green); flex: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.mock { border-radius: 4px; border: 1px solid var(--line-2); background: #081108; box-shadow: var(--shadow), 0 0 80px -20px rgba(57, 255, 136, .4); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.mock-side span { padding: 8px 10px; border-radius: 4px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.mock-side span.on { background: rgba(57, 255, 136, .14); color: var(--text); }
.mock-main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tile { padding: 12px; border-radius: 4px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.mock-tile b { display: block; font-family: var(--display); font-size: 18px; color: var(--text); margin-top: 4px; }
@media (max-width: 520px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } }

/* phone */
.phone { width: min(330px, 100%); margin: 0 auto; border-radius: 4px; padding: 12px; background: linear-gradient(160deg, #172e19, #081209); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 100px -30px rgba(34, 158, 217, .6); }
.phone-screen { border-radius: 4px; overflow: hidden; background: #0c1a0d; height: 560px; display: flex; flex-direction: column; }
.phone-head { display: flex; align-items: center; gap: 11px; padding: 34px 16px 12px; background: #122413; }
.phone-head .avatar { border-radius: 50%; }
.phone-head b { display: block; font-size: 14.5px; } .phone-head small { color: #6c8293; font-size: 12px; }
.chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 4px; font-size: 13px; line-height: 1.45; background: #142916; opacity: 0; transform: translateY(10px) scale(.96); transition: all .5s var(--ease); white-space: pre-line; }
.msg.me { align-self: flex-end; background: #2b5278; }
.msg.show { opacity: 1; transform: none; }
.msg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 3px; max-width: 86%; opacity: 0; transition: opacity .5s; }
.msg-btns.show { opacity: 1; }
.msg-btns span { padding: 8px; border-radius: 4px; background: rgba(255,255,255,.08); font-size: 12px; text-align: center; font-weight: 600; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 4px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(57, 255, 136, .35); background: rgba(57, 255, 136, .05); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16px; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); color: var(--text-3); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--violet-2); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--text-2); }

/* cta */
.cta { position: relative; border-radius: 4px; padding: 80px 40px; text-align: center; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(60% 100% at 50% 0%, rgba(57, 255, 136, .35), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(77, 216, 255, .18), transparent), #071008; }
.cta h2 { font-size: clamp(30px, 4.6vw, 58px); max-width: 820px; margin: 0 auto; }
.cta p { color: var(--text-2); font-size: 18px; margin: 18px auto 34px; max-width: 560px; }
.cta .row { justify-content: center; }
.cta-orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: orb 10s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translate(60px, -40px) scale(1.2); } }

.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 80px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 16px; font-weight: 800; }
.footer a { display: block; color: var(--text-2); padding: 5px 0; font-size: 14.5px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════ AUTH ═══════════════════════ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.auth-side { position: relative; overflow: hidden; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 40px;
  background: radial-gradient(70% 60% at 30% 30%, rgba(57, 255, 136, .25), transparent 70%), radial-gradient(50% 50% at 80% 90%, rgba(77, 216, 255, .15), transparent), #050c05; }
.auth-side canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: .8; }
.auth-side > * { position: relative; z-index: 2; }
.auth-side h2 { font-size: clamp(28px, 3vw, 42px); max-width: 460px; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-box { width: min(420px, 100%); }
.auth-box h1 { font-size: 30px; margin-bottom: 10px; }
.auth-methods { display: grid; gap: 12px; margin-top: 32px; }
.auth-btn { height: 56px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 15px; border: 1px solid var(--line-2); background: var(--surface-2); transition: all .25s var(--ease); width: 100%; }
.auth-btn:hover { background: var(--surface-3); transform: translateY(-2px); }
.auth-btn svg { width: 22px; height: 22px; }
.auth-btn.tg { background: #229ed9; border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px #229ed9; }
.auth-btn.tg:hover { background: #2aabe8; }
.or { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 12.5px; font-weight: 700; margin: 6px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.gsi-holder { min-height: 56px; display: flex; justify-content: center; align-items: center; border-radius: 4px; overflow: hidden; }
.tg-wait { text-align: center; padding: 28px; border-radius: 4px; border: 1px solid rgba(34, 158, 217, .35); background: rgba(34, 158, 217, .07); }
.tg-wait .tg-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #229ed9; display: grid; place-items: center; color: #fff; position: relative; }
.tg-wait .tg-ico::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #229ed9; animation: ripple 2s ease-out infinite; }
.tg-wait .tg-ico svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ═══════════════════════ APP SHELL ═══════════════════════ */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; position: relative; z-index: 2; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--line); background: rgba(7, 7, 14, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.side .logo { padding: 0 8px; margin-bottom: 28px; }
.side-group { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 18px 12px 8px; }
.side-nav { display: grid; gap: 3px; }
.side-link { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 4px; font-weight: 650; font-size: 14.5px; color: var(--text-2); transition: background .2s, color .2s; position: relative; }
.side-link svg { width: 19px; height: 19px; flex: none; }
.side-link:hover { background: var(--surface-2); color: var(--text); }
.side-link.on { background: linear-gradient(90deg, rgba(57, 255, 136, .2), rgba(57, 255, 136, .04)); color: var(--text); }
.side-link.on::before { content: ''; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.side-link.on svg { color: var(--violet-2); }
.side-link .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 4px; background: var(--violet); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.side-foot { margin-top: auto; display: grid; gap: 10px; }
.side-user { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(5, 5, 11, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topbar h1 { font-size: 19px; font-weight: 600; }
.topbar .grow { min-width: 0; }
.bal-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.bal-chip b { font-family: var(--mono); }
.bal-chip a { width: 28px; height: 28px; border-radius: 4px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.bal-chip a svg { width: 15px; height: 15px; }
.content { padding: 32px; max-width: 1400px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h2 { font-size: 26px; }
.page-head p { color: var(--text-2); margin-top: 6px; }
.m-burger { display: none; }
@media (max-width: 1000px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 60; transform: translateX(-100%); transition: transform .4s var(--ease); background: #050c06; }
  .side.open { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.6); }
  .side-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.6); animation: fadeIn .3s; }
  .m-burger { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 20px 16px; }
  .bal-chip .lbl { display: none; }
}

/* KPI */
.kpi { position: relative; overflow: hidden; }
.kpi .k-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 700; }
.kpi .k-label svg { width: 16px; height: 16px; color: var(--violet-2); }
.kpi .k-value { font-family: var(--display); font-size: clamp(20px, 1.9vw, 28px); white-space: nowrap; font-weight: 600; margin-top: 12px; letter-spacing: -.02em; line-height: 1.1; }
.kpi .k-sub { font-size: 12.5px; color: var(--text-3); margin-top: 6px; font-weight: 600; }
.kpi .k-sub .up { color: var(--green); }
.kpi-icon { position: absolute; right: -14px; top: -14px; width: 90px; height: 90px; color: rgba(57, 255, 136, .08); }
.kpi-icon svg { width: 100%; height: 100%; }
.hero-balance { background: radial-gradient(80% 120% at 0% 0%, rgba(57, 255, 136, .35), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(77, 216, 255, .15), transparent), #081209; border-color: rgba(57, 255, 136, .3); }

/* service cards */
.svc-list { display: grid; gap: 14px; }
.svc { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 22px; border-radius: 4px; transition: border-color .25s, transform .3s var(--ease); }
.svc:hover { border-color: var(--line-2); transform: translateY(-2px); }
.svc-ico { width: 52px; height: 52px; border-radius: 4px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(57, 255, 136, .2), rgba(77, 216, 255, .08)); border: 1px solid rgba(138, 255, 185, .25); color: #d2c8ff; position: relative; }
.svc-ico svg { width: 24px; height: 24px; }
.svc-ico .st { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #081108; background: var(--text-3); }
.svc-ico .st.active { background: var(--green); box-shadow: 0 0 10px var(--green); }
.svc-ico .st.provisioning { background: var(--yellow); }
.svc-ico .st.suspended, .svc-ico .st.expired { background: var(--red); }
.svc h3 { font-family: var(--font); font-size: 16px; font-weight: 800; letter-spacing: 0; }
.svc-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; margin-top: 4px; font-weight: 600; }
.svc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.svc-meta svg { width: 14px; height: 14px; }
.svc-bars { display: grid; grid-template-columns: repeat(2, 120px); gap: 6px 18px; font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.svc-bars .progress { margin-top: 4px; height: 5px; }
@media (max-width: 900px) { .svc { grid-template-columns: auto 1fr; } .svc-right { grid-column: 1 / -1; } .svc-bars { grid-template-columns: repeat(2, 1fr); } }

/* order */
.order-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-step { margin-bottom: 30px; }
.order-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.order-step-h span { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: var(--surface-3); font-family: var(--display); font-size: 13px; font-weight: 700; }
.order-step-h h3 { font-family: var(--font); font-size: 17px; font-weight: 800; letter-spacing: 0; }
.summary { position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; }
.summary-row span:first-child { color: var(--text-3); }
.summary-total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; margin-top: 10px; border-top: 1px dashed var(--line-2); }
.summary-total b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.os-ico { width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-bottom: 10px; color: #fff; }
@media (max-width: 1100px) { .order-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* node cards */
.nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.node { padding: 20px; border-radius: 4px; cursor: pointer; transition: border-color .25s, transform .3s var(--ease); }
.node:hover { border-color: var(--line-2); transform: translateY(-3px); }
.node-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.node-head h3 { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.node-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.nm small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--text-3); }
.nm b { font-family: var(--mono); font-size: 18px; font-weight: 600; }
.nm .progress { margin-top: 6px; height: 4px; }
.node-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.filters .input-icon { flex: 1; min-width: 220px; max-width: 380px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; color: var(--text-3); font-size: 13px; }
.stat-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stat-line:last-child { border-bottom: 0; }
.stat-line span:first-child { color: var(--text-2); }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.amount-pos { color: var(--green); font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.amount-neg { color: #ff8ea3; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.code-block { font-family: var(--mono); font-size: 12.5px; background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 4px; padding: 14px; word-break: break-all; color: #c9cdf0; position: relative; }
.announce { position: fixed; z-index: 45; left: 50%; bottom: 20px; translate: -50% 0; max-width: calc(100vw - 32px); background: var(--grad); color: #fff; text-align: center; font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: 4px; box-shadow: 0 14px 40px -12px rgba(57, 255, 136, .9); animation: fadeUp .8s 1s var(--ease) both; }
.hide-desktop { display: none; }
@media (max-width: 900px) { .hide-desktop { display: block; } }
.page-enter { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.hide-sm { } @media (max-width: 700px) { .hide-sm { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .content .grid[style*='grid-template-columns:minmax'] { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 480px) { .nav .avatar { display: none; } .nav-actions { gap: 6px; } .logo { font-size: 16px; gap: 9px; } .hero-stats { gap: 22px; } .hero-stats div b { font-size: 21px; } }
@media (max-width: 520px) { .hero h1 { font-size: 9.2vw; } .section-head h2, .split h2, .rack-step h2 { font-size: 8vw; } .cta { padding: 56px 22px; } .cta h2 { font-size: 8.4vw; } }
.rack-canvas::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 4%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(57, 255, 136, .35), rgba(77, 216, 255, .1) 60%, transparent); filter: blur(10px); pointer-events: none; }

/* ═══════════════════════ ТЕРМИНАЛ ═══════════════════════ */
body { font-size: 14.5px; letter-spacing: -.005em; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.03em; text-transform: none; }
h1, h2 { text-shadow: 0 0 14px rgba(57, 255, 136, .28); }
::selection { background: var(--green); color: #031; }
a.link, .link { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(57, 255, 136, .4); }

/* CRT: строки развёртки, виньетка, лёгкое мерцание */
body::before { content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
body::after { content: ''; position: fixed; inset: 0; z-index: 301; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, .55)); animation: crt 6s steps(1) infinite; }
@keyframes crt { 0%, 100% { opacity: 1; } 47% { opacity: .92; } 48% { opacity: 1; } 73% { opacity: .96; } }
.noise { opacity: .05; }
.bg-fx::before { background: radial-gradient(50% 40% at 20% 0%, rgba(57, 255, 136, .10), transparent 70%), radial-gradient(40% 40% at 90% 30%, rgba(57, 255, 136, .05), transparent 70%); }
.bg-fx::after { opacity: 1; background-image: linear-gradient(rgba(57, 255, 136, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 136, .045) 1px, transparent 1px); background-size: 32px 32px; }
.cursor-glow { background: radial-gradient(circle, rgba(57, 255, 136, .07), transparent 65%); }

/* текст-акценты: без градиентов, фосфорное свечение */
.grad-text, .grad-hot { background: none !important; -webkit-background-clip: initial; background-clip: initial; color: var(--green) !important; text-shadow: var(--glow); animation: none; }
.grad-hot { color: #fff !important; text-shadow: 0 0 8px rgba(57, 255, 136, .9), 0 0 26px rgba(57, 255, 136, .5); }
.eyebrow { color: var(--green); letter-spacing: .08em; }
.eyebrow::before { content: '//'; width: auto; height: auto; background: none; color: var(--text-3); }
.cursor-blink::after, .hero h1 .line:last-child > span::after { content: '_'; display: inline-block; margin-left: .05em; color: var(--green); animation: blink 1s steps(1) infinite; text-shadow: var(--glow); }

/* кнопки как консольные команды */
.btn { font-weight: 600; letter-spacing: .02em; border-radius: 3px; }
.btn-primary { background: var(--green); color: #021a0b; box-shadow: 0 0 0 1px var(--green), 0 0 22px rgba(57, 255, 136, .35); }
.btn-primary::after { display: none; }
.btn-primary:hover { background: #6dffa8; box-shadow: 0 0 0 1px #6dffa8, 0 0 34px rgba(57, 255, 136, .6); }
.btn-primary::before { content: '$'; opacity: .55; font-weight: 700; }
.btn-primary.btn-icon::before, .btn-primary.btn-sm::before { display: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(57, 255, 136, .08); border-color: var(--green); color: var(--green); }
.btn-outline:hover { border-color: var(--green); background: rgba(57, 255, 136, .08); }
.btn-white { background: var(--text); color: #021a0b; }
.btn-white:hover { background: #fff; box-shadow: 0 0 30px rgba(214, 255, 228, .4); }
.btn-tg { box-shadow: none; }

/* карточки: «окна» терминала без стекла */
.card { background: linear-gradient(180deg, rgba(57, 255, 136, .035), rgba(57, 255, 136, .012)); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.card-title::before { content: '>'; color: var(--green); font-weight: 700; margin-right: -2px; }
.spot::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(57, 255, 136, .09), transparent 45%); }
.spot::after { background: radial-gradient(260px circle at var(--mx) var(--my), rgba(57, 255, 136, .8), transparent 50%); }
.gborder::after { background: linear-gradient(90deg, var(--green), rgba(57, 255, 136, .2), var(--green)); animation: none; }
.hero-balance { background: linear-gradient(135deg, rgba(57, 255, 136, .12), rgba(57, 255, 136, .02)), var(--bg-2); border-color: rgba(57, 255, 136, .4); }
.kpi-icon { color: rgba(57, 255, 136, .06); }
.kpi .k-value, .plan-price .amount, .summary-total b { text-shadow: 0 0 12px rgba(57, 255, 136, .3); }

/* бейджи в квадратных скобках */
.badge { border-radius: 2px; text-transform: lowercase; font-weight: 600; letter-spacing: .02em; }
.badge .dot { border-radius: 0; width: 6px; height: 6px; }
.b-green { color: var(--green); }
.b-violet { color: var(--green); background: rgba(57, 255, 136, .1); border-color: rgba(57, 255, 136, .3); }

/* формы */
.input, .select, .textarea { background: #030603; border-color: var(--line-2); border-radius: 3px; caret-color: var(--green); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(57, 255, 136, .15); background: #030603; }
.switch, .switch::after { border-radius: 2px; }
.switch.on { background: var(--green); }
.switch.on::after { background: #021a0b; }
.choice.on { border-color: var(--green); background: rgba(57, 255, 136, .08); box-shadow: 0 0 0 1px var(--green), 0 0 18px rgba(57, 255, 136, .15); }
.choice.on::after { border-radius: 2px; background-color: var(--green); }
.seg button.on { background: var(--green); color: #021a0b; box-shadow: none; }
.tabs button.on { color: var(--green); border-color: var(--green); text-shadow: var(--glow); }
.progress > i { background: var(--green); box-shadow: 0 0 8px rgba(57, 255, 136, .6); }

/* логотип: приглашение командной строки */
.logo { font-family: var(--mono); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; gap: 10px; }
.logo-mark { width: auto; height: 32px; padding: 0 9px; border-radius: 3px; border: 1px solid var(--green); background: rgba(57, 255, 136, .08); color: var(--green); font-size: 14px; display: inline-flex; align-items: center; text-shadow: var(--glow); box-shadow: 0 0 14px rgba(57, 255, 136, .2); }
.logo-mark::before { display: none; }
.logo-mark i { font-style: normal; animation: blink 1s steps(1) infinite; }
.logo-text { color: var(--text); }
.logo-text b { color: var(--green); font-weight: 700; text-shadow: var(--glow); }

/* навигация и меню */
.nav.scrolled { background: rgba(5, 8, 5, .9); }
.nav-links a::before { content: './'; color: var(--text-3); }
.nav-links a:hover { color: var(--green); background: transparent; }
.side { background: rgba(4, 7, 4, .92); }
.side-link.on { background: rgba(57, 255, 136, .1); color: var(--green); }
.side-link.on::before { background: var(--green); box-shadow: var(--glow); }
.side-link .count { background: var(--green); color: #021a0b; border-radius: 2px; }
.bal-chip a { background: var(--green); color: #021a0b; }
.topbar h1::before { content: '~/'; color: var(--text-3); }
.avatar { background: rgba(57, 255, 136, .15); color: var(--green); border: 1px solid rgba(57, 255, 136, .35); }

/* герой и секции */
.hero h1 { font-weight: 700; letter-spacing: -.045em; }
.hero-pill b { background: var(--green); color: #021a0b; border-radius: 2px; }
.hero-pill { border-radius: 3px; }
.globe-wrap::before { background: radial-gradient(circle, rgba(57, 255, 136, .22), transparent 65%); }
.float-card { background: rgba(4, 10, 5, .85); border-color: rgba(57, 255, 136, .35); }
.marquee-track span { font-family: var(--mono); color: var(--text-3); }
.marquee-track span::after { content: '■'; color: var(--green); font-size: 10px; }
.f-icon { background: rgba(57, 255, 136, .08); border-color: rgba(57, 255, 136, .35); color: var(--green); }
.speed-bar i { background: var(--green); box-shadow: 0 0 14px rgba(57, 255, 136, .6); }
.shield-core { background: var(--green); color: #021a0b; box-shadow: 0 0 40px rgba(57, 255, 136, .6); border-radius: 4px; }
.shield i { border-color: rgba(57, 255, 136, .5); border-radius: 4px; }
.mini-chart i { background: var(--green); }
.rack-progress i.on { background: var(--green); box-shadow: var(--glow); }
.plan.featured { background: linear-gradient(180deg, rgba(57, 255, 136, .09), rgba(57, 255, 136, .01)); }
.plan-ribbon { background: var(--green); color: #021a0b; border-radius: 0 0 3px 3px; }
.plan-vendor.amd { color: #ff7b7b; } .plan-vendor.intel { color: var(--cyan); }
.plan-specs svg { color: var(--green); }
.step-num { color: var(--green); border-color: rgba(57, 255, 136, .35); background: #050a06; }
.step-num::before { background: var(--green); opacity: .12; }
.steps::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.checks li svg { background: rgba(57, 255, 136, .12); color: var(--green); border-radius: 2px; }
.mock { box-shadow: var(--shadow), 0 0 60px -20px rgba(57, 255, 136, .35); }
.mock-side span.on { background: rgba(57, 255, 136, .12); color: var(--green); }
.phone { border-radius: 30px; background: linear-gradient(160deg, #142017, #060a06); }
.phone-screen { border-radius: 22px; }
.faq-item.open { border-color: rgba(57, 255, 136, .45); background: rgba(57, 255, 136, .04); }
.faq-q::before { content: '?'; color: var(--green); font-weight: 700; margin-right: -4px; }
.cta { background: radial-gradient(60% 100% at 50% 0%, rgba(57, 255, 136, .18), transparent 70%), #050a06; border-color: rgba(57, 255, 136, .3); }
.cta-orb { display: none; }
.os-ico { border-radius: 3px; }
.announce { background: var(--green); color: #021a0b; border-radius: 3px; box-shadow: 0 0 30px rgba(57, 255, 136, .5); }
.auth-side { background: radial-gradient(70% 60% at 30% 30%, rgba(57, 255, 136, .14), transparent 70%), #040804; }
.auth-btn { border-radius: 4px; }
.tg-wait { border-radius: 4px; }
.boot-mark { background: var(--green); box-shadow: var(--glow); }
.toast { background: #070d08; border-color: rgba(57, 255, 136, .3); }
.modal, .drawer { background: #060b07; border-color: rgba(57, 255, 136, .3); }
.overlay { background: rgba(1, 4, 2, .8); }
.table th { color: var(--text-3); }
.svc-ico { background: rgba(57, 255, 136, .08); border-color: rgba(57, 255, 136, .3); color: var(--green); }
.chart .tip { background: #060c07; border-color: rgba(57, 255, 136, .35); }
.code-block, .terminal, .copy { background: #020502; }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ═══════════ Терминальный курсор ═══════════ */
@media (hover: hover) and (pointer: fine) {
  html.tc-on, html.tc-on * { cursor: none !important; }
}
.tc { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .25s; }
.tc.show { opacity: 1; }
.tc > * { position: fixed; left: 0; top: 0; will-change: transform; }
/* каретка: зелёный блок со смещением, как курсор в консоли */
.tc-caret { width: 9px; height: 16px; margin: -2px 0 0 -1px; background: var(--green); box-shadow: 0 0 8px rgba(57, 255, 136, .9), 0 0 22px rgba(57, 255, 136, .4); mix-blend-mode: screen; transition: width .18s var(--ease), height .18s var(--ease), margin .18s var(--ease), background .2s; }
.tc.idle .tc-caret { animation: blink 1s steps(1) infinite; }
.tc.is-text .tc-caret { width: 2px; height: 22px; margin: -11px 0 0 -1px; }
.tc.is-link .tc-caret { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.tc.down .tc-caret { transform-origin: center; filter: brightness(1.6); }
/* рамка-прицел из четырёх уголков */
.tc-frame { width: 30px; height: 30px; transition: opacity .2s; }
.tc-frame i { position: absolute; width: 8px; height: 8px; border: 0 solid rgba(57, 255, 136, .85); filter: drop-shadow(0 0 4px rgba(57, 255, 136, .7)); transition: width .25s var(--ease), height .25s var(--ease); }
.tc-frame i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.tc-frame i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.tc-frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.tc-frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.tc.is-lock .tc-frame i { width: 12px; height: 12px; border-color: var(--green); }
.tc.is-text .tc-frame { opacity: .35; }
.tc.down .tc-frame i { width: 5px; height: 5px; }
/* подпись: команда + координаты */
.tc-label { display: flex; gap: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.tc-hint { color: #021a0b; background: var(--green); padding: 3px 5px; border-radius: 2px; box-shadow: 0 0 12px rgba(57, 255, 136, .5); }
.tc-hint:empty { display: none; }
.tc-xy { color: rgba(57, 255, 136, .55); padding: 3px 0; }
.tc.is-text .tc-label { opacity: 0; }
/* «пинг» при клике */
.tc-ping { width: 0; height: 0; }
.tc-ping::before { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border: 1px solid var(--green); animation: tcPing .6s var(--ease) forwards; box-shadow: 0 0 10px rgba(57, 255, 136, .6); }
@keyframes tcPing { to { transform: scale(7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tc-ping { display: none; } }

/* ═══════════ Экран загрузки ═══════════ */
.boot-screen { position: fixed; inset: 0; z-index: 500; background: #020402; display: flex; flex-direction: column; justify-content: center; padding: 6vh 7vw; font: 500 clamp(12px, 1.25vw, 15px)/1.75 var(--mono); color: var(--text-2); transition: opacity .6s var(--ease), filter .6s; }
.boot-screen.out { opacity: 0; filter: blur(6px) brightness(2); pointer-events: none; }
.boot-screen::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(57, 255, 136, .035) 0 1px, transparent 1px 3px); pointer-events: none; }
.boot-inner { max-width: 760px; width: 100%; }
.boot-line { display: flex; justify-content: space-between; gap: 20px; animation: bootLine .12s steps(2) both; white-space: nowrap; overflow: hidden; }
.boot-line:first-child { color: var(--text); font-weight: 700; margin-bottom: 10px; }
.boot-line b { color: var(--green); text-shadow: var(--glow); }
.boot-bar { color: var(--green); margin-top: 10px; text-shadow: var(--glow); }
.boot-ready { color: #fff; font-weight: 700; font-size: 1.35em; margin-top: 16px; text-shadow: 0 0 10px rgba(57, 255, 136, .9), 0 0 30px rgba(57, 255, 136, .5); justify-content: flex-start; }
.boot-skip { position: absolute; bottom: 5vh; left: 7vw; color: var(--text-3); font-size: 12px; animation: blink 1.6s steps(1) infinite; }
@keyframes bootLine { from { opacity: 0; transform: translateX(-6px); } }

/* ═══════════ Окна терминала ═══════════ */
.win-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: rgba(57, 255, 136, .04); font: 500 11px/1 var(--mono); color: var(--text-3); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(57, 255, 136, .45); }
.win-bar i:first-child { background: rgba(57, 255, 136, .5); }
.win-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-bar { margin: -26px -26px 20px; border-radius: 4px 4px 0 0; }
.plan.featured .plan-bar { background: rgba(57, 255, 136, .12); color: var(--green); }
.plan-ribbon { top: 34px; }

.hero-term { position: absolute; left: -12%; bottom: -4%; width: min(390px, 72%); z-index: 4; background: rgba(2, 6, 3, .92); border: 1px solid rgba(57, 255, 136, .4); border-radius: 5px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(57, 255, 136, .35); overflow: hidden; animation: fadeUp 1s .6s var(--ease) both; }
.term-body { height: 196px; overflow: hidden; padding: 12px 14px; font: 500 12px/1.65 var(--mono); color: var(--text-2); }
.term-body > div { white-space: pre-wrap; word-break: break-all; }
.tp { color: var(--green); font-weight: 600; }
.tp-root { color: var(--yellow); font-weight: 600; }
.tc-cmd { color: var(--text); }
.t-out { color: var(--text-2); }
.t-ok { color: var(--green); text-shadow: var(--glow); }
.t-bar { color: var(--green); }
.t-cur { display: inline-block; width: 8px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--green); box-shadow: var(--glow); animation: blink 1s steps(1) infinite; }
@media (max-width: 1000px) { .hero-term { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -10px; } }

/* бегущая строка — флаги командной строки */
.marquee-track span em { font-style: normal; color: var(--green); }

/* ═══════════ Статус-бар как в tmux ═══════════ */
.landing { padding-bottom: 26px; }
.statusbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 26px; display: flex; align-items: stretch; font: 600 11.5px/26px var(--mono); background: #071108; border-top: 1px solid rgba(57, 255, 136, .25); color: var(--text-2); white-space: nowrap; overflow: hidden; }
.statusbar > span { padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; }
.sb-mode { background: var(--green); color: #021a0b; font-weight: 700; letter-spacing: .06em; }
.sb-seg { border-right: 1px solid rgba(57, 255, 136, .15); }
.sb-grow { flex: 1; padding: 0 !important; }
.sb-dot { width: 6px; height: 6px; background: var(--green); box-shadow: 0 0 6px var(--green); animation: dotPulse 2s ease-in-out infinite; }
.sb-clock { background: rgba(57, 255, 136, .14); color: var(--green); }
.landing ~ .announce, .announce { bottom: 40px; }
.toasts { bottom: 40px; }
@media (max-width: 700px) { .sb-hide { display: none !important; } }

/* заголовки секций: подчёркивание-«курсор» */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after { content: ''; display: block; width: 46px; height: 3px; margin: 18px auto 0; background: var(--green); box-shadow: var(--glow); }
.section-head { position: relative; }
.boot-screen { color: #a6e4bb; }
.section-head .eyebrow { display: flex; justify-content: center; }
.plan-ribbon { top: 0; right: 0; padding: 0 12px; height: 28px; line-height: 28px; border-radius: 0 4px 0 3px; }
