/* =============================================
   REXHOSTING — style.css
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #050505;
  --fg:        #f0f0f0;
  --muted:     #888;
  --red:       #dc2626;
  --red-light: #ef4444;
  --red-dim:   #f87171;
  --border:    rgba(255,255,255,0.06);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(220,38,38,0.35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(220,38,38,0.6); }
* { scrollbar-width: thin; scrollbar-color: rgba(220,38,38,0.35) transparent; }

::selection { background: rgba(220,38,38,0.3); color: #fff; }

/* ---- Typography helpers ---- */
.font-mono { font-family: 'JetBrains Mono', monospace; }

.gradient-text {
  background: linear-gradient(90deg, #ef4444, #f87171, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Surface utilities ---- */
.glass {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.055);
}

.glass-red {
  background: rgba(220,38,38,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220,38,38,0.14);
}

.gradient-border {
  position: relative;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(220,38,38,0.35), transparent 55%, rgba(220,38,38,0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---- Animations ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
@keyframes text-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 14px rgba(220,38,38,0.25)); }
  50%       { filter: brightness(1.15) drop-shadow(0 0 28px rgba(220,38,38,0.5)); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(220,38,38,0.12); }
  50%       { box-shadow: 0 0 48px rgba(220,38,38,0.28), 0 0 90px rgba(220,38,38,0.08); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up       { animation: fade-up 0.85s cubic-bezier(0.22,1,0.36,1) both; }
.animate-text-glow     { animation: text-glow 3s ease-in-out infinite; }
.animate-glow-pulse    { animation: glow-pulse 3s ease-in-out infinite; }
.animate-pulse         { animation: pulse 2s ease-in-out infinite; }
.animate-marquee       { animation: marquee 30s linear infinite; }

.delay-100 { animation-delay: 0.10s; }
.delay-200 { animation-delay: 0.20s; }
.delay-300 { animation-delay: 0.30s; }
.delay-400 { animation-delay: 0.40s; }
.delay-500 { animation-delay: 0.55s; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic hover — disabled on touch */
.mag {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
@media (hover: hover) {
  .mag:hover { transform: translateY(-5px); }
}

/* =============================================
   SCROLL PROGRESS
   ============================================= */
#scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
}
#scroll-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,0.7), transparent);
  transition: width 0.12s linear;
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}
#navbar.scrolled {
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 0 22px rgba(220,38,38,0.45);
  transform: scale(1.08);
}
.nav-logo span { font-size: 17px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.nav-link.active { color: var(--red-dim); background: rgba(220,38,38,0.1); }

.nav-cta {
  display: none;
}
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  padding: 9px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.btn-red:hover { background: var(--red-light); box-shadow: 0 0 28px rgba(220,38,38,0.35); }
.btn-red svg { width: 14px; height: 14px; }

.nav-mobile-btn {
  background: none; border: none; cursor: pointer;
  color: var(--fg);
  display: flex; align-items: center;
  padding: 4px;
}
.nav-mobile-btn svg { width: 22px; height: 22px; }

/* Mobile menu */
#mobile-menu {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.25rem 1.5rem 1.5rem;
}
#mobile-menu.open { display: block; }
.mobile-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-link:hover { background: rgba(255,255,255,0.03); color: var(--fg); }
.mobile-cta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta   { display: block; }
  .nav-mobile-btn { display: none; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 88px 1.5rem 0;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-glow-1 {
  position: absolute;
  top: 33%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  max-width: 90vw;
  border-radius: 9999px;
  background: rgba(220,38,38,0.06);
  filter: blur(160px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 25%; right: 20%;
  width: 280px; height: 280px;
  border-radius: 9999px;
  background: rgba(220,38,38,0.03);
  filter: blur(100px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 8px 18px;
  margin-bottom: 1.75rem;
}
.hero-badge svg { width: 12px; height: 12px; color: var(--red-dim); }
.hero-badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--red-dim);
}

.hero-h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.hero-p {
  max-width: 440px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: background 0.25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-red-lg {
  padding: 11px 28px;
  border-radius: 14px;
  font-size: 14px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-stat-val { font-size: 1.5rem; font-weight: 700; }
.hero-stat-label { font-size: 11px; color: var(--muted); }

/* Terminal */
.terminal {
  border-radius: 14px;
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  padding: 10px 16px;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px;
  border-radius: 9999px;
}
.terminal-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
.terminal-title svg { width: 12px; height: 12px; color: var(--muted); }
.terminal-title span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.terminal-body {
  background: rgba(0,0,0,0.45);
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.85;
  min-height: 195px;
}
.t-cmd  { color: var(--red-dim); word-break: break-all; }
.t-info { color: rgba(255,255,255,0.48); word-break: break-all; }
.t-cursor { color: var(--red-dim); animation: pulse 1s infinite; }

.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.45);
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.marquee-item::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 9999px;
  background: var(--red);
  flex-shrink: 0;
}

/* =============================================
   SHARED SECTION LAYOUT
   ============================================= */
.section {
  position: relative;
  padding: 5rem 1.5rem;
}
.section-inner {
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
}
.section-inner--wide { max-width: 1280px; }
.section-inner--narrow { max-width: 768px; }
.section-inner--medium { max-width: 1024px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red-dim);
  margin-bottom: 1rem;
}
.section-label svg { width: 12px; height: 12px; }

.section-heading {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.section-sub {
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header--left { text-align: left; }

/* Glow blobs */
.blob {
  position: absolute;
  border-radius: 9999px;
  background: rgba(220,38,38,0.035);
  filter: blur(110px);
  pointer-events: none;
}

/* Card grid */
.card-grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.card-grid-5 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
}

/* =============================================
   PRIVATE CLOUD
   ============================================= */
.principle-card {
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}
.principle-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.15);
  margin-bottom: 1rem;
  transition: background 0.4s, box-shadow 0.4s;
}
.principle-card:hover .principle-icon {
  background: rgba(220,38,38,0.2);
  box-shadow: 0 0 26px rgba(220,38,38,0.15);
}
.principle-icon svg { width: 18px; height: 18px; color: var(--red-dim); }
.principle-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.principle-desc  { font-size: 13px; line-height: 1.65; color: var(--muted); }

.devrex-quote {
  margin-top: 3.5rem;
  border-radius: 22px;
  padding: 2.5rem 2rem;
}
.quote-avatar {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(220,38,38,0.18);
  border: 1px solid rgba(220,38,38,0.22);
}
.quote-avatar span { font-size: 1.6rem; font-weight: 700; color: var(--red-dim); }
.quote-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
blockquote {
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(240,240,240,0.9);
  font-style: italic;
}
.quote-meta { margin-top: .8rem; display: flex; align-items: center; gap: 10px; }
.quote-name { font-size: 14px; font-weight: 600; }
.quote-role { font-size: 12px; color: var(--muted); }

/* =============================================
   VPS PRICING
   ============================================= */
.billing-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.toggle-group {
  display: flex;
  border-radius: 14px;
  padding: 4px;
}
.toggle-btn {
  border-radius: 10px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--muted);
  transition: all 0.25s;
}
.toggle-btn.active {
  background: rgba(220,38,38,0.22);
  color: var(--red-dim);
  box-shadow: 0 0 0 1px rgba(220,38,38,0.22);
}
.toggle-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.toggle-btn:disabled .soon {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  color: rgba(220,38,38,0.45);
  margin-left: 4px;
}

/* Plan cards */
#plans-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.plan-card {
  border-radius: 16px;
  padding: 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .plan-card:hover { transform: scale(1.015); }
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  box-shadow: 0 0 22px rgba(220,38,38,0.35);
  white-space: nowrap;
}
.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.plan-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.plan-stock {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.plan-stock-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
}
.plan-price-wrap { margin-bottom: 1.25rem; }
.plan-price-row {
  display: flex; align-items: baseline; gap: 4px;
}
.plan-price-val {
  font-size: 1.9rem; font-weight: 700;
}
.plan-price-unit { font-size: 13px; color: var(--muted); }
.plan-est { margin-top: 3px; font-size: 11px; color: var(--muted); }

.plan-features {
  display: flex; flex-direction: column; gap: 9px;
  flex: 1; margin-bottom: 1.25rem;
}
.plan-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.plan-feature svg { width: 12px; height: 12px; color: var(--red-dim); flex-shrink: 0; }

.plan-cta {
  display: block;
  width: 100%;
  padding: 11px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.plan-cta--red  { background: var(--red); color: #fff; }
.plan-cta--red:hover  { background: var(--red-light); box-shadow: 0 0 28px rgba(220,38,38,0.32); }
.plan-cta--ghost { background: rgba(255,255,255,0.05); color: var(--fg); }
.plan-cta--ghost:hover { background: rgba(255,255,255,0.1); }

/* Addons */
.addon-card {
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}
.addon-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.addon-info { display: flex; align-items: flex-start; gap: 12px; }
.addon-info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.addon-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.addon-desc  { font-size: 13px; color: var(--muted); }
.addon-price {
  flex-shrink: 0;
  border-radius: 10px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.addon-price--red {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.22);
  color: var(--red-dim);
}
.addon-price--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--fg);
}

/* =============================================
   NETWORK PoPs
   ============================================= */
.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  max-width: 1024px;
  margin: 0 auto 3.5rem;
}
.map-inner {
  background: rgba(8,8,8,0.7);
  padding: 0;
  position: relative;
}
.map-inner::after {
  /* subtle vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5,5,5,0.55) 100%);
  pointer-events: none;
}
.map-inner svg { width: 100%; display: block; }

.pop-card {
  border-radius: 16px;
  padding: 1.5rem;
}
.pop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pop-status {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 8px;
}
.pop-status-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
}
.pop-status-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.pop-name { font-size: 1.05rem; font-weight: 700; }
.pop-desc { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pop-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.pop-icon svg { width: 16px; height: 16px; }
.pop-icon--red { background: rgba(220,38,38,0.2); border: 1px solid rgba(220,38,38,0.22); }
.pop-icon--red svg { color: var(--red-dim); }
.pop-icon--muted { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.pop-icon--muted svg { color: var(--muted); }

/* =============================================
   DDoS PROTECTION
   ============================================= */
.ddos-diagram {
  border-radius: 22px;
  overflow: hidden;
  max-width: 1024px;
  margin: 0 auto;
}
#ddos-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.ddos-canvas-wrap {
  position: relative;
  height: 200px;
}
@media (max-width: 500px) {
  .ddos-canvas-wrap { height: 400px; }
}
.ddos-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 480px) {
  .ddos-stats { grid-template-columns: repeat(2, 1fr); }
}
.ddos-stat {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.ddos-stat:last-child { border-right: none; }
.ddos-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.ddos-stat-val { margin-top: 5px; font-size: 1.2rem; font-weight: 700; }
.ddos-stat-val--red   { color: var(--red-dim); }
.ddos-stat-val--green { color: #4ade80; }

/* =============================================
   HARDWARE
   ============================================= */
.spec-card {
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spec-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.15);
  margin-bottom: 1rem;
  transition: background 0.4s, box-shadow 0.4s;
}
.spec-card:hover .spec-icon {
  background: rgba(220,38,38,0.2);
  box-shadow: 0 0 26px rgba(220,38,38,0.15);
}
.spec-icon svg { width: 22px; height: 22px; color: var(--red-dim); }
.spec-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.spec-val   { margin-top: 6px; font-size: 13px; font-weight: 700; }
.spec-detail { margin-top: 3px; font-size: 11px; color: var(--muted); }

.hardware-kpis {
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-top: 1.25rem;
}
.hardware-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 480px) {
  .hardware-kpis-grid { grid-template-columns: repeat(2, 1fr); }
}
.kpi-val {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
}
.kpi-label {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* =============================================
   FAQ — minimal divider style
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  /* top border handled by first item */
}
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-item.open {
  border-top-color: rgba(220,38,38,0.3);
}
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
}
.faq-btn:hover .faq-question { color: #fff; }
.faq-btn-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.faq-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(220,38,38,0.5);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 22px;
  transition: color 0.3s;
}
.faq-item.open .faq-num { color: var(--red-dim); }
.faq-question {
  font-size: 15px;
  font-weight: 500;
  color: rgba(240,240,240,0.85);
  transition: color 0.25s;
  text-align: left;
}
.faq-icon-wrap {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, background 0.3s;
}
.faq-item.open .faq-icon-wrap {
  border-color: rgba(220,38,38,0.35);
  background: rgba(220,38,38,0.08);
}
.faq-chevron {
  flex-shrink: 0;
  width: 14px; height: 14px;
  color: rgba(255,255,255,0.3);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), color 0.3s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--red-dim);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 0 1.4rem 2.35rem;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

/* =============================================
   CTA
   ============================================= */
.cta-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.cta-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.cta-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}
.cta-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: rgba(220,38,38,0.2);
  border: 1px solid rgba(220,38,38,0.22);
  margin-bottom: 1.5rem;
}
.cta-icon svg { width: 28px; height: 28px; color: var(--red-dim); }
.cta-h2 {
  font-size: clamp(1.5rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-p {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.cta-email {
  border-radius: 12px;
  padding: 8px 20px;
  margin-bottom: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--red-dim);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 1.5rem 2.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon span { font-size: 12px; font-weight: 700; color: #fff; }
.footer-logo-name { font-weight: 600; font-size: 15px; }
.footer-tagline { font-size: 13px; line-height: 1.65; color: var(--muted); }

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-dim);
  margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-links span { font-size: 13px; color: var(--muted); }
.footer-links .soon { color: rgba(255,255,255,0.25); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-privacy { font-size: 11px; color: rgba(255,255,255,0.28); }
.footer-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
@media (max-width: 640px) {
  .section { padding: 3.5rem 1.25rem; }
  body::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-marquee { animation: none; }
}
