/* corvide.dev — compiled from Corvide.dev.dc.html */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fbfbfd; }
a { color: #12101a; text-decoration: none; }
a:hover { color: #6d3bff; }
::selection { background: #e5dbff; }

@keyframes pulseNode { 0%,100% { opacity:.75; } 50% { opacity:1; } }
@keyframes dashFlow { to { stroke-dashoffset:-16; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

.page {
  font-family: 'IBM Plex Sans', sans-serif;
  color: #12101a;
  background: #fbfbfd;
  overflow-x: hidden;
}

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; }
.section { padding: 96px 40px; }

.grad {
  background: linear-gradient(100deg, #6d3bff, #12b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(251,251,253,.82);
  border-bottom: 1px solid #eceaf2;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #4a4658;
}
.btn-star-sm {
  background: linear-gradient(100deg, #6d3bff, #12b8a6);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-star-sm:hover { color: #fff; }

/* ================= HERO ================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid #eceaf2;
}
.hero-copy { padding: 96px 40px 100px; }
.pill {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6d3bff;
  background: #f1ecff;
  padding: 6px 13px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 66px;
  line-height: 1.01;
  letter-spacing: -.035em;
  margin: 0 0 24px;
}
.hero-sub {
  max-width: 450px;
  font-size: 18px;
  line-height: 1.6;
  color: #4a4658;
  margin: 0 0 38px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-dark {
  background: #12101a;
  color: #fff;
  padding: 15px 26px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.btn-dark:hover { color: #fff; }
.btn-ghost {
  border: 1px solid #dcd8e6;
  padding: 15px 22px;
  border-radius: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: #4a4658;
}
.btn-lg { padding: 16px 30px; }
.btn-ghost.btn-lg { padding: 16px 26px; }

.stats { display: flex; gap: 28px; margin-top: 44px; font-family: 'Space Grotesk', sans-serif; }
.stat-num { font-size: 26px; font-weight: 700; }
.stat-label { font-size: 13px; color: #7a7688; }
.stat-div { width: 1px; background: #eceaf2; }

.hero-art {
  position: relative;
  background: radial-gradient(120% 120% at 85% 8%, #f3efff 0%, #eafcf7 55%, #fbfbfd 100%);
  border-left: 1px solid #eceaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.hero-svg { width: 100%; max-width: 360px; }
.hero-nodes {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  fill: #fff;
}
.flow { animation: dashFlow 1.4s linear infinite; }
.pulse { animation: pulseNode 2.4s ease-in-out infinite; }
.pulse.d1 { animation-delay: .4s; }
.pulse.d2 { animation-delay: .8s; }
.pulse.d3 { animation-delay: 1.2s; }

/* ================= SECTION HEADS ================= */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6d3bff;
  margin-bottom: 14px;
}
.eyebrow-teal { color: #12b8a6; }
.sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 560px;
  line-height: 1.08;
}
.sec-note { max-width: 340px; font-size: 16px; line-height: 1.6; color: #4a4658; margin: 0; }

/* ================= FEATURES ================= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #eceaf2;
  border: 1px solid #eceaf2;
  border-radius: 16px;
  overflow: hidden;
}
.feat {
  background: #fbfbfd;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
  transition: background .2s ease;
}
.feat:hover { background: #fdfcff; }
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-violet { background: #f1ecff; }
.icon-teal { background: #e6faf5; }
.feat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  letter-spacing: -.01em;
}
.feat-body { font-size: 15px; line-height: 1.58; color: #4a4658; margin: 0; }

/* ================= HOW IT WORKS ================= */
.how { background: #12101a; color: #f5f4f8; }
.how-title { margin: 0 0 56px; max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  border: 1px solid #26232f;
  border-radius: 16px;
  padding: 32px 28px;
  background: linear-gradient(180deg, #181521, #141119);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #8b7bff; }
.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  letter-spacing: -.01em;
}
.step-body { font-size: 15px; line-height: 1.58; color: #a8a4b8; margin: 0; }
.code {
  margin: 6px 0 0;
  background: #0c0a12;
  border: 1px solid #26232f;
  border-radius: 10px;
  padding: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #d5d1e4;
  overflow-x: auto;
  white-space: pre;
}
.c-green { color: #5bd6a3; }
.c-violet { color: #8b7bff; }

/* ================= DEMO ================= */
.demo-head { text-align: center; margin-bottom: 52px; }
.demo-title { margin: 0 auto; max-width: 640px; }
.demo {
  border: 1px solid #eceaf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -50px rgba(30,20,60,.4);
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #eceaf2;
  background: #fdfcff;
  gap: 12px;
}
.dots { display: flex; gap: 7px; align-items: center; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.demo-cmd { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #7a7688; margin-left: 12px; }
.btn-run {
  background: linear-gradient(100deg, #6d3bff, #12b8a6);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.demo-body { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 340px; }
.pipeline {
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(120% 120% at 50% 0%, #f6f3ff 0%, #fbfbfd 60%);
  border-right: 1px solid #eceaf2;
  flex-wrap: wrap;
}
.node-wrap { display: flex; align-items: center; gap: 6px; }
.node {
  min-width: 118px;
  padding: 16px 14px;
  border-radius: 14px;
  text-align: center;
  transition: all .35s ease;
  background: #fff;
  color: #12101a;
  border: 1px solid #e6e2f0;
}
.node.is-done {
  background: #12101a;
  color: #fff;
  border-color: #12101a;
}
.node.is-active {
  background: linear-gradient(135deg, #6d3bff, #12b8a6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px -8px rgba(109,59,255,.55);
  transform: translateY(-4px);
}
.node-label { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; }
.node-desc { font-size: 11px; opacity: .75; margin-top: 3px; }
.arrow { color: #c3bdd4; font-size: 20px; }

.log {
  background: #0c0a12;
  padding: 26px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #c7c2da;
  overflow: auto;
}
.log-head { color: #5a5670; margin-bottom: 8px; }
.log-idle { color: #5a5670; }
.log-line { animation: fadeUp .3s ease; }

/* ================= COMPARISON ================= */
.compare { background: #f6f4fb; }
.table-scroll { overflow-x: auto; }
.table {
  background: #fff;
  border: 1px solid #eceaf2;
  border-radius: 18px;
  overflow: hidden;
  min-width: 640px;
}
.trow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid #f1eff6; }
.trow:last-child { border-bottom: none; }
.thead { border-bottom: 1px solid #eceaf2; }
.th {
  padding: 22px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #7a7688;
}
.th-corvide {
  font-weight: 700;
  font-size: 17px;
  color: #12101a;
  background: linear-gradient(100deg, rgba(109,59,255,.08), rgba(18,184,166,.08));
  display: flex;
  align-items: center;
  gap: 8px;
}
.th-lang { font-size: 17px; color: #4a4658; }
.td { padding: 20px 28px; font-size: 15px; }
.td-label { font-weight: 500; color: #12101a; }
.td-corvide { color: #12101a; background: rgba(109,59,255,.03); }
.td-lang { color: #7a7688; }
.disclaimer { text-align: center; font-size: 13px; color: #9a96a8; margin: 20px 0 0; }

/* ================= CTA + FOOTER ================= */
.cta { padding: 110px 40px 90px; text-align: center; }
.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -.035em;
  margin: 0 auto 22px;
  max-width: 680px;
  line-height: 1.04;
}
.cta-sub { font-size: 18px; color: #4a4658; margin: 0 auto 36px; max-width: 480px; line-height: 1.6; }
.cta-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

.footer { border-top: 1px solid #eceaf2; }
.footer-inner {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.footer-meta { font-size: 13px; color: #9a96a8; margin-left: 8px; }
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: #4a4658;
  font-family: 'Space Grotesk', sans-serif;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .section { padding: 64px 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { gap: 0; }
  .nav-links a:not(.btn-star-sm) { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 20px 48px; }
  .hero-title { font-size: clamp(38px, 9vw, 66px); }
  .hero-sub { font-size: 17px; }
  .hero-art { border-left: none; border-top: 1px solid #eceaf2; padding: 40px 20px; }
  .stats { gap: 18px; margin-top: 36px; }
  .stat-num { font-size: 22px; }

  .sec-title { font-size: clamp(28px, 6.5vw, 42px); }

  .feat-grid { grid-template-columns: 1fr; }
  .feat { min-height: 0; padding: 28px 22px; }

  .steps { grid-template-columns: 1fr; gap: 18px; }
  .how-title { margin-bottom: 36px; }

  .demo-body { grid-template-columns: 1fr; }
  .pipeline { border-right: none; border-bottom: 1px solid #eceaf2; padding: 32px 20px; }
  .node { min-width: 104px; }
  .demo-cmd { display: none; }

  .cta { padding: 72px 20px 64px; }
  .cta-title { font-size: clamp(32px, 8vw, 52px); }
  .footer-inner { padding: 28px 20px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .pipeline { flex-direction: column; }
  .node-wrap { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .node { min-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .pulse, .log-line { animation: none; }
  .node { transition: none; }
}
