/* ═══════════════════════════════════════════════════════════════════
   MDM KING — "Obsidian" Design System v2.0
   Emerald + cyan on near-black · flat surfaces · one accent pair
   ═══════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* surfaces */
  --bg: #06080b;
  --bg-2: #0a0d12;
  --surface: #0f141b;
  --surface-2: #141a24;
  --surface-3: #1a2130;
  --card-bg: #0f141b;
  --card-bg-solid: #0f141b;
  --card-bg-hover: #141a24;
  --card-bg-elevated: #141a24;

  /* text */
  --text: #e9eef5;
  --text-bright: #ffffff;
  --text-light: #96a2b4;
  --text-muted: #6b7789;
  --text-dim: #4a5567;

  /* accent pair */
  --primary: #2ee6a6;
  --primary-hover: #6bf3c4;
  --primary-dark: #0e9d74;
  --primary-light: #7ff5cd;
  --primary-soft: rgba(46, 230, 166, 0.10);
  --primary-glow: rgba(46, 230, 166, 0.30);
  --primary-glow-strong: rgba(46, 230, 166, 0.50);
  --primary-glow-subtle: rgba(46, 230, 166, 0.12);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.10);

  /* status */
  --green: #2ee6a6;
  --green-glow: rgba(46, 230, 166, 0.30);
  --green-bg: rgba(46, 230, 166, 0.10);
  --green-border: rgba(46, 230, 166, 0.22);
  --red: #fb7185;
  --red-bg: rgba(251, 113, 133, 0.10);
  --orange: #fbbf24;
  --violet: #38bdf8;
  --violet-glow: rgba(56, 189, 248, 0.30);

  /* lines */
  --border: rgba(148, 163, 184, 0.13);
  --border-light: rgba(148, 163, 184, 0.22);
  --border-glass: rgba(148, 163, 184, 0.13);
  --divider: rgba(148, 163, 184, 0.10);
  --glass-bg: rgba(148, 163, 184, 0.05);
  --glass-bg-hover: rgba(148, 163, 184, 0.08);
  --glass-border: rgba(148, 163, 184, 0.13);
  --glass-border-hover: rgba(148, 163, 184, 0.22);
  --glass-blur: 18px;

  /* gradients */
  --gradient-primary: linear-gradient(135deg, #2ee6a6 0%, #22d3ee 100%);
  --gradient-primary-hover: linear-gradient(135deg, #57efbb 0%, #5cd8ff 100%);
  --gradient-text: linear-gradient(115deg, #ffffff 0%, #c9fff0 40%, #2ee6a6 100%);
  --gradient-mesh:
    radial-gradient(900px 520px at 12% -8%, rgba(46, 230, 166, 0.10), transparent 65%),
    radial-gradient(760px 480px at 88% 4%, rgba(56, 189, 248, 0.08), transparent 62%),
    radial-gradient(900px 600px at 50% 110%, rgba(46, 230, 166, 0.05), transparent 65%);
  --gradient-card: linear-gradient(180deg, #10151d 0%, #0c1118 100%);
  --gradient-feature-icon: linear-gradient(135deg, rgba(46, 230, 166, 0.18), rgba(56, 189, 248, 0.12));

  /* shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.50);
  --shadow-glow: 0 0 0 1px rgba(46, 230, 166, 0.12), 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow-strong: 0 0 40px rgba(46, 230, 166, 0.22), 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.35);

  /* radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* type */
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image:
    var(--gradient-mesh),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15.5px;
}

/* fine grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 1100px 720px at 50% 0%, #000 25%, transparent 75%);
}

a { color: var(--primary); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(46, 230, 166, 0.28); color: #fff; }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 24px; position: relative; }
section.section { padding: 96px 0; }
section.section > .container { padding: 0 24px; }
body > section:first-of-type:not(.hero) { padding-top: 136px; }
body > section:first-of-type:not(.hero) .section-title { margin-bottom: 44px; }

.section-title { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding: 6px 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  border: 1px solid rgba(46, 230, 166, 0.22); border-radius: var(--radius-pill);
}
.section-title h1, .section-title h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
  color: var(--text-bright); margin-bottom: 14px;
}
.section-title p { color: var(--text-light); font-size: 1rem; max-width: 620px; margin: 0 auto; }
.section-title .section-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 16px auto 0; padding: 9px 15px; border-radius: 999px;
  max-width: 620px; font-size: 0.82rem; color: var(--text-light);
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.22);
}
.section-title .section-note i { color: var(--primary); flex: none; }

/* ─── HEADER ─── */
header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: 74px;
  display: flex; align-items: center; gap: 26px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
header.scrolled {
  background: rgba(6, 8, 11, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.header-inner { display: flex; align-items: center; gap: 26px; width: 100%; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-bright); white-space: nowrap;
}
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.logo::after { content: ''; }

header nav { margin-left: auto; }

/* ─── DESKTOP NAV ─── */
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 9px;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.86rem; font-weight: 550;
  color: var(--text-light); white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--text-bright); background: rgba(148, 163, 184, 0.08); }
.nav-link.active { color: var(--primary); }
.nav-link .chev { font-size: 0.55rem; opacity: 0.7; transition: transform 0.2s var(--ease); }
.nav-item.open .chev { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px) scale(0.985);
  width: 344px; padding: 9px;
  background: rgba(9, 13, 18, 0.98);
  border: 1px solid var(--border-light); border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 1100;
}
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.nav-dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 11px; border-radius: 11px;
  transition: background 0.15s var(--ease);
}
.nav-dropdown a:hover { background: rgba(148, 163, 184, 0.07); }
.nav-dropdown a.is-current { background: rgba(46, 230, 166, 0.055); }
.nav-dropdown a.is-current .nd-icon { background: var(--primary-soft); border-color: rgba(46, 230, 166, 0.30); color: var(--primary); }
.nav-dropdown a.is-current .nd-copy strong { color: var(--primary); }
.nd-icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.18);
  color: var(--primary); font-size: 0.8rem;
}
.nd-cyan { background: var(--accent-soft); border-color: rgba(56, 189, 248, 0.20); color: var(--accent); }
.nd-blue { background: rgba(96, 165, 250, 0.10); border-color: rgba(96, 165, 250, 0.20); color: #60a5fa; }
.nd-amber { background: rgba(251, 191, 36, 0.09); border-color: rgba(251, 191, 36, 0.20); color: var(--orange); }
.nd-copy strong { display: block; font-size: 0.84rem; font-weight: 650; letter-spacing: -0.01em; color: var(--text-bright); }
.nd-copy small { display: block; margin-top: 2px; font-size: 0.72rem; line-height: 1.45; color: var(--text-muted); }

.nav-search {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; margin-left: 8px; padding: 0 9px 0 12px;
  background: rgba(148, 163, 184, 0.04); border: 1px solid var(--border);
  border-radius: 11px; color: var(--text-muted); cursor: pointer;
  font-family: inherit; font-size: 0.8rem;
  transition: all 0.18s var(--ease);
}
.nav-search:hover { color: var(--text-bright); border-color: rgba(46, 230, 166, 0.32); background: var(--primary-soft); }
.nav-search kbd {
  font-family: inherit; font-size: 0.63rem; font-weight: 650; color: var(--text-muted);
  padding: 2px 5px; border: 1px solid var(--border); border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
}

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 8px rgba(46, 230, 166, 0.55); z-index: 2;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  color: var(--text-light); border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.04);
  transition: all 0.18s var(--ease);
}
.header-icon:hover { color: var(--primary); border-color: rgba(46, 230, 166, 0.35); background: var(--primary-soft); }
.header-social { color: #6cc7f2; }
.header-social-wa { color: #67e0a0; }

.hamburger {
  display: none; width: 42px; height: 42px; margin-left: auto;
  background: rgba(148, 163, 184, 0.05); border: 1px solid var(--border);
  border-radius: 11px; cursor: pointer; padding: 10px 9px;
  flex-direction: column; justify-content: space-between;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text-light); border-radius: 2px; transition: 0.2s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DRAWER ─── */
.menu-scrim {
  position: fixed; inset: 0; z-index: 1150;
  background: rgba(2, 4, 7, 0.68);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.26s var(--ease);
}
body.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }

.mobile-menu {
  display: flex; flex-direction: column;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(408px, 92vw); z-index: 1200;
  background: linear-gradient(180deg, #0b1016 0%, #080b0f 100%);
  border-left: 1px solid var(--border-light);
  box-shadow: -32px 0 80px rgba(0, 0, 0, 0.62);
  transform: translateX(103%); visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mm-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 18px 15px; border-bottom: 1px solid var(--divider);
}
.mm-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-bright); }
.mm-brand img { width: 34px; height: 34px; border-radius: 9px; }
.mm-brand small { display: block; margin-top: 1px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--text-muted); }
.mm-close {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 184, 0.06); border: 1px solid var(--border);
  color: var(--text-light); font-size: 0.95rem; cursor: pointer;
  transition: all 0.18s var(--ease);
}
.mm-close:hover { color: var(--primary); border-color: rgba(46, 230, 166, 0.32); }
.mm-search {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 18px 2px; padding: 11px 13px;
  background: rgba(148, 163, 184, 0.05); border: 1px solid var(--border);
  border-radius: 11px; color: var(--text-muted);
  font-family: inherit; font-size: 0.85rem; text-align: left; cursor: pointer;
  transition: all 0.18s var(--ease);
}
.mm-search:hover { color: var(--text-bright); border-color: rgba(46, 230, 166, 0.3); }
.mm-search kbd {
  margin-left: auto; font-family: inherit; font-size: 0.62rem; font-weight: 650;
  padding: 2px 5px; border: 1px solid var(--border); border-radius: 5px;
  background: rgba(0, 0, 0, 0.25); color: var(--text-muted);
}
.mm-body { flex: 1; overflow-y: auto; padding: 8px 12px 16px; }
.mm-label {
  padding: 14px 10px 5px; font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.mm-link {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 11px;
  color: var(--text); transition: background 0.15s var(--ease);
}
.mm-link:hover, .mm-link.active { background: rgba(148, 163, 184, 0.06); }
.mm-ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 184, 0.06); border: 1px solid var(--border);
  color: var(--text-light); font-size: 0.8rem;
  transition: all 0.15s var(--ease);
}
.mm-link.active .mm-ico { background: var(--primary-soft); border-color: rgba(46, 230, 166, 0.24); color: var(--primary); }
.mm-txt { min-width: 0; }
.mm-txt strong { display: block; font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-bright); }
.mm-txt small { display: block; margin-top: 1px; font-size: 0.72rem; color: var(--text-muted); }
.mm-link.active .mm-txt strong { color: var(--primary); }
.mm-arrow { margin-left: auto; font-size: 0.62rem; color: var(--text-muted); opacity: 0.45; }
.mm-foot {
  display: grid; gap: 9px; padding: 15px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--divider); background: rgba(0, 0, 0, 0.18);
}
.mm-cta { width: 100%; }
.mm-social { display: flex; gap: 9px; margin-top: 4px; }
.mm-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text-light);
  font-size: 0.9rem; transition: all 0.18s var(--ease);
}
.mm-social a:hover { border-color: rgba(46, 230, 166, 0.32); color: var(--primary); }
.mm-social .ms-tg { background: #229ED9; border-color: #229ED9; color: #fff; }
.mm-social .ms-wa { background: #25D366; border-color: #25D366; color: #fff; }

body.menu-open, body.cmdk-open { overflow: hidden; }
body.menu-open .help-widget, body.cmdk-open .help-widget { opacity: 0; visibility: hidden; pointer-events: none; }

/* ─── COMMAND PALETTE ─── */
.cmdk {
  position: fixed; inset: 0; z-index: 2200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: max(11vh, 84px) 18px 24px;
  background: rgba(2, 4, 7, 0.72);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
}
.cmdk.open { opacity: 1; visibility: visible; }
.cmdk-panel {
  display: flex; flex-direction: column;
  width: min(620px, 100%); max-height: min(540px, 76vh);
  background: rgba(10, 14, 20, 0.985);
  border: 1px solid var(--border-light); border-radius: 16px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.68);
  overflow: hidden; transform: translateY(-8px) scale(0.99);
  transition: transform 0.18s var(--ease);
}
.cmdk.open .cmdk-panel { transform: none; }
.cmdk-search { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-bottom: 1px solid var(--divider); }
.cmdk-search > i { color: var(--primary); font-size: 0.9rem; }
.cmdk-search input {
  flex: 1; background: none; border: 0; outline: 0;
  color: var(--text-bright); font-family: inherit; font-size: 0.95rem;
}
.cmdk-search input::placeholder { color: var(--text-muted); }
.cmdk-esc {
  font-family: inherit; font-size: 0.62rem; font-weight: 650; color: var(--text-muted);
  padding: 3px 6px; border: 1px solid var(--border); border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
}
.cmdk-list { overflow-y: auto; padding: 8px; }
.cmdk-group {
  padding: 9px 10px 4px; font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted);
}
.cmdk-item { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--text); cursor: pointer; }
.cmdk-item.active, .cmdk-item:hover { background: rgba(46, 230, 166, 0.07); }
.ci {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 184, 0.06); border: 1px solid var(--border);
  color: var(--text-light); font-size: 0.72rem;
}
.cmdk-item.active .ci { background: var(--primary-soft); border-color: rgba(46, 230, 166, 0.24); color: var(--primary); }
.ct { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-bright); }
.cd { display: block; margin-top: 1px; font-size: 0.71rem; color: var(--text-muted); }
.cr { margin-left: auto; font-size: 0.62rem; color: var(--text-muted); opacity: 0; transition: opacity 0.15s; }
.cmdk-item.active .cr { opacity: 0.8; }
.cmdk-empty { padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 560px) {
  .cmdk { padding-top: 76px; }
  .cmdk-search { padding: 13px 14px; }
  .cd { display: none; }
}

/* ─── BUTTONS / PILLS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 650; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn i { font-size: 0.85em; }
.btn-primary { background: var(--gradient-primary); color: #04120d; box-shadow: 0 10px 26px rgba(46, 230, 166, 0.18); }
.btn-primary:hover { color: #04120d; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46, 230, 166, 0.30); }
.btn-outline { background: rgba(148, 163, 184, 0.04); border-color: var(--border-light); color: var(--text); }
.btn-outline:hover { border-color: rgba(46, 230, 166, 0.45); color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.btn-sm { padding: 9px 14px; font-size: 0.8rem; border-radius: 10px; }
.btn[disabled], .btn.disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-light); background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
}
.pill-ok { color: var(--primary); background: var(--primary-soft); border-color: rgba(46, 230, 166, 0.22); }

.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(46, 230, 166, 0.12); }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(46, 230, 166, 0.12); }
.dot-red { background: var(--red); box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12); animation: pulseDot 1.8s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ─── HERO ─── */
.hero {
  padding: 168px 24px 100px;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
#particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(46, 230, 166, 0.55);
  box-shadow: 0 0 10px rgba(46, 230, 166, 0.45);
  animation: floatParticle 8s ease-in-out infinite;
}
@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate3d(14px, -26px, 0) scale(1.35); opacity: 0.8; }
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 64px;
  align-items: center; width: 100%;
}
.hero-copy { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: rgba(46, 230, 166, 0.07); border: 1px solid rgba(46, 230, 166, 0.22);
  color: var(--primary); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  font-weight: 850; line-height: 1.04; letter-spacing: -0.045em;
  color: var(--text-bright); margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem); color: var(--text-light);
  max-width: 540px; margin-bottom: 32px; line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-btns .btn { padding: 14px 24px; font-size: 0.95rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-muted); font-size: 0.8rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--primary); }

/* terminal */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: -12% -8%;
  background: radial-gradient(circle at 60% 40%, rgba(46, 230, 166, 0.16), transparent 62%);
  filter: blur(30px); z-index: -1;
}
.terminal {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--divider);
  background: rgba(148, 163, 184, 0.03);
}
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4354; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar em {
  margin-left: 10px; font-style: normal; font-family: var(--mono);
  font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em;
}
.terminal-body {
  padding: 20px 18px; font-family: var(--mono); font-size: 0.8rem;
  line-height: 2; color: var(--text-light);
}
.terminal-body .t-line { display: flex; gap: 8px; }
.terminal-body .t-cmd { color: var(--text-bright); }
.terminal-body .t-ok { color: var(--primary); }
.terminal-body .t-info { color: var(--accent); }
.terminal-body .t-final { color: var(--primary); font-weight: 700; }
.terminal-body .t-dim { color: var(--text-dim); }
.terminal-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--divider);
  background: rgba(46, 230, 166, 0.03);
  font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted);
}
.terminal-foot .dot { width: 7px; height: 7px; }

/* ─── STATS BAND ─── */
.stats-band { padding: 0 0 26px; }
.live-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.live-stat { position: relative; padding: 28px 22px; text-align: center; }
.live-stat + .live-stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--divider);
}
.stat-icon { font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.stat-number {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text-bright); line-height: 1.15;
}
.stat-text {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.stat-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(46, 230, 166, 0.14); animation: pulseDot 2s infinite; }

/* ─── FEATURES ─── */
.features { padding: 96px 24px; }.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 1200px; margin: 0 auto;
}
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feat {
  position: relative; padding: 26px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.feat:hover { transform: translateY(-4px); border-color: rgba(46, 230, 166, 0.30); background: var(--surface-2); box-shadow: var(--shadow-md); }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px; background: var(--gradient-feature-icon);
  border: 1px solid rgba(46, 230, 166, 0.20); color: var(--primary);
  font-size: 1.1rem;
}
.feat h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-bright); margin-bottom: 8px; }
.feat p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ─── WELCOME POPUP ─── */
.wc-modal {
  position: fixed; inset: 0; z-index: 4500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(3, 5, 8, 0.84); backdrop-filter: blur(10px);
}
.wc-card {
  position: relative; width: 100%; max-width: 540px;
  max-height: 88vh; overflow-y: auto;
  padding: 30px 32px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.wc-x {
  position: absolute; top: 13px; right: 16px;
  border: none; background: transparent; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--text-muted);
}
.wc-x:hover { color: var(--text-bright); }
.wc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--primary); background: var(--primary-soft);
  border: 1px solid rgba(46, 230, 166, 0.28);
}
.wc-card h2 { font-size: 1.3rem; line-height: 1.3; color: var(--text-bright); margin: 0 0 10px; }
.wc-lead { font-size: 0.9rem; line-height: 1.65; color: var(--text-light); margin: 0 0 18px; }
.wc-steps { list-style: none; display: grid; gap: 11px; margin: 0 0 16px; }
.wc-steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 14px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.wc-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; color: #04120d; background: var(--gradient-primary);
}
.wc-steps strong { display: block; font-size: 0.9rem; color: var(--text-bright); margin-bottom: 3px; }
.wc-steps small { display: block; font-size: 0.79rem; line-height: 1.55; color: var(--text-light); }
.wc-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 18px;
  font-size: 0.8rem; line-height: 1.55; color: var(--text-light);
  background: rgba(56, 189, 248, 0.07); border: 1px solid rgba(56, 189, 248, 0.20);
}
.wc-note i { color: var(--accent); margin-top: 2px; flex: none; }
.wc-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.wc-actions .btn { flex: 1 1 auto; min-width: 140px; justify-content: center; }
.wc-dont {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 0.76rem; color: var(--text-muted); cursor: pointer;
}
.wc-dont input { accent-color: var(--primary); }
@media (max-width: 520px) {
  .wc-card { padding: 24px 20px; }
  .wc-card h2 { font-size: 1.12rem; }
  .wc-actions .btn { width: 100%; flex: none; }
}

/* ─── PERMANENT ─── */
.permanent-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1060px; margin: 0 auto;
}
.perm-item {
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--gradient-card); border: 1px solid var(--border);
}
.perm-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.20);
  color: var(--primary); font-size: 1.05rem;
}
.perm-item h3 { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 7px; }
.perm-item p { font-size: 0.87rem; color: var(--text-light); }

/* ─── BOOTLOADER / TRANSITION ─── */
.boot-section { padding: 96px 24px; }
.boot-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: start; max-width: 1100px; margin: 0 auto;
}
.boot-guide { min-width: 0; }
.bstep { display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--divider); }
.bstep:first-child { padding-top: 0; }
.bstep .n {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.25);
  color: var(--primary); font-size: 0.85rem; font-weight: 800;
}
.bstep h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }
.bstep p { font-size: 0.86rem; color: var(--text-light); }
.transfer-card {
  display: flex; gap: 15px; align-items: flex-start;
  margin-top: 22px; padding: 20px; border-radius: var(--radius-lg);
  background: var(--accent-soft); border: 1px solid rgba(56, 189, 248, 0.24);
}
.transfer-icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.14); color: var(--accent); font-size: 0.95rem;
}
.transfer-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--text-bright); margin-bottom: 3px; }
.transfer-card p { font-size: 0.84rem; color: var(--text-light); }

.compat-card {
  padding: 26px; border-radius: var(--radius-xl);
  background: var(--gradient-card); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.compat-card h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 750; color: var(--text-bright); margin-bottom: 4px; }
.compat-card h3 i { color: var(--primary); font-size: 0.95rem; }
.compat-sub { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 18px; }
.compat-card .field { margin-bottom: 13px; }
.compat-result {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.85rem; line-height: 1.6; color: var(--text-light);
}
.compat-result strong { display: block; margin-bottom: 3px; color: var(--text-bright); font-size: 0.9rem; }
.compat-result.ok { background: var(--green-bg); border-color: var(--green-border); }
.compat-result.ok strong { color: var(--primary); }
.compat-result.warn { background: rgba(251, 191, 36, 0.07); border-color: rgba(251, 191, 36, 0.28); }
.compat-result.warn strong { color: var(--orange); }
.compat-result.no { background: var(--red-bg); border-color: rgba(251, 113, 133, 0.30); }
.compat-result.no strong { color: var(--red); }
.compat-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; font-size: 0.82rem; font-weight: 650;
}
.compat-note { margin-top: 12px; font-size: 0.74rem; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
details.faq {
  padding: 0 20px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.18s var(--ease);
}
details.faq[open] { border-color: rgba(46, 230, 166, 0.28); }
details.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 0.94rem; font-weight: 650; color: var(--text-bright);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--primary); font-size: 1.2rem; line-height: 1; }
details.faq[open] summary::after { content: '\2212'; }
details.faq p { padding: 0 0 16px; font-size: 0.88rem; color: var(--text-light); max-width: 92%; }
.pricing-note { text-align: center; margin-top: 22px; font-size: 0.82rem; color: var(--text-muted); }
.pricing-note i { color: var(--primary); margin-right: 6px; }

/* ─── BRANDS ─── */
.brands-section { padding: 96px 24px; }
.brands-section details { max-width: 760px; margin: 0 auto; }
.brands-section summary {
  list-style: none; cursor: pointer; text-align: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; margin: 0 auto;
  border: 1px dashed var(--border-light); border-radius: var(--radius-pill);
  color: var(--text-light); font-size: 0.85rem; font-weight: 600;
  transition: all 0.18s var(--ease);
}
.brands-section details[open] summary { color: var(--primary); border-color: rgba(46, 230, 166, 0.35); }
.brands-section summary::-webkit-details-marker { display: none; }
.logo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin-top: 26px;
}
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  height: 62px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.92rem; font-weight: 800; letter-spacing: 0.04em;
  filter: grayscale(0.25); transition: all 0.2s var(--ease);
}
.brand-logo:hover { filter: none; transform: translateY(-2px); border-color: var(--border-light); }

/* ─── STEPS ─── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.step {
  position: relative; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 10px; background: var(--primary-soft);
  border: 1px solid rgba(46, 230, 166, 0.25);
  color: var(--primary); font-size: 0.85rem; font-weight: 800;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-light); }

/* ─── SECURITY ─── */
.security-section { padding: 96px 24px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.security-card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--gradient-card); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.security-card:hover { border-color: rgba(56, 189, 248, 0.30); transform: translateY(-3px); }
.security-card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px;
  background: var(--accent-soft); border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--accent); font-size: 1.05rem;
}
.security-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 7px; }
.security-card p { font-size: 0.87rem; color: var(--text-light); }

/* ─── COMPARE TABLE ─── */
.compare-table {
  width: 100%; max-width: 900px; margin: 0 auto;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  font-size: 0.88rem;
}
.compare-table th, .compare-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--divider); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-table thead th {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); background: rgba(148, 163, 184, 0.03);
}
.compare-table thead th.highlight-col { color: var(--primary); }
.compare-table .highlight-col { background: rgba(46, 230, 166, 0.045); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(148, 163, 184, 0.025); }
.compare-table .check i { color: var(--primary); }
.compare-table .cross i { color: var(--text-dim); }
.compare-table .partial i { color: var(--orange); }

/* ─── PRICING ─── */
.pricing-section { padding: 96px 24px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1200px; margin: 0 auto; align-items: stretch;
}
.pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.pricing-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 18px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow-md); }
.pricing-card.popular {
  border-color: rgba(46, 230, 166, 0.45);
  background: linear-gradient(180deg, rgba(46, 230, 166, 0.06), var(--surface) 40%);
  box-shadow: 0 0 0 1px rgba(46, 230, 166, 0.12), var(--shadow-md);
}
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--gradient-primary); color: #04120d;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.pricing-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.20);
  color: var(--primary); font-size: 0.95rem;
}
.pricing-duration { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.pricing-price { font-size: 2.25rem; font-weight: 850; letter-spacing: -0.04em; color: var(--text-bright); line-height: 1.2; margin-top: 2px; }
.pricing-price sup { font-size: 1rem; font-weight: 600; color: var(--text-light); top: -1.1em; margin-right: 2px; }
.pricing-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.pricing-divider { height: 1px; background: var(--divider); margin: 15px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.pricing-features li { position: relative; padding-left: 19px; font-size: 0.82rem; color: var(--text-light); }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-cta { margin-top: auto; width: 100%; justify-content: center; }
.pricing-cta.outline { background: transparent; border: 1px solid var(--border-light); color: var(--text); }
.pricing-cta.outline:hover { border-color: rgba(46, 230, 166, 0.45); color: var(--primary); background: var(--primary-soft); }
.pricing-cta.filled { background: var(--gradient-primary); border: none; color: #04120d; }
.pricing-cta.filled:hover { box-shadow: 0 12px 30px rgba(46, 230, 166, 0.28); }

/* ─── COMMUNITY ─── */
.community-section { padding: 96px 24px; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.community-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); transition: all 0.2s var(--ease);
}
.community-card:hover { transform: translateY(-3px); border-color: rgba(46, 230, 166, 0.30); background: var(--surface-2); color: var(--text); }
.c-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.18);
  font-size: 1rem;
}
.c-title { font-size: 0.95rem; font-weight: 700; color: var(--text-bright); }
.c-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 32px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(46, 230, 166, 0.10), rgba(56, 189, 248, 0.06)), var(--surface);
  border: 1px solid rgba(46, 230, 166, 0.22);
  box-shadow: var(--shadow-glow);
}
.cta-banner::after {
  content: ''; position: absolute; inset: auto -20% -60% -20%; height: 240px;
  background: radial-gradient(ellipse at center, rgba(46, 230, 166, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-bright); margin-bottom: 10px; }
.cta-banner p { color: var(--text-light); margin-bottom: 24px; }

/* ─── FOOTER ─── */
footer {
  margin-top: 40px; padding: 54px 24px 30px;
  border-top: 1px solid var(--divider);
  background: rgba(6, 8, 11, 0.6);
}
.footer-content {
  max-width: 1200px; margin: 0 auto; padding-bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  border-bottom: 1px solid var(--divider);
}
.footer-brand { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-bright); }
.footer-tag { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { font-size: 0.85rem; color: var(--text-light); }
.footer-nav a:hover { color: var(--primary); }
.footer-copy { max-width: 1200px; margin: 22px auto 0; text-align: center; font-size: 0.78rem; color: var(--text-dim); }

/* ─── TOAST ─── */
.toast-container { position: fixed; right: 22px; bottom: 96px; z-index: 5000; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 44px)); }
.toast {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border-radius: var(--radius-md);
  background: var(--surface-2); border: 1px solid var(--border-light);
  color: var(--text); font-size: 0.85rem; box-shadow: var(--shadow-md);
  animation: toastIn 0.28s var(--ease);
}
.toast.success { border-color: rgba(46, 230, 166, 0.35); }
.toast.success > span:first-child { color: var(--primary); }
.toast.error { border-color: rgba(251, 113, 133, 0.35); }
.toast.error > span:first-child { color: var(--red); }
.toast.info > span:first-child { color: var(--accent); }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ─── NOTICE ─── */
.notice {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin: 0 auto 34px; max-width: 1200px;
  padding: 12px 18px; border-radius: var(--radius-md);
  background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fcd34d; font-size: 0.86rem;
}
.notice > i { color: var(--orange); }
.notice .btn { margin-left: 6px; }

/* ─── PAGE PATTERNS: download ─── */
.dl-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dl-card {
  padding: 34px; border-radius: var(--radius-lg); text-align: center;
  background: var(--gradient-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.dl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin-bottom: 18px; border-radius: 18px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.25);
  color: var(--primary); font-size: 1.5rem;
}
.dl-card h3 { font-size: 1.2rem; font-weight: 750; color: var(--text-bright); margin-bottom: 6px; }
.dl-card .meta { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); margin-bottom: 22px; }
.dl-card .btn { width: 100%; }

/* ─── PAGE PATTERNS: docs ─── */
.docs-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; }
.docs-side {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
}
.docs-side ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; }
.docs-side li { width: 100%; }
.docs-side a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 0.84rem; color: var(--text-light); }
.docs-side a:hover { color: var(--primary); background: var(--primary-soft); }
.docs-body { min-width: 0; }
.docs-body h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-bright); margin: 34px 0 12px; }
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-bright); margin: 24px 0 8px; }
.docs-body p { color: var(--text-light); margin-bottom: 12px; }
.docs-body ul, .docs-body ol { margin: 0 0 16px 20px; color: var(--text-light); }
.docs-body li { margin-bottom: 6px; }
.docs-body code { font-family: var(--mono); font-size: 0.82em; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); color: var(--primary-light); }
.callout {
  padding: 16px 18px; margin: 18px 0; border-radius: var(--radius-md);
  background: var(--accent-soft); border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--text); font-size: 0.88rem;
}
.faq-item h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }

/* ─── PAGE PATTERNS: status ─── */
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.status-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.status-indicator { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--text-bright); }
.status-card-sub { font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 2px; }
.response-time { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; }

/* ─── PAGE PATTERNS: support ─── */
.supp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto 42px; }
.supp-opt {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: 4px 16px; padding: 22px; border-radius: var(--radius-lg); color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.supp-opt:hover { transform: translateY(-3px); border-color: rgba(46, 230, 166, 0.30); color: var(--text); }
.supp-opt .ico {
  grid-row: span 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.20);
  color: var(--primary); font-size: 1.15rem;
}
.supp-opt h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-bright); }
.supp-opt p { font-size: 0.84rem; color: var(--text-light); }

/* ─── FORMS / AUTH ─── */
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-light); }
.input {
  width: 100%; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border-light);
  border-radius: 10px; color: var(--text); font-size: 0.9rem;
  outline: none; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.input::placeholder { color: var(--text-dim); }
.input:focus { border-color: rgba(46, 230, 166, 0.55); box-shadow: 0 0 0 3px rgba(46, 230, 166, 0.10); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }

.auth-card {
  padding: 32px; border-radius: var(--radius-xl);
  background: var(--gradient-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-bright); }
.auth-tab {
  flex: 1; padding: 13px 10px; cursor: pointer;
  background: transparent; border: none; color: var(--text-light);
  font-size: 0.86rem; font-weight: 600;
  transition: all 0.18s var(--ease);
}
.auth-tab.active { color: var(--primary); background: var(--primary-soft); }
.act-result { margin-top: 14px; font-size: 0.84rem; color: var(--text-light); }
.overlay { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3, 5, 8, 0.78); backdrop-filter: blur(8px); }
.overlay-content {
  position: relative; width: 100%; padding: 32px;
  background: var(--gradient-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.overlay-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--text-light);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.overlay-close:hover { color: var(--primary); }

/* ─── DASHBOARD ─── */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.dash-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.dash-card h3 { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.dash-card .value { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-bright); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.85rem; }
.status-active { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(46, 230, 166, 0.3); }
.status-inactive { background: var(--red-bg); color: var(--red); border: 1px solid rgba(251, 113, 133, 0.3); }
.warn-box { background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.28); border-radius: 10px; padding: 16px 20px; margin-top: 16px; font-size: 0.86rem; color: #fcd34d; }
.warn-box a { color: #fcd34d; font-weight: 600; text-decoration: underline; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--divider); font-size: 0.88rem; }
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-light); }
.info-value { color: var(--text); font-weight: 500; text-align: right; word-break: break-word; }

/* ─── ADMIN ─── */
.admin-tabs {
  display: flex; margin-bottom: 24px; overflow-x: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.admin-tab {
  flex: 1; min-width: 88px; padding: 13px 10px; cursor: pointer; white-space: nowrap;
  background: transparent; border: none; border-bottom: 2px solid transparent;
  color: var(--text-light); font-size: 0.8rem; font-weight: 600;
  transition: all 0.18s var(--ease);
}
.admin-tab:hover { color: var(--text); background: rgba(148, 163, 184, 0.04); }
.admin-tab.active { color: var(--primary); background: var(--primary-soft); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.user-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.user-table th {
  text-align: left; padding: 11px 12px; color: var(--text-muted);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
}
.user-table td { padding: 11px 12px; border-bottom: 1px solid var(--divider); color: var(--text); }
.user-table tbody tr:hover { background: rgba(46, 230, 166, 0.035); }
.badge { display: inline-block; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 700; }
.badge-active { background: var(--primary-soft); color: var(--primary); }
.badge-pending { background: rgba(251, 191, 36, 0.12); color: var(--orange); }
.badge-admin { background: var(--accent-soft); color: var(--accent); }
.badge-expired { background: var(--red-bg); color: var(--red); }
.action-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { padding: 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.stat-card .number { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-bright); }
.stat-card .label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }

/* ─── RESELLER / ACTIVATE SHARED ─── */
.pricing-icon i, .feat-icon i, .security-card .icon i, .c-icon i { pointer-events: none; }

/* ─── TABLE SCROLL GUARD ─── */
.table-wrap, .user-table { max-width: 100%; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* ─── ACTIVATE ─── */
.act-card {
  max-width: 520px; margin: 0 auto; padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--gradient-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); text-align: center;
}
.act-card .sub { color: var(--text-light); font-size: 0.88rem; margin: 6px 0 20px; }
.act-card h1, .act-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-bright); margin-bottom: 4px; }
.act-card .icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 17px;
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.25);
  font-size: 1.35rem;
}
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .field { flex: 1; min-width: 180px; }
.status-dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(46, 230, 166, 0.12); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #particles, .particle, .stat-pulse, .dot-red { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1180px) {
  .nav-search { display: none; }
  .header-social { display: none; }
  header { gap: 16px; }
}
@media (max-width: 980px) {
  header { gap: 10px; }
  .site-nav .nav-link { padding: 8px 9px; font-size: 0.81rem; }
  .logo { font-size: 0.92rem; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-actions { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: 0; }
  .hero-copy { max-width: 680px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .security-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .boot-grid { grid-template-columns: 1fr; gap: 30px; }
  .permanent-band { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero { padding-top: 130px; }
  .docs-grid { grid-template-columns: 1fr; gap: 24px; }
  .docs-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .docs-side ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  section { padding: 70px 20px; }
  section.section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .live-stats { grid-template-columns: repeat(2, 1fr); }
  .live-stat + .live-stat::before { display: none; }
  .live-stat { border-bottom: 1px solid var(--divider); }
  .live-stat:nth-child(3), .live-stat:nth-child(4) { border-bottom: none; }
  .live-stat:nth-child(even) { border-left: 1px solid var(--divider); }
  .features-grid, .security-grid, .community-grid, .supp-grid, .status-grid, .dash-grid, .steps, .features-grid.cols-4, .permanent-band { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid.cols-3 { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 11px 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { margin-bottom: 36px; }
  .cta-banner { padding: 44px 22px; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .auth-card { padding: 24px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-btns .btn { width: 100%; }
  .live-stats { grid-template-columns: 1fr; }
  .live-stat { border-left: none !important; }
  .live-stat:nth-child(3) { border-bottom: 1px solid var(--divider); }
}

/* ══════════════════════════════════════════════════════════════
   MOTION UPGRADES + DEVICE PAGES
   ══════════════════════════════════════════════════════════════ */

/* ─── Aurora hero blobs ─── */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(72px); opacity: 0.38; pointer-events: none; z-index: 0;
}
.hero::before {
  width: 540px; height: 540px; top: -150px; left: -130px;
  background: radial-gradient(circle, rgba(46, 230, 166, 0.5), transparent 66%);
  animation: aurora 18s ease-in-out infinite;
}
.hero::after {
  width: 470px; height: 470px; bottom: -170px; right: -110px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), transparent 66%);
  animation: aurora 22s ease-in-out infinite reverse;
}
@keyframes aurora {
  0%, 100% { transform: translate3d(-5%, -3%, 0) scale(1); }
  50% { transform: translate3d(7%, 5%, 0) scale(1.14); }
}

/* ─── Animated gradient headline ─── */
.grad {
  background: linear-gradient(115deg, var(--primary) 0%, #7ef7cd 38%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 220% 100%;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Button shine sweep ─── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.65s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 145%; }

/* ─── Spotlight hover on cards ─── */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 230, 166, 0.11), transparent 70%);
  transition: opacity 0.28s var(--ease); pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ─── Steps connector that draws on scroll ─── */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 166, 0.5), rgba(56, 189, 248, 0.4), transparent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s var(--ease);
}
.steps.in-view::before { transform: scaleX(1); }
.step-num { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.step:hover .step-num { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(46, 230, 166, 0.10); }

/* ─── Brand marquee ─── */
.marquee {
  position: relative; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 11px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 700; color: var(--text-light);
}
.marquee-item i { color: var(--primary); font-size: 0.8rem; }

/* ─── FAQ smooth reveal ─── */
.faq[open] p { animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ─── Device hub + device pages ─── */
.device-hero {
  padding: 58px 24px 44px; border-bottom: 1px solid var(--divider);
  background: radial-gradient(900px 420px at 18% -12%, rgba(46, 230, 166, 0.09), transparent 62%);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.78rem; color: var(--text-muted); }
.crumbs a { color: var(--text-light); }
.crumbs a:hover { color: var(--primary); }
.device-hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 34px; align-items: start; }
.device-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.level-full { color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.28); }
.level-partial { color: #fbbf24; background: rgba(251, 191, 36, 0.10); border: 1px solid rgba(251, 191, 36, 0.28); }
.device-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em;
  color: var(--text-bright); margin-bottom: 12px;
}
.device-sub { font-size: 0.98rem; line-height: 1.7; color: var(--text-light); max-width: 580px; margin-bottom: 22px; }
.device-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.device-specs { display: grid; gap: 2px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--divider); font-size: 0.84rem; }
.spec:last-child { border-bottom: none; }
.spec span { color: var(--text-muted); flex: none; }
.spec strong { color: var(--text-bright); font-weight: 600; text-align: right; }
.spec .yes { color: var(--primary); }
.spec .maybe { color: #fbbf24; }
.device-callout {
  display: flex; gap: 12px; margin-top: 26px; padding: 18px 20px;
  border-radius: var(--radius-lg); font-size: 0.88rem; line-height: 1.65; color: var(--text-light);
  background: rgba(56, 189, 248, 0.06); border: 1px solid rgba(56, 189, 248, 0.18);
}
.device-callout i { color: var(--accent); margin-top: 3px; flex: none; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dev-card {
  display: block; padding: 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dev-card:hover { transform: translateY(-3px); border-color: rgba(46, 230, 166, 0.30); background: var(--surface-2); box-shadow: var(--shadow-md); }
.dev-card h3 { font-size: 0.98rem; color: var(--text-bright); margin-bottom: 5px; }
.dev-card .dev-sub2 { font-size: 0.8rem; color: var(--text-muted); }
.dev-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dev-chip { font-size: 0.66rem; padding: 3px 8px; border-radius: 999px; color: var(--text-muted); background: rgba(148, 163, 184, 0.08); border: 1px solid var(--border); }
.dev-chip.unlock-no { color: var(--primary); border-color: rgba(46, 230, 166, 0.25); background: var(--primary-soft); }
.dev-chip.unlock-maybe { color: #fbbf24; border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.08); }
.dev-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-bottom: 28px; }
.btn-filter {
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; color: var(--text-light);
  background: var(--surface); border: 1px solid var(--border);
}
.btn-filter:hover { border-color: rgba(46, 230, 166, 0.35); color: var(--primary); }
.btn-filter.active { color: var(--primary); border-color: rgba(46, 230, 166, 0.45); background: var(--primary-soft); }
.dev-empty { text-align: center; padding: 44px 20px; color: var(--text-light); }

/* ─── Testimonials ─── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.testi {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.testi:hover { transform: translateY(-4px); border-color: rgba(46, 230, 166, 0.28); box-shadow: var(--shadow-md); }
.testi-stars { display: flex; gap: 3px; color: #fbbf24; font-size: 0.78rem; }
.testi p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); flex: 1; }
.testi-who { display: flex; align-items: center; gap: 11px; }
.testi-avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #04120d;
  background: var(--gradient-primary);
}
.testi-name { font-size: 0.88rem; font-weight: 700; color: var(--text-bright); }
.testi-role { font-size: 0.74rem; color: var(--text-muted); }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .device-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dev-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .device-cta .btn { width: 100%; justify-content: center; }
  .steps::before { display: none; }
}


/* ─── SECURITY / ANTI-PHISHING ─── */
@keyframes secIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.sec-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding: 12px 14px; border-radius: 12px;
  font-size: 0.78rem; line-height: 1.55; color: var(--text-light);
  background: rgba(46, 230, 166, 0.06); border: 1px solid rgba(46, 230, 166, 0.18);
}
.sec-note i { color: var(--primary); margin-top: 2px; flex: none; }
.sec-note.warn { background: rgba(251, 191, 36, 0.07); border-color: rgba(251, 191, 36, 0.22); }
.sec-note.warn i { color: #fbbf24; }
/* ─── TOOL WINDOW (mirrors the MDM KING app) ─── */
.tool-section { padding: 96px 24px 40px; }
.tool-window {
  max-width: 1180px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b0d12;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.tool-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; background: #15181f; border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.tool-app-icon {
  width: 22px; height: 22px; flex: none; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #04120d; background: var(--gradient-primary);
}
.tool-title { font-size: 0.84rem; font-weight: 700; color: var(--text-bright); }
.tool-subtitle { font-size: 0.8rem; font-weight: 700; color: #3b82f6; }
.tool-ready { margin-left: auto; font-size: 0.78rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.tool-ready .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

.tool-tabs {
  display: flex; flex-wrap: wrap; gap: 2px;
  padding: 8px 10px 0; background: #10131a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.tool-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 7px 7px 0 0;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-muted); background: rgba(148, 163, 184, 0.05);
  border: 1px solid transparent; border-bottom: none;
}
.tool-tab i { font-size: 0.66rem; opacity: 0.85; }
.tool-tab.is-active { color: var(--text-bright); background: #0b0d12; border-color: rgba(148, 163, 184, 0.18); }

.tool-body { display: grid; grid-template-columns: 1fr 380px; gap: 0; }
.tool-left { padding: 18px; display: grid; gap: 12px; align-content: start; }
.tool-platforms { display: flex; gap: 10px; }
.tool-plat {
  padding: 8px 26px; border-radius: 7px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-muted); background: rgba(148, 163, 184, 0.06);
  border: 1px solid transparent;
}
.tool-plat.is-active { color: #04120d; background: var(--gradient-primary); }
.tool-field { display: flex; align-items: center; gap: 12px; }
.tool-field span { font-size: 0.78rem; color: var(--text-muted); width: 56px; }
.tool-field em {
  flex: 1; font-style: normal; font-size: 0.82rem; color: var(--text-bright);
  padding: 8px 12px; border-radius: 7px; background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.tool-card {
  padding: 16px 18px; border-radius: 11px;
  background: rgba(148, 163, 184, 0.045); border: 1px solid rgba(148, 163, 184, 0.12);
}
.tool-card h4 { margin: 0 0 6px; font-size: 0.92rem; font-weight: 800; color: #fbbf24; }
.tool-card p { margin: 0 0 12px; font-size: 0.8rem; line-height: 1.6; color: var(--text-light); }
.tool-card code { font-family: var(--mono); font-size: 0.76rem; color: var(--text-bright); }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tool-btn {
  padding: 8px 16px; border-radius: 7px; cursor: pointer;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--text-light); background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.tool-btn-accent { color: var(--orange); border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.07); }
.tool-btn-go { color: #04120d; background: linear-gradient(90deg, #16a34a, #22c55e); border-color: transparent; }

.tool-log { border-left: 1px solid rgba(148, 163, 184, 0.12); display: flex; flex-direction: column; }
.tool-log-head {
  padding: 11px 14px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  color: #3b82f6; border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.tool-log-body {
  flex: 1; margin: 0; padding: 14px; overflow: auto;
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.85; color: #8b95a5;
}
.tool-log-body .ok { color: var(--primary); }
.tool-log-body .info { color: #60a5fa; }
.tool-log-body .final { color: var(--primary); font-weight: 700; }

.tool-statusbar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 10px 16px; font-size: 0.76rem; color: var(--text-muted);
  background: #15181f; border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.tool-statusbar i { margin-right: 6px; opacity: 0.8; }
.tool-dev { color: #3b82f6; font-weight: 700; }
.tool-status-actions { margin-left: auto; display: flex; gap: 8px; }
.tool-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 7px; font-size: 0.74rem; font-weight: 700;
  color: var(--text-light); background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.tool-chip-danger { color: #fb7185; border-color: rgba(251, 113, 133, 0.35); }

@media (max-width: 980px) {
  .tool-body { grid-template-columns: 1fr; }
  .tool-log { border-left: none; border-top: 1px solid rgba(148, 163, 184, 0.12); }
  .tool-log-body { max-height: 220px; }
}
@media (max-width: 620px) {
  .tool-section { padding: 64px 14px 24px; }
  .tool-left { padding: 14px; }
  .tool-tab { font-size: 0.64rem; padding: 8px 10px; }
  .tool-status-actions { margin-left: 0; }
}


/* ─── RESELLER PORTAL ─── */
.rs-gate { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.rs-card {
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.rs-card h3 { margin: 0 0 18px; font-size: 1rem; color: var(--primary); }
.rs-card h3 i { margin-right: 8px; }
.rs-msg { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.rs-msg.ok { color: var(--primary); }
.rs-msg.fail { color: #fb7185; }
.rs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.rs-head h2 { font-size: 1.6rem; color: var(--text-bright); margin: 6px 0 8px; }
.rs-meta { font-size: 0.86rem; color: var(--text-light); }
.rs-meta strong { color: var(--text-bright); }
.rs-head-actions { display: flex; gap: 8px; }
.rs-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 22px; }
.rs-stat { padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.rs-stat span { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.rs-stat strong { font-size: 1.5rem; font-weight: 800; color: var(--text-bright); }
.rs-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.rs-wide { grid-column: 2; grid-row: 1; }
.rs-inline { display: flex; gap: 8px; }
.rs-inline .input { flex: 1; }
.rs-table-wrap { overflow-x: auto; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.rs-table th { text-align: left; padding: 10px 12px; font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--divider); }
.rs-table td { padding: 12px; border-bottom: 1px solid var(--divider); color: var(--text-light); vertical-align: top; }
.rs-table td strong { color: var(--text-bright); }
.rs-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.rs-copy {
  margin-top: 6px; padding: 3px 8px; border-radius: 6px; cursor: pointer;
  font-size: 0.64rem; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.25);
}
.rs-badge { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(46, 230, 166, 0.25); }
.rs-badge.warn { color: #fbbf24; background: rgba(251, 191, 36, 0.10); border-color: rgba(251, 191, 36, 0.28); }
.rs-badge.off { color: var(--text-muted); background: rgba(148, 163, 184, 0.08); border-color: var(--border); }
.rs-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.rs-empty { text-align: center; padding: 26px; color: var(--text-muted); }
.rs-actions { display: flex; gap: 8px; margin-top: 14px; }
@media (max-width: 980px) {
  .rs-gate { grid-template-columns: 1fr; }
  .rs-grid { grid-template-columns: 1fr; }
  .rs-wide { grid-column: auto; grid-row: auto; }
  .rs-stats { grid-template-columns: repeat(2, 1fr); }
}

.rs-alt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 0.74rem; color: var(--text-muted); }
.rs-alt .btn { font-size: 0.72rem; }
