:root {
  --bg: #050814;
  --panel: rgba(14, 18, 38, 0.86);
  --panel-strong: rgba(19, 24, 50, 0.95);
  --text: #f2f5ff;
  --muted: #a8b1d7;
  --muted-2: #7f8ab6;
  --accent: #8f7dff;
  --accent-2: #43e4cf;
  --border: rgba(170, 185, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(143, 125, 255, 0.28), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(67, 228, 207, 0.18), transparent 22%),
    linear-gradient(180deg, #04060f 0%, #060816 55%, #050814 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: linear-gradient(rgba(255,255,255,0.85) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.85) 1px, transparent 1px);
  background-size: 26px 26px;
}

.bg-orb {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.bg-orb-left {
  left: -10rem;
  top: -8rem;
  background: rgba(143, 125, 255, 0.35);
}

.bg-orb-right {
  right: -10rem;
  top: 12rem;
  background: rgba(67, 228, 207, 0.22);
}

.site {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
  display: grid;
  gap: 22px;
}

.panel {
  background: linear-gradient(180deg, var(--panel), rgba(15, 18, 36, 0.78));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 32px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #dcd6ff;
  background: rgba(143, 125, 255, 0.14);
  border: 1px solid rgba(143, 125, 255, 0.24);
}

.eyebrow-soft {
  color: #d1fff9;
  background: rgba(67, 228, 207, 0.12);
  border-color: rgba(67, 228, 207, 0.22);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}

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

.btn-primary {
  color: #061018;
  background: linear-gradient(135deg, var(--accent-2), #a3faf0);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe5ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.hero-aside {
  display: grid;
  gap: 14px;
}

.mini-card {
  border-radius: 22px;
  padding: 20px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
}

.mini-card.accent {
  background: linear-gradient(180deg, rgba(67, 228, 207, 0.1), rgba(18, 22, 40, 0.94));
}

.mini-label,
.pane-label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-value {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.mini-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.stats-grid,
.split,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

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

.stat-card,
.section {
  padding: 28px;
}

.stat-number {
  display: block;
  color: var(--accent-2);
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.stat-card h2,
.section h2,
.feature-grid h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.stat-card p,
.section p,
.feature-grid p,
.bullet-list li {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted-2);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #031016;
  background: linear-gradient(135deg, var(--accent-2), #b4fbf5);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li {
  margin: 12px 0;
}

.stack-grid,
.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-card,
.feature-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stack-card span {
  display: block;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.stack-card p,
.feature-grid p {
  margin: 0;
}

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

.builder-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.9fr;
}

.code-pane,
.preview-pane {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.code-pane pre {
  margin: 10px 0 0;
  overflow: auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.code-pane code {
  color: #d7dcff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.preview-card {
  margin-top: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 24, 50, 0.98), rgba(12, 16, 34, 0.96));
  border: 1px solid rgba(67, 228, 207, 0.18);
}

.preview-topbar,
.preview-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.preview-topbar {
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(67, 228, 207, 0.6);
}

.pill-small {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(67, 228, 207, 0.1);
  color: #d1fff9;
  border: 1px solid rgba(67, 228, 207, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin: 16px 0;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--accent-2), #b4fbf5);
}

.footer-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-panel a {
  color: #9df6ea;
}

.footer-note {
  padding: 14px 16px;
  border-radius: 16px;
  color: #dffef9;
  background: rgba(67, 228, 207, 0.08);
  border: 1px solid rgba(67, 228, 207, 0.18);
}

@media (max-width: 1080px) {
  .hero-grid,
  .stats-grid,
  .split,
  .builder-layout,
  .stack-grid,
  .feature-grid,
  .footer-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }
}
