/* ── TokenEnrich.com: $1M Swiss-Grade Developer Infrastructure Design System ── */
:root {
  /* Surfaces & Canvas */
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-surface: #f3f4f6;
  --bg-card: #ffffff;
  --bg-code: #0b0f17;         /* Deep slate IDE canvas */
  --bg-code-header: #070a10;
  
  /* Precision Hairline Borders */
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --border-focus: #111827;
  
  /* High-Caliber Typography */
  --text: #111827;            /* Deep Graphite */
  --text-secondary: #374151;  /* Slate text */
  --text-muted: #6b7280;      /* Muted slate */
  --text-dim: #9ca3af;        /* Dim text */
  
  /* Accents */
  --primary: #111827;
  --primary-hover: #000000;
  --accent: #2563eb;          /* Enterprise Blue */
  --accent-light: #eff6ff;
  --accent-glow: rgba(37, 99, 235, 0.12);
  
  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);

  /* Geometry & Elevation */
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.08), 0 4px 16px -2px rgba(0, 0, 0, 0.03);
  --shadow-window: 0 25px 60px -15px rgba(11, 15, 23, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Geist Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  background-color: var(--bg);
}

#arena,
#pricing,
#crewai,
#mcp,
#clay {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.12;
}

.mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(180deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
}

/* ── Navigation Bar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-title {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.brand-name {
  font-weight: 700;
  color: #09090b;
}

.brand-tld {
  font-weight: 500;
  color: #64748b;             /* Refined subtle slate */
  font-size: 16.5px;
}

.logo-badge {
  width: 28px;
  height: 28px;
  background: #09090b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

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

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #000000;
}

/* ── Buttons (Ultra High-Contrast & Legibility) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: #09090b !important;
  color: #ffffff !important;
  border: 1px solid #09090b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

.btn-primary:hover {
  background: #27272a !important;
  border-color: #27272a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: #111827;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #9ca3af;
  color: #000000;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 26px;
  font-size: 14.5px;
}

/* ── Hero Section (Commanding 47px 2-Line Optical Scale) ── */
.hero {
  padding: 44px 0 24px;
  text-align: center;
  position: relative;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.038em;
  color: var(--text);
  max-width: 1200px;
  margin: 0 auto 18px;
  text-wrap: balance;
}

.hero h1.hero-compact {
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 1100px;
}

.hero-line {
  display: block;
  text-wrap: balance;
}

.hero-line-gradient {
  color: var(--accent);
  display: block;
  text-wrap: balance;
}

@media (max-width: 820px) {
  .hero-line, .hero-line-gradient {
    white-space: normal;
  }
}

.hero-lead, .hero p.lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 28px;
  text-wrap: balance;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-cta .btn {
  padding: 11px 24px;
  font-size: 14px;
  height: 44px;
}

.sample-domains, .pill-presets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.preset-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.preset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── $1M Mac Terminal Live Arena ── */
.arena-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  margin: 24px auto 56px;
  width: 100%;
  text-align: left;
}

.arena-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.arena-input {
  flex: 1;
  padding: 13px 20px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.arena-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.arena-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Terminal Panels */
.arena-panel {
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 480px;
  box-shadow: var(--shadow-window);
}

.arena-panel-red {
  background: #111319;
}

.arena-panel-green {
  background: #090d16;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--bg-code-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9ca3af;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
}

.panel-stats {
  display: flex;
  gap: 20px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Sleek Custom Scrollbars for Code Blocks (No Ugly Grey Windows Bars) ── */
.panel-code,
.code-block,
pre {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.panel-code::-webkit-scrollbar,
.code-block::-webkit-scrollbar,
pre::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.panel-code::-webkit-scrollbar-track,
.code-block::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
  background: transparent;
}

.panel-code::-webkit-scrollbar-thumb,
.code-block::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
}

.panel-code::-webkit-scrollbar-thumb:hover,
.code-block::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.panel-code::-webkit-scrollbar-corner,
.code-block::-webkit-scrollbar-corner,
pre::-webkit-scrollbar-corner {
  background: transparent;
}

.panel-code {
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #cbd5e1;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 380px;
  flex: 1;
}

.savings-banner {
  margin-top: 20px;
  padding: 14px 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text);
}

/* ── Unified Global Section Header Scale ($1M Linear / Stripe Standard) ── */
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 3.6vw, 44px) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  text-wrap: balance;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* ── Split Interactive Developer Workspace ($1M Stripe Standard) ── */
.dev-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: stretch;
}

.dev-workspace-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dev-workspace-left h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  line-height: 1.15;
  text-wrap: balance;
}

.dev-workspace-left p.lead {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ── Documentation Center ($1M Stripe / Linear Split Layout) ── */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.docs-sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-left: 10px;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}

.doc-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.docs-nav-link:hover {
  color: var(--text);
  background: var(--bg-surface);
}

.docs-nav-link.active {
  color: var(--accent);
  background: #eff6ff;
  font-weight: 600;
}

.docs-nav-link.active .doc-tag {
  background: #dbeafe;
  color: var(--accent);
  border-color: #bfdbfe;
}

.docs-content section {
  scroll-margin-top: 100px;
  margin-bottom: 64px;
}

.docs-endpoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 16px;
  width: 100%;
}

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    display: none;
  }
}

.dev-feature-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dev-feature-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.dev-feature-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.dev-feature-btn.active {
  border-color: #09090b;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dev-feature-btn .btn-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.dev-feature-btn .btn-desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.dev-feature-btn .btn-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.dev-feature-btn.active .btn-badge {
  background: #09090b;
  color: #ffffff;
}

/* Right IDE Window (Top & Bottom Perfectly Stretched to Line Up) */
.dev-ide-window {
  background: var(--bg-code);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dev-ide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-code-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.dev-ide-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94a3b8;
}

.dev-ide-body {
  padding: 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--bg-code);
}

.dev-ide-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
}

/* ── Native Protocols Section ($1M Integration Cards) ── */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.proto-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.proto-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

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

.proto-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.proto-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.proto-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.proto-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.proto-card a.proto-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
  margin-top: auto;
}

.proto-card a.proto-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 1024px) {
  .proto-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing Section ($1M Executive Padding & Breathing Space) ── */
.pricing-section {
  padding: 104px 0 112px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.pricing-header h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.pricing-header p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  text-wrap: balance;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: #09090b;
  box-shadow: 0 0 0 1.5px #09090b, var(--shadow-lg);
  background: #ffffff;
}

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

.plan-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.plan-price span.period {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-quota {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.check-icon {
  width: 14px;
  height: 14px;
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  padding: 10px 0;
  margin-top: auto;
}

/* ── Split FAQ Section ($1M Linear / Stripe Layout) ── */
.faq-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 100px;
}

.faq-left h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Dashboard KPI Grid & Interactive Workbench ── */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dash-kpi-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.dash-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.dash-kpi-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard Tab Switcher */
.dash-tab-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dash-tab-btn:hover {
  color: var(--text);
  background: var(--bg-surface);
}

.dash-tab-btn.active {
  color: var(--accent);
  background: #eff6ff;
  border-color: #bfdbfe;
}

/* ── Dashboard Mode Switcher & Upgrade Banner ── */
.mode-toggle-group {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 2px;
}

.mode-toggle-btn {
  padding: 3px 9px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 3px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-toggle-btn.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dash-upgrade-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}

.dash-upgrade-banner .banner-text {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}

.dash-upgrade-banner .banner-text strong {
  color: var(--text);
  font-weight: 700;
}

.dash-upgrade-banner .banner-text .highlight-tier {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .dash-upgrade-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Console Top Cards Grid ── */
.console-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .console-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Unified Dark macOS Studio IDE Window ($1M Standard) ── */
.console-studio-ide {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.studio-ide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.studio-tab-bar {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-tab-btn {
  padding: 4px 11px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 3px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.studio-tab-btn:hover:not(.active) {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
}

/* Split Studio Grid (Request Controls Left, Response Inspector Right) */
.studio-split-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: stretch;
  min-height: 380px;
}

.studio-split-left {
  padding: 22px 24px;
  background: #0b111e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

.studio-split-right {
  padding: 22px 24px;
  background: #090d16;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.studio-code-body {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: #cbd5e1;
}

/* Custom Sleek Scrollbars (Zero Ugly White Scrollbars) */
.studio-code-body::-webkit-scrollbar,
.console-code-viewport::-webkit-scrollbar,
pre::-webkit-scrollbar,
#console-output-pre::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.studio-code-body::-webkit-scrollbar-track,
.console-code-viewport::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track,
#console-output-pre::-webkit-scrollbar-track {
  background: transparent;
}

.studio-code-body::-webkit-scrollbar-thumb,
.console-code-viewport::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb,
#console-output-pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.studio-code-body::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover,
#console-output-pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
  .studio-split-grid {
    grid-template-columns: 1fr;
  }
  .studio-split-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ── Rich Domain Telemetry Table (100% Full-Width Proportional) ── */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: auto;
}

.dash-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.dash-table td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-tech-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  font-family: var(--font-mono);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  margin-right: 4px;
  margin-bottom: 3px;
  font-weight: 500;
}

.telemetry-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.telemetry-row:hover {
  background: #f8fafc;
}

@media (max-width: 900px) {
  .console-top-grid {
    grid-template-columns: 1fr;
  }
}

.console-ide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.console-ide-box {
  background: var(--bg-code);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 440px;
}

.console-ide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-code-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.console-ide-body {
  padding: 16px 18px;
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e1;
}

@media (max-width: 1024px) {
  .console-mastercard {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .console-ide-grid {
    grid-template-columns: 1fr;
  }
}

.console-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.console-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-telemetry-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .console-grid {
    grid-template-columns: 1fr;
  }
}

.dash-upgrade-banner .banner-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.dash-upgrade-banner .banner-text strong {
  color: var(--accent);
}

.dash-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

.dash-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .dash-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dash-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.faq-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.faq-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.faq-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.faq-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-card code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}

@media (max-width: 1024px) {
  .faq-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-left {
    position: static;
  }
}

/* ── Final Bottom CTA Section ($1M High-Conversion Box) ── */
.final-cta-section {
  padding: 80px 0 96px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.final-cta-box {
  background: #09090b;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.final-cta-box h2 {
  color: #ffffff;
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.final-cta-box p {
  color: #94a3b8;
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.final-cta-box .btn-primary {
  background: #ffffff !important;
  color: #09090b !important;
  border-color: #ffffff !important;
}

.final-cta-box .btn-primary:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.final-cta-box .btn-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.final-cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ── Dashboard Full-Width ── */
.dash-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.key-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 12px 0 8px;
}

.progress-bar-fill {
  height: 100%;
  background: #111827;
  border-radius: var(--radius-pill);
}

/* ── Footer ── */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 54px 0 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .brand-col {
    grid-column: span 3;
    max-width: 500px;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .brand-col {
    grid-column: span 1;
  }
}

.footer-col h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-family: var(--font-mono);
}

/* ── Comprehensive Mobile & Phone Responsiveness ($1M Mobile Standard) ── */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .dev-workspace-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .proto-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .arena-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav-telemetry {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 0 16px;
  }
  .hero h1 {
    font-size: 32px !important;
    line-height: 1.18;
  }
  .hero-lead, .hero p.lead {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .arena-card {
    padding: 16px 14px;
    margin: 16px auto 36px;
  }
  .arena-input-row {
    flex-direction: column;
    gap: 8px;
  }
  .arena-input-row .btn {
    width: 100%;
    height: 42px;
  }
  .arena-panel {
    height: 380px;
  }
  .panel-stats {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
  }
  .savings-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .savings-banner .btn {
    width: 100%;
  }
  .final-cta-section {
    padding: 56px 0;
  }
  .final-cta-box {
    padding: 40px 20px;
    border-radius: var(--radius);
  }
  .final-cta-box h2 {
    font-size: 26px;
  }
  .final-cta-box p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

