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

:root {
  --bg: #0A0A0F;
  --surface: #111117;
  --border: #1E1E26;
  --fg: #F0F0F5;
  --fg-muted: #8A8A9A;
  --accent: #B4FF6B;
  --accent-dim: rgba(180, 255, 107, 0.08);
  --accent-mid: rgba(180, 255, 107, 0.15);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== SECTION SHARED ===== */
section { padding: 80px 32px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 48px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 32px 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(180, 255, 107, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid var(--accent-mid);
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* WORKFLOW DIAGRAM */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.workflow-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.workflow-diagram::before {
  content: 'Workflow A';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
  padding: 0 8px;
}

.wd-node {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.wd-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(180, 255, 107, 0.5);
}

.wd-source .wd-node-dot { background: #6BCBFF; box-shadow: 0 0 8px rgba(107, 203, 255, 0.5); }
.wd-ai .wd-node-dot { background: var(--accent); }
.wd-action .wd-node-dot { background: #FFD06B; box-shadow: 0 0 8px rgba(255, 208, 107, 0.5); }
.wd-done .wd-node-dot { background: #6BFFA8; box-shadow: 0 0 8px rgba(107, 255, 168, 0.5); }

.wd-line {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.25;
  margin-left: 24px;
}

.wd-node.wd-b .wd-node-dot { background: #D4A5FF; box-shadow: 0 0 8px rgba(212, 165, 255, 0.5); }

.wd-line-b {
  background: linear-gradient(90deg, #D4A5FF, transparent);
  opacity: 0.25;
}

.workflow-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== WHAT ===== */
.what { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.what-inner { max-width: 1100px; margin: 0 auto; }

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

.what-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}

.what-card:hover { border-color: var(--accent-mid); background: rgba(180, 255, 107, 0.02); }

.what-icon { margin-bottom: 16px; }

.what-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.what-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===== HOW ===== */
.how { background: var(--bg); }

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.how-desc { font-size: 16px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 40px; }

.how-steps { display: flex; flex-direction: column; gap: 0; }

.how-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  padding-top: 2px;
}

.how-step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.how-step p { font-size: 13px; color: var(--fg-muted); line-height: 1.55; }

.how-right { }

.workflow-diagram-vertical { display: flex; flex-direction: column; gap: 20px; }

.wv-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wv-node {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  white-space: nowrap;
}

.wv-node.wv-ai {
  border-color: var(--accent-mid);
  color: var(--accent);
  background: var(--accent-dim);
}

.wv-arrow {
  font-size: 14px;
  color: var(--fg-muted);
  opacity: 0.4;
}

.how-caption { font-size: 12px; color: var(--fg-muted); margin-top: 20px; font-style: italic; }

/* ===== PROOF ===== */
.proof { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.proof-inner { max-width: 1100px; margin: 0 auto; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.proof-stat {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.proof-text { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ===== PRICING ===== */
.pricing { background: var(--bg); }

.pricing-inner { max-width: 1100px; margin: 0 auto; }

.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }

.pricing-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.pricing-card-feature { border-color: var(--accent-mid); position: relative; }

.pricing-card-feature::after {
  content: 'Popular';
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 100px;
}

.pricing-card-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}

.pricing-card-header p { font-size: 13px; color: var(--fg-muted); margin-bottom: 28px; }

.pricing-price { margin-bottom: 24px; }

.price-main {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
}

.price-sub { font-size: 13px; color: var(--fg-muted); margin-left: 8px; }

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

.pricing-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.pricing-note { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* ===== CLOSING ===== */
.closing { background: var(--bg); position: relative; overflow: hidden; }

.closing::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 255, 107, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-quote {
  font-size: 18px;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 40px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  text-align: left;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing-sub { font-size: 16px; color: var(--fg-muted); line-height: 1.65; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  text-align: center;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner, .how-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 24px 64px; }
  section { padding: 60px 24px; }
  .what-grid, .pricing-cards { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .workflow-diagram { padding: 20px 16px; }
}