:root {
  --bg: #050510;
  --bg-soft: #0b0b1a;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --muted: #a7a8bd;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #72f7d3;
  --accent-2: #8b5cf6;
  --accent-3: #38bdf8;
  --danger: #ff5c9c;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(139, 92, 246, 0.35), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.22), transparent 24rem),
    radial-gradient(circle at 48% 48%, rgba(114, 247, 211, 0.12), transparent 28rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.18'/%3E%3C/svg%3E");
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 16, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(114, 247, 211, 0.38);
  border-radius: 12px;
  color: #04120f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 28px rgba(114, 247, 211, 0.35);
  font-family: "JetBrains Mono", monospace;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-cta,
.button,
.signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #06110f;
  background: var(--accent);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 48px;
  align-items: center;
  padding-top: 104px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(114, 247, 211, 0.8);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(114, 247, 211, 0); }
  100% { box-shadow: 0 0 0 0 rgba(114, 247, 211, 0); }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 8vw, 7.5rem);
  line-height: 0.83;
  letter-spacing: -0.095em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.hero-subtitle,
.section-heading p,
.section-copy > p,
.cta-card p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 16px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
}

.button.primary {
  color: #06110f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 18px 60px rgba(114, 247, 211, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.microcopy,
small,
.card p,
.workflow-step p,
.faq-grid p,
.feature-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-panel,
.cta-card,
.card,
.workflow-step,
.faq-grid details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(114, 247, 211, 0.28), transparent 62%);
}

.panel-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}

.panel-topbar span:nth-child(2) { background: #ffd166; }
.panel-topbar span:nth-child(3) { background: var(--accent); }
.panel-topbar strong { margin-left: auto; font-weight: 700; }

.console-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 18px;
}

.metric-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 5, 16, 0.72);
}

.metric-card.large {
  grid-row: span 2;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 3.6rem);
  letter-spacing: -0.08em;
}

.metric-card:not(.large) strong {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

.terminal-window {
  margin: 0 18px 18px;
  padding: 18px;
  border: 1px solid rgba(114, 247, 211, 0.22);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
}

.terminal-window p {
  margin: 0 0 10px;
}

.terminal-window span,
.ok {
  color: var(--accent);
}

.dim {
  color: #7b7f98;
}

.logo-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.logo-strip span {
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
}

.logo-strip span:last-child {
  border-right: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.feature-list > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-list p {
  grid-column: 2;
}

.feature-list span,
.workflow-step span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.centered {
  max-width: 850px;
  margin: 0 auto 46px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card,
.workflow-step,
.faq-grid details {
  border-radius: 26px;
  padding: 24px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 16px;
  color: #06110f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.workflow-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.workflow-step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgba(114, 247, 211, 0.36);
  border-radius: 50%;
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 36px;
  text-align: center;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: auto auto -45% 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 62%);
}

.cta-card > * {
  position: relative;
}

.cta-card .hero-actions {
  justify-content: center;
}

.signup {
  display: flex;
  max-width: 560px;
  margin: 30px auto 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 5, 16, 0.7);
}

.signup input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.signup button {
  padding: 16px 20px;
  border-radius: 14px;
  color: #06110f;
  background: var(--accent);
  font: inherit;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-grid p {
  margin: 16px 0 0;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.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;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .split-section,
  .workflow-section {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-strip span:nth-child(2) {
    border-right: 0;
  }

  .logo-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    border-radius: 22px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .hero-panel {
    border-radius: 24px;
  }

  .console-grid,
  .cards-grid,
  .workflow,
  .faq-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .metric-card.large {
    min-height: 190px;
  }

  .logo-strip span,
  .logo-strip span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-strip span:last-child {
    border-bottom: 0;
  }

  .feature-list > div {
    grid-template-columns: 1fr;
  }

  .feature-list p {
    grid-column: 1;
  }

  .signup {
    display: grid;
    gap: 8px;
  }

  .signup input {
    min-height: 48px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
