@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600;700&family=Oswald:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #080a08;
  --bg-alt: #0d100d;
  --panel: #111511;
  --panel-2: #161c16;
  --border: #252e23;
  --border-hi: #394736;
  --text: #e9ede6;
  --muted: #939d8e;
  --amber: #f59e0b;
  --orange: #ea580c;
  --flare: #dc2626;
  --olive: #6b8e4e;
  --emerald: #22c55e;
  --sky: #38bdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%232e3b2b' stroke-width='1' opacity='0.28'%3E%3Cpath d='M0 70 Q90 35 180 75 T360 65'/%3E%3Cpath d='M0 140 Q105 180 205 130 T360 155'/%3E%3Cpath d='M0 220 Q80 185 180 230 T360 215'/%3E%3Cpath d='M0 300 Q115 335 220 290 T360 310'/%3E%3Ccircle cx='285' cy='95' r='38'/%3E%3Ccircle cx='285' cy='95' r='22'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .stencil {
  font-family: "Oswald", "Impact", sans-serif;
  letter-spacing: 0.02em;
}

.mono, .brand-domain, .map-id, .hud-bar, .row-meta, .stat-value {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.text-amber {
  color: var(--amber);
}

.text-flare {
  color: #f87171;
}

.text-right {
  text-align: right;
}

/* Tactical Top Radio / HUD Strip */
.hud-bar {
  background: #050705;
  border-bottom: 1px solid #1b2219;
  font-size: 11px;
  color: #8b9685;
  padding: 6px 0;
}

.hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hud-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hud-flare {
  color: #fca5a5;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 66px;
  background: rgba(8, 10, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.35));
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-name {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 20px;
}

.brand-domain {
  font-size: 11.5px;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--amber);
  color: #080a08;
}

/* Tactical Corner Brackets Mixin */
.tac-box {
  position: relative;
}

.tac-box::before,
.tac-box::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-color: var(--amber);
  opacity: 0.65;
}

.tac-box::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}

.tac-box::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(90deg, var(--amber), var(--orange));
  color: #080a08;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(17, 21, 17, 0.85);
  border: 1px solid var(--border-hi);
  color: var(--text);
}

.btn-outline:hover {
  background: #1b221a;
  border-color: var(--amber);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/hero-dayz.jpg") center center / cover no-repeat;
  opacity: 0.5;
  filter: contrast(1.06) saturate(0.88);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(220, 38, 38, 0.12), transparent 50%),
    linear-gradient(
      90deg,
      #080a08 0%,
      rgba(8, 10, 8, 0.92) 48%,
      rgba(8, 10, 8, 0.58) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.42);
  color: #fca5a5;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 10px var(--flare);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 15.5px;
  color: #c2cbc0;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hud-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hud-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(17, 21, 17, 0.85);
  border: 1px solid var(--border-hi);
  color: #cbd5c7;
}

.hud-badge strong {
  color: var(--emerald);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.trust-strip strong {
  color: var(--amber);
}

/* Preview Window */
.preview-window {
  background: rgba(12, 15, 12, 0.94);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72);
}

.preview-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #080a08;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #86efac;
}

.preview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid #1b2219;
  background: #0c0f0c;
}

.chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #151a14;
  border: 1px solid #263024;
  color: var(--muted);
}

.chip.active {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fcd34d;
}

.chip-safe {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.preview-rows {
  display: flex;
  flex-direction: column;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #181e17;
  font-size: 12px;
}

.preview-row:last-child {
  border-bottom: 0;
}

.row-main {
  min-width: 0;
  flex: 1;
}

.row-name {
  font-weight: 600;
  color: #f2f5f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  background: #171d16;
  border: 1px solid #2a3427;
  color: #b7c2b3;
}

.tag-amber {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fcd34d;
}

.tag-green {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.tag-flare {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.38);
  color: #fca5a5;
}

.row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
  shrink: 0;
}

.row-pop {
  font-weight: 700;
  color: #fff;
}

.row-mods {
  font-size: 10px;
  color: var(--muted);
}

/* Stats Strip */
.stats-strip {
  background: #0b0e0b;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Sections */
.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.3vw, 38px);
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Field Operations Visual Showcase */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.field-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  background: #0a0c0a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.field-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.field-overlay {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(8, 10, 8, 0.85);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #d6dfd2;
}

.field-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-point {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 16px 18px;
}

.field-point h3 {
  margin: 0 0 4px;
  font-size: 18px;
  text-transform: uppercase;
}

.field-point p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.icon-amber {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.icon-rose {
  background: rgba(220, 38, 38, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.icon-green {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.icon-sky {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Live Table */
.live-table-wrap,
.compare-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
}

.live-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.live-table th,
.compare-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #0a0c0a;
  border-bottom: 1px solid var(--border);
}

.live-table td,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #1a2118;
}

.live-table tr:last-child td,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.loading-cell {
  text-align: center;
  color: var(--muted);
  padding: 28px !important;
}

/* Maps Section with Atmospheric Map Table Backdrop */
.maps-section {
  position: relative;
  overflow: hidden;
}

.maps-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/dayz-maptable.jpg") center center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.maps-section .container {
  position: relative;
  z-index: 2;
}

.map-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.map-tab {
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.map-tab.active {
  background: var(--amber);
  color: #080a08;
  border-color: var(--amber);
}

.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.map-card {
  background: rgba(17, 21, 17, 0.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  transition: border-color 0.15s ease;
}

.map-card:hover {
  border-color: var(--amber);
}

.map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.map-name {
  font-weight: 700;
  font-size: 14px;
}

.map-id {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.map-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #aebaa8;
  margin-top: 10px;
}

.map-link {
  color: var(--amber);
  font-weight: 600;
}

.map-link:hover {
  text-decoration: underline;
}

/* Comparison */
.col-dzforge {
  background: rgba(245, 158, 11, 0.06);
}

.good {
  color: #86efac;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.12), rgba(245, 158, 11, 0.12));
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 46px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text h2 {
  margin: 0 0 6px;
  font-size: 28px;
  text-transform: uppercase;
}

.cta-text p {
  margin: 0;
  color: #cfd8cb;
  font-size: 14px;
}

/* Footer */
.footer {
  padding: 28px 0;
  background: #050705;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--amber);
}

@media (max-width: 960px) {
  .hero-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
