/* =============================================
   EstFlux — Main Stylesheet
   Dark premium theme. DM Sans. #0a0a0f + #4f8ef7
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --bg2:       #0d0d14;
  --surface:   #12121a;
  --surface2:  #1a1a2e;
  --dark:      #1a1a2e;
  --border:    #3a3a5c;
  --border2:   #252540;
  --accent:    #4f8ef7;
  --accent-dim:#2a5cc7;
  --accent-glow: rgba(79,142,247,0.15);
  --text:      #e8e8f0;
  --text2:     #b0b0cc;
  --muted:     #8888aa;
  --success:   #2dd4bf;
  --warning:   #f59e0b;
  --error:     #f87171;

  --font: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 32px rgba(79,142,247,0.2);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);

  --transition: 0.18s ease;
  --transition-slow: 0.32s ease;

  --max-w: 1140px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #7aaafb; }

img { max-width: 100%; display: block; }

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text2); line-height: 1.7; }

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* ── Layout ───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* ── Navigation ───────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}
.nav.scrolled { background: rgba(10,10,15,0.96); border-color: var(--border); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(79,142,247,0.4);
}
.nav-logo span.dim { color: var(--muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text2);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 14px;
  color: var(--text2);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-mobile a:hover { background: var(--surface); color: var(--text); }
.nav-mobile .btn { margin-top: 8px; text-align: center; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #6a9ef8;
  border-color: #6a9ef8;
  color: #fff;
  box-shadow: 0 0 24px rgba(79,142,247,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); background: var(--surface); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }

/* ── Badges ───────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-accent { background: rgba(79,142,247,0.15); color: var(--accent); border: 1px solid rgba(79,142,247,0.3); }
.badge-success { background: rgba(45,212,191,0.12); color: var(--success); border: 1px solid rgba(45,212,191,0.25); }
.badge-warning { background: rgba(245,158,11,0.12); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.badge-neutral { background: var(--surface); color: var(--muted); border: 1px solid var(--border2); }

/* ── Cards ────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.card-featured {
  background: var(--surface2);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

/* ── Pricing Cards ────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: start;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pricing-card.popular {
  background: linear-gradient(160deg, #0d1a3a 0%, #0a1228 100%);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-3px); }

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.pricing-card.popular .pricing-name { color: var(--accent); }

.pricing-price {
  text-align: center;
  margin-bottom: 16px;
}
.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-period { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.pricing-divider {
  height: 1px;
  background: var(--border2);
  margin: 16px 0;
}

.pricing-specs { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pricing-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.pricing-spec-label { color: var(--muted); }
.pricing-spec-value { color: var(--text); font-weight: 500; }
.pricing-spec-value.highlight { color: var(--accent); font-weight: 600; }

.pricing-cta {
  margin-top: 20px;
  display: block;
  text-align: center;
}

/* ── Feature Grid ─────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--accent);
}

/* ── Stats Bar ────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}
.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-value span { color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ── Spec Table ───────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border2);
  font-size: 0.88rem;
}
.spec-table th {
  background: var(--surface2);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.spec-table td { color: var(--text2); }
.spec-table td:first-child { color: var(--text); font-weight: 500; }
.spec-table tr:hover td { background: rgba(79,142,247,0.03); }
.spec-table .check { color: var(--success); font-size: 1rem; }

/* ── FAQ ──────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border2);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
  font-family: var(--font);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition);
  color: var(--accent);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text2);
  line-height: 1.7;
  font-size: 0.93rem;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--success);
}

.hero-title { margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-trust-item::before {
  content: '✓';
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── Bandwidth Bar ────────────────────────── */
.bw-bar-wrap {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 600px;
  overflow: hidden;
  box-sizing: border-box;
}
.bw-bar-label { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.bw-bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: 100px;
  overflow: hidden;
}
.bw-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7ab0fb);
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bw-bar-value { font-size: 0.88rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── Section Headings ─────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 580px; }

/* ── Check List ───────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--text2);
}
.check-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border2);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border2);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.88rem; color: var(--text2); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--text); }

/* ── Tables ───────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border2); }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--surface2);
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border2);
  font-size: 0.88rem;
  color: var(--text2);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(79,142,247,0.03); }
td:first-child { color: var(--text); font-weight: 500; }
td.check { color: var(--success); text-align: center; }
td.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }

/* ── Contact Form ─────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.02em;
}
.form-input, .form-textarea, .form-select {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }

/* ── Notices ──────────────────────────────── */
.notice {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid;
  font-size: 0.88rem;
  line-height: 1.6;
}
.notice-info { background: rgba(79,142,247,0.08); border-color: var(--accent); color: var(--text2); }
.notice-success { background: rgba(45,212,191,0.08); border-color: var(--success); color: var(--text2); }

/* ── Breadcrumb ───────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--border); }

/* ── Prose (legal pages) ──────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border2); }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--text); }
.prose p { color: var(--text2); margin-bottom: 16px; line-height: 1.75; font-size: 0.95rem; }
.prose ul, .prose ol { color: var(--text2); margin-bottom: 16px; padding-left: 20px; font-size: 0.95rem; }
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .last-updated {
  display: inline-block;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ── Page hero (inner pages) ──────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border2);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid-bg { opacity: 0.2; }
.page-hero .hero-glow { opacity: 0.6; }
.page-hero-content { position: relative; z-index: 1; }

/* ── Comparison Table ─────────────────────── */
.compare-icon { font-size: 1rem; }
.compare-check { color: var(--success); }
.compare-dash { color: var(--border); }

/* ── Tabs ─────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  margin-bottom: 32px;
  width: fit-content;
}
.tab-btn {
  padding: 8px 18px;
  border: none; background: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--surface2); color: var(--text); }
.tab-btn.active { color: var(--accent); font-weight: 600; }

/* ── Uptime / SLA indicator ───────────────── */
.uptime-bar {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.uptime-day {
  width: 10px; height: 28px;
  background: var(--success);
  border-radius: 2px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.uptime-day:hover { opacity: 1; }
.uptime-day.down { background: var(--error); opacity: 0.9; }

/* ── Animations ───────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-up { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.animate-up-d1 { animation-delay: 0.1s; }
.animate-up-d2 { animation-delay: 0.2s; }
.animate-up-d3 { animation-delay: 0.3s; }
.animate-up-d4 { animation-delay: 0.4s; }

/* ── Utilities ────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr !important; }
  .contact-response { grid-template-columns: 1fr !important; }
  .contact-response > div:last-child { margin-top: 20px; }
}
@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Code blocks ──────────────────────────── */
code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--surface);
  border: 1px solid var(--border2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}
pre {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.65;
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Selection ────────────────────────────── */
::selection { background: rgba(79,142,247,0.25); color: var(--text); }
