/* ===================== TABVORO INSTITUTIONAL DESIGN SYSTEM ===================== */
:root {
  color-scheme: dark;
  --bg-app: #070b14;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(15, 23, 42, 0.95);
  --bg-raised: #1e293b;
  --border: rgba(56, 189, 248, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);
  --primary: #0284c7;
  --primary-hover: #0ea5e9;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;
  --text-heading: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --success: #4ade80;
  --radius-card: 16px;
  --radius-control: 10px;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

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

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

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 550px;
  background: radial-gradient(ellipse at 50% -20%, rgba(56, 189, 248, 0.12) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 11, 20, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-logo-mark {
  flex: none;
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.4));
}

.brand-wordmark {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: #fff;
}

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

/* Institutional Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-control);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--border-subtle);
  color: var(--text-heading);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 12px 26px;
  font-size: 15px;
  border-radius: 12px;
}

/* Page Layout */
.site-main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 90px 24px;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Institutional Hierarchy (H1 / H2 Header Blocks) */
.section-header {
  margin-bottom: 48px;
  text-align: left;
}

.section-header.centered {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.header-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 16px;
}

h1.page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  line-height: 1.18;
  margin-bottom: 12px;
}

h2.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  line-height: 1.24;
  margin-bottom: 10px;
}

p.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 44px;
}

/* Verification Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px 28px;
  max-width: 960px;
  margin: 0 auto 60px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.metric-icon {
  color: var(--accent);
  flex: none;
}

.metric-text {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

/* Software Interface Simulation Card */
.software-preview-card {
  background: #0b1120;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(2, 132, 199, 0.2);
  overflow: hidden;
  max-width: 1140px;
  margin: 0 auto;
}

.preview-titlebar {
  height: 38px;
  background: #070b14;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}

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

.traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.traffic-dot.red { background: #ef4444; }
.traffic-dot.yellow { background: #f59e0b; }
.traffic-dot.green { background: #10b981; }

.preview-title-text {
  font-size: 11.5px;
  color: var(--text-faint);
  font-weight: 500;
}

.preview-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}

.preview-sidebar {
  background: #070b14;
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.preview-sidebar-item.active {
  background: rgba(2, 132, 199, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.preview-main {
  padding: 20px 24px;
  background: #0b1120;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.preview-search-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-heading);
  font-size: 12px;
  width: 240px;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.preview-table th {
  text-align: left;
  padding: 8px 12px;
  color: var(--text-faint);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-body);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge.running {
  color: var(--success);
}

.status-badge.stopped {
  color: var(--text-faint);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.preview-action-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-heading);
  cursor: pointer;
}
.preview-action-btn.start {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-card-spec {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-faint);
}

/* Architecture Specs Banner */
.specs-banner {
  background: linear-gradient(145deg, #0b1120 0%, #070b14 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-cell-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.spec-cell-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
}

.spec-cell-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-tabs {
  background: #0b1120;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 4px;
  display: flex;
}

.pricing-tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.pricing-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: rgba(11, 17, 32, 0.95);
  border-color: var(--accent);
  box-shadow: 0 12px 40px -10px rgba(2, 132, 199, 0.25);
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
}

.pricing-price-wrap {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.pricing-feature-item svg {
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.2s ease;
  color: var(--text-faint);
}

/* Institutional Auth Card (Web Portal) */
.auth-page-container {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 30px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.75), 0 0 60px -15px rgba(2, 132, 199, 0.2);
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-header .brand-logo-mark {
  margin-bottom: 12px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.form-input-wrap {
  position: relative;
  width: 100%;
}

.form-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
  display: flex;
}

.form-input {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-heading);
  padding: 0 14px 0 40px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.15s;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-remember input {
  accent-color: var(--primary);
}

.auth-link {
  color: var(--accent);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0 14px;
  color: var(--text-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span { padding: 0 12px; }

.auth-social-row {
  display: flex;
  gap: 12px;
}

.auth-social-btn {
  flex: 1;
  height: 40px;
  border-radius: var(--radius-control);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.auth-social-btn:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: var(--border-hover);
  color: var(--text-heading);
  transform: translateY(-1px);
}

/* Institutional Policy Document Layout */
.legal-document {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section p,
.legal-section ul {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 6px;
}

/* Site Footer */
footer.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 36px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 4px 10px;
  border-radius: 9999px;
  width: fit-content;
  margin-top: 4px;
}

.system-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* Responsive */
@media (max-width: 980px) {
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .specs-banner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  h1.page-title { font-size: 32px; }
  h2.section-title { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .specs-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  nav.main-nav { display: none; }
}


/* Feature Deep-Dive Layout */
.features-deep-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-deep-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  transition: all 0.2s ease;
}

.feature-deep-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.feature-deep-card.reversed {
  grid-template-columns: 1fr 1.2fr;
}

.feature-deep-card.reversed .feature-deep-info {
  order: 2;
}

.feature-deep-card.reversed .feature-deep-graphic {
  order: 1;
}

.feature-deep-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-deep-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-deep-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.feature-deep-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-deep-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.feature-deep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.feature-deep-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-deep-graphic {
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-control);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.feature-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-faint);
}

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

.feature-code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.feature-code-dots span:nth-child(1) { background: #ef4444; }
.feature-code-dots span:nth-child(2) { background: #f59e0b; }
.feature-code-dots span:nth-child(3) { background: #10b981; }

.feature-code-body pre {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}

.feature-code-body .tok-k { color: #f43f5e; font-weight: 600; }
.feature-code-body .tok-s { color: #38bdf8; }
.feature-code-body .tok-f { color: #818cf8; }
.feature-code-body .tok-c { color: #64748b; font-style: italic; }
.feature-code-body .tok-v { color: #4ade80; }

/* Pricing Comparison Table Matrix */
.matrix-container {
  max-width: 1100px;
  margin: 60px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.matrix-header {
  padding: 32px 36px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.matrix-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.matrix-table th,
.matrix-table td {
  padding: 16px 24px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table th {
  background: rgba(15, 23, 42, 0.4);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 13px;
}

.matrix-table th:first-child,
.matrix-table td:first-child {
  padding-left: 36px;
  width: 40%;
}

.matrix-table th:not(:first-child),
.matrix-table td:not(:first-child) {
  text-align: center;
  width: 20%;
}

.matrix-category-row td {
  background: rgba(15, 23, 42, 0.7);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  padding: 14px 36px;
  border-top: 1px solid var(--border-subtle);
}

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

.matrix-table tr:hover td:not(.matrix-cat-td) {
  background: rgba(56, 189, 248, 0.03);
}

.matrix-check {
  color: var(--success);
  display: inline-flex;
}

.matrix-cross {
  color: var(--text-faint);
  display: inline-flex;
}

@media (max-width: 980px) {
  .feature-deep-card,
  .feature-deep-card.reversed {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-deep-card.reversed .feature-deep-info { order: 1; }
  .feature-deep-card.reversed .feature-deep-graphic { order: 2; }
  .matrix-container { overflow-x: auto; }
}
