/* =========================================================
   VELOX — voltage theme
   ========================================================= */
:root {
  --ink: #0a0b0d;
  --ink-2: #101216;
  --panel: #15181d;
  --panel-2: #1b1f26;
  --line: #262b33;
  --line-2: #323843;
  --text: #e8ecf1;
  --muted: #8b94a3;
  --dim: #5b626e;
  --volt: #d4ff3f;        /* electric lime accent */
  --volt-dim: #a8cc2f;
  --cyan: #38e8d4;
  --radius: 16px;
  --maxw: 1180px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }

/* ---- Background atmosphere ---- */
.grid-bg {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 80%);
  opacity: 0.4;
}
.glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.glow-1 { width: 600px; height: 600px; top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(212,255,63,0.22), transparent 70%); }
.glow-2 { width: 500px; height: 500px; top: 600px; left: -200px;
  background: radial-gradient(circle, rgba(56,232,212,0.16), transparent 70%); }

/* ---- Layout primitives ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 110px 28px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker { color: var(--volt); font-size: 0.8rem; letter-spacing: 0.08em; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; margin-top: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 18px; max-width: 520px; }

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid { background: var(--volt); color: #0a0b0d;
  box-shadow: 0 0 0 0 rgba(212,255,63,0.5); }
.btn-solid:hover { box-shadow: 0 8px 30px -6px rgba(212,255,63,0.55); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--volt); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; padding: 14px; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 28px;
  backdrop-filter: blur(12px);
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { color: var(--volt); }
.brand-x { color: var(--volt); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 70px 28px 40px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--volt); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; background: rgba(212,255,63,0.05);
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 800; margin: 22px 0; }
.hero h1 .hl {
  color: var(--volt);
  text-shadow: 0 0 40px rgba(212,255,63,0.35);
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 520px; }
.lead strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin: 34px 0 24px; flex-wrap: wrap; }
.hero-trust { color: var(--dim); font-size: 0.88rem; display: flex; align-items: center; gap: 8px; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--volt);
  box-shadow: 0 0 0 0 rgba(212,255,63,0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,255,63,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(212,255,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,255,63,0); }
}

/* Hero live card */
.hero-card {
  background: linear-gradient(160deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tag { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }
.metric-big { font-size: 4rem; font-weight: 700; line-height: 1; color: var(--text); }
.metric-big .unit { font-size: 1.4rem; color: var(--volt); margin-left: 4px; }
.metric-label { color: var(--dim); font-size: 0.85rem; margin-top: 6px; }
.spark { height: 60px; margin: 22px 0; display: flex; align-items: flex-end; gap: 3px; }
.spark span {
  flex: 1; background: linear-gradient(180deg, var(--volt), var(--volt-dim));
  border-radius: 2px 2px 0 0; min-height: 4px; transition: height .4s ease; opacity: 0.85;
}
.card-stats { display: flex; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 16px; }
.card-stats div { display: flex; flex-direction: column; }
.card-stats .mono { font-size: 1.3rem; color: var(--text); font-weight: 500; }
.card-stats small { color: var(--dim); font-size: 0.72rem; }

/* ---- Ticker ---- */
.ticker { overflow: hidden; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--ink-2); }
.ticker-row { display: flex; gap: 22px; white-space: nowrap;
  animation: scroll 30s linear infinite; font-family: var(--font-mono);
  color: var(--muted); font-size: 0.9rem; width: max-content; }
.ticker-row span:nth-child(even) { color: var(--volt); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, transform .25s; position: relative;
}
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feat-wide { grid-column: span 2; }
.feat-num { color: var(--volt); font-size: 0.8rem; opacity: 0.6; margin-bottom: 14px; }
.feat h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 0.96rem; }
.bar { height: 6px; background: var(--ink); border-radius: 999px; margin: 18px 0 8px; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w);
  background: linear-gradient(90deg, var(--volt-dim), var(--volt)); border-radius: 999px; }
.feat small { color: var(--dim); font-size: 0.78rem; }

/* ---- Pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pricing-skeleton { grid-column: 1 / -1; text-align: center; color: var(--dim); padding: 60px; }
.plan {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; position: relative;
  transition: border-color .25s, transform .25s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.popular { border-color: var(--volt); background: linear-gradient(180deg, rgba(212,255,63,0.05), var(--panel)); }
.plan-badge {
  position: absolute; top: -12px; left: 30px; background: var(--volt); color: #0a0b0d;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; letter-spacing: 0.05em;
}
.plan-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.plan-tag { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.plan-price .cur { color: var(--volt); font-size: 1.4rem; font-weight: 700; }
.plan-price .per { color: var(--dim); font-size: 0.9rem; }
.plan-specs { display: flex; gap: 14px; margin: 18px 0; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-specs div { flex: 1; text-align: center; }
.plan-specs .mono { color: var(--text); font-size: 1.15rem; font-weight: 500; display: block; }
.plan-specs small { color: var(--dim); font-size: 0.7rem; }
.plan-feats { list-style: none; margin: 6px 0 24px; flex: 1; }
.plan-feats li { color: var(--muted); font-size: 0.92rem; padding: 7px 0 7px 26px; position: relative; }
.plan-feats li::before { content: '→'; position: absolute; left: 0; color: var(--volt); }
.plan .btn { margin-top: auto; }

/* ---- Netwerk ---- */
.net-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.net-copy p { color: var(--muted); margin-top: 16px; max-width: 420px; }
.net-stats { display: flex; gap: 32px; margin-top: 34px; }
.net-stats .big { font-size: 2.4rem; color: var(--volt); font-weight: 700; display: block;
  font-family: var(--font-display); }
.net-stats small { color: var(--dim); font-size: 0.82rem; }
.net-viz { display: flex; justify-content: center; }
.orbit { position: relative; width: 340px; height: 340px; }
.orbit::before, .orbit::after {
  content: ''; position: absolute; inset: 20%; border: 1px solid var(--line-2);
  border-radius: 50%; animation: spin 24s linear infinite;
}
.orbit::after { inset: 0; border-style: dashed; border-color: var(--line);
  animation-duration: 40s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.core { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px;
  display: grid; place-items: center; font-size: 2rem; background: var(--panel);
  border: 1px solid var(--volt); border-radius: 50%;
  box-shadow: 0 0 50px rgba(212,255,63,0.4); animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.node { position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.n1 { top: 6%; left: 48%; } .n2 { top: 40%; right: 4%; }
.n3 { bottom: 8%; right: 24%; } .n4 { bottom: 14%; left: 12%; } .n5 { top: 32%; left: 2%; }

/* ---- CTA ---- */
.cta { max-width: 820px; margin: 40px auto 120px; padding: 70px 40px; text-align: center;
  background: linear-gradient(160deg, var(--panel-2), var(--ink-2));
  border: 1px solid var(--line-2); border-radius: 24px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: -2px;
  background: radial-gradient(circle at 50% 0%, rgba(212,255,63,0.18), transparent 60%); }
.cta h2 { position: relative; }
.cta p { color: var(--muted); margin: 16px auto 30px; position: relative; max-width: 420px; }
.cta .btn { position: relative; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 40px 28px; text-align: center; }
.footer .brand { display: inline-block; margin-bottom: 10px; }
.footer p { color: var(--dim); font-size: 0.82rem; }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(5,6,8,0.78); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px;
  padding: 36px; width: 100%; max-width: 440px; position: relative;
  animation: rise .25s cubic-bezier(.2,.8,.2,1); max-height: 92vh; overflow-y: auto;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none;
  color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal h3 { font-size: 1.6rem; font-weight: 800; }
.modal-sub { color: var(--muted); font-size: 0.9rem; margin: 6px 0 24px; }
.modal label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.modal input {
  width: 100%; margin-top: 6px; padding: 12px 14px; background: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color .2s;
}
.modal input:focus { outline: none; border-color: var(--volt); }
.opt { color: var(--dim); font-weight: 400; }
.field-hint { display: block; color: var(--dim); font-size: 0.74rem; margin-top: 6px; }
.pkg-pick { margin: 6px 0 18px; }
.pick-label { display: block; font-size: 0.78rem; color: var(--volt); margin-bottom: 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick {
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 8px; cursor: pointer;
  text-align: center; transition: all .2s; background: var(--ink);
}
.pick:hover { border-color: var(--line-2); }
.pick.active { border-color: var(--volt); background: rgba(212,255,63,0.08); }
.pick .pname { font-weight: 600; font-size: 0.92rem; }
.pick .pprice { font-family: var(--font-mono); color: var(--volt); font-size: 0.8rem; }
.form-error { color: #ff6b6b; font-size: 0.85rem; min-height: 20px; margin-bottom: 6px; }
.modal-switch { text-align: center; margin-top: 18px; color: var(--muted); font-size: 0.88rem; }
.link { background: none; border: none; color: var(--volt); cursor: pointer;
  font-family: var(--font-body); font-size: 0.88rem; text-decoration: underline; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(20px); animation: revealUp .7s ease forwards;
  animation-delay: var(--d, 0ms); }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .pricing { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .net-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .pick-grid { grid-template-columns: 1fr; }
  .net-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 70px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
