/* ===== TYPOGRAPHY ===== */
:root {
  --bg: #0c0c0e;
  --bg-surface: #141417;
  --bg-card: #1a1a1e;
  --fg: #e8e4df;
  --fg-muted: #7a7672;
  --fg-dim: #4a4845;
  --accent: #d4893a;
  --accent-warm: #e8a85c;
  --border: #2a2a2e;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.nav-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(40%);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,14,0.3) 0%,
    rgba(12,12,14,0.6) 40%,
    rgba(12,12,14,0.85) 70%,
    rgba(12,12,14,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 2.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.hero-lede {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ===== EMAIL CAPTURE ===== */
.hero-signup {
  margin-top: 2.5rem;
  max-width: 480px;
}
.hero-signup-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.hero-email-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-email-input::placeholder { color: var(--fg-dim); }
.hero-email-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.hero-signup-btn {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.hero-signup-btn:hover { background: var(--accent-warm); }
.hero-signup-btn:active { transform: scale(0.97); }
.hero-signup-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.hero-signup-msg {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.4em;
}
.hero-signup-msg.success { color: #6ee7b7; }
.hero-signup-msg.error   { color: #fca5a5; }
.hero-signup-msg.info    { color: var(--fg-muted); }

/* ===== PROBLEM ===== */
.problem {
  padding: 8rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.problem-inner { max-width: 860px; margin: 0 auto; }
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 4rem;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
}
.problem-divider {
  width: 1px;
  background: var(--border);
  margin: 0 3rem;
}
.problem-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
}
.problem-list {
  list-style: none;
  margin-bottom: 1.25rem;
}
.problem-list li {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.35rem 0;
}
.problem-note {
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-style: italic;
}
.problem-cta {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ===== FEATURES ===== */
.features { padding: 6rem 2.5rem; background: var(--bg-surface); border-top: 1px solid var(--border); }
.features-inner { max-width: 1040px; margin: 0 auto; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-visual { order: 2; }
.feature-row--reverse .feature-text { order: 1; }
.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.feature-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}
.feature-visual { display: flex; align-items: center; justify-content: center; min-height: 280px; }

/* Feature illustration 1 - Radar rings */
.f-i-one {
  position: relative;
  width: 260px;
  height: 260px;
}
.fi-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.fi-ring-1 { width: 80px; height: 80px; opacity: 0.9; }
.fi-ring-2 { width: 150px; height: 150px; opacity: 0.5; }
.fi-ring-3 { width: 230px; height: 230px; opacity: 0.2; }
.fi-node {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-card);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 137, 58, 0.3);
}
.fi-node-1 { top: 5px; left: 50%; transform: translateX(-50%); }
.fi-node-2 { bottom: 40px; right: 0; }
.fi-node-3 { top: 50%; right: 5px; transform: translateY(-50%); }

/* Feature illustration 2 - Bar chart */
.f-i-two { position: relative; width: 260px; height: 200px; }
.f2-bar {
  position: absolute;
  bottom: 30px;
  width: 40px;
  background: linear-gradient(180deg, var(--accent-warm), var(--accent));
  border-radius: 4px 4px 0 0;
}
.f2-bar-1 { left: 20px; height: 60px; }
.f2-bar-2 { left: 80px; height: 100px; }
.f2-bar-3 { left: 140px; height: 75px; }
.f2-bar-4 { left: 200px; height: 130px; }
.f2-axis { position: absolute; bottom: 28px; left: 10px; right: 10px; height: 1px; background: var(--border); }
.f2-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.f2-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2s ease-out infinite;
}
.f2-pulse-1 { width: 12px; height: 12px; top: 20px; right: 30px; }
.f2-pulse-2 { width: 8px; height: 8px; top: 50px; right: 50px; animation-delay: 0.8s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* Feature illustration 3 - Connected cards */
.f-i-three { position: relative; width: 260px; height: 220px; }
.f3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 80px;
}
.f3-card {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.6rem 0.5rem;
  text-align: center;
  border-radius: 4px;
}
.f3-card:nth-child(odd) { color: var(--accent); border-color: rgba(212,137,58,0.3); }
.f3-connector {
  position: absolute;
  right: 55px;
  top: 30px;
  width: 1px;
  height: calc(100% - 60px);
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.f3-brain {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bg);
  letter-spacing: 0.05em;
  box-shadow: 0 0 30px rgba(212,137,58,0.4);
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 8rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.philosophy-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
.philosophy-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 8rem 2.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 840px; margin: 0 auto; }
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 2.5rem;
}
.manifesto-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 680px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 840px; margin: 0 auto; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 0 1.25rem; }
  .hero-content { padding: 7rem 1.25rem 4rem; }
  .problem { padding: 5rem 1.25rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
  .problem-divider { display: none; }
  .features { padding: 4rem 1.25rem; }
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row--reverse .feature-visual { order: 1; }
  .feature-row--reverse .feature-text { order: 2; }
  .feature-visual { min-height: 200px; }
  .philosophy { padding: 5rem 1.25rem; }
  .manifesto { padding: 5rem 1.25rem; }
  .footer { padding: 4rem 1.25rem; }
}