/* Landing page — dark, modern aesthetic.
 * Fonts: Instrument Serif (headings) + General Sans (body).
 * Palette: near-black bg, warm amber accent, muted grays. */

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

:root {
  --bg: #0b0b0f;
  --bg-elevated: #13131a;
  --bg-card: #1a1a24;
  --text: #e8e6e3;
  --text-muted: #8a8891;
  --accent: #f0a500;
  --accent-glow: rgba(240, 165, 0, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── Noise overlay for texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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");
  pointer-events: none;
  z-index: 0;
}

/* ── Container ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-cta {
  font-size: 0.85rem;
  padding: 8px 20px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent); color: var(--bg); }

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

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
}

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

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

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.waitlist-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input:focus { border-color: var(--accent); }

.waitlist-form button {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.waitlist-form button:hover { opacity: 0.9; transform: translateY(-1px); }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-message {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 24px;
}
.form-message.success { color: #34d399; }
.form-message.error { color: #f87171; }

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

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(240, 165, 0, 0.2); transform: translateY(-2px); }

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

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ── Social proof / trust strip ── */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.trust p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.trust p strong { color: var(--text); font-style: normal; }

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--text); }

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 1.25rem; }
  .feature-card { padding: 24px 20px; }
}
