:root {
  --bg: #060709;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text-0: #f4f5f9;
  --text-1: #aeb2c2;
  --text-2: #6d7185;
  --accent: #7c9eff;
  --accent-2: #7bf0d2;
  --live: #34c77b;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text-0);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Background field ---------- */

.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.blob-a {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -160px;
  background: radial-gradient(circle at 30% 30%, #4a5bff, transparent 70%);
  animation: drift-a 26s ease-in-out infinite;
}

.blob-b {
  width: 560px;
  height: 560px;
  top: 10%;
  right: -220px;
  background: radial-gradient(circle at 60% 40%, #7bf0d2, transparent 70%);
  opacity: 0.28;
  animation: drift-b 32s ease-in-out infinite;
}

.blob-c {
  width: 700px;
  height: 700px;
  bottom: -320px;
  left: 30%;
  background: radial-gradient(circle at 50% 50%, #b06cff, transparent 70%);
  opacity: 0.3;
  animation: drift-c 38s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.05); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
}

.grain {
  position: absolute;
  inset: -100px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 30%), rgba(124, 158, 255, 0.08), transparent 60%);
  transition: background 60ms linear;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 9, 0.55);
  border-bottom: 1px solid transparent;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-mark {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar-link {
  color: var(--text-1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.topbar-link:hover {
  color: var(--text-0);
}

/* ---------- Hero ---------- */

main {
  position: relative;
  z-index: 2;
}

.hero {
  padding: 96px 28px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero > *:nth-child(2) { transition-delay: 0.06s; }
.hero > *:nth-child(3) { transition-delay: 0.12s; }
.hero > *:nth-child(4) { transition-delay: 0.18s; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-2);
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
  max-width: 16ch;
}

.accent-line {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-1);
  max-width: 46ch;
  margin: 0 0 40px;
}

.scroll-cue {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
  animation: scroll-cue 1.6s ease-in-out infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- Tools ---------- */

.tools {
  padding: 40px 28px 120px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}

.count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--live);
  background: rgba(52, 199, 123, 0.12);
  border: 1px solid rgba(52, 199, 123, 0.3);
  padding: 3px 9px;
  border-radius: 100px;
}

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

.card {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  transition-delay: var(--delay, 0ms);
}
.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-live-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(124, 158, 255, 0.35);
}

.is-soon-card {
  border-style: dashed;
  color: var(--text-2);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 158, 255, 0.18), rgba(123, 240, 210, 0.12));
  border: 1px solid var(--border);
  color: var(--accent-2);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 20px;
  height: 20px;
}
.is-soon-card .card-icon {
  background: transparent;
  color: var(--text-2);
}

.card-status {
  position: absolute;
  top: 24px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}
.card-status.is-live {
  color: var(--live);
  background: rgba(52, 199, 123, 0.12);
  border: 1px solid rgba(52, 199, 123, 0.3);
}
.card-status.is-soon {
  color: var(--text-2);
  border: 1px solid var(--border);
}

.card h3 {
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.card-tagline {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--accent-2);
  margin: 0 0 14px;
}
.is-soon-card .card-tagline {
  color: var(--text-2);
}

.card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-1);
  margin: 0 0 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tag {
  font-size: 11px;
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 100px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-0);
}
.arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}
.is-live-card:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Footer ---------- */

footer {
  position: relative;
  z-index: 2;
  padding: 32px 28px 48px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-2);
}
.footer-dot {
  margin: 0 6px;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero { padding: 64px 20px 48px; }
  .tools { padding: 24px 20px 80px; }
  .topbar-inner { height: 60px; }
}
