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

:root {
  --bg: #0f1117;
  --bg-2: #141822;
  --bg-3: #1a1f2e;
  --fg: #f0f2f5;
  --fg-muted: #8b92a5;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --green: #10b981;
  --blue: #3b82f6;
  --border: rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Syne', system-ui, sans-serif; }

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 22px; color: var(--accent); line-height: 1; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--fg-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 48px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-angles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.angle-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.2s;
}

.angle-card:hover { border-color: rgba(245,158,11,0.3); }

.angle-icon { font-size: 22px; line-height: 1; margin-top: 2px; }

.angle-card strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.angle-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.roof-diagram { position: relative; }

.roof-shape {
  width: 220px;
  height: 130px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.roof-shape svg { width: 160px; }

.call-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 280px;
}

.call-icon { font-size: 20px; }

.call-text { flex: 1; }
.call-label { display: block; font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.call-num { font-size: 14px; font-weight: 500; }

.ai-badge {
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.status-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.pill-green { background: rgba(16,185,129,0.12); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
.pill-amber { background: rgba(245,158,11,0.12); color: var(--accent); border: 1px solid rgba(245,158,11,0.2); }
.pill-blue { background: rgba(59,130,246,0.12); color: var(--blue); border: 1px solid rgba(59,130,246,0.2); }

/* === STATS === */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 48px;
  margin: 64px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* === WHAT IT DOES === */
.what-it-does {
  padding: 80px 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.what-it-does h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 600px;
}

.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lifecycle-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.lifecycle-step:hover { border-color: rgba(245,158,11,0.25); }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 16px;
}

.lifecycle-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lifecycle-step p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* === FEATURES === */
.features { padding: 80px 48px; background: var(--bg-2); }

.features h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

.feature-list { display: flex; flex-direction: column; gap: 72px; }

.feature-item {
  display: grid;
  gap: 48px;
  align-items: center;
}

.feature-left { grid-template-columns: 1fr 1fr; }
.feature-right { grid-template-columns: 1fr 1fr; }

.feature-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-item p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* Call UI */
.call-ui {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  font-size: 13px;
}

.call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.call-rec-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.call-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  margin-bottom: 16px;
}

.wave {
  width: 3px;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.wave-2 { animation-delay: 0.2s; opacity: 0.7; }
.wave-3 { animation-delay: 0.4s; opacity: 0.4; }

@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}

.call-log { display: flex; flex-direction: column; gap: 8px; }
.log-line { color: var(--fg-muted); line-height: 1.5; font-size: 12px; padding-left: 12px; border-left: 2px solid var(--border); }
.log-ai { color: var(--accent); border-left-color: rgba(245,158,11,0.3); }

/* Estimate UI */
.estimate-ui {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.estimate-header {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  color: var(--fg-muted);
}

.estimate-row-total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  color: var(--fg);
  font-size: 15px;
}

.estimate-badge {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--green);
  background: rgba(16,185,129,0.1);
  padding: 6px 12px;
  border-radius: 8px;
}

/* Insurance UI */
.insurance-ui {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.ins-header {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.ins-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  padding: 8px 0;
}

.ins-check { color: var(--green); font-weight: 700; }
.ins-active { color: var(--accent); font-weight: 500; }
.ins-pending { color: var(--fg-muted); opacity: 0.5; }
.ins-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* === PRICING === */
.pricing { padding: 80px 48px; }

.pricing h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.pricing-featured {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--bg-2) 60%);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.card-price {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.card-price span { font-size: 20px; font-weight: 600; letter-spacing: 0; }

.card-period {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.card-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card-features li { font-size: 14px; color: var(--fg-muted); padding-left: 20px; position: relative; }
.card-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.setup-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--fg-muted);
}

.setup-label { font-weight: 600; color: var(--fg); margin-right: 6px; }

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.closing h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 24px;
}

.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 0; gap: 40px; }
  .hero-visual { align-items: flex-start; }
  .roof-shape { margin: 0 auto 20px; }
  .status-pills { justify-content: flex-start; }
  .stats-row { flex-direction: column; gap: 24px; }
  .stat-divider { width: 60px; height: 1px; }
  .lifecycle-grid { grid-template-columns: 1fr; }
  .feature-left, .feature-right { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .navbar { padding: 16px 24px; }
  .what-it-does, .features, .pricing { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
}
