/* FecVIP Auto Video */

:root {
  /* palette */
  --bg: #070912;
  --bg-soft: #0b0e1a;
  --surface: #0f1322;
  --surface-2: #131829;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #eef1f8;
  --text-muted: #a7afc7;
  --text-dim: #7f89a3;

  --accent: #7c6cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(124, 108, 255, 0.16);
  --cyan-soft: rgba(34, 211, 238, 0.14);

  /* buttons stay dark enough for white text (AA) */
  --btn: linear-gradient(135deg, #6d5cf7 0%, #4f46e5 100%);
  --btn-hover: linear-gradient(135deg, #7a6bff 0%, #5b52ee 100%);

  /* type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-hero: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-body: 1rem;

  /* layout */
  --container: 1160px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --gap: clamp(1rem, 0.6rem + 1.4vw, 1.5rem);
  --section-pad: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 650;
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.033em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); margin-bottom: 0.4em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: rgba(124, 108, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.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;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus { top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(79, 70, 229, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(79, 70, 229, 1), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 18, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark { display: grid; place-items: center; }

.brand-sep {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  margin-inline: 0.15rem;
}

.brand-product {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 2vw, 2.25rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.3rem + 1.4vw, 1.75rem);
}

.nav-links a {
  font-size: 0.925rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 1.5rem + 6vw, 6rem) 0 clamp(3.5rem, 2rem + 6vw, 6.5rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 720px;
  background:
    radial-gradient(48% 55% at 24% 32%, rgba(124, 108, 255, 0.20), transparent 70%),
    radial-gradient(40% 50% at 76% 24%, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.grad-text {
  background: linear-gradient(100deg, #ffffff 15%, #a89bff 65%, #6ee0f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.13rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* hero visual: product run panel */
.hero-visual {
  position: relative;
}

.panel {
  background: linear-gradient(180deg, rgba(19, 24, 41, 0.96), rgba(11, 14, 26, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-panel { position: relative; }

.app-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 108, 255, 0.6), rgba(34, 211, 238, 0.45), transparent);
  z-index: 1;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.panel-dots { display: inline-flex; gap: 6px; }
.panel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.panel-dots i:first-child { background: rgba(255, 96, 96, 0.55); }

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-right: auto;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

.panel-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.panel-body { padding: 1rem; display: grid; gap: 0.85rem; }

.pipe-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  min-width: 0;
}

.pipe-input-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
}

.pipe-input-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.pipe-input-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 5px;
  padding: 0.1rem 0.4rem;
}

.pipe-stages {
  position: relative;
  display: grid;
  gap: 0.3rem;
}

.pipe-stages::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.55), rgba(34, 211, 238, 0.45));
}

.pipe-stage {
  position: relative;
  display: grid;
  grid-template-columns: 8px auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
}

.stage-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.stage-index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
}

.stage-name { color: var(--text-muted); }

.stage-state {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pipe-stage.is-done {
  border-color: rgba(124, 108, 255, 0.26);
  background: rgba(124, 108, 255, 0.07);
}
.pipe-stage.is-done .stage-node { background: var(--accent); }
.pipe-stage.is-done .stage-name { color: var(--text); }
.pipe-stage.is-done .stage-state { color: #a89bff; }

.pipe-stage.is-active {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.07);
}
.pipe-stage.is-active .stage-node {
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.pipe-stage.is-active .stage-name { color: #fff; }
.pipe-stage.is-active .stage-state { color: var(--accent-2); }

.pipe-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pipe-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.pipe-progress-bar {
  display: block;
  width: 57%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: progressPulse 3.6s ease-in-out infinite;
}

.pipe-output {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.output-thumb {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(140deg, #6d5cf7, #4f46e5);
}

.output-meta { display: grid; margin-right: auto; min-width: 0; }
.output-title { font-size: 0.88rem; font-weight: 600; }
.output-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.output-time {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.95rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes progressPulse {
  0%, 100% { width: 55%; opacity: 0.85; }
  50% { width: 62%; opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding: var(--section-pad) 0; position: relative; }

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 42rem;
}

/* ---------- problem ---------- */
.chore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.chore {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  font-size: 0.96rem;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.chore:hover { border-color: rgba(124, 108, 255, 0.4); transform: translateY(-2px); }

.chore-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 108, 255, 0.3);
  border-radius: 7px;
  padding: 0.2rem 0.45rem;
}

.chore-foot {
  margin-top: 1.75rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 40rem;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }

.step p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
}

.step-highlight {
  border-color: rgba(124, 108, 255, 0.45);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.16), rgba(34, 211, 238, 0.05));
}

.step-highlight .step-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  gap: var(--gap);
}

.card-grid.four { grid-template-columns: 1fr; }
.card-grid.three { grid-template-columns: 1fr; }

.card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: rgba(34, 211, 238, 0.35); transform: translateY(-3px); }

.card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--accent-2);
  background: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.feature {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feature:hover {
  border-color: rgba(124, 108, 255, 0.4);
  background: rgba(124, 108, 255, 0.06);
}

.feature p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  color: #b9b1ff;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 108, 255, 0.3);
}

/* ---------- example workflow ---------- */
.example {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}

.example-source {
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(124, 108, 255, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.03);
}

.example-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.example-url {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #fff;
  word-break: break-all;
  margin: 0.7rem 0;
}

.example-note { color: var(--text-dim); font-size: 0.87rem; margin: 0; }

.example-flow {
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.example-flow::before {
  content: "";
  position: absolute;
  left: 39px;
  transform: translateX(-50%);
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.45;
}

.example-stage {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.example-stage p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.example-stage-num {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}

.example-stage-out {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.1), rgba(124, 108, 255, 0.08));
}

.example-stage-out .example-stage-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

/* ---------- status ---------- */
.status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(124, 108, 255, 0.16), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}

.status-copy p { color: var(--text-muted); }
.status-sub { font-size: 0.93rem; color: var(--text-dim) !important; }

.status-list { display: grid; gap: 0.75rem; }

.status-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.status-tag,
.tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}

.tag-dev {
  color: #9be9ff;
  background: var(--cyan-soft);
  border-color: rgba(34, 211, 238, 0.35);
}

.tag-plan {
  color: #c4bcff;
  background: var(--accent-soft);
  border-color: rgba(124, 108, 255, 0.35);
}

/* ---------- roadmap ---------- */
.roadmap {
  display: grid;
  gap: 1rem;
  position: relative;
  padding-left: 0.25rem;
}

.roadmap-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.roadmap-marker {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 1.35rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
}

.roadmap-item:not(:last-child) .roadmap-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 2.4rem);
  background: linear-gradient(180deg, var(--line-strong), transparent);
}

.roadmap-item.is-current .roadmap-marker {
  border-color: var(--accent-2);
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.16);
}

.roadmap-body {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.roadmap-item.is-current .roadmap-body {
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.02));
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.roadmap-top h3 { margin: 0; }
.roadmap-body p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- CTA ---------- */
.cta-section { position: relative; overflow: hidden; }

.cta-glow {
  position: absolute;
  inset: auto -10% -60%;
  height: 560px;
  background:
    radial-gradient(50% 50% at 50% 55%, rgba(124, 108, 255, 0.18), transparent 70%),
    radial-gradient(38% 42% at 28% 62%, rgba(34, 211, 238, 0.10), transparent 70%);
  pointer-events: none;
}

.cta-panel {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 1.2rem + 4vw, 3.75rem) clamp(1.25rem, 0.6rem + 3vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(15, 19, 34, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.cta-sub {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.cta-form {
  display: flex;
  gap: 0.7rem;
  max-width: 30rem;
  margin: 0 auto 1rem;
}

.cta-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.cta-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.2);
}

.cta-input[aria-invalid="true"] {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.16);
}

.form-status {
  font-size: 0.83rem;
  color: var(--text-dim);
  max-width: 32rem;
  margin-inline: auto;
}

.form-status.is-error { color: #ff9b9b; }
.form-status.is-success { color: #9be9ff; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}

.footer-product {
  margin: 1rem 0 0.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-tagline { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.18s ease;
  width: fit-content;
}

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

.footer-meta { text-align: right; color: var(--text-dim); font-size: 0.87rem; }
.footer-meta p { margin: 0 0 0.35rem; }
.footer-status { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.05em; }

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .chore-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 700px) {
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .chore-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 34rem; margin-inline: auto; }
  .example { grid-template-columns: 1fr; }
  .status-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(9, 12, 22, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav-menu.is-open { display: flex; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after { display: none; }

  .nav-menu .btn { margin-top: 0.75rem; width: 100%; }

  .cta-form { flex-direction: column; }
  .cta-form .btn { width: 100%; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 1.75rem, var(--container)); }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel-foot { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
