:root {
  --bg: #070b16;
  --cyan: #22d3ee;
  --violet: #a855f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.font-display { font-family: 'Bricolage Grotesque', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.gradient-text {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav */
.nav-scrolled {
  background: rgba(7, 11, 22, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Buttons */
.btn-glow {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 rgba(34,211,238,0.5);
  transition: transform .2s, box-shadow .3s;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,211,238,0.35), 0 8px 30px rgba(168,85,247,0.25);
}

/* Hero background */
.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 60%),
              radial-gradient(circle at 70% 40%, rgba(168,85,247,0.16), transparent 55%);
  pointer-events: none;
  filter: blur(20px);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
  pointer-events: none;
}

.pulse-dot { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,211,238,0.6); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(34,211,238,0); }
}

/* Hero orb */
.hero-orb {
  position: relative;
  width: 300px; height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.orb-core {
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(34,211,238,0.25), rgba(168,85,247,0.12));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(34,211,238,0.35);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.25);
}
.ring-1 { width: 190px; height: 190px; animation: spin 14s linear infinite; border-style: dashed; }
.ring-2 { width: 250px; height: 250px; border-color: rgba(168,85,247,0.22); animation: spin 22s linear infinite reverse; }
.ring-3 { width: 300px; height: 300px; border-color: rgba(255,255,255,0.06); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-in { opacity: 1; transform: none; }

/* Feature cards */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.1);
}
.feat-icon { filter: drop-shadow(0 0 10px rgba(34,211,238,0.4)); }

/* Server cards */
.server-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .2s, background .2s;
}
.server-card:hover { border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.05); }

/* Device chips */
.device-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .2s, border-color .2s;
}
.device-chip:hover { transform: translateY(-3px); border-color: rgba(168,85,247,0.5); }

/* Plans */
.plan-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .3s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-highlight {
  background: linear-gradient(180deg, rgba(34,211,238,0.08), rgba(168,85,247,0.05));
  border: 1px solid transparent;
  background-origin: border-box;
  position: relative;
  box-shadow: 0 20px 50px rgba(34,211,238,0.12);
}
.plan-highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: 1rem; padding: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@media (min-width: 768px) { .plan-highlight { transform: scale(1.04); } .plan-highlight:hover { transform: scale(1.04) translateY(-4px); } }

/* Testimonials */
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

/* FAQ */
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-open { max-height: 200px; }

/* Final CTA band */
.final-band {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  box-shadow: 0 30px 80px rgba(34,211,238,0.2);
}
.final-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .4;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(7,11,22,0.95); border: 1px solid rgba(34,211,238,0.4);
  color: #fff; padding: 12px 22px; border-radius: 999px; z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5); font-size: 14px;
  animation: toastIn .3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070b16; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--violet)); border-radius: 10px; }