/* =========================================
   SolarScout Landing Page Theme
   Fonts: Playfair Display + Figtree
   Palette: Forest green + warm amber + cream
   ========================================= */

:root {
  --forest: #0D2A1A;
  --forest-mid: #1A3D2B;
  --amber: #D4881F;
  --amber-light: #F0A832;
  --cream: #FAF5EE;
  --cream-dark: #F0E8D8;
  --ink: #1A1A1A;
  --ink-light: #4A4A4A;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(13, 42, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 136, 31, 0.15);
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: rgba(212, 136, 31, 0.8);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--amber);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--amber-light); }

.nav-pricing {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 0.5rem;
}

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 42, 26, 0.92) 0%,
    rgba(13, 42, 26, 0.75) 40%,
    rgba(13, 42, 26, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 750px;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

/* ---- SHARED SECTIONS ---- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  padding: 7rem 0;
  background: var(--forest);
}

.howitworks .section-label { color: var(--amber); }
.howitworks .section-title { color: var(--white); }

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

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212, 136, 31, 0.15);
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  position: relative;
  transition: background 0.3s;
}

.step-card:hover { background: rgba(212, 136, 31, 0.08); }

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(212, 136, 31, 0.25);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ---- THE PROBLEM ---- */
.theproblem {
  padding: 7rem 0;
  background: var(--cream);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.comparison-left, .comparison-right {
  border: 2px solid;
  padding: 2rem;
}

.comparison-left {
  border-color: rgba(212, 136, 31, 0.3);
  background: var(--cream-dark);
}

.comparison-right {
  border-color: var(--forest);
  background: var(--white);
}

.comp-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid;
}

.comp-bad { border-color: rgba(212, 136, 31, 0.2); }
.comp-good { border-color: rgba(13, 42, 26, 0.15); }

.comp-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.comp-desc {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comp-list-bad li { color: var(--ink-light); }
.comp-list-good li { color: var(--ink); }

.icon-x { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.icon-check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.comp-cost {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid;
}

.comparison-left .comp-cost { border-color: rgba(212, 136, 31, 0.2); }
.comparison-right .comp-cost { border-color: rgba(13, 42, 26, 0.1); }

.cost-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.03em;
}

.cost-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.cost-high { color: var(--ink-light); }
.cost-low { color: var(--forest); }

.comparison-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  gap: 0.75rem;
  height: 100%;
}

.divider-line {
  width: 1px;
  height: 40px;
  background: rgba(13, 42, 26, 0.2);
}

.divider-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- THE SOLUTION ---- */
.thesolution {
  padding: 7rem 0;
  background: var(--cream-dark);
  border-top: 1px solid rgba(13, 42, 26, 0.08);
  border-bottom: 1px solid rgba(13, 42, 26, 0.08);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.solution-body {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.solution-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(13, 42, 26, 0.12);
}

.stat {}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-light);
  line-height: 1.4;
}

.solution-image {
  position: relative;
}

.sol-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.solution-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--amber);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.badge-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.5;
}

/* ---- WHY ARIZONA ---- */
.whyarizona {
  padding: 7rem 0;
  background: var(--forest);
}

.whyarizona .section-label { color: var(--amber); }
.whyarizona .section-title { color: var(--white); }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.fact-card {
  background: rgba(13, 42, 26, 0.6);
  padding: 2.5rem 2rem;
  text-align: left;
}

.fact-icon {
  width: 32px;
  height: 32px;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.fact-icon svg { width: 100%; height: 100%; }

.fact-data {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 7rem 0;
  background: var(--cream);
}

.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.quote-card {
  background: var(--white);
  border: 2px solid rgba(13, 42, 26, 0.08);
  padding: 2.5rem;
  position: relative;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--amber);
  line-height: 0.6;
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 700;
}

.quote-text {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.quote-attribution {}

.quote-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
  margin-bottom: 0.2rem;
}

.quote-role {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-light);
}

/* ---- CLOSING ---- */
.closing-section {
  padding: 8rem 0;
  background: var(--forest);
  text-align: center;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.closing-body--big {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--amber);
  font-style: italic;
}

/* ---- FOOTER ---- */
.footer {
  background: #070F0A;
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(212, 136, 31, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--amber); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-divider { flex-direction: row; padding: 1rem 0; }
  .divider-line { width: 40px; height: 1px; }
  .solution-grid { grid-template-columns: 1fr; gap: 3rem; }
  .solution-badge { bottom: 1rem; left: 1rem; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .solution-stats { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .facts-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.4rem; }
  .section-title { font-size: 1.75rem; }
}