/* ===========================
   ARCHIVEMIND.AI — STYLESHEET
   =========================== */

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

:root {
  --gold: #C9A84C;
  --gold-light: rgba(201,168,76,0.12);
  --gold-border: rgba(201,168,76,0.4);
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --dark-3: #333;
  --text: #111;
  --text-muted: #555;
  --text-faint: #888;
  --border: rgba(0,0,0,0.1);
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

em { color: var(--gold); font-style: normal; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav-logo-text { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; color: var(--text); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ---- BUTTONS ---- */
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-gold:hover { opacity: 0.9; }
.btn-gold:active { transform: scale(0.98); }

/* ---- HERO ---- */
.hero {
  text-align: center;
  padding: 80px 40px 64px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-block;
  background: var(--dark);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.incentive-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 7px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ---- EMAIL CAPTURE FORM ---- */
.capture-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto 10px;
}
.capture-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: white;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.capture-form input[type="email"]:focus { border-color: var(--gold); }
.capture-form-dark input[type="email"] {
  background: var(--dark-2);
  border-color: #444;
  color: white;
}
.capture-form-dark input[type="email"]::placeholder { color: #666; }
.form-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-note { font-size: 12px; color: var(--text-faint); }
.form-hint-dark { font-size: 13px; color: #666; margin-bottom: 6px; }
.form-note-dark { font-size: 12px; color: #555; }

/* ---- MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 18px; color: var(--text-muted);
  cursor: pointer;
}
.modal-logo-wrap { text-align: center; margin-bottom: 20px; }
.modal-logo { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; }
.modal-title {
  font-size: 22px; font-weight: 700;
  text-align: center; margin-bottom: 8px;
  color: var(--text);
}
.modal-sub {
  font-size: 14px; color: var(--text-muted);
  text-align: center; margin-bottom: 24px;
  line-height: 1.6;
}
.video-placeholder {
  background: var(--dark);
  border-radius: var(--radius-sm);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 24px;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.video-logo { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.video-placeholder p { color: #ccc; font-size: 15px; font-weight: 500; }
.video-placeholder span { color: var(--text-faint); font-size: 13px; }
.modal-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.perk {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.perk-icon { font-size: 20px; flex-shrink: 0; }
.perk strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--text); }
.perk p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ---- FLOW STRIP ---- */
.flow-strip {
  padding: 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.step {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  min-width: 110px; padding: 0 12px;
}
.step-icon {
  width: 48px; height: 48px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.step-num { font-size: 10px; color: var(--text-faint); font-weight: 600; }
.step-label { font-size: 13px; font-weight: 600; color: var(--text); }
.step-desc { font-size: 11px; color: var(--text-muted); text-align: center; }
.arrow { color: var(--gold); font-size: 24px; padding-bottom: 24px; }

/* ---- SECTIONS ---- */
.section { padding: 64px 40px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); }
.section-dark .section-label { color: var(--gold); }
.section-dark .section-title { color: white; }
.section-dark .road-item { background: var(--dark-2); border-color: var(--dark-3); }
.section-dark .road-item h4 { color: white; }
.section-dark .road-item p { color: var(--text-faint); }

.section-label {
  font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-size: 28px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.section-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

/* ---- USE CASES ---- */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.use-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--bg);
  transition: border-color 0.2s, transform 0.15s;
}
.use-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.use-card.highlight { border-color: var(--gold-border); background: var(--gold-light); }
.use-new {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.use-icon { font-size: 28px; margin-bottom: 12px; }
.use-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.use-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.use-tag {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600;
  color: var(--gold);
  background: var(--gold-light);
  padding: 4px 10px; border-radius: 4px;
}

/* ---- ROADMAP ---- */
.road-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 28px;
}
.road-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark-2);
}
.road-phase { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 10px; text-transform: uppercase; }
.road-phase.now { color: var(--gold); }
.road-phase.next { color: #666; }
.road-phase.future { color: #444; }
.road-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.road-item p { font-size: 12px; line-height: 1.5; }

/* ---- HOW IT WORKS ---- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; margin-top: 32px;
}
.how-visual {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center;
  min-height: 280px;
}
.how-logo { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; }
.how-visual span { color: var(--text-faint); font-size: 13px; }
.how-points { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.how-point { display: flex; gap: 14px; align-items: flex-start; }
.how-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.how-point h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.how-point p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---- SOCIAL PROOF ---- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 32px;
}
.quote-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--bg);
}
.stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.quote-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.quote-author { font-size: 13px; font-weight: 600; color: var(--text); }
.quote-role { font-size: 12px; color: var(--text-faint); }

/* ---- WAITLIST SECTION ---- */
.waitlist-section {
  background: var(--dark);
  padding: 80px 40px;
  text-align: center;
}
.waitlist-section h2 { font-size: 36px; font-weight: 700; color: white; margin-bottom: 12px; line-height: 1.2; }
.waitlist-section > p { font-size: 16px; color: var(--text-faint); margin-bottom: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }
.waitlist-incentive {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 20px; padding: 7px 18px;
  margin-bottom: 24px;
  font-size: 13px; color: var(--gold); font-weight: 500;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  border-top: 1px solid #2a2a2a;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer span { font-size: 13px; color: #555; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: #555; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* ---- SUCCESS STATE ---- */
.success-msg {
  text-align: center;
  padding: 16px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav { padding: 12px 20px; }
  .hero { padding: 60px 20px 48px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 48px 20px; }
  .flow-strip { padding: 32px 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .modal-perks { grid-template-columns: 1fr; }
  .waitlist-section { padding: 60px 20px; }
  .waitlist-section h2 { font-size: 26px; }
  .footer { padding: 20px; flex-direction: column; text-align: center; }
}
