:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header.site-header {
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 22, 0.8);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #041226;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-btn {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue) !important;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-blue);
}

/* Hero Section */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Comparison Cards (The Math) */
.math-section {
  margin: 32px 0 64px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-title-wrap h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card.highlighted {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.card-badge-bad {
  display: inline-block;
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-badge-good {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.price-display .cost {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.price-display .unit {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breakdown-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.breakdown-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breakdown-list li span.val {
  font-family: var(--font-mono);
  color: var(--text-main);
  font-weight: 600;
}

/* Benchmark Table */
.benchmark-section {
  margin: 64px 0;
}

.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.table-header-meta {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

table.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.benchmark-table th {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

table.benchmark-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  vertical-align: middle;
}

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

table.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.vendor-name {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.tag-isp {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-dc {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #041226;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 7px 16px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Chrome Ext Banner */
.ext-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 40px;
  margin: 64px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.ext-text {
  flex: 1;
  min-width: 300px;
}

.ext-text h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.ext-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  background: #060911;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

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

/* Legal text */
.legal-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
}

.legal-box h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--accent-blue);
}

.legal-box p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-box ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-box li {
  margin-bottom: 8px;
}
