/* CadMeta — Marketing site (dark theme) */

:root {
  --bg-base: #0F172A;
  --bg-surface: #1E293B;
  --bg-elevated: #334155;
  --bg-header: #1E293B;

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  --brand-steel: #1B4F72;
  --brand-steel-light: #2471a3;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --accent-muted: rgba(6, 182, 212, 0.12);

  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(6, 182, 212, 0.25);

  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1140px;
  --header-height: 96px;
  --logo-height: 64px;
  --logo-footer-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

code {
  font-family: "IBM Plex Mono", Consolas, Monaco, monospace;
  font-size: 0.875em;
  background: rgba(15, 23, 42, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img,
.logo-link svg {
  height: var(--logo-height);
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a:not(.btn) {
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.08);
}

.main-nav a:not(.btn).active {
  box-shadow: inset 0 -2px 0 var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.nav-cta {
  margin-left: 8px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg-base);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.08);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Hero */
.hero {
  padding: 80px 0 96px;
  background: var(--bg-base);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Hero product mockup */
.hero-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}

.mockup-panel {
  padding: 16px;
  border-right: 1px solid var(--border);
}

.mockup-panel:last-child {
  border-right: none;
}

.mockup-panel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mockup-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mockup-ribbon-btn {
  font-size: 0.6875rem;
  padding: 6px 10px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.mockup-ribbon-btn.active {
  background: var(--accent-muted);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent);
}

.mockup-table {
  width: 100%;
  font-size: 0.6875rem;
  font-family: "IBM Plex Mono", monospace;
  border-collapse: collapse;
}

.mockup-table th,
.mockup-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.mockup-table th {
  color: var(--accent);
  font-weight: 600;
}

.mockup-table td {
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0;
}

.section-alt {
  background: var(--bg-surface);
}

/* Icons */
.icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.section-alt .feature-card {
  background: var(--bg-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(6, 182, 212, 0.3);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Module roadmap */
.modules-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.module-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.section-alt .module-pill {
  background: var(--bg-elevated);
}

.module-pill.active {
  border-color: rgba(6, 182, 212, 0.4);
  background: var(--accent-muted);
  color: var(--text-primary);
}

.module-pill .status {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
}

.module-pill.active .status {
  background: var(--accent);
  color: var(--bg-base);
}

.module-pill.planned .status {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

/* Case study */
.case-study {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.case-study-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-study h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.case-study p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.case-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.case-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.75rem;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 1.0625rem;
}

/* Page hero */
.page-hero {
  padding: 56px 0 48px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-hero-logo {
  height: 72px;
  width: auto;
  flex-shrink: 0;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.module-tagline {
  font-size: 1.125rem;
  color: var(--accent);
  margin: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.content-main h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 40px 0 16px;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main p,
.content-main li {
  color: var(--text-muted);
}

.content-main ul,
.content-main ol {
  padding-left: 1.25rem;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 20px 20px 20px 64px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.command-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 20px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.command-table th,
.command-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.command-table th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text-primary);
}

.command-table tr:last-child td {
  border-bottom: none;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.req-list li:last-child {
  border-bottom: none;
}

.req-list strong {
  display: block;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.screenshot-placeholder,
.mockup-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 24px 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-base);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-card {
  position: relative;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1;
}

.pricing-amount .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* FAQ */
.faq-list,
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item,
.faq-accordion details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.faq-accordion details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-accordion summary {
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-accordion details[open] summary::after {
  content: "−";
}

.faq-accordion .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Docs */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.doc-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(6, 182, 212, 0.3);
}

.doc-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.doc-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.doc-card .coming-soon {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Download / Account forms */
.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  max-width: 480px;
}

.form-bullets li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.form-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.account-preview {
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

.account-preview h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.seat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.seat-row:last-child {
  border-bottom: none;
}

.badge-muted {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.badge-active {
  background: var(--accent-muted);
  color: var(--accent);
}

.badge-warning {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.badge-danger {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

.admin-login-card {
  margin-top: 48px;
  max-width: 480px;
}

.admin-login-card h2 {
  font-size: 1.125rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.admin-login-card .form-note {
  margin-top: 0;
  margin-bottom: 20px;
}

.form-error {
  font-size: 0.8125rem;
  color: #f87171;
  margin-top: 12px;
}

.form-success {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--accent-muted);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.form-success code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
}

.admin-login-success {
  text-align: center;
}

.admin-dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.admin-dashboard-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.admin-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.admin-panel h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.admin-panel-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td code {
  font-size: 0.8125rem;
}

.data-table tbody tr:hover td {
  background: rgba(148, 163, 184, 0.04);
}

.prototype-note {
  background: var(--accent-muted);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.prototype-note strong {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand svg,
.footer-brand img {
  height: var(--logo-footer-height);
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  margin: 0;
  max-width: 280px;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
}

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .mockup-panel:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.btn) {
    width: 100%;
  }

  .main-nav .nav-cta {
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid,
  .docs-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
