/* ============================================================
   SentryHosting — Public Site
   Styling principles mirror docs/adr/014-cyberpunk-theme.md
   ============================================================ */

:root {
  /* Colors */
  --bg: #000000;
  --bg-alt: #0a0a0f;
  --neon-blue: #00e1ff;
  --neon-blue-deep: #0099ff;
  --acid-green: #39ff14;
  --plasma-purple: #ff00ff;
  --plasma-pink: #ff0099;
  --fire-orange: #ff6b35;
  --cyber-yellow: #ffff00;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-border: rgba(0, 225, 255, 0.15);
  --text: #ffffff;
  --text-muted: #b4b9c7;
  --text-dim: #6b7280;

  /* Shadows / glows */
  --glow-blue: 0 0 25px rgba(0, 225, 255, 0.6);
  --glow-purple: 0 0 25px rgba(255, 0, 255, 0.6);
  --glow-pink: 0 0 25px rgba(255, 0, 153, 0.6);
  --glow-green: 0 0 25px rgba(57, 255, 20, 0.6);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.8);
  --shadow-card-hover: 0 8px 40px rgba(0, 225, 255, 0.3);

  /* Gradients */
  --hero-gradient:
    radial-gradient(ellipse at 20% 50%, rgba(0, 225, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 0, 153, 0.1) 0%, transparent 50%),
    #000000;
  --button-gradient: linear-gradient(135deg, var(--neon-blue) 0%, var(--plasma-purple) 100%);
  --card-gradient: linear-gradient(135deg, rgba(0, 225, 255, 0.08) 0%, rgba(0, 153, 255, 0.04) 100%);

  /* Radii */
  --r-sm: 0.375rem;
  --r-md: 0.5rem;
  --r-lg: 0.75rem;
  --r-xl: 1rem;

  /* Type */
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--neon-blue); text-decoration: none; transition: color .2s; }
a:hover { color: #5be4ff; }
:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--neon-blue);
  color: #000;
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
  margin-right: 1px;
}
.brand-name {
  background: var(--button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}
.primary-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.primary-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: .5rem 0;
  position: relative;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
}
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
}
.primary-nav a.nav-cta {
  border: 1px solid var(--neon-blue);
  border-radius: var(--r-md);
  padding: .5rem 1rem;
  color: var(--neon-blue);
}
.primary-nav a.nav-cta:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--glow-blue);
}
.primary-nav a.nav-cta.is-active::after { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--surface-border);
  border-radius: var(--r-md);
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

/* ---------- Views ---------- */
.view { display: none; }
.view.is-active { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  overflow: hidden;
}
.hero::before {
  /* Subtle CRT scanline overlay */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: .4;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 1.5rem;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--neon-blue);
  font-size: .85rem;
  letter-spacing: .15em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  margin: 0 0 .5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow:
    0 0 40px rgba(0, 225, 255, 0.5),
    0 0 20px rgba(255, 0, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.8);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 30px rgba(0, 225, 255, 0.5);
  filter: drop-shadow(0 0 15px rgba(0, 225, 255, 0.6));
}
.hero-tagline {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glitch effect (respects reduced motion) */
.glitch {
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .glitch::before {
    color: var(--plasma-purple);
    transform: translate(-2px, 0);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch-1 4s infinite linear alternate-reverse;
    opacity: .8;
  }
  .glitch::after {
    color: var(--neon-blue);
    transform: translate(2px, 0);
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    animation: glitch-2 5s infinite linear alternate-reverse;
    opacity: .8;
  }
  @keyframes glitch-1 {
    0%, 92%, 100% { transform: translate(-2px, 0); }
    93% { transform: translate(-5px, -1px); }
    94% { transform: translate(3px, 1px); }
    95% { transform: translate(-3px, 0); }
  }
  @keyframes glitch-2 {
    0%, 92%, 100% { transform: translate(2px, 0); }
    93% { transform: translate(5px, 1px); }
    94% { transform: translate(-3px, -1px); }
    95% { transform: translate(3px, 0); }
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before {
  opacity: 1;
}
.btn-primary {
  background: var(--button-gradient);
  color: #000000;
  box-shadow: var(--glow-blue);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #000000;
  box-shadow: 0 0 35px rgba(0, 225, 255, 0.8), 0 0 15px rgba(255, 0, 255, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
}
.btn-ghost:hover {
  background: rgba(0, 225, 255, 0.12);
  box-shadow: var(--glow-blue);
  border-color: var(--plasma-purple);
}
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.features { padding: 6rem 1.5rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 .5rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 3rem;
  max-width: 540px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.card::before {
  /* Subtle gradient overlay */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(0, 225, 255, 0.2);
}
.card:hover::before {
  opacity: 1;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.15) 0%, rgba(0, 153, 255, 0.08) 100%);
  color: var(--neon-blue);
  margin-bottom: 1.25rem;
  border: 2px solid rgba(0, 225, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 225, 255, 0.2);
  transition: box-shadow .3s, transform .3s;
}
.card:hover .card-icon {
  box-shadow: 0 0 25px rgba(0, 225, 255, 0.5);
  transform: scale(1.05);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--text);
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.2);
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ---------- Status strip ---------- */
.status-strip {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,212,255,0.03) 100%);
  padding: 1.5rem 0;
}
.status-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.status-item {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--text-muted);
}
.status-item code {
  font-family: var(--font-mono);
  letter-spacing: .08em;
}
.status-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid-green);
  box-shadow: var(--glow-green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .status-item .dot { animation: none; }
}

/* ---------- Auth views ---------- */
.auth-hero {
  position: relative;
  min-height: calc(100vh - 68px);
  background: var(--hero-gradient);
  overflow: hidden;
}
.auth-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: .4;
}
.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 68px - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-gradient);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.auth-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 .25rem;
  letter-spacing: -0.01em;
}
.auth-sub {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.auth-card form,
.contact-form {
  display: flex;
  flex-direction: column;
}
.auth-card label,
.contact-form label {
  font-size: .8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .5rem;
  margin-top: 1rem;
}
.auth-card label:first-of-type,
.contact-form label:first-of-type { margin-top: 0; }

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--surface-border);
  color: var(--text);
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
  background: rgba(0, 0, 0, 0.7);
}
input.is-invalid,
textarea.is-invalid {
  border-color: var(--fire-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
textarea { resize: vertical; min-height: 120px; }

.auth-card form .btn,
.contact-form .btn { margin-top: 1.75rem; }

.form-status {
  margin: 1rem 0 0;
  font-size: .9rem;
  font-family: var(--font-mono);
  min-height: 1.2em;
  color: var(--text-muted);
}
.form-status.is-error { color: var(--fire-orange); }
.form-status.is-success { color: var(--acid-green); }

.auth-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .9rem;
  text-align: center;
}

/* ---------- Contact ---------- */
.contact-hero {
  position: relative;
  min-height: calc(100vh - 68px);
  background: var(--hero-gradient);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.contact-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: .4;
}
#particles-contact {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.contact-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 1.5rem;
  align-items: start;
}
.contact-intro .auth-title { font-size: 2.5rem; }
.contact-blurb {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1rem 0 2.5rem;
  max-width: 460px;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--neon-blue);
  padding-left: 1rem;
}
.contact-info strong {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: .25rem;
}
.contact-info a,
.contact-info span {
  color: var(--text);
  font-size: 1rem;
}
.contact-form {
  background: var(--card-gradient);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  background: linear-gradient(180deg, var(--bg) 0%, #050510 100%);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: .9rem;
  margin: .75rem 0 0;
  max-width: 320px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-nav a:hover { color: var(--neon-blue); }
.footer-copy {
  color: var(--text-dim);
  font-size: .85rem;
  text-align: right;
  margin: 0;
  align-self: end;
}

/* ---------- Invite Notice ---------- */
.invite-notice {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 0, 170, 0.1) 100%);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--r-md);
  padding: 0.85rem 1.15rem;
  margin: 1.5rem 0;
}
.invite-notice p {
  margin: 0;
  color: var(--text);
  font-size: .85rem;
  line-height: 1.4;
}
.invite-notice p:first-child {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--fire-orange);
  margin-bottom: .35rem;
  letter-spacing: .05em;
}
.invite-notice strong {
  color: var(--fire-orange);
  font-weight: 600;
}

/* ---------- Products Page ---------- */
.products-hero {
  min-height: calc(100vh - 68px);
  position: relative;
  display: flex;
  align-items: center;
}
.products-hero::after {
  /* Enhanced scanline effect for products */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 225, 255, 0.03) 0px,
      rgba(0, 225, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    );
  pointer-events: none;
  opacity: .6;
  animation: scanlineScroll 8s linear infinite;
}
@keyframes scanlineScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(3px); }
}

/* Product Summary Cards on Main Products Page */
.products-list-summary {
  padding: 4rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-summary {
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(0, 225, 255, 0.1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-summary::before {
  /* Cyberpunk corner accent - enhanced */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(0, 225, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.product-summary::after {
  /* Glowing edge effect */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-blue-deep), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.product-card-link:hover .product-summary::after {
  opacity: 0.6;
}
.product-card-link:hover .product-summary {
  transform: translateY(-3px);
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(0, 225, 255, 0.2), 0 0 30px rgba(0, 225, 255, 0.15);
}
.product-summary .product-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
  flex-grow: 1;
}
.product-summary .card-icon {
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.2) 0%, rgba(0, 153, 255, 0.1) 100%);
  border: 2px solid rgba(0, 225, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.3), inset 0 0 10px rgba(0, 225, 255, 0.1);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.product-card-link:hover .product-summary .card-icon {
  box-shadow: 0 0 30px rgba(0, 225, 255, 0.5), inset 0 0 15px rgba(0, 225, 255, 0.2);
  transform: scale(1.05);
}
.product-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 .4rem;
  color: var(--text);
  text-shadow: 0 0 15px rgba(0, 225, 255, 0.3);
}
.product-summary .product-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}
.product-cta {
  margin: .75rem 0 0 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-blue);
  text-align: right;
  align-self: flex-end;
}

/* OLD Product Detail Cards - Keep for backward compatibility */
.products-list {
  padding: 4rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.product-detail {
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(0, 225, 255, 0.1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.product-detail::before {
  /* Cyberpunk corner accent */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(0, 225, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.product-detail:hover {
  transform: translateY(-3px);
  border-color: var(--surface-border);
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(0, 225, 255, 0.2);
}
.product-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--surface-border);
  position: relative;
}
.product-header::after {
  /* Glowing underline effect */
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--plasma-purple), transparent);
  box-shadow: 0 0 10px rgba(0, 225, 255, 0.5);
}
.product-header .card-icon {
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.2) 0%, rgba(0, 153, 255, 0.1) 100%);
  border: 2px solid rgba(0, 225, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.3), inset 0 0 10px rgba(0, 225, 255, 0.1);
}
.product-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 .5rem;
  color: var(--text);
  text-shadow: 0 0 15px rgba(0, 225, 255, 0.3);
}
.product-tagline {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}
.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}
.product-features h3,
.product-addons h3,
.product-pricing h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.product-features ul,
.product-addons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-features li,
.product-addons li {
  padding: .6rem 0;
  color: var(--text-muted);
  font-size: .95rem;
  position: relative;
  padding-left: 1.5rem;
  transition: color .2s, transform .2s;
}
.product-features li:hover,
.product-addons li:hover {
  color: var(--text);
  transform: translateX(3px);
}
.product-features li::before,
.product-addons li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon-blue);
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.6);
}

/* Blurred pricing with cyberpunk styling */
.price-blur {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--surface-border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 225, 255, 0.05) 100%);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden;
}
.price-blur::before {
  /* Animated gradient border effect */
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--neon-blue), var(--plasma-purple), var(--plasma-pink), var(--neon-blue));
  background-size: 300% 300%;
  border-radius: var(--r-md);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
  animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.price-blur:hover {
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(0, 225, 255, 0.4);
}
.price-blur:hover::before {
  opacity: 1;
}
.price-content {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.price-blur::after {
  content: "🔒 MEMBERS ONLY";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--neon-blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.8);
  font-weight: 600;
}

/* ---------- Product Detail Pages ---------- */
.product-detail-hero {
  min-height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
}
.product-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: .4;
  z-index: 1;
}
#particles-product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.product-detail-content {
  padding: 4rem 1.5rem 6rem;
}
.product-section {
  margin-bottom: 5rem;
}
.product-section:last-child {
  margin-bottom: 0;
}
.product-section .features-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.product-section .card {
  padding: 1rem 0.85rem;
}
.product-section .card h3 {
  font-size: 0.85rem;
  margin: 0.4rem 0 0;
}
.product-section .card-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}
.product-section .card-icon svg {
  width: 18px;
  height: 18px;
}

/* Packages Grid */
.packages-section {
  margin-top: 3rem;
}

/* WHMCS-style Package Selector */
.package-selector {
  margin-top: 2rem;
}
.package-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--surface-border);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-blue) var(--surface);
}
.package-tab {
  position: relative;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.package-tab:hover {
  color: var(--text);
  background: rgba(0, 225, 255, 0.05);
}
.package-tab.active {
  color: var(--neon-blue);
  border-bottom-color: var(--neon-blue);
  background: rgba(0, 225, 255, 0.08);
}
.package-tab.popular::after {
  content: "POPULAR";
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  font-size: 0.65rem;
  padding: 0.125rem 0.375rem;
  background: var(--acid-green);
  color: #000;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.package-view {
  display: none;
  animation: fadeIn 0.3s ease-in;
}
.package-view.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.package-detail-card {
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.package-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--surface-border);
}
.package-detail-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--neon-blue);
  text-shadow: 0 0 15px rgba(0, 225, 255, 0.4);
}
.package-detail-price {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text);
  line-height: 1;
}
.package-detail-price .currency {
  font-size: 1.5rem;
  color: var(--text-muted);
}
.package-detail-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.package-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.spec-item-detailed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.spec-item-detailed .spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.spec-item-detailed .spec-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
}
.spec-item-detailed .spec-icon {
  width: 20px;
  height: 20px;
  color: var(--neon-blue);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.package-card {
  position: relative;
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-card-hover), 0 0 35px rgba(0, 225, 255, 0.25);
}
.package-popular {
  border-color: var(--plasma-purple);
  box-shadow: var(--shadow-card), 0 0 20px rgba(255, 0, 255, 0.15);
}
.package-popular:hover {
  border-color: var(--plasma-purple);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(255, 0, 255, 0.3);
}
.package-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--button-gradient);
  color: #000000;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: var(--r-md);
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}
.package-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  color: var(--text);
  text-shadow: 0 0 15px rgba(0, 225, 255, 0.3);
}
.package-price {
  margin-bottom: 2rem;
}
.package-specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--surface-border);
}
.spec-item:last-child {
  border-bottom: none;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: capitalize;
  letter-spacing: .05em;
}
.spec-value {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* Add-ons Grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.addon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-md);
  transition: all .2s;
}
.addon-item:hover {
  border-color: var(--neon-blue);
  transform: translateX(5px);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.2);
}
.addon-item svg {
  width: 20px;
  height: 20px;
  color: var(--neon-blue);
  flex-shrink: 0;
}
.addon-item span {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--card-gradient);
  border: 1px solid var(--neon-blue);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
  animation: modalSlideIn .3s ease;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  padding: .25rem .5rem;
  cursor: pointer;
  transition: color .2s;
}
.modal-close:hover {
  color: var(--text);
}
.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1rem;
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}
.modal-content p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.modal-content p:last-of-type {
  margin-bottom: 2rem;
}
.modal-content a {
  color: var(--neon-blue);
  text-decoration: underline;
}
.modal-content a:hover {
  color: #5be4ff;
}

/* ============================================================
   Gaming Subsection (purchasable game hosting)
   ============================================================ */
.subsection-header {
  text-align: center;
  margin: 4rem auto 2.5rem;
  max-width: 720px;
}
.subsection-eyebrow {
  font-family: var(--font-mono);
  color: var(--neon-blue);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  opacity: .85;
}
.subsection-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 .75rem;
  color: var(--text);
  letter-spacing: -0.01em;
  text-shadow: 0 0 20px rgba(0, 225, 255, 0.25);
}
.subsection-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}

.gaming-subsection {
  margin-top: 2rem;
  scroll-margin-top: 80px;
}
.gaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.gaming-tile {
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, rgba(0, 225, 255, 0.08) 0%, rgba(57, 255, 20, 0.04) 100%);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gaming-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue) 50%, transparent);
  opacity: 0;
  transition: opacity .3s;
}
.gaming-tile:hover {
  transform: translateY(-4px);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 225, 255, 0.2), 0 0 40px rgba(0, 225, 255, 0.08);
  color: var(--text);
}
.gaming-tile:hover::before { opacity: 1; }
.gaming-tile-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.2) 0%, rgba(0, 153, 255, 0.08) 100%);
  border: 2px solid rgba(0, 225, 255, 0.35);
  color: var(--neon-blue);
  margin-bottom: 1rem;
  box-shadow: 0 0 18px rgba(0, 225, 255, 0.18);
  transition: transform .3s, box-shadow .3s;
}
.gaming-tile-icon svg { width: 24px; height: 24px; }
.gaming-tile:hover .gaming-tile-icon {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(0, 225, 255, 0.4);
}
.gaming-tile h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0 0 .4rem;
  color: var(--text);
}
.gaming-tile p {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0 0 1rem;
  line-height: 1.5;
  flex-grow: 1;
}
.gaming-tile-cta {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acid-green);
  font-weight: 600;
  align-self: flex-start;
  transition: transform .25s;
}
.gaming-tile:hover .gaming-tile-cta {
  transform: translateX(4px);
}
.gaming-tile-more {
  background: linear-gradient(140deg, rgba(255, 0, 255, 0.06) 0%, rgba(0, 225, 255, 0.04) 100%);
  border-style: dashed;
}
.gaming-tile-more:hover {
  border-color: var(--plasma-purple);
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

/* Homepage Game Servers card link */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover { color: inherit; }
.card-link-arrow {
  display: inline-block;
  margin-top: .9rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--acid-green);
  font-weight: 600;
  transition: transform .25s;
}
.card-link:hover .card-link-arrow { transform: translateX(4px); }

/* ============================================================
   Our Network Section (community-operated)
   ============================================================ */
.network-section {
  margin-top: 3rem;
  scroll-margin-top: 80px;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
.network-tile {
  position: relative;
  display: block;
  border: 2px solid var(--surface-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: #050510;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.network-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.network-tile:hover {
  transform: translateY(-3px);
  border-color: var(--acid-green);
  box-shadow: 0 12px 32px rgba(57, 255, 20, 0.18), 0 0 40px rgba(0, 225, 255, 0.15);
}
.network-tile:hover img {
  transform: scale(1.06);
}
.network-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.95) 100%);
  color: var(--text);
}
.network-tile-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 .2rem;
  color: var(--text);
  text-shadow: 0 0 10px rgba(0, 225, 255, 0.25);
}
.network-tile-caption p {
  margin: 0;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.network-tile-caption .btn-sm {
  margin-top: .6rem;
  padding: .45rem .85rem;
  font-size: .78rem;
}
.tile-horizontal { grid-column: span 2; grid-row: span 1; }
.tile-vertical   { grid-column: span 1; grid-row: span 2; }
.tile-banner {
  grid-column: span 2;
  grid-row: span 1;
  border-color: rgba(0, 225, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 225, 255, 0.1);
}

/* ============================================================
   Network Notice + Cross-links (game subpages)
   ============================================================ */
.network-notice {
  padding: 2.25rem 2rem;
  background: linear-gradient(135deg, rgba(0, 225, 255, 0.06) 0%, rgba(57, 255, 20, 0.05) 100%);
  border: 2px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  text-align: center;
}
.network-notice h3 {
  font-family: var(--font-heading);
  margin: 0 0 .9rem;
  color: var(--acid-green);
  font-size: 1.4rem;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}
.network-notice p {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cross-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.cross-link-card {
  display: block;
  padding: 1.25rem 1.25rem;
  background: var(--card-gradient);
  border: 2px solid var(--surface-border);
  border-radius: var(--r-md);
  color: var(--text);
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.cross-link-card:hover {
  border-color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 225, 255, 0.18);
  color: var(--text);
}
.cross-link-card h4 {
  margin: 0 0 .3rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--neon-blue);
}
.cross-link-card p {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   Product Category Cards (redesigned, modern gaming style)
   ============================================================ */
.products-list-summary {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}
.product-summary {
  padding: 2.25rem 2rem 1.75rem;
  border-width: 2px;
  background:
    linear-gradient(135deg, rgba(0, 225, 255, 0.06) 0%, rgba(255, 0, 255, 0.03) 100%),
    #060614;
}
.product-summary::before {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(57, 255, 20, 0.12) 0%, transparent 65%);
}
.product-summary .product-header {
  margin-bottom: 1.25rem;
  gap: 1.1rem;
}
.product-summary .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  border: 2px solid rgba(0, 225, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(0, 225, 255, 0.25) 0%, rgba(0, 153, 255, 0.08) 100%);
  box-shadow:
    0 0 24px rgba(0, 225, 255, 0.25),
    inset 0 0 14px rgba(0, 225, 255, 0.12);
}
.product-summary .card-icon svg {
  width: 28px;
  height: 28px;
}
.product-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 18px rgba(0, 225, 255, 0.35);
  margin: 0 0 .35rem;
}
.product-summary .product-tagline {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.5;
}
.product-summary::after {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--acid-green), var(--neon-blue), transparent);
  opacity: .25;
}
.product-card-link:hover .product-summary::after { opacity: 1; }
.product-summary .product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  border-top: 1px solid rgba(0, 225, 255, 0.15);
  color: var(--acid-green);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
  align-self: stretch;
  transition: color .25s, transform .25s;
}
.product-card-link:hover .product-summary .product-cta {
  color: #5bff4e;
  transform: translateX(4px);
}

/* ============================================================
   Product Detail — Core Features (cleaner hierarchy)
   ============================================================ */
.product-section .features-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
}
.product-section .card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.product-section .card h3 {
  font-size: 0.98rem;
  margin: 0.25rem 0 0;
  line-height: 1.35;
}
.product-section .card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
}
.product-section .card-icon svg {
  width: 22px;
  height: 22px;
}
.product-section .section-title {
  margin-bottom: 2rem;
}
.product-section {
  margin-bottom: 4.5rem;
}

/* ============================================================
   Product Detail — Packages Container (polished)
   ============================================================ */
.packages-section .section-sub {
  margin-bottom: 2.25rem;
}
.package-tabs {
  border-bottom: none;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-xl);
  padding: .4rem;
  gap: .25rem;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 20px rgba(0, 225, 255, 0.05);
}
.package-tab {
  padding: .85rem 1.5rem;
  border: none;
  border-radius: var(--r-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
  background: transparent;
}
.package-tab:hover {
  background: rgba(0, 225, 255, 0.08);
  color: var(--text);
}
.package-tab.active {
  color: #001018;
  background: linear-gradient(135deg, var(--neon-blue) 0%, #5be4ff 100%);
  box-shadow: 0 0 22px rgba(0, 225, 255, 0.55), 0 4px 14px rgba(0, 0, 0, 0.35);
  border-bottom-color: transparent;
}
.package-tab.popular::after {
  top: -4px;
  right: -4px;
  padding: 0.2rem 0.45rem;
  font-size: .62rem;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

.package-detail-card {
  padding: 3rem 2.5rem 2.5rem;
  border-radius: var(--r-xl);
  border-color: rgba(0, 225, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.package-detail-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--plasma-purple), var(--neon-blue), transparent);
  opacity: .45;
}
.package-detail-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 225, 255, 0.2);
}
.package-detail-title {
  font-size: 2.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.package-specs-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--r-md);
  border: 1px solid rgba(0, 225, 255, 0.1);
}
.spec-item-detailed {
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(0, 225, 255, 0.1);
}
.spec-item-detailed:last-child { border-bottom: none; }
.spec-item-detailed .spec-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .08em;
}
.spec-item-detailed .spec-value {
  font-size: 1.1rem;
  color: var(--text);
}
.package-detail-card .btn-block {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Add-ons polish */
.addons-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.addon-item {
  padding: 1rem 1.25rem;
}
.addon-item svg {
  width: 24px;
  height: 24px;
  padding: .4rem;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.25);
  border-radius: var(--r-sm);
  box-sizing: content-box;
}
.addon-item span {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}

/* Button small helper */
.btn-sm {
  padding: .5rem 1rem;
  font-size: .85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .network-grid { grid-auto-rows: 170px; }
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .tile-horizontal, .tile-banner { grid-column: span 2; }
  .tile-vertical { grid-column: span 1; grid-row: span 2; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 320px; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
  }
  .primary-nav li { border-bottom: 1px solid var(--surface-border); }
  .primary-nav li:last-child { border-bottom: none; padding-top: .75rem; }
  .primary-nav a { display: block; padding: 1rem 0; }
  .primary-nav a.nav-cta { text-align: center; }

  .hero-inner {
    padding: 4rem 1.25rem;
    text-align: center;
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    word-break: break-word;
  }
  .hero-subtitle { font-size: clamp(1.1rem, 4vw, 1.4rem); }
  .hero-tagline { font-size: .98rem; }
  .hero-ctas {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-ctas .btn {
    flex: 1 1 auto;
    min-width: 140px;
    text-align: center;
  }

  .features { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .status-inner { gap: 1.5rem; }

  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .auth-card, .contact-form { padding: 2rem 1.5rem; }

  /* Auth/reset hero mobile alignment fix */
  .auth-hero {
    min-height: calc(100vh - 68px);
  }
  .auth-hero .auth-wrap {
    padding: 3.5rem 1rem 3rem;
    align-items: flex-start;
    min-height: calc(100vh - 68px - 68px);
  }
  .auth-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Products hero mobile fix */
  .products-hero,
  .product-detail-hero {
    min-height: calc(100vh - 68px);
    padding: 0;
  }
  .products-hero .hero-inner,
  .product-detail-hero .hero-inner {
    padding: 3.5rem 1.25rem;
    text-align: center;
  }

  .products-list-summary {
    padding: 3rem 1.25rem 4rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-summary { padding: 1.75rem 1.5rem 1.35rem; }

  .product-content { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail { padding: 2rem 1.5rem; }
  .product-detail-content { padding: 3rem 1.25rem 4rem; }

  /* Gaming + Network mobile */
  .subsection-header { margin: 3rem auto 1.75rem; }
  .gaming-grid { grid-template-columns: 1fr; gap: 1rem; }
  .network-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1rem;
  }
  .tile-horizontal,
  .tile-vertical,
  .tile-banner {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }

  /* Package detail mobile */
  .package-detail-card { padding: 2rem 1.5rem; }
  .package-detail-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .package-detail-title { font-size: 1.75rem; }
  .package-specs-grid { padding: 1rem; gap: .9rem; }
  .package-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: .35rem;
  }
  .package-tab { padding: .75rem 1.1rem; font-size: .95rem; }

  /* Cross-links mobile */
  .cross-links-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .auth-card { padding: 1.75rem 1.25rem; }
  .product-summary h2 { font-size: 1.35rem; }
  .product-summary .card-icon { width: 48px; height: 48px; }
  .product-summary .card-icon svg { width: 24px; height: 24px; }
}
