/* ============================================================
   YourProduct Landing Page
   Theme: deep dark, Fraunces display + Satoshi body, amber accent
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #181818;
  --surface:   #1c1c1c;
  --surface-2: #212121;
  --border:    rgba(255,255,255,0.08);
  --text:      #f0ede6;
  --muted:     #888580;
  --accent:    #f59e0b;
  --accent-dim: rgba(245,158,11,0.15);
  --accent-glow: rgba(245,158,11,0.35);
  --radius:    6px;
  --max-w:     1080px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* subtle grain texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Shared ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.4);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 36px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  flex-shrink: 0;
}
.proof-text {
  font-size: 0.875rem;
  color: var(--muted);
}
/* Glow orb behind hero */
.hero-glow {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text); }

/* ---- Problem ---- */
.problem {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.problem-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Value Props ---- */
.value-props {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.vp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.vp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.vp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.vp-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}
.vp-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.vp-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  position: relative;
}
/* Connector line between steps on desktop */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% - 0px);
  right: calc(33.33% - 0px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px 0 0;
  position: relative;
}
.step:last-child { padding-right: 0; }
.step-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(245,158,11,0.18);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  position: relative;
}
.step-number::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  border-radius: 2px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.step-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Waitlist ---- */
.waitlist {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.waitlist-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.waitlist-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.65;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.email-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 12px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus {
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.btn-submit { white-space: nowrap; }
.form-message {
  margin-top: 14px;
  font-size: 0.875rem;
  min-height: 20px;
  text-align: center;
}
.form-message--success { color: #34d399; }
.form-message--error   { color: #f87171; }

/* ---- FAQ ---- */
.faq {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.2s ease;
}
details[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  padding: 0 0 22px 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ---- Footer ---- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .hero { padding: 80px 24px 72px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary { width: 100%; justify-content: center; }
  .form-row { flex-direction: column; }
  .email-input { min-width: unset; width: 100%; }
  .btn-submit { width: 100%; }

  .nav-links .nav-link { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .step { padding-right: 0; }

  .footer-inner { flex-direction: column; }
}
