@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #0b0b0f;
  --bg-soft: #121220;
  --ink: #f6f4f0;
  --muted: #c6c2b8;
  --accent: #ffb347;
  --accent-strong: #ff7a59;
  --cool: #67e8f9;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(255, 179, 71, 0.18), transparent 70%),
    radial-gradient(900px 600px at 90% 10%, rgba(103, 232, 249, 0.2), transparent 60%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}

.glow-a {
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.7), transparent 70%);
}

.glow-b {
  bottom: 10%;
  left: -120px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.6), transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

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

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  padding: 96px 0 72px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  margin: 18px 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.pill {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #1c0f0a;
  box-shadow: 0 16px 40px rgba(255, 122, 89, 0.25);
}

.button.ghost {
  border-color: var(--border);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.stat {
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cool);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.8);
}

.code {
  font-family: "Space Grotesk", monospace;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 12px;
  margin: 8px 0;
}

.section {
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 180px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.list li {
  display: flex;
  gap: 16px;
  align-items: center;
}

.list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.workflow {
  background: var(--bg-soft);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.label {
  font-weight: 600;
}

.detail {
  color: var(--muted);
}

.cta {
  text-align: center;
}

.cta-inner {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 32px;
  background: linear-gradient(140deg, rgba(255, 179, 71, 0.18), rgba(103, 232, 249, 0.14));
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 900ms ease forwards;
}

body.is-loaded .reveal {
  opacity: 1;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero {
    padding: 72px 0 56px;
  }

  .hero-card {
    order: -1;
  }
}
