:root {
  --bg: #0d0b12;
  --surface: #13101a;
  --surface2: #1c1826;
  --border: #2a2435;
  --accent: #9b59d6;
  --accent-bright: #b278f0;
  --accent2: #7c3aed;
  --accent-glow: rgba(155,89,214,0.15);
  --text: #ede8f5;
  --muted: #7a6e8a;
  --danger: #ff6b4a;
  --green: #4ade80;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(14,15,14,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(auto, 560px) minmax(auto, 460px);
  justify-content: center;
  gap: 4rem;
  align-items: center;
  padding: 6rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

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

.hero-left { max-width: 560px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.8rem;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.6s 0.1s forwards;
}

.hero-tag::before { content: '▶'; font-size: 0.6rem; }

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.25s forwards;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.4s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  opacity: 0; animation: fadeUp 0.6s 0.55s forwards;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(155,89,214,0.35); }

.btn-ghost {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── HERO RIGHT: task mockup ── */
.hero-right {
  display: flex; justify-content: flex-end;
  opacity: 0; animation: fadeIn 0.8s 0.6s forwards;
}

.mockup {
  width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

.mockup-bar {
  background: var(--surface2);
  padding: 0.8rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }

.mockup-body { padding: 1.2rem; }

.task-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
  animation: taskSlide 0.4s both;
}
.task-item:hover { border-color: var(--accent); }
.task-item:nth-child(1) { animation-delay: 0.9s; }
.task-item:nth-child(2) { animation-delay: 1.05s; }
.task-item:nth-child(3) { animation-delay: 1.2s; }
.task-item:nth-child(4) { animation-delay: 1.35s; }
.task-item:nth-child(5) { animation-delay: 1.5s; }

.task-status {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
}
.task-status.done { border-color: var(--green); color: var(--green); background: rgba(74,222,128,0.1); }
.task-status.auto { border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(155,89,214,0.1); font-size: 0.55rem; }

.task-label { font-size: 0.82rem; flex: 1; }
.task-label.done-text { text-decoration: line-through; color: var(--muted); }

.task-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid;
  white-space: nowrap;
}
.tag-auto { color: var(--accent-bright); border-color: rgba(155,89,214,0.35); background: rgba(155,89,214,0.06); }
.tag-manual { color: var(--muted); border-color: var(--border); }
.tag-done { color: var(--green); border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.05); }

.mockup-footer {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
}
.progress-bar {
  height: 3px; background: var(--border); flex: 1; margin: 0 1rem;
  position: relative; overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 60%; background: var(--accent);
  animation: progress 2s 1.8s both;
}

/* ── SECTION BASE ── */
section { padding: 7rem 3rem; }

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

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

h2 em { font-style: italic; color: var(--accent); }

/* ── PROBLEM ── */
.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.05rem; }
.problem-text p strong { color: var(--text); font-weight: 500; }

.quote-block {
  border-left: 2px solid var(--accent);
  padding: 1.2rem 1.5rem;
  background: rgba(168,214,114,0.04);
  margin: 2rem 0;
  font-size: 1.05rem;
  color: var(--text);
  font-family: 'DM Serif Display', serif;
  font-style: italic;
}

.pain-list { list-style: none; }
.pain-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}
.pain-list li:last-child { border-bottom: none; }
.pain-icon { color: var(--danger); font-size: 0.8rem; margin-top: 0.2rem; flex-shrink: 0; }

/* ── PHILOSOPHY ── */
.philosophy-intro {
  max-width: 680px;
  margin-bottom: 4rem;
}
.philosophy-intro p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.step {
  background: var(--bg);
  padding: 2rem 1.8rem;
  position: relative;
  transition: background 0.25s;
}
.step:hover { background: var(--surface); }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.step h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── FEATURE: the bridge visual ── */
.bridge-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.bridge-visual {
  position: relative;
}

.flow-diagram {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.flow-row {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 0.5rem;
}
.flow-row:last-child { margin-bottom: 0; }

.flow-node {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.flow-node.manual { color: var(--muted); }
.flow-node.automated { color: var(--accent-bright); border-color: rgba(155,89,214,0.4); background: rgba(155,89,214,0.06); }
.flow-node.more-auto { color: var(--green); border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.06); }

.flow-arrow {
  font-size: 0.7rem; color: var(--border);
  padding: 0 0.3rem;
  flex-shrink: 0;
}

.flow-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.bridge-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; }
.bridge-text p strong { color: var(--text); font-weight: 500; }

.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.feature-list li:last-child { border-bottom: none; }
.check { color: var(--accent); font-size: 0.75rem; margin-top: 0.25rem; flex-shrink: 0; }

/* ── WHAT'S INCLUDED ── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.included-card {
  background: var(--bg);
  padding: 2rem;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.included-card:hover { background: var(--surface); }
.included-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.included-card:hover::before { background: var(--accent); }

.card-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}
.included-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.included-card p { font-size: 0.9rem; color: var(--muted); }

/* ── ROADMAP ── */
.roadmap-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.roadmap-intro { max-width: 600px; margin-bottom: 3rem; }
.roadmap-intro p { color: var(--muted); font-size: 1.05rem; }

.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.timeline-item.active::before { background: var(--accent-bright); box-shadow: 0 0 12px rgba(155,89,214,0.5); }
.timeline-item.next::before { background: var(--surface2); border: 1px solid var(--border); }

.timeline-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border: 1px solid;
}
.tag-now { color: var(--accent-bright); border-color: rgba(155,89,214,0.4); background: rgba(155,89,214,0.08); }
.tag-coming { color: var(--muted); border-color: var(--border); }

.timeline-item h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(155,89,214,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  max-width: 700px;
  margin: 0 auto 1.2rem;
}

.cta-section p { color: var(--muted); max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.1rem; }

.cta-note {
  margin-top: 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(155,89,214,0.08);
  border: 1px solid rgba(155,89,214,0.3);
  padding: 0.6rem 1.4rem;
  margin-bottom: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-bright);
}

.price-badge .free {
  font-size: 1.3rem;
  font-weight: bold;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
}

footer a { color: var(--accent); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes taskSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes progress {
  from { width: 0; }
  to { width: 60%; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; }
  .hero-right { display: none; }
  section { padding: 4rem 1.5rem; }
  .problem-grid, .bridge-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
