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

:root {
  --bg: #0D0D10;
  --bg-alt: #111117;
  --bg-card: #16161D;
  --fg: #E8E8EC;
  --fg-muted: #7A7A8C;
  --accent: #B8FF66;
  --accent-dim: rgba(184, 255, 102, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 14px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,16,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stat {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-head);
}

.hero-divider { color: var(--border); }

/* === FLOW DIAGRAM === */
.diagram-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 220px;
  transition: border-color 0.3s;
}

.flow-node:hover { border-color: rgba(184,255,102,0.3); }

.node-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.node-icon-ai { background: rgba(102, 187, 255, 0.12); color: #66BFFF; }
.node-icon-done { background: rgba(102, 255, 166, 0.12); color: #66FFA6; }

.node-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  font-family: var(--font-head);
}

.flow-connector {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 35px;
  height: 36px;
  position: relative;
}

.connector-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), rgba(184,255,102,0.3));
  margin-left: 18px;
}

.connector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 35px;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* === FEATURES === */
.features {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

.features-header, .process-header, .pricing-header, .manifesto-inner {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(184,255,102,0.2);
  transform: translateY(-2px);
}

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

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === PROCESS === */
.process {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  flex: 1;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 50px;
}

/* === PRICING === */
.pricing {
  padding: 80px 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s;
}

.pricing-tier:hover { border-color: rgba(184,255,102,0.2); }

.pt-featured {
  border-color: rgba(184,255,102,0.25);
  background: linear-gradient(135deg, var(--bg-card), rgba(184,255,102,0.04));
}

.pt-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent);
  color: #0D0D10;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
}

.pt-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.pt-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 16px;
}

.pt-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.pt-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 300;
}

.pt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-list li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.pt-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 28px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}

.manifesto-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.manifesto-cta-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
}

.footer-tag {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; gap: 16px; }
  .step-connector { width: 2px; height: 24px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav, .hero, .features, .process, .pricing, .manifesto, .footer { padding-left: 24px; padding-right: 24px; }
}

/* === LEAD FORM (embedded in hero) === */
#lead-form-wrapper { margin-top: 32px; width: 100%; }

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

.lead-form-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.lead-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lead-fields input {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.lead-fields input:focus { border-color: var(--accent); }
.lead-fields input::placeholder { color: var(--fg-muted); }

.lead-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #0D0D10;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lead-submit-btn:hover { opacity: 0.88; }
.lead-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.lead-msg {
  font-size: 0.82rem;
  margin-top: 10px;
  min-height: 18px;
}
.lead-msg-error { color: #ff6b6b; }

.qual-q { margin-bottom: 14px; }

.qual-label {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.qual-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.qual-select:focus { border-color: var(--accent); }

.result-score {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.result-reason {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.result-email, .result-alert, .result-nudge {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.result-alert { color: var(--accent); }
.result-nudge a { color: var(--accent); text-decoration: none; }
.result-nudge a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-divider { display: none; }
  .lead-fields { flex-direction: column; }
  .lead-fields input { min-width: unset; width: 100%; }
}