:root {
  --bg: #070b14;
  --bg-soft: #0d1322;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #a8b0c3;
  --primary: #6ea8ff;
  --secondary: #8e7dff;
  --accent: #4ee4c6;
  --danger: #ff7a7a;
  --success: #61e3a7;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(110, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(142, 125, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 80%, rgba(78, 228, 198, 0.08), transparent 30%),
    linear-gradient(180deg, #050811 0%, #0a1020 50%, #050811 100%);
  min-height: 100vh;
}

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

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

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

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 28px rgba(110, 168, 255, 0.6);
}

.nav-cta {
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero {
  padding-top: 72px;
}

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

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #9dc0ff 35%, #a99dff 65%, #80ffe6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-text,
.card p,
.feature-panel p,
.footer-note {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 60ch;
  margin-top: 24px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.waitlist-form input {
  flex: 1 1 280px;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0 18px;
  font-size: 1rem;
  outline: none;
  transition: 0.25s ease;
}

.waitlist-form input::placeholder {
  color: #93a0bb;
}

.waitlist-form input:focus {
  border-color: rgba(110, 168, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(110, 168, 255, 0.12);
}

.waitlist-form button {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  font-size: 1rem;
  font-weight: 700;
  color: #07111d;
  background: linear-gradient(135deg, #9fc0ff, #80ffe6);
  cursor: pointer;
  transition: 0.25s ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-message.is-error {
  color: var(--danger);
}

.form-message.is-success {
  color: var(--success);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #dce5ff;
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brain-orb {
  position: relative;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(169, 157, 255, 0.12), transparent 45%),
    radial-gradient(circle at 40% 30%, rgba(110, 168, 255, 0.15), transparent 36%);
  filter: drop-shadow(0 20px 80px rgba(111, 135, 255, 0.18));
}

.orb-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), rgba(110, 168, 255, 0.08) 45%, transparent 72%);
  box-shadow:
    inset 0 0 80px rgba(110, 168, 255, 0.12),
    0 0 60px rgba(142, 125, 255, 0.15);
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(157, 186, 255, 0.14);
}

.orb-ring-1 { inset: 10%; animation: pulse 8s linear infinite; }
.orb-ring-2 { inset: 22%; animation: pulse 10s linear infinite reverse; }
.orb-ring-3 { inset: 34%; animation: pulse 12s linear infinite; }

.node,
.line {
  position: absolute;
  display: block;
}

.node {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #7edbff);
  box-shadow: 0 0 18px rgba(126, 219, 255, 0.7);
  animation: floatNode 4s ease-in-out infinite;
}

.node-1 { top: 18%; left: 30%; }
.node-2 { top: 30%; right: 18%; animation-delay: 0.8s; }
.node-3 { top: 52%; left: 14%; animation-delay: 1.3s; }
.node-4 { bottom: 20%; left: 30%; animation-delay: 1.6s; }
.node-5 { bottom: 24%; right: 20%; animation-delay: 0.6s; }
.node-6 { top: 48%; right: 10%; animation-delay: 1.1s; }

.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 186, 255, 0.5), transparent);
  transform-origin: left center;
}

.line-1 {
  width: 180px;
  top: 29%;
  left: 31%;
  transform: rotate(18deg);
}

.line-2 {
  width: 220px;
  top: 52%;
  left: 16%;
  transform: rotate(-9deg);
}

.line-3 {
  width: 170px;
  bottom: 28%;
  left: 32%;
  transform: rotate(12deg);
}

.problem,
.quote-block {
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card,
.feature-panel,
.cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
  min-height: 230px;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 186, 255, 0.28);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(142, 125, 255, 0.18));
  border: 1px solid rgba(157, 186, 255, 0.15);
  color: #d8e4ff;
  font-weight: 800;
}

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

.feature-panel {
  padding: 30px;
}

.quote-block blockquote {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #e7efff;
}

.cta-section {
  padding-bottom: 112px;
}

.cta-box {
  padding: 40px;
  text-align: center;
}

.secondary-form {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 42px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.65; }
  50% { transform: scale(1.02) rotate(180deg); opacity: 1; }
  100% { transform: scale(1) rotate(360deg); opacity: 0.65; }
}

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    align-items: start;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .nav-cta {
    display: none;
  }

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

  .brain-orb {
    width: min(420px, 100%);
  }

  .cta-box {
    padding: 28px 20px;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .waitlist-form button,
  .waitlist-form input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
