:root {
  --aubergine: #3f0e40;
  --aubergine-2: #611f69;
  --ink: #1a1320;
  --body: #2b2733;
  --muted: #6b6577;
  --line: #ece8f0;
  --bg: #ffffff;
  --bg-soft: #faf8fc;
  --green: #2eb67d;
  --blue: #36c5f0;
  --red: #e01e5a;
  --amber: #ecb22e;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(63, 14, 64, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container { width: min(1140px, 92vw); margin: 0 auto; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }

a { color: inherit; }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--aubergine);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-ghost {
  background: transparent;
  color: var(--aubergine);
  border-color: #e3d7e6;
}
.btn-ghost:hover { background: var(--bg-soft); filter: none; }
.btn-on-dark { background: #fff; color: var(--aubergine); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); filter: none; }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--body); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--aubergine); }
.nav-links .btn { color: #fff; }

/* ───────────── Hero ───────────── */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, #f3e9f4 0%, transparent 60%),
    linear-gradient(180deg, #fbf7fc 0%, #ffffff 100%);
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aubergine-2);
  background: #f1e6f3;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 em { color: var(--aubergine); font-style: normal; }
.lede { font-size: 19px; color: var(--body); max-width: 560px; margin: 0 0 26px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.cta-note.light { color: rgba(255,255,255,0.85); }

/* ───────────── Hero mockup ───────────── */
.hero-mock { perspective: 1600px; }
.mock {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e7dfea;
  transform: rotateY(-9deg) rotateX(3deg);
  transform-origin: left center;
  font-size: 12px;
  background: #fff;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #350d36;
  padding: 9px 12px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.amber { background: #febc2e; }
.dot.green { background: #28c840; }
.mock-search {
  margin-left: 14px;
  flex: 1;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
}
.mock-body { display: grid; grid-template-columns: 56px 150px 1fr; min-height: 320px; }
.mock-rail { background: #2b092c; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rail-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #611f69, #4a154b);
  color: #fff; font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.rail-item { color: rgba(255,255,255,0.8); font-size: 9px; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 46px; padding: 5px 0; border-radius: 8px; }
.rail-item span { width: 17px; height: 17px; border-radius: 5px; border: 1.8px solid currentColor; }
.rail-item.active { background: rgba(255,255,255,0.16); color: #fff; }
.mock-sidebar { background: #3f0e40; color: #cfc3cf; padding: 12px 0; }
.mock-ws { color: #fff; font-weight: 800; font-size: 14px; padding: 2px 14px 10px; }
.mock-find { margin: 0 12px 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 6px; padding: 5px 9px; font-size: 11px; color: #b9adba; }
.mock-sec { padding: 8px 14px 4px; font-size: 11px; font-weight: 700; opacity: 0.85; }
.mock-ch, .mock-dm { padding: 4px 14px; display: flex; align-items: center; gap: 7px; }
.mock-ch.active { background: #5b2a5e; color: #fff; font-weight: 700; }
.badge { background: rgba(255,255,255,0.18); color: #fff; border-radius: 4px; min-width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.av { width: 16px; height: 16px; border-radius: 4px; color: #fff; font-size: 8px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.av.a1 { background: #36c5f0; } .av.a2 { background: #2eb67d; } .av.a3 { background: #7c3aed; } .av.a4 { background: #e01e5a; }
.mock-main { background: #fff; padding: 0; display: flex; flex-direction: column; }
.mock-head { border-bottom: 1px solid var(--line); padding: 10px 16px; }
.mock-head strong { display: block; color: var(--ink); font-size: 14px; }
.mock-head span { color: var(--muted); font-size: 11px; }
.mock-msg { display: flex; gap: 9px; padding: 9px 16px; }
.mock-msg .av { width: 28px; height: 28px; border-radius: 7px; font-size: 11px; }
.mh { color: var(--ink); }
.mh b { font-size: 12.5px; } .mh i { color: var(--muted); font-style: normal; font-size: 10px; margin-left: 5px; }
.mt { color: var(--body); margin-top: 1px; }
.mock-composer { margin: auto 16px 16px; border: 1px solid #cfc7d4; border-radius: 9px; padding: 11px 12px; color: var(--muted); }

/* ───────────── Sections ───────────── */
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
section.container { padding: 72px 0; }
.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; text-align: center; }
.section-sub { text-align: center; color: var(--body); font-size: 18px; max-width: 720px; margin: 14px auto 0; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.compare-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.compare-card h3 { font-size: 19px; margin-bottom: 14px; }
.compare-card ul { margin: 0; padding-left: 20px; }
.compare-card li { margin-bottom: 10px; }
.compare-card.bad { background: #fff6f8; border-color: #f3d4dd; }
.compare-card.bad h3 { color: var(--red); }
.compare-card.good { background: #f1faf5; border-color: #c7ead7; }
.compare-card.good h3 { color: #1b8a5a; }

/* grids */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform 0.1s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ico { font-size: 26px; margin-bottom: 10px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--body); font-size: 15px; }

.use, .feat, .strat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band .use, .band .feat { background: #fff; }
.use h3, .feat h3, .strat h3 { font-size: 18px; margin-bottom: 8px; }
.use p, .feat p, .strat p { margin: 0; color: var(--body); }
.feat h3 { color: var(--aubergine); }
.strat h3 { color: var(--aubergine); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.step { text-align: left; }
.step-n {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--aubergine); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--body); }
.pill { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--aubergine-2); background: #f1e6f3; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* ───────────── AI feature section ───────────── */
.ai-band {
  background: linear-gradient(155deg, #f5eef8 0%, #e9e0f3 100%);
  border-top: 1px solid #ddd0e6;
  border-bottom: 1px solid #ddd0e6;
  padding: 80px 0;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ai-copy .eyebrow { background: rgba(255,255,255,0.7); color: var(--aubergine); }
.ai-copy h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.02em; margin-bottom: 16px; }
.ai-copy p { font-size: 17px; color: var(--body); margin: 0 0 14px; max-width: 480px; }
.ai-copy .read-more {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--aubergine); font-weight: 800; font-size: 16px;
  text-decoration: none; margin-top: 10px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.ai-copy .read-more:hover { border-color: var(--aubergine); }
.ai-copy .read-more svg { transition: transform 0.15s; }
.ai-copy .read-more:hover svg { transform: translateX(3px); }

/* Brief mock visual */
.brief-mock {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(63,14,64,0.18);
  font-size: 13px;
  border: 1px solid #d5c5db;
}
.brief-bar {
  background: #2d0a2e;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.brief-bar .dot { width: 10px; height: 10px; }
.brief-filename {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-family: "SF Mono", "Fira Code", monospace;
}
.brief-body {
  background: #1e0a20;
  padding: 18px 20px;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  font-size: 12px;
  line-height: 1.75;
  color: #c9bfcb;
}
.brief-comment { color: #6b5870; }
.brief-heading { color: #e0c4e3; font-weight: 700; margin-bottom: 4px; }
.brief-key { color: #b39ab8; }
.brief-val { color: #e8d5ea; }
.brief-indent { padding-left: 14px; color: #a08ca6; }
.brief-cursor { display: inline-block; width: 7px; height: 14px; background: #c084cc; margin-top: 2px; animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.brief-divider {
  background: #2d0a2e;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: "SF Mono", monospace;
}
.brief-divider strong { color: #c084cc; }
.brief-result {
  background: #0d1a0e;
  padding: 14px 20px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  line-height: 1.75;
}
.brief-result-line { color: #6fcf97; }
.brief-result-line span { color: #a8d8a8; }
.brief-result-dim { color: #4a7a4f; }

@media (max-width: 920px) {
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #4a154b 0%, #2b092c 100%);
  color: #fff;
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 12px 0 28px; }

/* ───────────── Waitlist modal ───────────── */
.wl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 4, 12, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: wl-fade-in 0.18s ease;
}
.wl-backdrop[hidden] { display: none; }

@keyframes wl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wl-slide-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.wl-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 32px 80px rgba(63, 14, 64, 0.3);
  animation: wl-slide-up 0.2s ease;
}

.wl-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.wl-x:hover { background: var(--bg-soft); }

.wl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aubergine-2);
  background: #f1e6f3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.wl-modal h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}

.wl-sub {
  font-size: 15px;
  color: var(--body);
  margin: 0 0 24px;
  line-height: 1.6;
}

.wl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wl-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.wl-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
}
.wl-field input:focus { border-color: var(--aubergine-2); }
.wl-field input::placeholder { color: var(--muted); }

.wl-submit {
  width: 100%;
  margin-top: 6px;
  font-size: 16px;
  padding: 14px;
  border-radius: 12px;
}

.wl-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}

.wl-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1faf5;
  border: 2px solid #c7ead7;
  color: #1b8a5a;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
}

.wl-done {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
}

@media (max-width: 500px) {
  .wl-modal { padding: 32px 24px 28px; }
}

/* footer */
.footer { background: #1a0a1b; color: #c9bfcb; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 17px; }
.footer-note { margin: 0; font-size: 13px; max-width: 640px; color: #9d92a0; }

/* ───────────── Responsive ───────────── */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { order: 2; }
  .mock { transform: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
}
