/* ============================================
   QuoteProof — Landing Page Styles
   ============================================ */

/* --- Variables --- */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F4F3F0;
  --fg: #1C1C1E;
  --fg-muted: #6B6B6B;
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-light: #FEF3C7;
  --red: #DC2626;
  --green: #16A34A;
  --border: #E5E4E0;
  --card-bg: #FFFFFF;
  --radius: 4px;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Instrument Sans', -apple-system, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { color: var(--fg-muted); }

/* --- Nav --- */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* --- Hero --- */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 420px;
  margin-bottom: 28px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 100px;
  font-weight: 500;
}

/* --- Primary CTA Button --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  margin-bottom: 24px;
}
.btn-primary:hover {
  background: var(--accent-dark);
}

/* --- Quote Card (Hero Visual) --- */
.quote-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.quote-card-header {
  background: var(--fg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quote-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-amber { background: #FEBC2E; }
.dot-green { background: #28C840; }
.quote-card-label {
  font-size: 0.7rem;
  color: #9B9B9B;
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.quote-card-body {
  padding: 20px;
}

/* Score circle */
.report-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.score-circle {
  position: relative;
  width: 52px;
  height: 52px;
}
.score-svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.score-bg {
  fill: none;
  stroke: var(--bg-alt);
  stroke-width: 3;
}
.score-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}
.score-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--fg);
}
.score-meta span {
  font-size: 0.75rem;
  color: var(--red);
}
.report-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

/* Flags */
.report-flags { display: flex; flex-direction: column; gap: 8px; }
.flag-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.flag-item svg { flex-shrink: 0; margin-top: 1px; }
.flag-warn { color: var(--accent-dark); }
.flag-ok { color: var(--green); }

/* Price range */
.report-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-label { font-size: 0.72rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.price-value { font-size: 1.1rem; font-weight: 600; color: var(--green); }
.price-quote { font-size: 0.78rem; color: var(--fg-muted); }

.report-overpay { margin-top: 10px; }
.overpay-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: #FEE2E2;
  color: var(--red);
  border-radius: 100px;
}

/* --- Problem Section --- */
.problem {
  padding: 80px 0;
  background: var(--bg-alt);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}
.problem-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 48px;
  border-right: 2px solid var(--accent);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--fg);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.4;
}
.problem-text { display: flex; flex-direction: column; gap: 16px; }
.problem-headline { color: var(--fg); }
.problem-body { font-size: 0.97rem; color: var(--fg-muted); max-width: 560px; }

/* --- How It Works --- */
.how-it-works {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.how-it-works-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  color: var(--fg);
  margin-bottom: 48px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 16px;
  align-items: start;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.5;
}
.step-title { color: var(--fg); }
.step-body { font-size: 0.9rem; color: var(--fg-muted); }
.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 40px;
}

/* --- The Report --- */
.the-report {
  padding: 80px 0;
  background: var(--bg-alt);
}
.the-report-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.report-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.report-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rf-icon { flex-shrink: 0; }
.rf-text h4 { color: var(--fg); margin-bottom: 4px; font-size: 0.95rem; }
.rf-text p { font-size: 0.85rem; color: var(--fg-muted); }

/* --- Pricing --- */
.pricing {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.pricing-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 28px 24px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #FFFBF5 0%, #FFFFFF 100%);
}
.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-header { margin-bottom: 20px; }
.pc-name { font-size: 0.8rem; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 8px; }
.pc-price { font-family: var(--font-serif); font-size: 2.2rem; color: var(--fg); }
.pc-price-unit { font-size: 1rem; font-family: var(--font-sans); font-weight: 400; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pc-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.pc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pc-note { font-size: 0.75rem; color: var(--fg-muted); }

/* --- Guarantee --- */
.guarantee {
  padding: 80px 0;
  background: var(--fg);
}
.guarantee-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.guarantee-badge { flex-shrink: 0; }
.guarantee-text h2 { color: #FFFFFF; margin-bottom: 16px; }
.guarantee-text p { color: #A0A0A0; font-size: 0.95rem; max-width: 560px; margin-bottom: 12px; }
.guarantee-text p:last-child { margin-bottom: 0; }

/* --- Closing --- */
.closing {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  max-width: 680px;
}
.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 20px;
  font-style: italic;
}
.closing-body { font-size: 1rem; color: var(--fg-muted); max-width: 540px; }

/* --- Footer --- */
.footer {
  padding: 28px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}
.footer-desc { font-size: 0.8rem; color: var(--fg-muted); }
.footer-meta { font-size: 0.78rem; color: var(--fg-muted); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-sub { max-width: 100%; }
  .problem-inner { grid-template-columns: 1fr; gap: 32px; }
  .problem-stat { flex-direction: row; align-items: center; border-right: none; border-bottom: 2px solid var(--accent); padding-right: 0; padding-bottom: 24px; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .report-features { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .guarantee-inner { grid-template-columns: 1fr; gap: 24px; }
  .guarantee-badge { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}