/* AICraft Injection Process API — Industrial Precision SaaS Design System */
:root {
  --bg-navy: #080f1e;
  --bg-navy-elev: #0f1a2e;
  --bg-navy-card: #132038;
  --border-navy: rgba(148, 163, 184, 0.18);
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --text-on-dark: #f1f5f9;
  --text-muted-dark: #94a3b8;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-glow: rgba(37, 99, 235, 0.35);
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #ef4444;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 48px -12px rgba(8, 15, 30, 0.28);
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 15px/1.65 var(--font-sans);
  color: var(--text-main);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Executive Topbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 15, 30, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-link:hover {
  color: #fff;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  white-space: nowrap;
}

.main-nav a {
  color: var(--text-muted-dark);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.16s ease;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(37, 99, 235, 0.28));
  border: 1px solid rgba(56, 189, 248, 0.45);
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-studio-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(37, 99, 235, 0.42));
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.studio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  flex-shrink: 0;
}

.lang-menu {
  position: relative;
}

.lang-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-navy);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.16s ease;
}

.lang-trigger::-webkit-details-marker {
  display: none;
}

.lang-trigger:hover,
.lang-menu[open] .lang-trigger {
  color: #fff;
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.09);
}

.lang-caret {
  transition: transform 0.16s ease;
  opacity: 0.75;
}

.lang-menu[open] .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 124px;
  padding: 6px;
  border-radius: 10px;
  background: #0f1a2e;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}

.lang-item {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--text-muted-dark);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.lang-item.active {
  color: #38bdf8;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
}

.lang-bar {
  font-size: 12px;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-navy);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.lang-bar a {
  color: var(--text-muted-dark);
}

.lang-bar a:hover {
  color: #fff;
}

.lang-bar b {
  color: #38bdf8;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.48);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
}

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

.btn-outline {
  background: #fff;
  color: var(--text-main);
  border-color: var(--border-light);
}

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

/* Hero Section (Deep Industrial Navy) */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.22), transparent 45%),
    radial-gradient(circle at 82% 65%, rgba(6, 182, 212, 0.16), transparent 45%),
    linear-gradient(180deg, #080f1e 0%, #0d182d 100%);
  color: var(--text-on-dark);
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--border-navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #ffffff;
}

.hero-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 26px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-trust-note {
  font-size: 12.5px;
  color: var(--text-muted-dark);
  margin-bottom: 28px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-navy);
}

.kpi-item {
  display: flex;
  flex-direction: column;
}

.kpi-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

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

/* Right Hero Console: Interactive SVG Barrel & Screw Kinematics */
.physics-console {
  background: rgba(15, 26, 46, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.console-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: #94a3b8;
}

.console-dots {
  display: inline-flex;
  gap: 5px;
}

.console-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.preset-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 11.5px;
  font-family: var(--font-mono);
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-pill.active, .preset-pill:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: #3b82f6;
  color: #fff;
}

.svg-stage {
  background: #070d19;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 14px 12px 10px;
  margin-bottom: 14px;
}

.machine-svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-smooth {
  transition: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.console-readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.readout-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 9px;
  padding: 9px 11px;
}

.readout-key {
  font-size: 11px;
  color: #94a3b8;
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
}

.readout-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 2px;
}

.readout-val.highlight-cyan {
  color: #38bdf8;
}

.readout-val.highlight-amber {
  color: #fbbf24;
}

/* Compatible Agent Platform Strip */
.platform-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.platform-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.platform-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.plat-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* Generic Section Styles */
.section {
  padding: 76px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-slate {
  background: var(--bg-light);
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.09);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text-main);
}

.section-head p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
}

/* Section: 3-Step Animated Closed-Loop Workflow */
.workflow-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.step-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.22s ease;
  overflow: hidden;
}

.step-card:hover {
  border-color: #93c5fd;
}

.step-card.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.step-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent-cyan));
}

.step-card.active .step-progress {
  animation: stepFill 5s linear forwards;
}

@keyframes stepFill {
  from { width: 0%; }
  to { width: 100%; }
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

.step-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--text-muted);
}

.workflow-stage {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-navy);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.stage-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.code-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  background: #050a14;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 12px 0 0;
  white-space: pre;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.diff-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 9px;
  padding: 10px 12px;
}

.diff-item .dk {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
}

.diff-item .dv {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 3px;
}

.delta-up {
  color: #34d399;
  font-size: 12px;
  margin-left: 6px;
}

.delta-down {
  color: #fbbf24;
  font-size: 12px;
  margin-left: 6px;
}

.thinking-banner {
  margin-top: 14px;
  padding: 11px 14px;
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid var(--accent-emerald);
  border-radius: 6px;
  font-size: 13px;
  color: #d1fae5;
}

/* Section: Two-Tier Interactive Trial Sandbox */
.sandbox-shell {
  background: var(--bg-navy);
  color: var(--text-on-dark);
  border-radius: 20px;
  border: 1px solid var(--border-navy);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sandbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-navy);
  flex-wrap: wrap;
}

.sandbox-tabs {
  display: inline-flex;
  background: #050a14;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-navy);
}

.sb-tab {
  background: transparent;
  color: #94a3b8;
  border: 0;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.sb-tab.active {
  background: var(--brand);
  color: #fff;
}

.trial-quota-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
}

.sandbox-body {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: 470px;
}

.sandbox-controls {
  padding: 24px;
  border-right: 1px solid var(--border-navy);
  background: rgba(15, 26, 46, 0.55);
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-btn {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.case-btn:hover {
  border-color: #60a5fa;
}

.case-btn.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: #3b82f6;
}

.case-btn strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 3px;
}

.case-btn span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
}

.live-form {
  display: none;
  flex-direction: column;
  gap: 13px;
}

.live-form.active {
  display: flex;
}

.field-group label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.field-group label code {
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
  font-size: 11px;
}

.sb-input, .sb-select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #070d19;
  color: #fff;
  font-size: 13.5px;
  font-family: var(--font-mono);
}

.sb-input:focus, .sb-select:focus {
  outline: none;
  border-color: #3b82f6;
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sandbox-output {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sb-context-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #38bdf8;
}

.sb-count-tag {
  font-size: 12px;
  color: #94a3b8;
}

.unlocked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.param-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
}

.param-card.is-stroke {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.08);
}

.pk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #94a3b8;
}

.pk-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #cbd5e1;
}

.pv-row {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.pv-unit {
  font-size: 11.5px;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 3px;
}

.sb-reasoning {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #dbeafe;
}

.sb-reasoning strong {
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 12px;
  display: block;
  margin-bottom: 4px;
}

/* Frosted-Glass Teaser Lock Box */
.locked-zone {
  position: relative;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
  background: rgba(5, 10, 20, 0.55);
}

.locked-blur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  filter: blur(4.5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.55;
}

.locked-dummy {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.35) 0%, rgba(8, 15, 30, 0.86) 100%);
}

.locked-overlay p {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
}

.locked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sb-error {
  display: none;
  padding: 11px 14px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  font-size: 13px;
}

/* Section: Why Engineers Trust AICraft (4 Feature Cards) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Section: 1-Minute Agent Integration Tabs */
.integ-box {
  background: var(--bg-navy);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-navy);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.integ-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #050a14;
  border-bottom: 1px solid var(--border-navy);
  flex-wrap: wrap;
  gap: 10px;
}

.integ-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.integ-tab {
  background: transparent;
  color: #94a3b8;
  border: 1px solid transparent;
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.integ-tab.active {
  background: rgba(37, 99, 235, 0.22);
  color: #fff;
  border-color: rgba(59, 130, 246, 0.5);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.integ-pane {
  display: none;
  padding: 20px 24px;
  color: #cbd5e1;
}

.integ-pane.active {
  display: block;
}

.integ-pane p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #94a3b8;
}

/* Section: Dual-Tier Free Trial + Executive Pricing Cards */
.pricing-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.pricing-tier-card {
  background: linear-gradient(145deg, #0b1426 0%, #111f38 100%);
  color: var(--text-on-dark);
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.trial-tier-card {
  border-color: rgba(16, 185, 129, 0.42);
  background:
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.14), transparent 48%),
    linear-gradient(145deg, #091722 0%, #0f2136 100%);
}

.badge-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.34);
}

.price-sub-emerald {
  color: #6ee7b7 !important;
}

.pricing-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(145deg, #0b1426 0%, #111f38 100%);
  color: var(--text-on-dark);
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.price-tag {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 6px 0 8px;
}

.price-sub {
  color: #93c5fd;
  font-size: 14px;
  margin: 0 0 20px;
}

.perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.perk-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.perk-check {
  color: var(--accent-emerald);
  font-weight: 800;
}

.checkout-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 24px;
}

.checkout-panel label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.checkout-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #060c18;
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 12px;
}

.checkout-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.checkout-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
}

#msg,
#trial-msg {
  margin-top: 10px;
  font-size: 13px;
  color: #fca5a5;
  min-height: 18px;
}

#msg.is-info,
#trial-msg.is-info {
  color: #93c5fd;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.trial-result-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.trial-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 8px;
}

.trial-quota-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #a7f3d0;
  white-space: nowrap;
}

.trial-key-vault {
  margin: 8px 0 10px !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
  border-color: rgba(52, 211, 153, 0.42) !important;
  color: #6ee7b7 !important;
}

.trial-next-note a {
  color: #7dd3fc;
  text-decoration: underline;
}

.checkout-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.55;
}

.checkout-note code {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

/* Inner Pages (/content, /success, /legal/*) */
.page-banner {
  background: linear-gradient(180deg, #080f1e 0%, #101d35 100%);
  color: #fff;
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--border-navy);
}

.page-banner h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.page-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
  max-width: 720px;
}

.doc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.doc-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-main);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.defect-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0;
}

.defect-row {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  margin: 0 !important;
}

.defect-row b {
  color: var(--text-main);
}

.faq-dl dt {
  font-weight: 700;
  color: var(--text-main);
  margin-top: 18px;
  font-size: 15.5px;
}

.faq-dl dd {
  margin: 6px 0 0;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.key-vault {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  background: #080f1e;
  color: #38bdf8;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  word-break: break-all;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.governing {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 24px;
  font-style: italic;
}

/* Footer */
.site-footer {
  background: #080f1e;
  color: #94a3b8;
  border-top: 1px solid var(--border-navy);
  padding: 36px 0;
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
}

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

/* Product Tour Video & Shop-Floor ROI Showcase */
.btn-video-trigger svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.video-tour-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 28px;
  align-items: stretch;
}

.video-cinema-card {
  background: var(--bg-navy);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070d19;
  overflow: hidden;
}

.video-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #070d19;
  cursor: pointer;
  overflow: hidden;
}

.video-poster-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.video-poster-btn:hover img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.video-poster-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 15, 30, 0.18) 0%, rgba(8, 15, 30, 0.58) 100%);
  pointer-events: none;
}

.video-play-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.62), 0 0 0 8px rgba(56, 189, 248, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.video-play-orb svg {
  margin-left: 3px;
}

.video-poster-btn:hover .video-play-orb {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 16px 42px rgba(14, 165, 233, 0.78), 0 0 0 12px rgba(56, 189, 248, 0.24);
}

.video-duration-pill {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.video-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #0b1426;
  border-top: 1px solid var(--border-navy);
  font-size: 12.5px;
}

.video-cc-badge {
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 12px;
}

.video-ext-link {
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

.video-ext-link:hover {
  color: #38bdf8;
}

.video-roi-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.video-roi-card {
  flex: 1;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-roi-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.video-roi-card.highlight-roi {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  border-color: rgba(16, 185, 129, 0.38);
}

.video-roi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-roi-icon.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

.video-roi-icon.cyan {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.video-roi-icon.amber {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.video-roi-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.video-roi-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .video-tour-grid,
  .workflow-layout,
  .sandbox-body,
  .pricing-dual-grid,
  .pricing-wrap {
    grid-template-columns: 1fr;
  }
  .sandbox-controls {
    border-right: 0;
    border-bottom: 1px solid var(--border-navy);
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 44px 0 52px;
  }
  .hero-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .console-readouts,
  .unlocked-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locked-blur-grid,
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-wrap,
  .doc-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
