/* ============================================================
   [Product Name] — Landing Page Stylesheet
   Owns: all visual styling for the public landing page.
   Does NOT own: app styles, authenticated UI.
   ============================================================ */

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

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

:root {
  --bg:        #0c0c0e;
  --bg-card:   #141417;
  --bg-stripe: #111114;
  --border:    rgba(255, 255, 255, 0.08);
  --text:      #e8e8ea;
  --muted:     #8a8a96;
  --accent:    #f0c060;   /* warm amber */
  --accent-dim: rgba(240, 192, 96, 0.12);
  --radius:    4px;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Satoshi', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0c0c0e;
}
.btn-primary:hover {
  background: #f7d080;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 192, 96, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(240, 192, 96, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid rgba(240, 192, 96, 0.3);
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
}

/* ── Features ───────────────────────────────────────────────── */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

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

.feature-card:hover {
  background: #17171b;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.feature-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-body {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Social proof strip ─────────────────────────────────────── */
.social-proof {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-stripe);
  text-align: center;
}

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

.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-placeholder {
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 80px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.testimonials {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin-inline: auto;
  margin-top: 48px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonial-author strong {
  color: var(--text);
}

/* ── Final CTA ──────────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(240, 192, 96, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

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

/* ── Waitlist form ──────────────────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.waitlist-form input[type="email"]:focus {
  border-color: rgba(240, 192, 96, 0.4);
}

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

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

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

.footer-link {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .features { padding: 64px 0; }
  .cta-section { padding: 64px 0; }
  .cta-box { padding: 40px 24px; }
  .logos-strip { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
