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

:root {
  --bg:        #0b1120;
  --surface:  #111827;
  --border:    #1e2d45;
  --amber:     #f59e0b;
  --amber-dim: rgba(245,158,11,0.15);
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --high:     #22c55e;
  --mid:      #eab308;
  --ok:       #94a3b8;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 64px;
}

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;
}

/* ─── Nav ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 20px;
  color: var(--amber);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px; color: var(--muted);
  font-family: var(--font-body);
}

/* ─── Hero ─── */
.hero {
  padding: 80px 24px 56px;
  max-width: 1100px; margin: 0 auto;
}
.hero-inner {
  display: flex; flex-direction: column; gap: 32px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 999px;
  padding: 8px 16px;
  width: fit-content;
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,158,11,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}
.badge-text {
  font-size: 13px; color: var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ─── Section Label ─── */
.section-label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

/* ─── Deal Feed ─── */
.dealfeed-section {
  padding: 0 24px 80px;
  max-width: 1100px; margin: 0 auto;
}
.dealfeed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.deal-card:hover { border-color: rgba(245,158,11,0.4); }
.deal-card--featured {
  border-color: rgba(245,158,11,0.35);
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: start;
}
.deal-header {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 6px;
}
.deal-name {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  color: var(--text);
}
.deal-score {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
}
.score-high { color: var(--high); }
.score-mid  { color: var(--mid); }
.score-ok   { color: var(--ok); }
.deal-meta {
  font-size: 13px; color: var(--muted);
  margin-bottom: 12px;
}
.deal-signals {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.signal-tag {
  font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--muted);
}
.deal-actions {
  display: flex; align-items: center;
}
.action-chip {
  font-size: 12px; font-weight: 500;
  border-radius: 999px;
  padding: 4px 12px;
}
.action-chip--warm    { background: rgba(34,197,94,0.15); color: var(--high); border: 1px solid rgba(34,197,94,0.3); }
.action-chip--pending { background: rgba(234,179,8,0.12); color: var(--mid); border: 1px solid rgba(234,179,8,0.25); }
.action-chip--review   { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }

/* ─── Features ─── */
.features {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #0d1526 100%);
}
.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.feature-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.feature-icon {
  color: var(--amber);
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 15px; color: var(--muted);
  line-height: 1.65;
}

/* ─── How It Works ─── */
.howitworks {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.howitworks-header { max-width: 1100px; margin: 0 auto 56px; }
.howitworks-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-top: 8px;
}
.steps {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.step-number {
  font-family: var(--font-head);
  font-size: 48px; font-weight: 800;
  color: rgba(245,158,11,0.2);
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-body {
  font-size: 15px; color: var(--muted);
  line-height: 1.65;
}

/* ─── Closing ─── */
.closing {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px; color: var(--muted);
  line-height: 1.7;
}

/* ─── Footer ─── */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 16px;
  color: var(--amber);
}
.footer-copy { font-size: 13px; color: var(--muted); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .dealfeed-grid { grid-template-columns: 1fr; }
  .deal-card--featured { grid-column: 1; grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 16px 40px; }
  .hero-headline { letter-spacing: -1px; }
  .dealfeed-section, .features, .howitworks, .closing { padding-left: 16px; padding-right: 16px; }
  .section-label { margin-bottom: 16px; }
}
