:root {
  --bg: #09090b;
  --bg-alt: #0f1012;
  --card: rgba(20, 21, 24, 0.92);
  --card-solid: #141518;
  --border: #26272c;
  --text: #f3f1ec;
  --muted: #9b9890;
  --accent: #d4b475;
  --accent-strong: #c29b52;
  --accent-dim: rgba(212, 180, 117, 0.14);
  --ok: #34d399;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 8%, rgba(212, 180, 117, 0.08), transparent 40%),
    radial-gradient(circle at 82% 22%, rgba(120, 113, 108, 0.06), transparent 36%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

body > * { position: relative; z-index: 1; }
a { color: var(--accent); text-decoration: none; }
code {
  background: rgba(212, 180, 117, 0.12);
  color: #ead5a7;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Status Bar */
.status-bar {
  background: #060607;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  padding: 8px 0;
}
.status-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.status-pill-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.status-dot.updating { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.status-dot.maintenance { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.meta-chip {
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
}
.meta-chip strong { color: var(--text); }
.meta-muted { color: var(--muted); }
.status-links { display: flex; gap: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #9a7b3e);
  color: #0b0a08;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 0 16px rgba(212, 180, 117, 0.22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; letter-spacing: 0.02em; }
.brand-text small { font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted); }
.nav-links { display: flex; gap: 18px; font-size: 13.5px; white-space: nowrap; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-md { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0c0b08;
  box-shadow: 0 6px 20px rgba(212, 180, 117, 0.18);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(212, 180, 117, 0.30); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(212, 180, 117, 0.06); }
.full-width { width: 100%; }

/* Hero */
.hero { padding: 68px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 180, 117, 0.32);
  color: #ead5a7;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
h1 { font-size: 44px; line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
.gradient-text {
  background: linear-gradient(90deg, #ead5a7, #c29b52);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 16.5px; margin: 0 0 26px; }
.lead strong { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.metric-item strong { display: block; font-size: 20px; color: var(--text); }
.metric-item span { font-size: 12.5px; color: var(--muted); }

/* Interactive Preview Shell */
.preview-shell {
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
}
.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0d0e11;
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e3038;
}
.preview-tabs { display: flex; gap: 6px; }
.preview-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.preview-tab.active {
  background: var(--accent-dim);
  border-color: rgba(212, 180, 117, 0.35);
  color: #ead5a7;
}
.preview-body { padding: 14px; min-height: 310px; }
.preview-panel { display: none; }
.preview-panel.active { display: block; }

/* Radar Mock */
.radar-canvas {
  position: relative;
  height: 245px;
  border-radius: 8px;
  background: radial-gradient(circle at center, #16181c 0%, #090a0c 100%);
  border: 1px solid #26282f;
  overflow: hidden;
}
.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(212, 180, 117, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 180, 117, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(212, 180, 117, 0.22);
}
.radar-ring.r1 { width: 120px; height: 120px; }
.radar-ring.r2 { width: 210px; height: 210px; }
.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 240px;
  margin-left: -120px;
  margin-top: -120px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212, 180, 117, 0.20), transparent 65deg);
  animation: sweep 5s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-self {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff;
}
.blip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid currentColor;
  white-space: nowrap;
}
.blip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.blip-pmc { color: #f87171; }
.blip-scav { color: #fbbf24; }
.blip-boss { color: #c084fc; }
.blip-loot { color: #d4b475; }
.blip-extract { color: #34d399; }
.radar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.ok-text { color: var(--ok); }
.danger-text { color: #f87171; }

/* Loot Mock */
.loot-table { display: grid; gap: 8px; }
.loot-row {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.7fr;
  align-items: center;
  padding: 9px 12px;
  border-radius: 7px;
  background: #0f1014;
  border: 1px solid #24262c;
  font-size: 12.5px;
}
.loot-row.head {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 2px;
}
.mini-tag {
  justify-self: end;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.tag-gold { background: rgba(212, 180, 117, 0.16); color: #ead5a7; }
.tag-cyan { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.tag-green { background: rgba(52, 211, 153, 0.15); color: #6ee7b7; }

/* Video placeholder */
.media-frame {
  height: 278px;
  border-radius: 8px;
  background: #0b0c0e;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}
.media-frame iframe, .media-frame video { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.media-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ok);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.media-placeholder p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Sections & Cards */
.section { padding: 68px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { margin-bottom: 34px; }
.section-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--muted); }

.cards-grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Feature Tabs */
.feature-tabs-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}
.feature-tab-nav { display: grid; gap: 10px; }
.ftab {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 18px;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ftab strong { display: block; font-size: 15px; margin-bottom: 2px; }
.ftab span { font-size: 13px; color: var(--muted); }
.ftab.active {
  border-color: var(--accent);
  background: rgba(212, 180, 117, 0.08);
}
.fpanel { display: none; }
.fpanel.active { display: block; }
.fpanel p { margin-bottom: 18px; }
.check-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.check-grid li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Full Feature Matrix & 4-Step Setup */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.matrix-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.matrix-card h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.matrix-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.matrix-card li + li { margin-top: 7px; }
.matrix-card li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.step-card h4 { margin: 0 0 6px; font-size: 15px; }
.step-card p { margin: 0; font-size: 13px; color: var(--muted); }

.vouch-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* Compare Table */
.compare-table-wrap { padding: 0; overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
}
.compare-table .col-highlight {
  background: rgba(212, 180, 117, 0.07);
  color: var(--text);
}
.compare-table tr:last-child td { border-bottom: 0; }

/* Pricing */
.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.plan-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(212, 180, 117, 0.09) 0%, var(--card-solid) 45%);
  box-shadow: 0 0 32px rgba(212, 180, 117, 0.12);
}
.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 10px;
}
.plan-price { font-size: 36px; font-weight: 800; margin: 6px 0 4px; }
.plan-duration { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.plan-features li { padding: 5px 0; }
.plan-features li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.reseller-callout {
  margin-top: 24px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.reseller-callout p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* Lists & Changelog & FAQ */
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.clean-list li + li { margin-top: 8px; }
.changelog-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.changelog-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 8px;
}
.tag-ok { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.tag-cyan { background: var(--accent-dim); color: #ead5a7; }

.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq-item summary { font-weight: 600; cursor: pointer; }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 5, 0.82);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 100;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: 100%;
  max-width: 460px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
.modal h3 { margin: 0 0 6px; }
.modal-sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.order-form { display: grid; gap: 14px; }
.order-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.order-form input, .order-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.form-error {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.pay-box { display: grid; gap: 14px; }
.pay-box p { margin: 0; font-size: 14px; color: var(--muted); }
.poll-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}
.key-box code { background: transparent; padding: 0; font-size: 14px; word-break: break-all; }
.small-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 1060px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .feature-tabs-wrap, .matrix-grid, .steps-grid, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  h1 { font-size: 33px; }
  .check-grid { grid-template-columns: 1fr; }
}
