/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0d1b2a;
  --navy-mid:#162336;
  --navy-lt: #1e3050;
  --amber:   #e8a838;
  --amber-lt:#f5c76a;
  --amber-dk:#c4891a;
  --cream:   #f5f0e8;
  --cream-dk:#ede5d6;
  --text:    #1a1a2e;
  --text-md: #4a5568;
  --text-lt: #718096;
  --border:  rgba(255,255,255,0.08);
  --radius:  8px;
  --radius-lg: 16px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; color: var(--text-md); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dk);
  margin-bottom: 0.75rem;
}
.section-label.centered { display: block; text-align: center; }

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 5% 5rem;
  background: var(--cream);
  min-height: 85vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232,168,56,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(232,168,56,0.2); } 50% { box-shadow: 0 0 0 8px rgba(232,168,56,0.05); } }
.eyebrow-text { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-lt); text-transform: uppercase; }

.hero h1 { margin-bottom: 1.5rem; }
.hero-lede { font-size: 1.1rem; color: var(--text-md); max-width: 500px; margin-bottom: 2.5rem; }

.hero-stats { display: flex; gap: 2rem; align-items: center; }
.stat-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 0.75rem; color: var(--text-lt); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* --- DASHBOARD CARD --- */
.dashboard-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(13,27,42,0.4), 0 0 0 1px rgba(232,168,56,0.08) inset;
}
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dash-title { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
.dash-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 20px; }
.dash-badge.live { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }

.dash-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter { font-size: 0.7rem; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); cursor: pointer; }
.filter.active { background: rgba(232,168,56,0.15); color: var(--amber); border: 1px solid rgba(232,168,56,0.3); }

.dash-table { font-size: 0.78rem; }
.dash-table-head { display: grid; grid-template-columns: 2fr 2.5fr 1.2fr 1.2fr 0.8fr; gap: 0.5rem; padding: 6px 8px; color: rgba(255,255,255,0.3); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 4px; }
.dash-row { display: grid; grid-template-columns: 2fr 2.5fr 1.2fr 1.2fr 0.8fr; gap: 0.5rem; padding: 8px; border-radius: 6px; align-items: center; transition: background 0.2s; }
.dash-row:hover { background: rgba(255,255,255,0.04); }
.dash-row.muted { opacity: 0.4; }
.parcel { color: rgba(255,255,255,0.4); font-size: 0.7rem; }
.addr  { color: rgba(255,255,255,0.75); font-size: 0.78rem; line-height: 1.4; }
.amount { color: var(--amber); font-weight: 600; }
.value  { color: rgba(255,255,255,0.6); }
.score  { font-weight: 700; font-size: 0.85rem; text-align: center; border-radius: 4px; padding: 2px 0; }
.score.high   { color: #4ade80; }
.score.medium { color: var(--amber); }
.score.low    { color: rgba(255,255,255,0.3); }

.dash-footer { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.ping-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-tagline { font-size: 0.72rem; color: var(--text-lt); text-align: center; margin-top: 0.75rem; font-style: italic; }

/* --- WHY SECTION --- */
.why { background: var(--cream-dk); padding: 6rem 5%; }
.why-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-left h2 { margin-bottom: 1.5rem; }
.why-body { margin-bottom: 1rem; font-size: 0.95rem; }
.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-feat { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon { flex-shrink: 0; margin-top: 2px; }
.why-feat-title { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.why-feat-desc { font-size: 0.85rem; color: var(--text-md); }

.competitors-card { background: var(--navy); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid rgba(255,255,255,0.06); }
.comp-header { margin-bottom: 0.75rem; }
.comp-title { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.comp-subtitle { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 2px; }
.comp-items { display: flex; flex-direction: column; gap: 0.65rem; }
.comp-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; padding: 6px 0; }
.comp-item.off span { color: rgba(255,255,255,0.35); }
.comp-item.on span  { color: rgba(255,255,255,0.75); }
.comp-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 1rem 0; }

/* --- HOW SECTION --- */
.how { background: var(--cream); padding: 6rem 5%; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-title { text-align: center; margin-bottom: 4rem; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { padding: 2rem 1.5rem; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: rgba(13,27,42,0.08); margin-bottom: 1rem; line-height: 1; }
.step-body h3 { margin-bottom: 0.75rem; font-size: 1rem; color: var(--navy); }
.step-body p  { font-size: 0.88rem; color: var(--text-md); }
.step-arrow { display: flex; align-items: start; padding-top: 2.5rem; }
.step-icon { margin-bottom: 1rem; }

/* --- SAMPLE ALERT --- */
.sample { background: var(--cream-dk); padding: 6rem 5%; }
.sample-inner { max-width: 800px; margin: 0 auto; }
.sample-inner h2 { margin-bottom: 2.5rem; }
.alert-card { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.alert-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); gap: 1rem; }
.alert-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem; }
.alert-badge.high { background: rgba(232,168,56,0.15); color: var(--amber); border: 1px solid rgba(232,168,56,0.3); }
.alert-address { font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.3rem; font-family: var(--font-display); }
.alert-parcel { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.alert-action-tag { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--amber); background: rgba(232,168,56,0.1); border: 1px solid rgba(232,168,56,0.2); padding: 6px 12px; border-radius: 20px; white-space: nowrap; }

.alert-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.metric { background: var(--navy-mid); padding: 1.25rem 1rem; text-align: center; }
.metric-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--amber); }
.metric-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.06em; }

.alert-flags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.flag { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; padding: 4px 10px; border-radius: 6px; }
.flag-green { background: rgba(34,197,94,0.08); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.flag-amber { background: rgba(232,168,56,0.08); color: var(--amber); border: 1px solid rgba(232,168,56,0.2); }

.alert-ai-note { display: flex; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.5rem; background: rgba(232,168,56,0.05); border-top: 1px solid rgba(232,168,56,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.sample-caption { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-lt); font-style: italic; }

/* --- CLOSING --- */
.closing { background: var(--navy); padding: 7rem 5%; text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-rule { width: 40px; height: 3px; background: var(--amber); border-radius: 2px; margin: 0 auto 3rem; }
.closing h2 { color: rgba(255,255,255,0.95); margin-bottom: 1.5rem; }
.closing-body { color: rgba(255,255,255,0.55); font-size: 1rem; margin-bottom: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-tag { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* --- FOOTER --- */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem 5%; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 0.2rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; min-height: auto; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .alert-metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-divider { display: none; }
  .alert-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}