@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Satoshi:wght@400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:         #0e0d0b;
  --bg-surface: #161410;
  --bg-card:    #1c1a16;
  --border:     rgba(255,255,255,0.07);
  --amber:      #d97706;
  --amber-lt:   #fbbf24;
  --text:       #e8e3d9;
  --text-muted: #8a8070;
  --radius:     4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.1;
}

/* ── Layout utilities ──────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(14,13,11,0.95) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--amber);
}

.nav-cta {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--amber);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--amber-lt);
  transform: translateY(-1px);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(217,119,6,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(217,119,6,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Fine grid lines for industrial feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(217,119,6,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--amber-lt);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ── Form ──────────────────────────────────────────────── */
#waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

#waitlist-form input[type="email"] {
  flex: 1 1 240px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}

#waitlist-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

#waitlist-form input[type="email"]:focus {
  border-color: var(--amber);
}

#waitlist-form button {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

#waitlist-form button:hover:not(:disabled) {
  background: var(--amber-lt);
  transform: translateY(-1px);
}

#waitlist-form button:disabled {
  opacity: 0.7;
  cursor: default;
}

#waitlist-msg {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.2em;
  transition: color 0.2s;
}

#waitlist-msg.success {
  color: #4ade80;
}

#waitlist-msg.error {
  color: #f87171;
}

.hero-social {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--bg);
  margin-left: -8px;
  font-size: 0.7rem;
  line-height: 26px;
  text-align: center;
}

.avatar-stack span:first-child { margin-left: 0; }

/* ── Problem / Solution ────────────────────────────────── */
.problem {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.problem h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.problem p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.problem p + p {
  margin-top: 14px;
}

.problem-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prob-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}

.prob-item:hover { border-color: rgba(217,119,6,0.25); }

.prob-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.prob-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.prob-text span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ── Features ──────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  max-width: 560px;
  margin: 0 auto 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s ease;
  position: relative;
}

.feature-card:hover {
  background: #201e19;
}

/* Amber top-border accent on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA strip ─────────────────────────────────────────── */
.cta-strip {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-surface);
}

.cta-strip h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

#waitlist-form-2 {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

#waitlist-form-2 input[type="email"] {
  flex: 1 1 220px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}

#waitlist-form-2 input[type="email"]::placeholder { color: var(--text-muted); }
#waitlist-form-2 input[type="email"]:focus { border-color: var(--amber); }

#waitlist-form-2 button {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

#waitlist-form-2 button:hover:not(:disabled) {
  background: var(--amber-lt);
  transform: translateY(-1px);
}

#waitlist-form-2 button:disabled { opacity: 0.7; cursor: default; }

#waitlist-msg-2 {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

#waitlist-msg-2.success { color: #4ade80; }
#waitlist-msg-2.error { color: #f87171; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.footer-logo span { color: var(--amber); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── How It Works ──────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 24px;
  align-items: start;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}

.step:hover {
  border-color: rgba(217,119,6,0.3);
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(217,119,6,0.18);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.step-body h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(217,119,6,0.2) 100%);
  margin-top: 52px;
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '›';
  position: absolute;
  right: -8px;
  top: -10px;
  color: var(--amber);
  font-size: 1.1rem;
  line-height: 1;
}

/* ── Differentiators (product detail 4-card grid) ─────── */
.differentiators {
  padding: 100px 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.diff-card {
  background: var(--bg-card);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
}

.diff-card:hover {
  background: #201e19;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.diff-card:hover::before {
  transform: scaleX(1);
}

.diff-icon {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--amber);
  display: block;
}

.diff-card h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.diff-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: 'Satoshi', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

details[open] .faq-question {
  color: var(--amber-lt);
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 4px 22px;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 680px;
}

/* ── Credibility strip ─────────────────────────────────── */
.credibility {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.cred-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cred-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cred-slot {
  /* 160×48 target — swap <span> for <img> when real logos land */
  width: 160px;
  height: 48px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.cred-slot:hover {
  opacity: 0.65;
}

.cred-placeholder {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 2.4rem; }

  /* How it works: stack vertically on mobile */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }
  .step-connector {
    width: 2px;
    height: 28px;
    margin: 0 0 0 28px;
    background: linear-gradient(180deg, var(--amber) 0%, rgba(217,119,6,0.2) 100%);
  }
  .step-connector::after {
    content: '›';
    right: auto;
    left: -10px;
    top: auto;
    bottom: -10px;
    transform: rotate(90deg);
    display: block;
  }

  /* Product detail: 2-col on mobile */
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Credibility: wrap tightly on small screens */
  .cred-row { gap: 20px; }
  .cred-slot { width: 140px; }
}

@media (max-width: 480px) {
  /* Single-column on very small screens */
  .diff-grid { grid-template-columns: 1fr; }
  .cred-slot { width: 120px; height: 40px; }
}
