/* ─── Variables & Reset ──────────────────────────────────────────────────── */

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #1f1f1f;
  --primary: #065fd4;
  --purple: #7c3aed;
  --text: #f5f5f5;
  --text-muted: #888888;
  --green: #4ade80;
  --gradient: linear-gradient(135deg, #065fd4, #7c3aed);
}

*, *::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-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */

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

.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--text);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 24px;
}

.section-headline.left { text-align: left; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: scale(1.02); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--text); color: var(--text); transform: scale(1.02); }

.btn-reversed {
  display: inline-block;
  background: var(--text);
  color: #080808;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-reversed:hover { opacity: 0.9; transform: scale(1.02); }

/* ─── Badge ──────────────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(6, 95, 212, 0.08);
  border: 1px solid var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */

/* Fix 7: nav uses flex directly, not a child wrapper */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 64px;
}

.nav.scrolled { border-bottom-color: rgba(31, 31, 31, 0.8); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }

/* Fix 7: nav CTA */
.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; transform: scale(1.02); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

/* Fix 1: 58px, tighter line-height, max-width centered */
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
  max-width: 800px;
  text-align: center;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

/* Hero Mockup */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: linear-gradient(135deg, rgba(6,95,212,0.3), rgba(124,58,237,0.3));
  filter: blur(80px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.mockup-bar {
  background: var(--surface-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

.mockup-screen {
  background: var(--surface);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-screen img { width: 100%; display: block; object-fit: cover; }

/* ─── Social Proof ───────────────────────────────────────────────────────── */

/* Fix 6: explicit borders, no horizontal padding */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.social-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.avatars { display: flex; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: white;
  margin-left: -8px;
  font-family: 'DM Sans', sans-serif;
}
.avatars .avatar:first-child { margin-left: 0; }

.stars       { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.rating-text { font-size: 14px; font-weight: 500; color: var(--text); }
.proof-divider { color: var(--border); font-size: 18px; }
.proof-text  { font-size: 14px; color: var(--text-muted); }

/* ─── Problem ────────────────────────────────────────────────────────────── */

/* Fix 5: watermark 200px, positioned correctly */
.problem {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}

.section-watermark {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: 'Syne', sans-serif;
  font-size: 200px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.problem-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 720px;
}

.problem-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.problem-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.problem-stat {
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--text);
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ─── How It Works ───────────────────────────────────────────────────────── */

.how-it-works {
  padding: 120px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Fix 2: explicit repeat(3, 1fr) grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0; /* prevents overflow in grid */
}
.step-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 95, 212, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(6, 95, 212, 0.2);
  flex-shrink: 0;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.step-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Smart Tone ─────────────────────────────────────────────────────────── */

.smart-tone { padding: 120px 24px; }

.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 500px;
}

.split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.tone-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tone-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.split-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.tone-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
}

.tone-card-1 { transform: rotate(-1deg); }
.tone-card-2 { transform: rotate(0deg); }
.tone-card-3 { transform: rotate(1deg); }

.tone-comment  { font-size: 13px; color: var(--text-muted); font-style: italic; }
.tone-reply    { font-size: 13px; color: var(--text); line-height: 1.6; }

.tone-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
.tone-tag.warm      { background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.tone-tag.confident { background: rgba(239,68,68,0.12);  color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.tone-tag.helpful   { background: rgba(6,95,212,0.12);   color: #065fd4; border: 1px solid rgba(6,95,212,0.3); }

/* ─── Voice / Waitlist ───────────────────────────────────────────────────── */

.voice-section {
  padding: 120px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.voice-body {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  text-align: center;
}

/* Fix 3: inline form with pill input */
.waitlist-form {
  display: flex;
  flex-direction: row;
  gap: 12px;
  max-width: 480px;
  margin: 40px auto 0;
  width: 100%;
}

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus { border-color: var(--primary); }

.waitlist-btn {
  padding: 14px 24px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s, transform 0.15s;
}
.waitlist-btn:hover { opacity: 0.88; transform: scale(1.02); }

/* ─── Final CTA ──────────────────────────────────────────────────────────── */

.final-cta {
  padding: 140px 24px;
  background: linear-gradient(135deg, rgba(6,95,212,0.15), rgba(124,58,237,0.15));
  border-top: 1px solid rgba(6, 95, 212, 0.3);
}

.final-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.final-sub   { font-size: 20px; color: var(--text-muted); margin-bottom: 48px; }
.fine-print  { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--border); padding: 24px; }

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

.footer-logo   { font-size: 15px; }
.footer-center { font-size: 14px; color: var(--text-muted); }
.footer-link   { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--text); }

/* ─── Scroll Animations (initial state — JS drives transitions) ──────────── */

.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
}

.animate-hero {
  opacity: 0;
  transform: translateY(32px);
}

/* ─── Privacy page ───────────────────────────────────────────────────────── */

.privacy-hero {
  padding: 120px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.privacy-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: var(--text);
  margin-bottom: 12px;
}

.privacy-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.privacy-section {
  margin-bottom: 48px;
}

.privacy-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 16px;
}

.privacy-section p,
.privacy-section li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-section ul {
  padding-left: 20px;
}

.privacy-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-section a:hover { opacity: 0.8; }

/* ─── Mobile ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-cta { display: none; }

  .hero { padding: 100px 20px 60px; }

  /* Fix 1 mobile */
  .hero-headline {
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .hero-sub { font-size: 17px; }
  .hero-mockup { border-radius: 8px; }

  .section-headline { font-size: 36px; }
  .problem-headline { font-size: 36px; }

  .problem-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem-stat { font-size: 18px; }

  /* Fix 2 mobile: collapse to 1 col */
  .steps-grid { grid-template-columns: 1fr; }

  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .split-left  { order: 1; }
  .split-right { order: 2; }
  .section-headline.left { text-align: center; }
  .split-left .badge { align-self: center; }
  .tone-bullets { align-items: center; }

  .final-headline { font-size: 40px; }

  /* Fix 3 mobile: stack form */
  .waitlist-form { flex-direction: column; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-watermark { font-size: 100px; }

  .privacy-headline { font-size: 36px; }
}
