/* === BASE === */
:root {
  --navy: #0B1D2E;
  --navy-mid: #112840;
  --navy-light: #1A3A57;
  --amber: #F59E0B;
  --amber-dim: #B4730A;
  --amber-glow: rgba(245,158,11,0.12);
  --white: #FFFFFF;
  --off-white: #F0F4F8;
  --slate: #8BA3BC;
  --slate-light: #C5D5E8;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.15;
}

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

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 3rem;
  max-width: 700px;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245,158,11,0.15);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(11,29,46,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,158,11,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--slate);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-signin {
  font-size: 0.85rem;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-signin:hover { color: var(--white); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--amber);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: #FBBF24; }

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === LINKS === */
a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: #FBBF24; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(245,158,11,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(26,58,87,0.4) 0%, transparent 60%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--navy), transparent);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(245,158,11,0.25);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* CTA button */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 1.5rem;
}

.btn-primary:hover {
  background: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,158,11,0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

/* CTA box */
.cta-box {
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  display: inline-block;
  background: rgba(245,158,11,0.05);
  border-top-color: rgba(245,158,11,0.5);
  border-left-color: rgba(245,158,11,0.35);
}

.cta-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.cta-price-main {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
}

.cta-price-sub {
  font-size: 1.1rem;
  color: var(--slate);
}

.cta-desc {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.5;
}

/* Dashboard / hero illustration */
.hero-dashboard {
  background: var(--navy-mid);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.1);
}

.hero-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(245,158,11,0.1);
}

.dash-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-light);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #22C55E;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E;
}

.dash-states {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dash-state-row {
  display: grid;
  grid-template-columns: 30px 1fr 110px;
  align-items: center;
  gap: 0.75rem;
}

.state-label {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
}

.state-bar {
  height: 6px;
  background: rgba(245,158,11,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.state-fill {
  height: 100%;
  background: linear-gradient(to right, var(--amber-dim), var(--amber));
  border-radius: 3px;
  transition: width 0.8s ease;
}

.state-updated {
  font-size: 0.72rem;
  color: var(--slate);
}

.dash-alerts {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.dash-alert.warning {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--amber);
}

.dash-alert.ok {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #86EFAC;
}

.alert-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.ok-icon {
  background: #22C55E;
  border-radius: 2px;
  font-size: 0.65rem;
}

.dash-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(245,158,11,0.08);
  font-size: 0.7rem;
  color: var(--slate);
}

/* === HOW IT WORKS === */
.hiw {
  padding: 6rem 2rem;
  background: var(--navy-mid);
  border-top: 1px solid rgba(245,158,11,0.08);
  border-bottom: 1px solid rgba(245,158,11,0.08);
}

.hiw-inner { max-width: 1200px; margin: 0 auto; }

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.hiw-step { position: relative; }

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(245,158,11,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
}

/* === FEATURES === */
.features { padding: 6rem 2rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--navy);
  padding: 2rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--navy-mid);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.2) inset, 0 8px 30px rgba(245,158,11,0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.65;
}

/* === COMPARISON === */
.comparison {
  padding: 6rem 2rem;
  background: var(--navy-mid);
}

.comparison-inner { max-width: 1200px; margin: 0 auto; }

.comp-table {
  border: 1px solid rgba(245,158,11,0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.comp-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(245,158,11,0.12);
}

.comp-col-empty { padding: 1rem 1.5rem; }

.comp-col {
  padding: 1rem 1.5rem;
  text-align: center;
  border-left: 1px solid rgba(245,158,11,0.08);
}

.comp-col.active {
  background: rgba(245,158,11,0.06);
}

.comp-col-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-light);
}

.comp-col.active .comp-col-label { color: var(--amber); }

.comp-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(245,158,11,0.06);
  transition: background 0.15s;
}

.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(245,158,11,0.03); }

.comp-label {
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--slate-light);
}

.comp-cell {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  border-left: 1px solid rgba(245,158,11,0.06);
}

.comp-cell.active {
  background: rgba(245,158,11,0.04);
  color: var(--amber);
  font-weight: 600;
}

.comp-cell.error { color: #FCA5A5; }

.comp-note {
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
}

/* === MANIFESTO === */
.manifesto {
  padding: 7rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 4rem;
  font-weight: 400;
}

.manifesto-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.manifesto-stat { text-align: center; }

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(245,158,11,0.08);
}

.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(139,163,188,0.5);
}

/* === WAITLIST === */
.waitlist-wrap {
  margin-top: 2rem;
  max-width: 480px;
}

.waitlist-label {
  font-size: 0.9rem;
  color: var(--slate-light);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.waitlist-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.waitlist-form input[type="email"]::placeholder { color: var(--slate); }
.waitlist-form input[type="email"]:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.1);
}

.waitlist-btn {
  padding: 0.65rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 6px;
  color: var(--amber);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.waitlist-btn:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.5);
}

.waitlist-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.waitlist-msg {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  min-height: 1.2em;
  line-height: 1.4;
}

.waitlist-msg.success { color: #86EFAC; }
.waitlist-msg.error   { color: #FCA5A5; }
.waitlist-msg.loading { color: var(--slate); font-style: italic; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hiw-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .comp-header, .comp-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
  .manifesto-stat-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-inner { padding: 3rem 1.25rem 4rem; }
  .hiw-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .comp-header, .comp-row {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .comp-col { border-left: none; border-top: 1px solid rgba(245,158,11,0.08); }
  .comp-cell { border-left: none; border-top: 1px solid rgba(245,158,11,0.06); }
  .comp-label { padding: 0.75rem 1.25rem; }
  .comp-cell, .comp-col { padding: 0.75rem 1.25rem; }
  .dash-state-row { grid-template-columns: 24px 1fr 80px; }
  .hero-headline { font-size: 2rem; }
}