/* =========================================
   NovaWatch — Dark Command Center Theme
   ========================================= */

:root {
  --bg: #06080c;
  --bg-surface: #0b1017;
  --bg-elevated: #111827;
  --fg: #e8eaef;
  --fg-muted: #6b7280;
  --fg-dim: #3d4a5c;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --border: rgba(0, 212, 255, 0.1);
  --border-bright: rgba(0, 212, 255, 0.25);
  --font-head: 'Syne', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- GRID OVERLAY ---- */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  pointer-events: none;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 12, 0.8);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo-icon {
  display: flex;
  align-items: center;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
}

.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 20px;
}

/* ---- RADAR ---- */
.radar-container {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
}

.radar-ring-1 { width: 120px; height: 120px; }
.radar-ring-2 { width: 220px; height: 220px; }
.radar-ring-3 { width: 320px; height: 320px; border-color: var(--border); }

.radar-sweep {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 212, 255, 0.15) 30deg,
    transparent 60deg
  );
  animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 20px var(--accent-glow);
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: blip-fade 3s ease-in-out infinite;
}

.radar-blip-1 { top: 30px; left: 90px; animation-delay: 0s; }
.radar-blip-2 { top: 80px; right: 40px; animation-delay: 0.8s; }
.radar-blip-3 { bottom: 60px; right: 70px; animation-delay: 1.6s; }
.radar-blip-4 { bottom: 30px; left: 140px; animation-delay: 0.4s; }
.radar-blip-5 { top: 140px; left: 20px; animation-delay: 2.0s; }

@keyframes blip-fade {
  0%, 80%, 100% { opacity: 0; transform: scale(0.5); }
  20%, 60% { opacity: 1; transform: scale(1); }
}

.signal-counter {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 8px;
}

.signal-counter-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.signal-counter-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.signal-counter-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.signal-counter-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---- HERO RIGHT ---- */
.hero-eyebrow {
  margin-bottom: 20px;
}

.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  background: var(--accent-dim);
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--fg);
}

.headline-accent {
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.wl-section {
  margin-bottom: 10px;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.meta-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.3;
}

.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- SECTION SHARED ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 520px;
}

/* ---- AGENTS ---- */
.agents {
  padding: 100px 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.agents-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.agents-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.agent-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.2s;
}

.agent-card:hover {
  border-color: var(--border-bright);
}

.agent-card-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}

.agent-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.agent-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.agent-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00e5a0;
  padding: 3px 8px;
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 3px;
  background: rgba(0, 229, 160, 0.08);
}

/* ---- SIGNALS ---- */
.signals {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.signals-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signal-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.signal-item:first-child {
  border-top: 1px solid var(--border);
}

.signal-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
  margin-top: 6px;
}

.signal-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.signal-item-meta {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* ---- HOW ---- */
.how {
  padding: 100px 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.how-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex: 1;
}

.how-step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}

.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-step-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

.how-step-connector {
  width: 80px;
  height: 1px;
  background: var(--border-bright);
  flex-shrink: 0;
  margin: 0 16px;
  align-self: flex-start;
  margin-top: 28px;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote-mark {
  font-family: var(--font-head);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.15;
  margin-bottom: 24px;
  display: block;
}

.manifesto-text {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.manifesto-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  flex: 1;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-left {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .radar-container {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
  }

  .radar-ring-1 { width: 80px; height: 80px; }
  .radar-ring-2 { width: 140px; height: 140px; }
  .radar-ring-3 { width: 200px; height: 200px; }
  .radar-sweep { width: 200px; height: 200px; }

  .signal-counter { margin-top: 0; flex: 1; }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .signals-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-steps {
    flex-direction: column;
    gap: 32px;
  }

  .how-step-connector {
    width: 40px;
    height: 40px;
    margin: 0;
    align-self: center;
    transform: rotate(90deg);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 20px 60px;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-meta-divider { display: none; }

  .agents, .signals, .how, .manifesto, .pricing-hero, .pricing-cards, .pricing-table-section, .pricing-faq, .pricing-cta, .result-page, .billing-page {
    padding: 64px 20px;
  }

  .agents-header, .signals-inner, .how-steps, .manifesto-inner, .pricing-hero-inner, .pricing-cards-inner, .pricing-faq-inner {
    padding: 0;
  }
}

/* =========================================
   PRICING PAGE
   ========================================= */

.pricing-hero {
  padding: 120px 32px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pricing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.toggle-label--active { color: var(--fg); }
.toggle-label--active { font-weight: 600; }

.toggle-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #00e5a0;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.toggle-btn {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  padding: 0;
}

.toggle-knob {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* Plan cards */
.pricing-cards {
  padding: 64px 32px;
}

.pricing-cards-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 12px;
  position: relative;
}

.plan-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-dim);
  background: var(--bg);
}

.plan-card--current {
  border-color: rgba(0, 229, 160, 0.4);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.plan-price {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-left: 4px;
}

.plan-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-check { color: #00e5a0; flex-shrink: 0; }
.feat-dash  { color: var(--fg-dim); flex-shrink: 0; }
.feat-muted { color: var(--fg-dim); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, background 0.15s;
  text-align: center;
}

.btn:hover { opacity: 0.85; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--fg);
  border: 1px solid var(--border-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; }

/* Comparison table */
.pricing-table-section {
  padding: 64px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.pricing-table-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-table-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pricing-table th,
.pricing-table td {
  text-align: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
}

.pricing-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  padding-bottom: 20px;
}

.pricing-table .col-highlight {
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent);
  font-weight: 600;
}

.pricing-table .feature-col { width: 200px; }
.pricing-table td:not(.feature-name) { color: var(--fg); }
.pricing-table .feature-name { color: var(--fg-muted); }

/* FAQ */
.pricing-faq {
  padding: 80px 32px;
}

.pricing-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.faq-item {}

.faq-q {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CTA section */
.pricing-cta {
  padding: 80px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.pricing-cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

.pricing-cta-inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-cta-inner p {
  color: var(--fg-muted);
  margin-bottom: 28px;
}

/* =========================================
   SUCCESS / CANCEL PAGES
   ========================================= */

.result-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px;
}

.result-inner {
  text-align: center;
  max-width: 500px;
}

.result-icon {
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.result-headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.result-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.result-meta {
  margin-bottom: 28px;
}

.meta-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #00e5a0;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.result-actions .btn-ghost:hover { border-color: var(--fg-muted); }

/* =========================================
   BILLING SETTINGS PAGE
   ========================================= */

.billing-page {
  padding: 120px 32px 80px;
  min-height: 70vh;
}

.billing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.billing-header {
  margin-bottom: 40px;
}

.billing-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.billing-card {
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 10px;
  margin-bottom: 16px;
}

.billing-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.billing-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.billing-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.billing-plan-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-top: 4px;
}

.billing-plan-status--active { color: #00e5a0; }
.billing-plan-status--warn  { color: #f59e0b; }
.billing-plan-status--canceled { color: var(--fg-muted); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.billing-plan-actions {
  display: flex;
  gap: 8px;
}

.billing-meta-row {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.billing-meta-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.billing-meta-text--warn { color: #f59e0b; }

.billing-portal-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.billing-card--upgrade {
  border-color: rgba(0, 212, 255, 0.2);
  background: var(--bg);
}

/* Usage rows */
.usage-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.usage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

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

.usage-label { color: var(--fg-muted); }
.usage-value { font-weight: 600; text-align: right; }
.usage-value--ok { color: var(--fg); }

.billing-footer-link {
  text-align: center;
  margin-top: 24px;
}

.billing-footer-link a {
  color: var(--fg-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.billing-footer-link a:hover { color: var(--accent); }

/* ---- WAITLIST FORM ---- */
.wl-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.wl-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  color: var(--fg);
  font-family: var(--font-head);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wl-input::placeholder { color: var(--fg-muted); }

.wl-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.wl-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.wl-btn:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.wl-btn:active:not(:disabled) { transform: translateY(0); }
.wl-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.wl-msg {
  margin-top: 10px;
  font-size: 0.85rem;
  min-height: 20px;
  line-height: 1.4;
}

.wl-msg--success { color: #22c55e; }
.wl-msg--error   { color: #f87171; }

/* Responsive */
@media (max-width: 480px) {
  .wl-form { flex-direction: column; }
  .wl-form .wl-btn { width: 100%; }
}