/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12,12,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}
.nav-badge { font-size: 12px; color: var(--fg-3); margin-left: auto; }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #0c0c10;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #00f0d0; }
@media (max-width: 600px) {
  .nav-inner { padding: 0 24px; }
  .nav-badge { display: none; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0c10;
  --surface: #131318;
  --surface-2: #1a1a22;
  --border: rgba(255,255,255,0.06);
  --accent: #00e5c0;
  --accent-dim: rgba(0,229,192,0.12);
  --accent-glow: rgba(0,229,192,0.25);
  --fg: #f0f0f5;
  --fg-2: rgba(240,240,245,0.55);
  --fg-3: rgba(240,240,245,0.3);
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 56px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 60% 40%, rgba(0,229,192,0.06) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(0,229,192,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 420px;
}

/* Neural visualization */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-viz {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 540/480;
}

#neuralCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.neural-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,192,0.9) 0%, rgba(0,229,192,0.3) 60%, transparent 100%);
  box-shadow: 0 0 40px rgba(0,229,192,0.4), 0 0 80px rgba(0,229,192,0.15);
}

.node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  width: 14px;
  height: 14px;
}
.node-1 { top: 18%; left: 50%; transform: translateX(-50%); width:16px; height:16px; }
.node-2 { top: 42%; left: 18%; }
.node-3 { top: 42%; right: 18%; }
.node-4 { top: 65%; left: 32%; }
.node-5 { top: 65%; right: 32%; }
.node-6 { bottom: 12%; left: 50%; transform: translateX(-50%); }

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,229,192,0.3);
  animation: pulse-expand 3s ease-out infinite;
}
.ring-1 { width: 120px; height: 120px; animation-delay: 0s; }
.ring-2 { width: 220px; height: 220px; animation-delay: 1s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 2s; }

@keyframes pulse-expand {
  0% { opacity: 0.6; transform: translate(-50%,-50%) scale(0.8); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.4); }
}

.workflow-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wf-label {
  position: absolute;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  background: rgba(12,12,16,0.7);
  padding: 4px 8px;
  border-radius: 3px;
}
.label-research { top: 16%; left: 50%; transform: translateX(-50%); }
.label-create { top: 38%; right: 8%; }
.label-publish { bottom: 38%; left: 8%; }
.label-optimize { bottom: 16%; left: 50%; transform: translateX(-50%); }

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 16px; }
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-label, .section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 860px;
  margin-bottom: 48px;
  border: none;
  padding: 0;
}

.manifesto-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 680px;
}

/* ===== THE WORK ===== */
.the-work {
  padding: 120px 0;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 72px;
  max-width: 520px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.work-card {
  background: var(--surface);
  padding: 48px;
  transition: background 0.2s;
}
.work-card:hover { background: var(--surface-2); }

.work-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.work-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.work-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}

@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card { padding: 32px; }
  .manifesto, .the-work { padding: 80px 0; }
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin-top: 24px;
}

.outcomes-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.outcome-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.outcome-item:first-child { border-top: 1px solid var(--border); }

.outcome-metric {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-label {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .outcomes { padding: 80px 0; }
}

/* ===== QUOTE ===== */
.quote-section {
  padding: 100px 0;
  background: var(--bg);
}

.quote-inner {
  max-width: 800px;
}

.quote-bar {
  width: 3px;
  height: 48px;
  background: var(--accent);
  margin-bottom: 32px;
}

.quote-text {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.quote-source {
  font-size: 13px;
  color: var(--fg-3);
  font-style: normal;
  letter-spacing: 0.03em;
}

/* ===== CLOSING ===== */
.closing-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.closing-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 600px;
  margin: 0 auto 56px;
}

.closing-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  background: var(--surface-2);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}

.footer-links {
  font-size: 12px;
  color: var(--fg-3);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #0c0c10;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: #00f0d0; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: transparent;
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { color: var(--fg); border-color: rgba(255,255,255,0.2); }

/* ===== WAITLIST COUNTER ===== */
.waitlist-counter {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 8px;
}
.wl-count { color: var(--accent); font-weight: 600; }
.wl-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== WAITLIST FORM ===== */
.waitlist-sticky-wrap {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.waitlist-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.wl-form-label {
  font-size: 15px;
  color: var(--fg-2);
  margin-bottom: 24px;
}
.wl-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.wl-input {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.wl-input::placeholder { color: var(--fg-3); }
.wl-input:focus { border-color: var(--accent); }
.wl-company { min-width: 200px; }
.wl-btn {
  padding: 12px 28px;
  background: var(--accent);
  color: #0c0c10;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.wl-btn:hover:not(:disabled) { background: #00f0d0; transform: translateY(-1px); }
.wl-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wl-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.wl-msg-success { color: var(--accent); }
.wl-msg-error { color: #ff6b6b; }

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
  padding: 120px 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px;
}
.hiw-step {
  background: var(--surface);
  padding: 48px 40px;
  transition: background 0.2s;
}
.hiw-step:hover { background: var(--surface-2); }
.hiw-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}
.hiw-icon { font-size: 32px; margin-bottom: 20px; }
.hiw-step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.hiw-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
}

@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-step { padding: 32px 28px; }
  .how-it-works-section { padding: 80px 0; }
}

/* ===== COMPARISON ===== */
.comparison-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.comparison-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.comp-header,
.comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 16px 24px;
}
.comp-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}
.comp-tool-label { text-align: center; }
.comp-us-label { text-align: center; color: var(--accent); }
.comp-row {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.comp-row:last-of-type { border-bottom: none; }
.comp-row:hover { background: var(--surface-2); }
.comp-feature {
  font-size: 15px;
  color: var(--fg-2);
}
.comp-check {
  text-align: center;
  font-size: 16px;
  color: var(--fg-3);
}
.comp-check.accented { color: var(--accent); }
.comp-x {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.2);
}
.comp-verdict {
  padding: 28px 24px;
  background: var(--accent-dim);
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
.comp-verdict em { font-style: normal; color: var(--accent); font-weight: 600; }

@media (max-width: 640px) {
  .comp-header span:first-child,
  .comp-row .comp-feature { display: none; }
  .comp-header,
  .comp-row { grid-template-columns: 1fr 1fr; }
  .comp-feature { display: block; }
  .comp-header span:first-child { display: block; }
}

/* ===== PRICING TEASER ===== */
.pricing-teaser {
  padding: 120px 0;
}
.pricing-inner { text-align: center; }
.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.pricing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 60px;
}
.pricing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.plan-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  background: var(--surface);
  text-align: left;
  position: relative;
}
.plan-pro {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #0c0c10;
  padding: 4px 14px;
  border-radius: 100px;
}
.plan-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 32px;
  line-height: 1;
}
.plan-price span { font-size: 20px; font-weight: 400; color: var(--fg-2); }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg-2);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
.pricing-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--fg-3);
}

@media (max-width: 640px) {
  .pricing-plans { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 24px; }
  .pricing-teaser { padding: 80px 0; }
}

/* ===== SECTION TYPOGRAPHY ===== */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}

@media (max-width: 600px) {
  .closing-section { padding: 80px 0; }
  .closing-badges { gap: 8px; }
  .badge { font-size: 11px; padding: 6px 14px; }
}
