/* ============================================
   InstantDatalab Landing Page
   Dark theme, mobile-first, no JS
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0B0F19;
  --bg-surface: #131825;
  --bg-surface-hover: #1A2035;
  --bg-card: #161C2E;
  --bg-card-border: #1E2642;
  --text-primary: #F0F2F5;
  --text-secondary: #8892A8;
  --text-muted: #5A6478;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --border: #1E2642;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --max-width: 1200px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 200;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
  left: 8px;
  color: #fff;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-links .github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hamburger (CSS-only) */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
}

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-checkbox:checked ~ .nav-mobile {
  display: flex;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px 24px;
  gap: 16px;
}

.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile a:hover {
  color: var(--text-primary);
}

/* --- Hero --- */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2px;
  overflow: hidden;
}

.hero-terminal {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

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

.terminal-dot:nth-child(1) { background: var(--accent-red); }
.terminal-dot:nth-child(2) { background: var(--accent-amber); }
.terminal-dot:nth-child(3) { background: var(--accent-green); }

.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}

.terminal-body .prompt {
  color: var(--accent-green);
}

.terminal-body .command {
  color: var(--text-primary);
}

.terminal-body .comment {
  color: var(--text-muted);
}

.terminal-body .output {
  color: var(--text-secondary);
}

.terminal-body .success {
  color: var(--accent-green);
}

/* --- Tech Stack Logos --- */
.tech-stack {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-stack-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.tech-stack-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.tech-logo:hover {
  opacity: 1;
}

.tech-logo svg, .tech-logo img {
  width: 36px;
  height: 36px;
}

.tech-logo span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Problem Statement --- */
.problem {
  background: var(--bg-surface);
}

.problem-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.problem-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
}

.problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
}

.problem-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-red);
}

.problem-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.problem-solution {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.problem-solution p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.problem-solution strong {
  color: var(--accent);
}

/* --- How It Works --- */
.how-it-works-steps {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  counter-increment: step;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-green);
}

/* --- Architecture Diagram --- */
.architecture {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.arch-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  min-width: 100px;
  text-align: center;
}

.arch-stage-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.arch-stage-label.bronze { color: #CD7F32; }
.arch-stage-label.silver { color: #C0C0C0; }
.arch-stage-label.gold { color: #FFD700; }
.arch-stage-label.bi { color: var(--accent); }

.arch-stage-tool {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.arch-arrow {
  color: var(--text-muted);
  font-size: 20px;
  flex-shrink: 0;
}

/* --- Value Props --- */
.value-props-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.value-card:hover {
  border-color: var(--text-muted);
}

.value-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}

.value-card-icon.cost {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.value-card-icon.freedom {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
}

.value-card-icon.speed {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.value-card-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.value-card .stat {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 16px;
}

.value-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Pricing --- */
.pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.pricing-card-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

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

.pricing-setup {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-setup s {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-breakdown {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.pricing-line {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-line:last-child {
  border-bottom: none;
}

.pricing-line--highlight {
  background: var(--accent-glow);
  margin: 0 -32px;
  padding: 14px 32px;
  border-bottom: none;
  border-radius: 0;
}

.pricing-line-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-line-label svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.pricing-line-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.pricing-line-detail {
  grid-column: 1;
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 24px;
}

.pricing-line-note {
  grid-column: 2;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

.pricing-includes {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.pricing-includes-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-includes ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.pricing-includes li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 600;
}

.pricing-cta {
  padding: 24px 32px 16px;
}

.pricing-compare {
  padding: 0 32px 24px;
  text-align: center;
}

.pricing-compare p {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-compare strong {
  color: var(--accent-green);
}

.pricing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-addon {
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pricing-addon h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-addon > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.addon-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.addon-service {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.addon-service svg {
  color: var(--accent);
  flex-shrink: 0;
}

.addon-pricing {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.addon-rate {
  flex: 1;
  text-align: center;
}

.addon-rate-amount {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.addon-rate-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.addon-rate-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.addon-rate-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.addon-compare {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-value-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pricing-value-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.pricing-value-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-value-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Tooltip (CSS-only) --- */
.tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  margin-left: 4px;
}

.tooltip-trigger svg {
  color: var(--text-muted);
  transition: color 0.2s;
}

.tooltip-trigger:hover svg,
.tooltip-trigger:focus svg {
  color: var(--accent);
}

.tooltip-content {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.tooltip-trigger:hover .tooltip-content,
.tooltip-trigger:focus .tooltip-content {
  display: block;
}

/* --- Features --- */
.features {
  background: var(--bg-surface);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

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

.feature-text {
  flex: 1;
}

.feature-text .feature-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-text ul {
  list-style: none;
  margin-top: 16px;
}

.feature-text ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.feature-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-visual {
  flex: 1;
}

.feature-code-block {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  overflow: hidden;
}

.feature-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.feature-code-body {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-secondary);
}

.feature-code-body .keyword { color: #C678DD; }
.feature-code-body .string { color: #98C379; }
.feature-code-body .function { color: #61AFEF; }
.feature-code-body .param { color: #E5C07B; }
.feature-code-body .comment { color: var(--text-muted); }

/* --- Feature Mockups --- */
.mockup-body {
  padding: 20px;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.mockup-list--pipeline { gap: 16px; }
.mockup-list--quality { gap: 14px; }

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-row--spread {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-dot {
  color: var(--accent-green);
  font-size: 16px;
  flex-shrink: 0;
}

.mockup-name {
  flex: 1;
  color: var(--text-primary);
}

.mockup-time {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.mockup-count {
  color: var(--accent-green);
  font-size: 12px;
}

.mockup-badge {
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 500;
}

.mockup-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
}

.mockup-total {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  text-align: center;
}

.mockup-total-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-green);
}

.mockup-total-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Dashboard Mockup --- */
.mockup-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-kpi {
  padding: 14px;
  background: var(--bg-surface);
  border-radius: 8px;
  text-align: center;
}

.mockup-kpi-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.mockup-kpi-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mockup-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.mockup-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(59, 130, 246, 0.4) 100%);
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}

.mockup-chart-labels {
  display: flex;
  gap: 6px;
}

.mockup-chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

/* --- Comparison --- */
.comparison-table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}

.comparison-table thead {
  background: var(--bg-surface);
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table th:first-child {
  color: var(--text-muted);
}

.comparison-table th.highlight {
  color: var(--accent);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

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

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.comparison-table .highlight-col {
  background: rgba(59, 130, 246, 0.05);
}

.comparison-table .check {
  color: var(--accent-green);
}

.comparison-table .cross {
  color: var(--accent-red);
}

.comparison-table .partial {
  color: var(--accent-amber);
}

/* --- Open Source --- */
.open-source-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.oss-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.oss-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.oss-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.oss-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.oss-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.oss-badge svg {
  width: 14px;
  height: 14px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
  text-align: center;
  padding: 100px 0;
}

.cta-section .section-title {
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-section .section-subtitle {
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.cta-form input {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.cta-form .btn {
  justify-content: center;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

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

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

/* --- Metrics Strip --- */
.metrics-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.metric-divider {
  display: none;
}

/* --- Persona Cards --- */
.persona-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

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

.persona-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-glow);
  margin-bottom: 16px;
  color: var(--accent);
}

.persona-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.persona-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Hero Screenshot --- */
.hero-screenshot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-screenshot {
  border-radius: 10px;
  border-color: var(--bg-card-border);
}

.feature-screenshot img {
  border-radius: 0;
}

/* --- Language Switcher --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a,
.lang-switch span {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-switch .active {
  background: var(--accent-glow);
  color: var(--accent);
}

.lang-switch a:hover {
  color: var(--text-primary);
}

/* ============================================
   Responsive — Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .metrics-grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .metric {
    flex: 1;
  }

  .metric-divider {
    display: block;
    width: 1px;
    height: 48px;
    background: var(--border);
  }

  .pricing-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .pricing-card {
    flex: 3;
  }

  .pricing-sidebar {
    flex: 2;
  }

  .pricing-includes ul {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .how-it-works-steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .value-props-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .feature-row {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .feature-row.reverse {
    flex-direction: row-reverse;
  }

  .open-source-content {
    flex-direction: row;
  }

  .oss-card {
    flex: 1;
  }

  .cta-form {
    flex-direction: row;
  }

  .cta-form input {
    flex: 1;
  }

  .cta-form .btn {
    white-space: nowrap;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   Responsive — Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .nav-toggle-checkbox,
  .nav-mobile {
    display: none !important;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
    max-width: 520px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-title {
    font-size: 44px;
  }
}

/* ============================================
   Responsive — Wide (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}
