/* ============================================================
   Landing Page Styles
   Vibe: dark editorial — deep bg, purple accent, serif headings
   ============================================================ */

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

/* ---- Design tokens ---- */
:root {
  --bg:          #080810;
  --bg-card:     #0f0f1a;
  --bg-card-2:   #141424;
  --border:      rgba(255,255,255,0.08);
  --text:        #e5e5f0;
  --text-muted:  #7070a0;
  --accent:      #7c5cfc;
  --accent-dim:  rgba(124,92,252,0.12);
  --accent-glow: rgba(124,92,252,0.30);
  --green:       #10b981;
  --radius-sm:   4px;
  --radius:      12px;
  --font-head:   'Instrument Serif', Georgia, serif;
  --font-body:   'Syne', system-ui, 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: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise texture overlay */
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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgba(124,92,252,0.35);
  border-radius: 6px;
  transition: background 0.18s, border-color 0.18s;
}

.nav-cta:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,92,252,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(124,92,252,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ============================================================
   WAITLIST FORM
   ============================================================ */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 13px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s;
}

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

.waitlist-form input[type="email"]:focus {
  border-color: rgba(124,92,252,0.5);
}

.btn-primary {
  padding: 13px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
  background: #6b4de8;
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  font-size: 0.85rem;
  color: #f87171;
  margin-top: 10px;
  min-height: 20px;
  text-align: center;
}

.hero-social-proof {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 96px 0;
  text-align: center;
}

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

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.how-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.how-tile:hover {
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-2px);
}

.tile-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.tile-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.tile-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,92,252,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band-copy {
  margin-bottom: 36px;
}

.cta-band-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-band-copy p {
  font-size: 1rem;
  color: var(--text-muted);
}

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

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero { padding: 72px 0 60px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"],
  .btn-primary { width: 100%; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
