/* ===== Codex coding-site overlay ===== */
:root {
  --cx-accent: #10a37f;
  --cx-accent-bright: #14c296;
  --cx-bg: #0a0d10;
  --cx-surface: #0f1217;
  --cx-surface-2: #141922;
  --cx-border: #1e2329;
  --cx-text: #e6edf3;
  --cx-text-dim: #a3b1bf;
  --cx-text-muted: #7a8796;
  --cx-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ── Hero overrides ── */
.hero { background: var(--cx-bg); }
.hero::after {
  background: radial-gradient(ellipse, rgba(16,163,127,0.14) 0%, transparent 70%);
  width: 900px;
  height: 560px;
}
.hero-badge {
  font-family: var(--cx-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cx-accent-bright);
  background: rgba(16,163,127,0.08);
  border-color: rgba(16,163,127,0.25);
}
.hero-badge-dot {
  background: var(--cx-accent-bright);
  box-shadow: 0 0 10px rgba(20,194,150,0.7);
}
.hero h1 {
  background: linear-gradient(180deg, #ffffff 35%, rgba(230,237,243,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-input-title { font-family: var(--cx-mono); letter-spacing: 0.01em; }
.hero-input-title::before { content: "> "; color: var(--cx-accent-bright); font-weight: 700; }
.hero-input-box textarea { font-family: var(--cx-mono) !important; font-size: 14px !important; }
.hero-input-box:focus-within { border-color: var(--cx-accent) !important; box-shadow: 0 4px 28px rgba(16,163,127,0.22) !important; }
.hero-send-btn { background: var(--cx-accent) !important; color: #fff !important; border-radius: 8px !important; }
.btn-hero-primary { background: var(--cx-accent) !important; color: #fff !important; border-color: var(--cx-accent) !important; }
.btn-hero-primary:hover { background: var(--cx-accent-bright) !important; border-color: var(--cx-accent-bright) !important; }

/* ── Code window mockup (shared) ── */
.code-window {
  background: var(--cx-surface);
  border: 1px solid var(--cx-border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--cx-mono);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(16,163,127,0.04);
}
.code-window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #0b0e13;
  border-bottom: 1px solid var(--cx-border);
}
.code-window-dots { display: inline-flex; gap: 6px; }
.code-window-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.code-window-dots span:nth-child(1) { background: #ff5f57; }
.code-window-dots span:nth-child(2) { background: #febc2e; }
.code-window-dots span:nth-child(3) { background: #28c840; }
.code-window-title {
  font-size: 12px;
  color: var(--cx-text-dim);
  font-family: var(--cx-mono);
  letter-spacing: 0.04em;
}
.code-window-tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  font-size: 11px;
  color: var(--cx-text-muted);
}
.code-window-tabs span {
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--cx-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.code-window-tabs span.active { background: rgba(16,163,127,0.15); color: var(--cx-accent-bright); }
.code-window-body {
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cx-text);
  overflow-x: auto;
}
.code-window-body .cx-c { color: var(--cx-text-muted); font-style: italic; }
.code-window-body .cx-k { color: #ff79c6; }
.code-window-body .cx-f { color: #8be9fd; }
.code-window-body .cx-s { color: #f1fa8c; }
.code-window-body .cx-n { color: #bd93f9; }
.code-window-body .cx-t { color: var(--cx-accent-bright); }
.code-window-body .cx-o { color: #ff79c6; }
.code-window-body .cx-p { color: var(--cx-text-dim); }
.code-window-body pre { margin: 0; font-family: var(--cx-mono); }

/* ── LANGUAGES STRIP ── */
.lang-strip-section {
  background: var(--cx-bg);
  padding: 48px 24px;
  border-top: 1px solid var(--cx-border);
  border-bottom: 1px solid var(--cx-border);
}
.lang-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.lang-strip-label {
  font-family: var(--cx-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cx-text-muted);
  margin-bottom: 24px;
}
.lang-strip-label::before { content: "// "; color: var(--cx-accent); }
.lang-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--cx-surface);
  border: 1px solid var(--cx-border);
  border-radius: 8px;
  font-family: var(--cx-mono);
  font-size: 13px;
  color: var(--cx-text-dim);
  transition: all 0.15s;
}
.lang-pill:hover {
  border-color: var(--cx-accent);
  color: var(--cx-text);
  background: rgba(16,163,127,0.06);
}
.lang-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* ── CODE DEMO SECTION ── */
.demo-section {
  background: var(--cx-bg);
  padding: 96px 24px;
  color: var(--cx-text);
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 60px;
  align-items: center;
}
.demo-left h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.demo-left h2 .demo-accent { color: var(--cx-accent-bright); }
.demo-left p {
  color: var(--cx-text-dim);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.demo-cmds { display: flex; flex-direction: column; gap: 10px; }
.demo-cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--cx-surface);
  border: 1px solid var(--cx-border);
  border-radius: 8px;
  font-family: var(--cx-mono);
  font-size: 13px;
  color: var(--cx-text-dim);
}
.demo-cmd-name { color: var(--cx-accent-bright); font-weight: 600; min-width: 90px; }
.demo-cmd-desc { color: var(--cx-text-muted); font-family: var(--cx-mono); font-size: 12.5px; }

@media (max-width: 860px) {
  .demo-inner { grid-template-columns: 1fr; gap: 36px; }
  .demo-section { padding: 64px 20px; }
}

/* ── Section headings with // ── */
.what-left h2 span,
.how-header h2,
.features-header h2,
.faq-left h2,
.cta h2 {
  position: relative;
}
.how-header h2::before,
.features-header h2::before {
  content: "// ";
  color: var(--cx-accent);
  font-family: var(--cx-mono);
  font-size: 0.6em;
  letter-spacing: 0.1em;
  margin-right: 4px;
  opacity: 0.9;
  vertical-align: middle;
}

/* ── Feature card tweaks for coding feel ── */
.feature-card h3 { font-family: var(--cx-mono); letter-spacing: -0.01em; }
.feature-card:hover { border-color: var(--cx-accent) !important; }

/* ── What-stats mono ── */
.what-stat-number { font-family: var(--cx-mono) !important; }
.what-stat-label { font-family: var(--cx-mono) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px !important; }

/* ── CTA ── */
.cta { background: var(--cx-bg) !important; }
.cta-inner .btn-hero-primary { background: var(--cx-accent) !important; }
