/* ============================================================
   IPSwat — Green/Cyberpunk Theme
   Shared stylesheet for all pages
   ============================================================ */

:root {
  /* Deep dark backgrounds — cool blue-black undertone */
  --bg:          #080e08;
  --bg-nav:      #090f09;
  --bg-panel:    #0b120b;
  --bg-card:     #0d160d;
  --bg-row:      #0f190f;
  --bg-hover:    #111c11;

  /* Matrix/hacker green as dominant accent */
  --green:       #00ff41;
  --green-dim:   rgba(0, 255, 65, 0.10);
  --green-border: rgba(0, 255, 65, 0.22);
  --green-hi:    rgba(0, 255, 65, 0.38);
  --green-glow:  rgba(0, 255, 65, 0.18);

  /* Cyan ONLY for positive/live metrics (uptime, online status, chart) */
  --cyan:        #00e5ff;
  --cyan-dim:    rgba(0, 229, 255, 0.10);

  /* Darker green for CTAs / secondary actions */
  --dark-green:  #00b32c;

  /* Text — cool-tinted for cohesion */
  --text-1:      #c8f0d8;   /* primary */
  --text-2:      #6a8878;   /* secondary */
  --text-3:      #2a4a36;   /* tertiary / disabled */
  --text-hi:     #f0fff5;   /* bright */

  /* Borders */
  --border:      rgba(0, 180, 60, 0.18);
  --border-hi:   rgba(0, 255, 65, 0.32);

  /* Grid — very subtle green tint */
  --grid-line:   rgba(0, 160, 30, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: 'Space Mono', monospace;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,255,65,0.25); }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,65,0.45); }

/* ── Utility ── */
.label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
}

/* ── Gradient text ── */
.grad-green {
  background: linear-gradient(135deg, #f0fff5 20%, #00ff41 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-amber {
  background: linear-gradient(135deg, #00e5ff, #66f0ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-lime {
  background: linear-gradient(135deg, #f0fff5 20%, #d4ff50 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-teal {
  background: linear-gradient(135deg, #f0fff5 20%, #2dd4bf 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ──────────────────────────────────────────────
   Scan-line sweep animation (green)
────────────────────────────────────────────── */
@keyframes scanline {
  0%   { transform: translateY(-10px); opacity: 0; }
  3%   { opacity: 1; }
  97%  { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}
.scan-line {
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 65, 0.08) 20%,
    rgba(0, 255, 65, 0.22) 50%,
    rgba(0, 255, 65, 0.08) 80%,
    transparent 100%);
  animation: scanline 14s linear infinite;
  pointer-events: none;
  z-index: 9998;
}
.scan-line:nth-child(2) { animation-delay: -7s; }

/* ──────────────────────────────────────────────
   NAV — Two-tier structure
────────────────────────────────────────────── */
.nav-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 36px;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 0 28px;
}
.nav-strip-pill {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border);
  padding: 5px 22px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-1);
  white-space: nowrap;
}

nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 199;
  height: 56px;
  background: rgba(8, 14, 8, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 28px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-hi); text-decoration: none; letter-spacing: 0.06em;
}
.nav-logo span { color: var(--green); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-item {
  font-size: 0.76rem; color: var(--text-2);
  text-decoration: none; padding: 6px 16px;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 7px;
  position: relative;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav-item::before,
.nav-item::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-style: solid;
  border-color: transparent;
  transition: border-color 0.15s;
}
.nav-item::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.nav-item::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.nav-item:hover {
  color: var(--text-hi);
  background: rgba(0, 255, 65, 0.05);
  border-color: var(--border);
}
.nav-item:hover::before,
.nav-item:hover::after { border-color: var(--green); }
.nav-item-icon { font-size: 0.75rem; opacity: 0.7; }
.nav-item.active {
  color: var(--text-hi);
  background: rgba(0, 255, 65, 0.05);
  border-color: var(--border);
}
.nav-item.active::before,
.nav-item.active::after { border-color: var(--green); }

.nav-ai-btn {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--text-1);
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid var(--border-hi);
  padding: 5px 16px;
  text-decoration: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  position: relative;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.nav-ai-btn::before { content: ''; position: absolute; top: -2px; left: -2px; width: 7px; height: 7px; border-top: 1px solid var(--green); border-left: 1px solid var(--green); }
.nav-ai-btn::after  { content: ''; position: absolute; bottom: -2px; right: -2px; width: 7px; height: 7px; border-bottom: 1px solid var(--green); border-right: 1px solid var(--green); }
.nav-ai-btn:hover { background: rgba(0, 255, 65, 0.12); border-color: var(--green); box-shadow: 0 0 12px rgba(0,255,65,0.2); }

.nav-cta {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  color: #000; background: var(--green);
  padding: 7px 18px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
}
.nav-cta:hover { background: #33ff66; box-shadow: 0 0 20px rgba(0,255,65,0.5); }

/* ──────────────────────────────────────────────
   Buttons
────────────────────────────────────────────── */
.btn-green {
  display: inline-block; font-family: 'Space Mono', monospace;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  color: #000; background: var(--green);
  padding: 12px 28px; text-decoration: none;
  border: none; cursor: pointer; text-transform: uppercase;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn-green:hover { background: #33ff66; box-shadow: 0 0 28px rgba(0,255,65,0.55); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; font-family: 'Space Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--text-1); background: transparent;
  border: 1px solid var(--border-hi);
  padding: 12px 28px; text-decoration: none;
  cursor: pointer; text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); box-shadow: inset 0 0 16px rgba(0,255,65,0.06); }

/* ──────────────────────────────────────────────
   Section labels
────────────────────────────────────────────── */
.section-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--green); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: '//'; color: var(--text-3); }
.section-label::after  { content: ''; flex: 1; height: 1px; background: var(--border); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.1; color: var(--text-hi);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 0.92rem; color: var(--text-1);
  line-height: 1.85; max-width: 540px;
}

/* ──────────────────────────────────────────────
   NOC panel with bracket pulse (green)
────────────────────────────────────────────── */
@keyframes bracket-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(0,255,65,0.6)); }
}
.noc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
}
.noc-panel::before {
  content:''; position:absolute; top:-1px; left:-1px;
  width:14px; height:14px;
  border-top:1px solid var(--green); border-left:1px solid var(--green);
  animation: bracket-pulse 3s ease-in-out infinite;
}
.noc-panel::after {
  content:''; position:absolute; bottom:-1px; right:-1px;
  width:14px; height:14px;
  border-bottom:1px solid var(--green); border-right:1px solid var(--green);
  animation: bracket-pulse 3s ease-in-out infinite 1.5s;
}

/* ──────────────────────────────────────────────
   Segmented bars (green color classes)
────────────────────────────────────────────── */
.seg-bar { display: flex; gap: 2px; align-items: center; }
.seg-unit { height: 10px; flex: 1; }
.seg-unit.on-red    { background: var(--green); opacity: 0.85; }
.seg-unit.on-orange { background: #00c878; opacity: 0.9; }
.seg-unit.on-amber  { background: var(--cyan); opacity: 0.85; }
.seg-unit.off       { background: rgba(255,255,255,0.04); }

/* ──────────────────────────────────────────────
   Key-Value stat rows
────────────────────────────────────────────── */
.kv-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.kv-row:last-child { border-bottom: none; }
.kv-icon { font-size: 0.8rem; color: var(--text-2); opacity: 0.85; width: 16px; text-align: center; flex-shrink: 0; }
.kv-label { font-size: 0.8rem; color: var(--text-1); flex: 1; letter-spacing: 0.04em; }
.kv-value { font-size: 0.85rem; color: var(--text-hi); font-weight: 700; white-space: nowrap; letter-spacing: 0.04em; }
.kv-value.bracket { color: var(--text-1); font-weight: 400; }

/* ──────────────────────────────────────────────
   Stats band
────────────────────────────────────────────── */
.stat-item {
  padding: 30px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--green-dim); }
.stat-num {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700; color: var(--text-hi);
  line-height: 1; letter-spacing: -0.02em;
}
.stat-num .unit { font-size: 1rem; color: var(--green); }
.stat-seg { display: flex; gap: 2px; margin-top: 14px; justify-content: center; }
.stat-seg-unit { width: 8px; height: 3px; }
.stat-seg-unit.on  { background: var(--green); opacity: 0.7; }
.stat-seg-unit.off { background: rgba(255,255,255,0.05); }

.area-chart { width: 100%; height: 80px; }

/* ──────────────────────────────────────────────
   Service / feature cards with green glow
────────────────────────────────────────────── */
.feat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 30px;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.feat-card::before,
.feat-card::after {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  border-style: solid; border-color: transparent;
  transition: border-color 0.2s;
}
.feat-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.feat-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.feat-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0, 255, 65, 0.10);
}
.feat-card:hover::before,
.feat-card:hover::after { border-color: var(--green); }

.feat-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.feat-card:hover .feat-icon { border-color: var(--green-border); background: var(--green-dim); }

/* ──────────────────────────────────────────────
   Banner card + pricing cells
────────────────────────────────────────────── */
.banner-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.banner-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0, 255, 65, 0.08);
}
.banner-card::before,
.banner-card::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border-style: solid; border-color: var(--green);
}
.banner-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.banner-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.price-cell {
  text-align: center; padding: 18px 12px;
  position: relative;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.price-cell:hover { transform: translateY(-3px); }
.price-cell-edge  { border: 1px solid rgba(0,200,120,0.20); background: rgba(0,200,120,0.06); }
.price-cell-edge:hover  { background: rgba(0,200,120,0.14); border-color: rgba(0,200,120,0.45); box-shadow: 0 6px 24px rgba(0,200,120,0.18); }
.price-cell-core  { border: 1px solid rgba(0,229,255,0.20); background: rgba(0,229,255,0.06); }
.price-cell-core:hover  { background: rgba(0,229,255,0.14); border-color: rgba(0,229,255,0.45); box-shadow: 0 6px 24px rgba(0,229,255,0.18); }
.price-cell-titan { border: 1px solid var(--green-border); background: var(--green-dim); }
.price-cell-titan:hover { background: rgba(0,255,65,0.16); border-color: var(--green); box-shadow: 0 6px 24px rgba(0,255,65,0.22); }

/* ──────────────────────────────────────────────
   Server table
────────────────────────────────────────────── */
.srv-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.srv-table thead tr { background: rgba(0,255,65,0.04); border-bottom: 1px solid var(--border-hi); }
.srv-table th { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; color: var(--text-2); text-transform: uppercase; padding: 12px 20px; text-align: left; }
.srv-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.12s; }
.srv-table tbody tr:last-child { border-bottom: none; }
.srv-table tbody tr:hover { background: rgba(0,255,65,0.04); }
.srv-table td { padding: 15px 20px; font-size: 0.8rem; color: var(--text-1); vertical-align: middle; }

.tier-badge { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; padding: 3px 7px; text-transform: uppercase; }
.tier-edge  { background: rgba(0,200,120,0.12); color: #00c878; border: 1px solid rgba(0,200,120,0.22); }
.tier-core  { background: rgba(0,229,255,0.12); color: #00e5ff; border: 1px solid rgba(0,229,255,0.22); }
.tier-titan { background: var(--green-dim); color: var(--green); border: 1px solid var(--green-border); }

/* PoP entries */
.pop-dot {
  width: 7px; height: 7px; flex-shrink: 0;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

/* Contact form */
.form-field {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 11px 14px;
  color: var(--text-1);
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field:focus { outline: none; border-color: var(--green); background: rgba(0,255,65,0.03); box-shadow: 0 0 0 2px rgba(0,255,65,0.08); }
.form-field::placeholder { color: var(--text-3); }

/* Marquee */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }

/* Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor { animation: blink 1.1s step-end infinite; color: var(--green); }

@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 8px currentColor; } 50% { opacity: 0.45; box-shadow: none; } }
.pulse { animation: pulse 2s infinite; }

@keyframes count-flash { 0% { color: var(--green); } 100% { color: var(--text-hi); } }
.stat-flash { animation: count-flash 0.4s ease; }

.blob { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; }

/* ──────────────────────────────────────────────
   Cyberpunk flourishes
────────────────────────────────────────────── */

/* Phosphor glow on headings */
.phosphor-glow {
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.35), 0 0 24px rgba(0, 255, 65, 0.12);
}

/* Terminal typing cursor line under section titles */
.section-title-wrap { position: relative; display: inline-block; }
.section-title-wrap::after {
  content: '_';
  color: var(--green);
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
  font-size: 0.7em;
}

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

/* ──────────────────────────────────────────────
   Service page styles
────────────────────────────────────────────── */

/* Page hero for service pages */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 136px 28px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 5px 14px;
  margin-bottom: 30px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-2);
}
.breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--text-3); }

/* Pricing card for service pages */
.pricing-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 36px 30px;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0, 255, 65, 0.10);
  transform: translateY(-4px);
}
.pricing-card::before,
.pricing-card::after {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  border-style: solid; border-color: transparent;
  transition: border-color 0.2s;
}
.pricing-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.pricing-card::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.pricing-card:hover::before,
.pricing-card:hover::after { border-color: var(--green); }
.pricing-card.featured {
  border-color: var(--green-border);
}
.pricing-card.featured::before,
.pricing-card.featured::after { border-color: var(--green); }

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1;
  margin: 16px 0;
}
.pricing-card .price .period {
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 400;
}
.pricing-card .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.pricing-card .feature-list li {
  font-size: 0.8rem;
  color: var(--text-1);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}
.pricing-card .feature-list li .check {
  color: var(--green);
  flex-shrink: 0;
}

/* FAQ section */
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 24px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item:hover {
  border-color: var(--border-hi);
  background: var(--bg-card);
}
.faq-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-item h4::before {
  content: '>';
  color: var(--green);
  flex-shrink: 0;
}
.faq-item p {
  font-size: 0.82rem;
  color: var(--text-1);
  line-height: 1.8;
  padding-left: 20px;
}

/* CTA band */
.cta-band {
  padding: 80px 28px;
  text-align: center;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 0.9rem;
  color: var(--text-1);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Spec grid for service pages */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}
.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  transition: border-color 0.2s;
}
.spec-item:hover { border-color: var(--border-hi); }
.spec-item .spec-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.spec-item .spec-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-2);
  text-transform: uppercase;
}

/* Included features grid */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.included-item {
  display: flex;
  gap: 12px;
}
.included-item .icon {
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.included-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 3px;
}
.included-item p {
  font-size: 0.78rem;
  color: var(--text-1);
  line-height: 1.6;
}

/* Form toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success {
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid var(--green-border);
  color: var(--green);
}
.toast.error {
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff6b6b;
}

/* Footer & PoP link hover (replaces inline onmouseover/onmouseout) */
.footer-link {
  font-size: 0.76rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-hi); }
.footer-link.active { color: var(--text-hi); }

.pop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s;
}
.pop-card:hover { border-color: var(--border-hi); }

/* ──────────────────────────────────────────────
   Hamburger menu
────────────────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  transition: border-color 0.15s, background 0.15s;
}
.hamburger:hover {
  border-color: var(--green);
  background: rgba(0, 255, 65, 0.06);
}

/* ──────────────────────────────────────────────
   Responsive
────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav strip */
  .nav-strip { display: none; }
  nav { top: 0; }
  .page-hero { padding: 80px 20px 60px; min-height: auto; }

  /* Hamburger toggle */
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: rgba(8, 14, 8, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }

  /* Hero section (homepage) */
  .hero-home { padding-top: 80px !important; padding-bottom: 40px !important; }

  /* Hide ASK AI button on mobile — secondary action */
  .nav-ai-btn { display: none; }

  /* Feature card grids on service pages */
  .feat-card { padding: 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  /* Stats band */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }

  /* Pricing cards */
  .pricing-card { padding: 28px 24px; }

  /* Spec grid */
  .spec-grid { grid-template-columns: repeat(2, 1fr); }

  /* Included grid */
  .included-grid { grid-template-columns: 1fr; }

  /* Server table — force scroll on mobile */
  .srv-table { min-width: 750px; }
  .table-scroll-wrap {
    position: relative;
  }
  .table-scroll-wrap::before {
    content: '← SCROLL →';
    display: block;
    text-align: center;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    color: var(--text-3);
    margin-bottom: 8px;
  }
}
