:root {
  --bg: #08090d;
  --bg-soft: #0d0f15;
  --panel: rgba(17, 19, 27, 0.78);
  --panel-strong: #11131b;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f7f7fb;
  --muted: #a4a7b4;
  --accent: #8d7cff;
  --accent-2: #5de4c7;
  --accent-soft: rgba(141, 124, 255, 0.14);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(141, 124, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 85% 25%, rgba(93, 228, 199, 0.06), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.10;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: 5%;
  left: -220px;
  background: var(--accent);
}

.ambient-two {
  right: -240px;
  top: 35%;
  background: var(--accent-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(8, 9, 13, 0.76);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(141, 124, 255, 0.6);
  border-radius: 11px;
  color: var(--accent);
  box-shadow: inset 0 0 22px rgba(141, 124, 255, 0.13);
}

.brand-name {
  font-size: 0.86rem;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.91rem;
  transition: 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.91rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-cta {
  background: var(--text);
  color: #090a0e;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2 {
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 6.3rem);
  font-weight: 730;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-primary {
  min-height: 50px;
  padding-inline: 22px;
  color: white;
  background:
    linear-gradient(
      135deg,
      #7565ff,
      #9f8fff
    );
  box-shadow: 0 10px 35px rgba(117, 101, 255, 0.28);
}

.button-secondary {
  min-height: 50px;
  padding-inline: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 32px;
  color: #858997;
  font-size: 0.82rem;
}

.trust-line span::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent);
}

.hero-visual {
  position: relative;
}

.visual-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(24, 27, 39, 0.94),
      rgba(11, 12, 18, 0.96)
    );
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.visual-toolbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.visual-toolbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #393c49;
}

.visual-toolbar small {
  margin-left: auto;
  color: #727684;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
}

.visual-grid {
  padding: 24px;
}

.worker-card,
.result-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.worker-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.worker-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #b9afff;
  font-weight: 800;
}

.worker-card strong,
.worker-card small {
  display: block;
}

.worker-card small {
  margin-top: 3px;
  color: #7f8391;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(93, 228, 199, 0.65);
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 32px 4px;
}

.flow-row span {
  flex: 1;
  padding: 9px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #aeb1bc;
  text-align: center;
  font-size: 0.7rem;
}

.flow-row i {
  width: 16px;
  height: 1px;
  background: #343744;
}

.result-card {
  padding: 20px;
}

.result-card small,
.result-card strong,
.result-card span {
  display: block;
}

.result-card small {
  color: var(--accent-2);
  letter-spacing: 0.12em;
  font-size: 0.63rem;
}

.result-card strong {
  margin-top: 8px;
  font-size: 1.18rem;
}

.result-card span {
  margin-top: 4px;
  color: #747887;
  font-size: 0.82rem;
}

.proof-strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.proof-grid div:first-child {
  border-left: 1px solid var(--border);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--accent);
  font-size: 0.72rem;
}

.proof-grid span {
  margin-top: 5px;
  color: #a2a6b2;
}

.features {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.architecture h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 55px;
}

.feature-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );
}

.feature-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 25px rgba(141, 124, 255, 0.5);
}

.feature-card h2 {
  margin: 55px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.architecture {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
  border-top: 1px solid var(--border);
}

.architecture-copy p:last-child {
  color: var(--muted);
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.pipeline span {
  padding: 10px 12px;
  border: 1px solid rgba(141, 124, 255, 0.20);
  border-radius: 10px;
  background: rgba(141, 124, 255, 0.08);
  font-size: 0.76rem;
}

.pipeline b {
  color: #4e5260;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 110px;
  padding: 48px;
  border: 1px solid rgba(141, 124, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 100%, rgba(141, 124, 255, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(25, 26, 36, 0.95), rgba(13, 14, 20, 0.96));
}

.cta-section > div {
  max-width: 720px;
}

.cta-section p:last-child {
  color: var(--muted);
}

.site-footer {
  padding-top: 70px;
  border-top: 1px solid var(--border);
  background: #07080b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 50px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div:first-child p {
  max-width: 310px;
  color: #777b88;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 5px;
  font-size: 0.8rem;
}

.footer-links a {
  color: #7d818e;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: #626673;
  font-size: 0.78rem;
}

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

  .nav-cta {
    margin-left: auto;
  }

  .hero,
  .architecture {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-visual {
    max-width: 650px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-card h2 {
    margin-top: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    height: 68px;
  }

  .brand-name {
    font-size: 0.78rem;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .hero {
    gap: 50px;
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .visual-window {
    transform: none;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid div:nth-child(3) {
    border-left: 1px solid var(--border);
  }

  .features,
  .architecture {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pipeline {
    justify-content: flex-start;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
