* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0c;
  --card: #141417;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #fff;
  --dim: rgba(255, 255, 255, 0.58);
  --purple: #440f7c;
  --purple-lite: #b98cff;
  --pink: #ff0095;
  --cyan: #6fd6e8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "acumin-pro", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--purple); color: #fff; }

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

.skip-link {
  position: absolute; top: -40px; left: 12px;
  background: #000; color: #fff;
  padding: 8px 12px; border-radius: 8px;
  border: 2px solid var(--pink); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1000px, 90vw); margin: 0 auto; }

h1, h2, h3 {
  font-family: "digibop", sans-serif;
  text-transform: lowercase;
  line-height: 1.05;
}

/* ── TOP NAV ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.nav-link {
  color: var(--dim); text-decoration: none;
  font-weight: 700; font-size: 0.9rem;
  text-transform: lowercase; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--txt); }

/* ── HERO ── */
.hero { padding: 64px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--pink);
  font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: lowercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  margin-bottom: 18px;
  background: linear-gradient(120deg, #fff 45%, var(--purple-lite));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--dim);
  font-size: 1.15rem;
  max-width: 440px;
  margin-bottom: 26px;
}

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 30px;
}
.chip {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  color: var(--dim);
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-transform: lowercase;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--purple);
  color: #fff;
  border: 2px solid var(--purple);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(68, 15, 124, 0.55);
}

/* ── TERMINAL ── */
.terminal {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(68, 15, 124, 0.25);
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid var(--line);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.terminal-body {
  background: #0d0d0d;
  padding: 24px;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  min-height: 220px;
}
.t-line { opacity: 0; animation: t-appear 0.3s forwards; }
.t-dim { color: rgba(255, 255, 255, 0.35); }
.t-green { color: #27c93f; }
.t-cyan { color: var(--cyan); }
.t-blink { opacity: 1 !important; animation: cursor-blink 1s infinite; }

.t-fade-1 { animation-delay: 0.4s; }
.t-fade-2 { animation-delay: 0.9s; }
.t-fade-3 { animation-delay: 1.4s; }
.t-fade-4 { animation-delay: 2.2s; }
.t-fade-5 { animation-delay: 2.7s; }
.t-fade-6 { animation-delay: 3.1s; }
.t-fade-7 { animation-delay: 3.5s; }

@keyframes t-appear {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

/* ── SECTIONS ── */
section.bordered {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.eyebrow--lead { margin: -6px 0 40px; }

.lead {
  color: var(--dim);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 44px;
}

/* ── FEATURES ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--purple-lite);
}
.feature p { color: var(--dim); font-size: 0.92rem; line-height: 1.6; }

/* ── HOW IT WORKS CARDS ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--purple); transform: translateY(-3px); }
.card .num {
  font-family: "digibop", sans-serif;
  font-size: 1.6rem;
  color: var(--purple-lite);
  opacity: 0.5;
  margin-bottom: 6px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--dim); font-size: 0.92rem; line-height: 1.65; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

code {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 1px 6px;
  font-family: "Courier New", monospace;
  font-size: 0.85em;
  color: var(--pink);
}

/* ── INTEGRATIONS ── */
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}
.int h3 { color: var(--pink); font-size: 1.05rem; margin-bottom: 10px; }
.int ul { list-style: none; }
.int li {
  color: var(--dim);
  font-size: 0.92rem;
  padding: 8px 0 8px 16px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.int li:last-child { border-bottom: none; }
.int li::before {
  content: "›";
  position: absolute; left: 0;
  color: var(--purple-lite);
  font-weight: 800;
}

/* ── STACK ── */
.stack {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.stack-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.stack-row:last-child { border-bottom: none; }
.stack-row:hover { background: rgba(255, 255, 255, 0.03); }
.stack-row .k {
  font-family: "digibop", sans-serif;
  font-size: 0.85rem;
  text-transform: lowercase;
  color: var(--purple-lite);
}
.stack-row .v { color: var(--dim); font-size: 0.92rem; }

/* ── CTA ── */
.cta { text-align: center; }
.cta p { color: var(--dim); max-width: 460px; margin: 0 auto 24px; line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid, .cards { grid-template-columns: 1fr; }
  section.bordered { padding: 52px 0; }
  .stack-row { grid-template-columns: 110px 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .t-line { opacity: 1 !important; }
}
