/* ============================================================
   OMNIXBOT — Design System CSS
   Premium cyber aesthetic | Dark mode first
   ============================================================ */

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

/* ──────────────────────────────────────────────
   CUSTOM PROPERTIES
   ────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-void:     #07090f;
  --bg-surface:  #0d1117;
  --bg-elevated: #161b22;
  --bg-card:     #0d1117;
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.08);
  --cyan-mid:    rgba(0, 212, 255, 0.2);
  --purple:      #7c3aed;
  --purple-dim:  rgba(124, 58, 237, 0.1);
  --green:       #00ff88;
  --green-dim:   rgba(0, 255, 136, 0.1);
  --red:         #ff3366;
  --red-dim:     rgba(255, 51, 102, 0.1);
  --amber:       #f59e0b;
  --amber-dim:   rgba(245, 158, 11, 0.1);
  --text-1:      #f0f6fc;
  --text-2:      #8b949e;
  --text-3:      #484f58;
  --border:      rgba(0, 212, 255, 0.12);
  --border-mid:  rgba(0, 212, 255, 0.25);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-surface: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(124,58,237,0.05));
  --gradient-glow:    linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow:    0 0 30px rgba(0, 212, 255, 0.15), 0 0 60px rgba(0, 212, 255, 0.05);
  --shadow-purple:  0 0 30px rgba(124, 58, 237, 0.2);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.03) inset;
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg:      0 8px 32px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ──────────────────────────────────────────────
   RESET & BASE
   ────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-void);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #4de3ff; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ──────────────────────────────────────────────
   TYPOGRAPHY
   ────────────────────────────────────────────── */
.font-orbitron { font-family: 'Orbitron', monospace; }
.font-mono     { font-family: 'JetBrains Mono', 'Courier New', monospace; }
.font-inter    { font-family: 'Inter', sans-serif; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-2); line-height: 1.75; }

.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 2rem; }

.text-primary   { color: var(--text-1); }
.text-secondary { color: var(--text-2); }
.text-cyan      { color: var(--cyan); }
.text-purple    { color: var(--purple); }
.text-green     { color: var(--green); }
.text-red       { color: var(--red); }
.text-amber     { color: var(--amber); }

.glow-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
}

.glow-text-purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.font-bold    { font-weight: 700; }
.font-black   { font-weight: 900; }
.font-medium  { font-weight: 500; }
.uppercase    { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.2em; }

/* ──────────────────────────────────────────────
   LAYOUT
   ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-xs {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  width: 100%;
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--cyan-dim);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-1);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ──────────────────────────────────────────────
   FLEXBOX UTILITIES
   ────────────────────────────────────────────── */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.flex-1 { flex: 1; }

/* ──────────────────────────────────────────────
   GRID UTILITIES
   ────────────────────────────────────────────── */
.grid        { display: grid; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

/* ──────────────────────────────────────────────
   SPACING UTILITIES
   ────────────────────────────────────────────── */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.p-sm  { padding: var(--space-sm); }
.p-md  { padding: var(--space-md); }
.p-lg  { padding: var(--space-lg); }
.p-xl  { padding: var(--space-xl); }

/* ──────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::before { background: rgba(255,255,255,0.07); }
.btn:active { transform: translateY(1px); }

/* Primary — gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25), 0 2px 0 rgba(255,255,255,0.1) inset;
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.45), 0 0 60px rgba(124,58,237,0.2), 0 2px 0 rgba(255,255,255,0.1) inset;
  transform: translateY(-2px);
  color: #fff;
}

/* Secondary — border cyan */
.btn-secondary {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-mid);
}
.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
  color: var(--cyan);
}

/* Ghost — minimal */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* Danger */
.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255, 51, 102, 0.3);
}
.btn-danger:hover {
  background: rgba(255, 51, 102, 0.15);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.25);
}

/* Sizes */
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-xl { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

/* ──────────────────────────────────────────────
   CARDS
   ────────────────────────────────────────────── */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

/* Card variants */
.card-surface {
  background: var(--bg-surface);
}

.card-glow {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: var(--shadow-glow);
}
.card-glow::before { opacity: 1; }

.card-glass {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.07);
}

.card-popular {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15), var(--shadow-glow);
}
.card-popular::before { opacity: 1; }

/* Feature card */
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: default;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.08);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  border-color: var(--border-mid);
}

/* ──────────────────────────────────────────────
   BADGES
   ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,255,136,0.2); }
.badge-red    { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(255,51,102,0.2); }
.badge-amber  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.2); }
.badge-cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(0,212,255,0.2); }
.badge-purple { background: var(--purple-dim); color: #a78bfa;       border: 1px solid rgba(124,58,237,0.2); }
.badge-ghost  { background: transparent; color: var(--text-2); border: 1px solid rgba(255,255,255,0.1); }

/* ──────────────────────────────────────────────
   INPUTS / FORMS
   ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 0.02em;
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-base);
  outline: none;
  appearance: none;
}

.input-field::placeholder { color: var(--text-3); }

.input-field:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.05);
  background: var(--bg-void);
}

.input-field.error { border-color: var(--red); }
.input-field.success { border-color: var(--green); }

.input-prefix {
  position: relative;
  display: flex;
  align-items: center;
}
.input-prefix-icon {
  position: absolute;
  left: 14px;
  color: var(--text-3);
  pointer-events: none;
  font-size: 0.9rem;
}
.input-prefix .input-field {
  padding-left: 40px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-3);
}
.form-error {
  font-size: 0.78rem;
  color: var(--red);
}

/* ──────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────── */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav-main.nav-scrolled {
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}

.nav-main.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────────────────
   DIVIDERS
   ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.2;
  border: none;
  margin: var(--space-xl) 0;
}

.divider-subtle {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--space-lg) 0;
}

/* ──────────────────────────────────────────────
   STAT NUMBERS
   ────────────────────────────────────────────── */
.stat-number {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-2);
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
}

/* ──────────────────────────────────────────────
   TERMINAL
   ────────────────────────────────────────────── */
.terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 212, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  max-width: 680px;
  width: 100%;
}

.terminal-bar {
  background: var(--bg-elevated);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.amber  { background: #febc2e; }
.terminal-dot.green  { background: #28c840; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: var(--space-lg);
  font-size: 0.875rem;
  line-height: 2;
}

.t-line { color: var(--text-2); display: flex; align-items: baseline; gap: 8px; }
.t-prompt { color: var(--cyan); font-weight: 700; }
.t-cmd { color: var(--text-1); }
.t-loading { color: var(--amber); animation: blink 1s ease infinite; }
.t-result {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
}
.t-result div { padding: 2px 0; }
.t-result strong { color: var(--cyan); }
.t-success { color: var(--green); }
.t-key { color: var(--cyan); }

/* ──────────────────────────────────────────────
   LIVE BADGE
   ────────────────────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: var(--space-lg);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-glow 2s ease infinite;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   STEPS
   ────────────────────────────────────────────── */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--border);
  background-image: repeating-linear-gradient(90deg, var(--cyan) 0, var(--cyan) 6px, transparent 6px, transparent 12px);
}

/* ──────────────────────────────────────────────
   PRICING CARDS
   ────────────────────────────────────────────── */
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15), 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 212, 255, 0.1);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-value {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--text-1);
  line-height: 1;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-2);
  vertical-align: top;
  margin-top: 6px;
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.pricing-features li .check {
  color: var(--green);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.pricing-features li .cross {
  color: var(--text-3);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 5rem;
  color: var(--cyan);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-glow);
  border: 2px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; color: var(--text-1); }
.author-role { font-size: 0.78rem; color: var(--text-3); }

.stars { color: var(--amber); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 12px; }

/* ──────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open {
  border-color: rgba(0, 212, 255, 0.3);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  border: none;
  outline: none;
  transition: background var(--transition-fast);
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { background: var(--bg-card); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  background: var(--bg-surface);
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ──────────────────────────────────────────────
   TRUST SIGNALS
   ────────────────────────────────────────────── */
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}
.trust-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-1);
}
.trust-text {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ──────────────────────────────────────────────
   ALERT / NOTICE BARS
   ────────────────────────────────────────────── */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.alert-info    { background: var(--cyan-dim);   color: var(--cyan);   border-color: rgba(0,212,255,0.2); }
.alert-success { background: var(--green-dim);  color: var(--green);  border-color: rgba(0,255,136,0.2); }
.alert-warning { background: var(--amber-dim);  color: var(--amber);  border-color: rgba(245,158,11,0.2); }
.alert-danger  { background: var(--red-dim);    color: var(--red);    border-color: rgba(255,51,102,0.2); }

/* ──────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

#particles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.cta-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-3);
  margin-top: var(--space-md);
  max-width: 260px;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-1);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--text-1); }

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-3);
}
.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--cyan);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.footer-telegram:hover {
  background: var(--cyan-dim);
  border-color: var(--border-mid);
  color: var(--cyan);
}

/* ──────────────────────────────────────────────
   BACKGROUND DECORATIONS
   ────────────────────────────────────────────── */
.bg-glow-cyan {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.bg-glow-purple {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ──────────────────────────────────────────────
   SCROLL ANIMATIONS
   ────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ──────────────────────────────────────────────
   KEYFRAME ANIMATIONS
   ────────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); opacity: 0.7; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
  50% { filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.6)); }
}

@keyframes pulse-once {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse-once { animation: pulse-once 0.4s ease; }

@keyframes flash-red {
  0%, 100% { color: inherit; }
  50% { color: var(--red); }
}
.flash-red { animation: flash-red 0.6s ease; }

/* ──────────────────────────────────────────────
   MISC UTILITIES
   ────────────────────────────────────────────── */
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.z-0  { z-index: 0; }
.z-1  { z-index: 1; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.w-full   { width: 100%; }
.h-full   { height: 100%; }
.rounded  { border-radius: var(--radius-md); }
.rounded-full { border-radius: var(--radius-full); }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.hidden { display: none; }

/* Gradient animated text */
.gradient-animated-text {
  background: linear-gradient(270deg, #00d4ff, #7c3aed, #00ff88, #00d4ff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* Scanline effect overlay */
.scanline-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.scanline-overlay::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 212, 255, 0.05);
  animation: scanline 8s linear infinite;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 64px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(7, 9, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: 4px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn:not(.btn-primary) { display: none; }

  .hero-cta-group { flex-direction: column; }
  .btn-xl { padding: 16px 32px; width: 100%; max-width: 320px; }

  .step-connector { display: none; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-md); }
  .card { padding: var(--space-lg); }
  .pricing-card { padding: var(--space-lg); }
}

/* Print */
@media print {
  .nav-main, .hero-grid-bg, #particles-bg { display: none; }
  body { background: #fff; color: #000; }
}

/* ──────────────────────────────────────────────
   DASHBOARD LAYOUT
   ────────────────────────────────────────────── */
.dash-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 252px;
  min-height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  transition: transform var(--transition-base);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,.1) transparent;
}

.sidebar-brand {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sidebar-brand-name {
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.12em;
}

.sidebar-nav {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  text-decoration: none;
  position: relative;
}
.nav-item:hover {
  color: var(--text-1);
  background: rgba(255,255,255,.03);
  border-left-color: rgba(0,212,255,.3);
}
.nav-item.active {
  color: var(--cyan);
  background: rgba(0,212,255,.06);
  border-left-color: var(--cyan);
  font-weight: 600;
}
.nav-item .ni { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }

.nav-divider-line {
  height: 1px;
  background: var(--border);
  margin: 6px 14px;
}

.nav-logout { color: var(--red) !important; }
.nav-logout:hover { background: rgba(255,51,102,.06) !important; border-left-color: var(--red) !important; }

/* Sidebar plan box */
.sidebar-plan {
  margin: 0 10px 10px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
}
.sidebar-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.plan-queries-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 6px 0 8px;
}
.plan-queries-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--gradient-primary);
  transition: width .6s ease;
}
.plan-queries-fill.warn   { background: linear-gradient(90deg,#f59e0b,#f97316); }
.plan-queries-fill.danger { background: linear-gradient(90deg,var(--red),#f97316); }
.plan-queries-text {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.upgrade-link {
  display: block;
  text-align: center;
  font-size: 11px;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--cyan);
  padding: 6px;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.upgrade-link:hover { background: rgba(0,212,255,.08); color: #fff; }

/* Topbar */
.topbar {
  height: 58px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}
.menu-toggle:hover { color: var(--cyan); }
.topbar-title {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  flex: 1;
}
.topbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.balance-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--green);
}
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0,212,255,.2);
}

/* Main content */
.dash-main {
  margin-left: 252px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-content {
  padding: 26px 28px;
  flex: 1;
}
.page-header { margin-bottom: 24px; }
.page-title {
  font-size: 20px;
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  color: var(--text-1);
}
.page-subtitle { color: var(--text-2); font-size: 13px; margin-top: 3px; }

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 99;
}

/* ── Stat Cards ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: var(--border-mid); }
.stat-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 700;
}
.stat-val {
  font-family: 'Orbitron', monospace;
  font-size: 26px;
  font-weight: 900;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 4px 0;
}
.stat-val.cyan   { color: var(--cyan); }
.stat-val.green  { color: var(--green); }
.stat-val.purple { color: #a78bfa; }
.stat-sub { font-size: 11px; color: var(--text-3); }
.stat-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  opacity: .1;
}

/* ── Tables ── */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead th {
  background: var(--bg-elevated);
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,.02); }
.data-table td {
  padding: 11px 16px;
  color: var(--text-1);
  vertical-align: middle;
}
.data-table td.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-2);
}

/* ── Query type tabs ── */
.query-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 5px;
  background: var(--bg-elevated);
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.query-tab {
  flex: 1;
  min-width: 75px;
  padding: 8px 12px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.query-tab:hover { color: var(--text-1); background: rgba(255,255,255,.04); }
.query-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(0,212,255,.2);
}

/* ── Progress bar ── */
.progress-bar {
  height: 7px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-primary);
  transition: width .5s ease;
}
.progress-fill.warn   { background: linear-gradient(90deg,#f59e0b,#f97316); }
.progress-fill.danger { background: linear-gradient(90deg,var(--red),#f97316); }

/* ── Accordion (results) ── */
.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.accordion-header:hover { background: rgba(0,212,255,.04); }
.accordion-chevron { transition: transform var(--transition-base); color: var(--text-3); font-size: 12px; }
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 14px 18px;
  background: var(--bg-surface);
  font-size: 13px;
}
.accordion-item.open .accordion-body { display: block; }
.result-row {
  display: flex;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  align-items: baseline;
}
.result-row:last-child { border-bottom: none; }
.result-key {
  min-width: 130px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex-shrink: 0;
}
.result-val {
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  word-break: break-all;
}

/* ── Auth Layout ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-void);
}
.auth-topnav {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(13,17,23,.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.auth-brand {
  font-family: 'Orbitron', monospace;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.auth-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 460px;
  min-height: calc(100vh - 57px);
}
.auth-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 72px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(0,212,255,.05), transparent),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(124,58,237,.06), transparent);
  position: relative;
  overflow: hidden;
}
.auth-left-inner { position: relative; z-index: 1; }
.auth-tagline {
  font-family: 'Orbitron', monospace;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.auth-tagline .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-tagline-sub {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Feature rotate text */
.feature-rotator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--cyan);
  min-height: 24px;
  margin-bottom: 40px;
}
.feature-rotator::before { content: '> '; opacity: .5; }

.auth-feature-list { display: flex; flex-direction: column; gap: 12px; }
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--transition-base);
}
.auth-feature-item:hover { border-color: rgba(0,212,255,.2); }
.auth-feature-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.auth-feature-text strong { display: block; font-size: 13px; color: var(--text-1); font-weight: 600; }
.auth-feature-text span   { font-size: 12px; color: var(--text-3); }

.auth-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.auth-stat-mini .n {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan);
}
.auth-stat-mini .l { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em; }

/* Auth right */
.auth-right {
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}
.auth-card { width: 100%; max-width: 380px; }
.auth-card-title {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-1);
}
.auth-card-sub { color: var(--text-2); font-size: 13px; margin-bottom: 26px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 11px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
}
.auth-footer a { font-weight: 600; color: var(--cyan); }
.auth-footer a:hover { color: #fff; }

/* Input with icon */
.input-icon-wrap { position: relative; }
.input-icon-wrap .iicon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 14px;
  pointer-events: none;
}
.input-icon-wrap .input-field { padding-left: 40px; }
.input-icon-wrap .input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
  transition: color var(--transition-fast);
}
.input-icon-wrap .input-toggle:hover { color: var(--cyan); }

/* Checkbox */
.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}
.check-wrap input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-label { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* Password strength */
.pw-strength-bar-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.pw-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: width .3s ease, background .3s ease;
  width: 0%;
}
.pw-strength-label { font-size: 10px; color: var(--text-3); margin-top: 3px; font-weight: 500; }

/* Telegram button */
.btn-telegram {
  background: #229ED9;
  color: #fff;
  gap: 10px;
  border: none;
}
.btn-telegram:hover { background: #1a8cbf; color: #fff; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: var(--bg-elevated);
  transition: all var(--transition-fast);
}
.page-link:hover { border-color: rgba(0,212,255,.3); color: var(--cyan); }
.page-link.active { background: var(--cyan); border-color: var(--cyan); color: #000; font-weight: 700; }
.page-link.disabled { opacity: .35; pointer-events: none; }

/* API Token */
.token-display {
  background: var(--bg-void);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--green);
  word-break: break-all;
  letter-spacing: 0.04em;
  position: relative;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,9,15,.88);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  backdrop-filter: blur(4px);
}
.loading-overlay.show { display: flex; }
.spin-lg {
  width: 44px; height: 44px;
  border: 3px solid rgba(0,212,255,.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.loading-text { font-family: 'Orbitron', monospace; font-size: 12px; color: var(--cyan); letter-spacing: 0.12em; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Spinners in buttons */
.btn .btn-spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.loading .btn-spinner { display: inline-block; }
.btn.loading .btn-txt { opacity: .6; }

/* Quick access cards */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.quick-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  display: block;
}
.quick-card:hover {
  border-color: rgba(0,212,255,.3);
  background: rgba(0,212,255,.04);
  transform: translateY(-2px);
  color: var(--text-1);
}
.quick-card .qi { font-size: 22px; margin-bottom: 6px; display: block; }
.quick-card .ql { font-size: 11px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.07em; }

/* Section boxes */
.section-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.section-box-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
}
.section-box-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.02em;
}
.section-box-body { padding: 18px; }

/* Referral code display */
.referral-box {
  background: var(--bg-void);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.referral-code {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dashboard responsive */
@media (max-width: 1024px) {
  .auth-body { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { min-height: calc(100vh - 57px); }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 40px rgba(0,0,0,.7);
  }
  .dash-main { margin-left: 0; }
  .menu-toggle { display: flex; }
  .sidebar-overlay { display: block; opacity: 0; pointer-events: none; transition: opacity var(--transition-base); }
  .sidebar.open ~ .dash-main .sidebar-overlay { opacity: 1; pointer-events: auto; }
}

@media (max-width: 768px) {
  .page-content { padding: 18px 14px; }
  .topbar { padding: 0 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .query-tabs { flex-wrap: wrap; }
  .query-tab { min-width: 60px; font-size: 10px; padding: 6px 8px; }
}
