/* ============================================================
   STRESSTHEM — IP Stresser & IP Booter
   Unique dark cyber-neon design
   ============================================================ */

:root {
  --bg-0: #05060a;
  --bg-1: #0a0d16;
  --bg-2: #11151f;
  --bg-3: #161b28;
  --surface: rgba(20, 26, 38, 0.6);
  --surface-hi: rgba(28, 36, 52, 0.85);
  --border: rgba(120, 145, 200, 0.12);
  --border-hi: rgba(0, 230, 180, 0.35);
  --text: #e7ecf5;
  --text-dim: #8a93a8;
  --text-mute: #5a637a;
  --accent: #00f5a0;
  --accent-2: #00d4ff;
  --accent-3: #a86bff;
  --danger: #ff3d68;
  --warn: #ffb020;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-glow: 0 0 40px rgba(0, 245, 160, 0.18);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1240px;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated grid + glow background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 160, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 245, 160, 0.10) 0%, rgba(0, 212, 255, 0.05) 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
code, pre { font-family: var(--font-mono); }

::selection { background: rgba(0, 245, 160, 0.3); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section { padding: 90px 0; position: relative; z-index: 1; }
.section-sm { padding: 60px 0; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-title .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 680px;
  margin-bottom: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 100px;
  background: rgba(0, 245, 160, 0.05);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.75);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-logo { width: 150px; height: 36px; }
.brand-name { color: var(--text); }
.brand-name .accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  transition: all .2s ease;
}
.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav a.active { color: var(--accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04130c;
  box-shadow: 0 4px 20px rgba(0, 245, 160, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(0, 245, 160, 0.4);
  color: #04130c;
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0, 245, 160, 0.3);
  color: var(--text);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 245, 160, 0.4);
}
.btn-outline:hover {
  background: rgba(0, 245, 160, 0.08);
  border-color: var(--accent);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-stat .label {
  font-size: 12.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero terminal card */
.terminal-card {
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.9), rgba(10, 13, 22, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 245, 160, 0.08);
  position: relative;
}
.terminal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.4), transparent 40%, rgba(0, 212, 255, 0.2));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot.r { background: #ff5f57; }
.term-dot.y { background: #febc2e; }
.term-dot.g { background: #28c840; }
.terminal-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mute);
}
.terminal-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.term-line .prompt { color: var(--accent); }
.term-line .cmd { color: var(--text); }
.term-line .ok { color: var(--accent); }
.term-line .info { color: var(--accent-2); }
.term-line .warn { color: var(--warn); }
.term-line .dim { color: var(--text-mute); }
.cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Marquee / ticker ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: scroll-x 40s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}
.ticker-item .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.ticker-item strong { color: var(--text); font-weight: 600; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  background: var(--surface-hi);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 30px rgba(0, 245, 160, 0.08);
}
.card-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.12), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(0, 245, 160, 0.2);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--accent); }
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card-desc {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Methods comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.compare-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.compare-col.l7::before {
  background: linear-gradient(90deg, var(--accent-3), transparent);
}
.compare-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.compare-col.l4 .compare-tag { background: rgba(0, 245, 160, 0.1); color: var(--accent); }
.compare-col.l7 .compare-tag { background: rgba(168, 107, 255, 0.12); color: var(--accent-3); }
.compare-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.compare-osi {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-bottom: 18px;
}
.compare-desc {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.65;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-top: 1px dashed var(--border);
}
.compare-list li:first-child { border-top: none; }
.compare-list li svg {
  width: 16px; height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.compare-col.l4 .compare-list li svg { color: var(--accent); }
.compare-col.l7 .compare-list li svg { color: var(--accent-3); }

/* ---------- Method detail table ---------- */
.method-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
  transition: border-color .2s ease;
}
.method-block:hover { border-color: var(--border-hi); }
.method-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.method-name {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.method-name .badge {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 245, 160, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 245, 160, 0.25);
}
.method-name .badge.l7 {
  background: rgba(168, 107, 255, 0.12);
  color: var(--accent-3);
  border-color: rgba(168, 107, 255, 0.25);
}
.method-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.method-meta span strong { color: var(--text-dim); font-weight: 500; }
.method-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.method-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.method-attr {
  font-size: 13px;
}
.method-attr .k {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.method-attr .v { color: var(--text); font-weight: 500; }
.method-attr .v.green { color: var(--accent); }
.method-attr .v.purple { color: var(--accent-3); }
.method-attr .v.warn { color: var(--warn); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .25s ease;
}
.plan:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.plan.featured {
  border-color: rgba(0, 245, 160, 0.4);
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.05), var(--surface));
  box-shadow: 0 0 50px rgba(0, 245, 160, 0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04130c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.plan-tag {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-price .cur { font-size: 18px; color: var(--text-dim); }
.plan-price .amt {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.plan-price .per { font-size: 14px; color: var(--text-mute); }
.plan-features {
  margin: 26px 0;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.plan-features li.off { color: var(--text-mute); opacity: 0.5; }
.plan-features li.off svg { color: var(--text-mute); }

/* ---------- Stats banner ---------- */
.stats-banner {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.04), rgba(0, 212, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.15), transparent 70%);
  filter: blur(40px);
}
.stat-block { position: relative; z-index: 1; }
.stat-block .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-block .label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(0, 245, 160, 0.3); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,0.02); }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- CTA section ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.08), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 245, 160, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1), transparent 40%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-banner p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 30px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
  padding: 60px 0 28px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.65;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { padding: 6px 0; }
.footer-col ul li a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { color: var(--text-mute); }
.footer-bottom .legal a:hover { color: var(--accent); }

/* ---------- Code block ---------- */
.code-block {
  background: #06080d;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  position: relative;
  color: var(--text-dim);
}
.code-block .kw { color: var(--accent-3); }
.code-block .str { color: var(--accent); }
.code-block .num { color: var(--warn); }
.code-block .com { color: var(--text-mute); font-style: italic; }
.code-block .key { color: var(--accent-2); }
.code-block .pun { color: var(--text-dim); }
.code-copy {
  position: absolute;
  top: 10px; right: 10px;
  padding: 5px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .2s;
}
.code-copy:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Docs prose ---------- */
.prose {
  max-width: 860px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
}
.prose p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose ul { margin: 0 0 18px; padding-left: 4px; }
.prose ul li {
  padding-left: 22px;
  position: relative;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.prose code {
  background: rgba(0, 245, 160, 0.08);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 18px;
  margin: 20px 0;
  background: rgba(0, 245, 160, 0.04);
  border-radius: 0 6px 6px 0;
  color: var(--text-dim);
  font-style: italic;
}

/* Doc layout with sidebar */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.docs-sidebar h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
  font-weight: 600;
}
.docs-sidebar ul { margin-bottom: 22px; }
.docs-sidebar ul li a {
  display: block;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 13.5px;
  transition: all .2s;
}
.docs-sidebar ul li a:hover {
  color: var(--accent);
  background: rgba(0, 245, 160, 0.05);
}

/* Notice / disclaimer box */
.notice {
  background: rgba(255, 61, 104, 0.06);
  border: 1px solid rgba(255, 61, 104, 0.25);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
}
.notice svg { width: 22px; height: 22px; color: var(--danger); flex-shrink: 0; }
.notice .nt-body { font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.notice .nt-body strong { color: var(--danger); }
.notice.info {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.25);
  border-left-color: var(--accent-2);
}
.notice.info svg { color: var(--accent-2); }
.notice.info .nt-body strong { color: var(--accent-2); }
.notice.ok {
  background: rgba(0, 245, 160, 0.05);
  border-color: rgba(0, 245, 160, 0.25);
  border-left-color: var(--accent);
}
.notice.ok svg { color: var(--accent); }
.notice.ok .nt-body strong { color: var(--accent); }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .compare { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav.open a { width: 100%; padding: 12px 14px; }
  .hero { padding: 70px 0 50px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header-cta .btn-ghost { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .cta-banner { padding: 40px 24px; }
  .method-attrs { grid-template-columns: 1fr 1fr; }
}

/* Fade-in on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
