@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #06080e;
  --bg-deep: #030408;
  --bg-card: rgba(14, 19, 32, 0.75);
  --bg-card-hover: rgba(20, 28, 48, 0.85);
  --bg-glass: rgba(11, 16, 28, 0.6);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(56, 189, 248, 0.3);
  
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --primary-hover: #059669;
  --primary-soft: rgba(16, 185, 129, 0.12);
  
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --accent-soft: rgba(56, 189, 248, 0.12);
  
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.12);
  
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.14);
  
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.12);
  
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px rgba(16, 185, 129, 0.25);
  --shadow-blue-glow: 0 0 40px -10px rgba(56, 189, 248, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Atmospheric Ambient Glow & Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(circle 600px at 50% 0px, rgba(16, 185, 129, 0.09) 0%, rgba(56, 189, 248, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image: 
    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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Navbar */
header {
  border-bottom: 1px solid var(--surface-border);
  background: rgba(6, 8, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.32rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px -2px rgba(16, 185, 129, 0.4);
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #03140c;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

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

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #021a10;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.35);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:hover::after {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(20, 27, 45, 0.6);
  color: var(--text);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: rgba(30, 41, 69, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #041b26;
  box-shadow: 0 2px 14px rgba(56, 189, 248, 0.35);
}

.btn-cyan:hover {
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: 7px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  padding: 88px 0 52px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 0 24px -2px rgba(16, 185, 129, 0.2);
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero h1 {
  font-size: 3.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(135deg, #00f59b 0%, #38bdf8 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 38px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 14px 24px;
  background: rgba(14, 20, 34, 0.5);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  max-width: 880px;
  margin: 0 auto 56px;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
}

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

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}

.stat-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--surface-border-hover);
  box-shadow: var(--shadow-blue-glow);
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-val.accent-green { color: #10b981; }
.stat-val.accent-cyan { color: #38bdf8; }
.stat-val.accent-gold { color: #fbbf24; }

.stat-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Headings */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 18px;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 6px;
  max-width: 680px;
}

/* Filter Controls */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: rgba(14, 20, 34, 0.6);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  width: fit-content;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.filter-btn.active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Table Design (Institutional Matrix) */
.table-container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 72px;
  box-shadow: var(--shadow-md);
  position: relative;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

th {
  padding: 16px 20px;
  background: rgba(8, 12, 22, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-dim);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--surface-border);
  white-space: nowrap;
}

td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  vertical-align: middle;
  transition: background 0.15s ease;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: all 0.15s ease;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

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

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #131b2e 0%, #0d121f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-type {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.badge-pill {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
}

.badge-green {
  background: var(--primary-soft);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-blue {
  background: var(--accent-soft);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.badge-amber {
  background: var(--gold-soft);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-purple {
  background: var(--purple-soft);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.latency-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #cbd5e1;
}

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

/* Interactive Calculator Terminal */
.calculator-box {
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.85) 0%, rgba(9, 13, 24, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 72px;
  box-shadow: var(--shadow-md), 0 0 60px -20px rgba(16, 185, 129, 0.15);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(6, 9, 16, 0.95);
  border-bottom: 1px solid var(--surface-border);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.calc-body {
  padding: 36px 32px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.size-btn-group, .dd-type-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-btn {
  background: rgba(20, 27, 46, 0.7);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.calc-btn:hover {
  background: rgba(30, 42, 70, 0.8);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.calc-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 16px -2px rgba(56, 189, 248, 0.3);
}

.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 700;
}

.calc-input {
  width: 100%;
  background: #090e1a;
  border: 1px solid var(--surface-border);
  padding: 12px 14px 12px 32px;
  border-radius: 9px;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-mono);
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Calculator Visual Risk Meter */
.risk-meter-box {
  background: #080c18;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 14px;
}

.risk-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 8px;
}

.risk-meter-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  display: flex;
}

.meter-fill-danger {
  width: 25%;
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.meter-fill-cushion {
  width: 75%;
  background: linear-gradient(90deg, #38bdf8, #10b981);
}

/* Real-time Calculator Results */
.calc-results {
  background: #070b16;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:last-child {
  border-bottom: none;
}

.result-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.result-val {
  font-weight: 700;
  font-size: 1.12rem;
  color: #fff;
  font-family: var(--font-mono);
}

.result-danger {
  color: #f43f5e;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(244, 63, 94, 0.3);
}

.result-highlight {
  color: #10b981;
  font-weight: 800;
  font-size: 1.35rem;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.calc-notice {
  background: rgba(56, 189, 248, 0.07);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-top: 20px;
  line-height: 1.6;
}

/* Feature & Tooling Cards Grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}

.tool-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
  box-shadow: var(--shadow-md);
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.tool-card-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 800;
}

.tool-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.tool-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Comparison Head-to-Head Hubs */
.battle-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.battle-card:hover {
  border-color: var(--surface-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.battle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.battle-vs {
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Footer & Compliance */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 68px 0 44px;
  background: var(--bg-deep);
  color: var(--text-muted);
  font-size: 0.88rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 420px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #fff;
}

.compliance-box {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compliance-box strong {
  color: #cbd5e1;
}

.security-badge-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.sec-badge svg {
  color: var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 960px) {
  .hero h1 { font-size: 2.5rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { border-radius: 16px; gap: 14px; }
}
