:root {
  --bg: #0b0612;
  --bg-soft: #140d1f;
  --bg-elevated: rgba(27, 17, 39, 0.72);
  --panel: rgba(19, 12, 28, 0.9);
  --panel-strong: #1d122d;
  --line: rgba(197, 167, 255, 0.18);
  --purple-1: #7c3aed;
  --purple-2: #a855f7;
  --purple-3: #d8b4fe;
  --purple-4: #f3e8ff;
  --text: #f5efff;
  --text-soft: #d7c8f3;
  --muted: #b39cd9;
  --rainbow: linear-gradient(135deg, #8b5cf6, #c084fc, #f0abfc);
  --shadow: 0 25px 60px rgba(92, 56, 161, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.28), transparent 28%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.18), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  max-width: 640px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(11, 6, 18, 0.55);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--rainbow);
  color: white;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-soft);
  font-weight: 500;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.92rem 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--rainbow);
  box-shadow: 0 18px 35px rgba(168, 85, 247, 0.35);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(216, 180, 254, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  padding: 5.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--purple-3);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.08rem;
  max-width: 580px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.hero-metrics li {
  min-width: 120px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.7;
}

.orb-one {
  width: 240px;
  height: 240px;
  background: rgba(168, 85, 247, 0.4);
  right: 10%;
  top: 14%;
}

.orb-two {
  width: 180px;
  height: 180px;
  background: rgba(192, 132, 252, 0.2);
  left: 10%;
  bottom: 16%;
}

.model-card {
  position: relative;
  width: min(100%, 440px);
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(31, 22, 43, 0.9), rgba(17, 10, 26, 0.86));
  box-shadow: var(--shadow);
}

.model-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #a7f3d0);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.8);
}

.model-graphic {
  position: relative;
  display: grid;
  place-items: center;
  height: 260px;
  border-radius: 1.3rem;
  background: rgba(9, 6, 14, 0.8);
  overflow: hidden;
  border: 1px solid rgba(197, 167, 255, 0.14);
}

.ring {
  position: absolute;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 50%;
}

.ring-one {
  width: 200px;
  height: 200px;
}

.ring-two {
  width: 290px;
  height: 290px;
}

.core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  box-shadow: 0 0 30px rgba(192, 132, 252, 0.45);
  font-size: 2rem;
  font-weight: 900;
}

.model-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
}

.model-info label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 2rem;
}

.feature-grid,
.use-grid,
.showcase-grid,
.docs-layout,
.stats-grid,
.license-grid {
  display: grid;
  gap: 1.3rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.architecture-diagram {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(216, 180, 254, 0.18);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.17), rgba(19, 12, 28, 0.8));
}

.arch-node small {
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 0.45rem;
  line-height: 1.4;
}

.layer-stack {
  min-height: 110px;
}

.arch-arrow {
  display: grid;
  place-items: center;
  color: var(--purple-3);
  font-size: 1.4rem;
  font-weight: 700;
}

.benchmark-panel {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.benchmark-item {
  display: grid;
  gap: 0.55rem;
}

.benchmark-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.benchmark-meta strong {
  color: var(--text);
}

.benchmark-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.benchmark-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #c084fc, #f0abfc);
}

.compare-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.compare-panel,
.license-card {
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.4rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.compare-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.weak-panel {
  border-color: rgba(244, 114, 182, 0.2);
  background: linear-gradient(180deg, rgba(69, 29, 55, 0.54), rgba(19, 12, 28, 0.8));
}

.license-box {
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.license-header {
  margin-bottom: 1.25rem;
}

.license-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.license-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 110px;
}

.license-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.license-card strong {
  font-size: 1.1rem;
}

.compare-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.compare-panel,
.license-card {
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.4rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.compare-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.weak-panel {
  border-color: rgba(244, 114, 182, 0.2);
  background: linear-gradient(180deg, rgba(69, 29, 55, 0.54), rgba(19, 12, 28, 0.8));
}

.license-box {
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.license-header {
  margin-bottom: 1.25rem;
}

.license-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.license-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 110px;
}

.license-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.license-card strong {
  font-size: 1.1rem;
}

.use-grid,
.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.use-card,
.showcase-card,
.docs-card,
.stat-card,
.info-panel,
.metrics-panel,
.faq-box {
  background: rgba(19, 12, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 24px 45px rgba(20, 14, 31, 0.32);
}

.feature-card,
.use-card,
.showcase-card,
.docs-card,
.stat-card {
  padding: 1.4rem;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: rgba(168, 85, 247, 0.14);
  color: var(--purple-3);
  font-weight: 800;
  margin-bottom: 1rem;
}

.split-block,
.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.metrics-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.stat-box {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.015);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.stat-box strong {
  font-size: 1.1rem;
}

.info-panel {
  padding: 1.4rem 1.8rem;
}

.info-panel ul {
  display: grid;
  gap: 1rem;
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.35rem;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-name {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.2);
  color: var(--purple-3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.quote-wrap {
  display: grid;
  place-items: center;
}

blockquote {
  max-width: 880px;
  margin: 0;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(255, 255, 255, 0.02));
}

.docs-card,
.faq-box {
  padding: 1.5rem;
}

.faq-box {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
  padding-top: 0;
  border-top: none;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(19, 12, 28, 0.82));
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 6, 14, 0.82);
}

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

.footer-wrap p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-block,
  .two-column,
  .feature-grid,
  .use-grid,
  .showcase-grid,
  .docs-layout,
  .stats-grid,
  .license-grid,
  .compare-shell {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .cta-panel,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .split-block,
  .two-column,
  .feature-grid,
  .use-grid,
  .showcase-grid,
  .docs-layout,
  .stats-grid,
  .license-grid,
  .compare-shell,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .nav-wrap {
    padding: 0.9rem 0;
    flex-wrap: wrap;
  }
}
