:root {
  --bg: #020617;
  --card-bg: #0f172a;
  --border: #1e293b;
  --brand: #10b981;
  --brand-hover: #34d399;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --code-token: #6ee7b7;
  --code-accent: #38bdf8;
  --code-warn: #fbbf24;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

code, pre, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.beacon {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  background-color: var(--brand);
}

.beacon-small {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: var(--brand);
}

.brand-link {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-decoration: none;
}

.version-tag {
  font-size: 0.6875rem;
  border: 1px solid var(--border);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-signin {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-brand {
  background-color: var(--brand);
  color: #020617;
}

.btn-brand:hover {
  background-color: var(--brand-hover);
}

.btn-secondary {
  background-color: rgba(30, 41, 59, 0.6);
  border-color: var(--border);
  color: #cbd5e1;
}

.btn-secondary:hover {
  background-color: rgba(51, 65, 85, 0.8);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  color: var(--brand);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.check-brand {
  color: var(--brand);
  font-weight: bold;
}

.section-alt {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.section-pricing {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

.section-arch {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.section-head p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.section-head-arch {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head-arch h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-head-arch p {
  color: var(--text-muted);
}

.section-head-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head-center h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-head-center p {
  color: var(--text-muted);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #0b1120;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-pad {
  padding: 1.5rem;
}

.card-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.arch-card {
  margin-bottom: 2.5rem;
  padding: 1rem;
  background: #060a14;
  border: 1px solid var(--border);
  text-align: center;
}

.arch-img {
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: 0.375rem;
  display: block;
  margin: 0 auto;
}

.arch-caption {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.card-header {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-indicator {
  font-size: 0.75rem;
  color: var(--brand);
}

.tabs {
  display: flex;
  gap: 0.25rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

.tab-btn.active {
  background: #1e293b;
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

pre {
  padding: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  overflow-x: auto;
  color: #e2e8f0;
}

.code-output {
  color: var(--text-muted);
}

.c-dim { color: var(--text-dim); }
.c-token { color: var(--code-token); }
.c-key { color: #f1f5f9; }
.c-val { color: var(--brand-hover); }
.c-accent { color: var(--code-accent); }
.c-warn { color: var(--code-warn); }
.c-soft { color: #cbd5e1; }

.hidden {
  display: none;
}

.pricing-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: #0b1120;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.pro {
  border: 2px solid rgba(16, 185, 129, 0.5);
  position: relative;
}

.tier-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tier-label-pro {
  font-size: 0.75rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.price-val {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.price-strikethrough {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.deal-highlight {
  font-size: 0.75rem;
  color: var(--brand-hover);
}

.pill {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--brand);
  color: #020617;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

ul.check-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

ul.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-title {
  font-weight: 700;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

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

/* Mobile Navigation & Responsive Tweaks */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.375rem 0.625rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.mobile-tray {
  display: none;
  flex-direction: column;
  background: rgba(11, 17, 32, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.mobile-tray.open {
  display: flex;
}

.mobile-tray a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.mobile-tray a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .nav-signin {
    display: none;
  }
  .btn-sm-mobile {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* Multi-Column Footer */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

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

.footer-col ul a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
