/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:       #000000;
  --bg2:      #050509;
  --bg3:      #05071a;
  --surface:  #070821;
  --surface2: #0b1040;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);

  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.66);
  --muted2:   rgba(255,255,255,0.42);

  /* Brand palette extraída das logos reais */
  --amber:    #FF9A00;
  --orange:   #FF7A1A;
  --coral:    #FF5A36;
  --red:      #FF3B4A;
  --teal:     #17D6B3;
  --cyan:     #0FC7B0;
  --blue:     #0A8FA0;
  --deep-blue:#003A8C;
  --navy:     #00008B;
  --royal:    #02006F;
  --gray:     #DCDCDC;
  --wpp:      #25D366;

  /* Gradientes */
  --g-fire:   linear-gradient(90deg, #FF9A00 0%, #FF5A36 45%, #FF3B4A 100%);
  --g-teal:   linear-gradient(90deg, #17D6B3 0%, #0A8FA0 100%);
  --g-solar:  linear-gradient(135deg, #FF9A00 0%, #FF5A36 34%, #FF3B4A 66%, #17D6B3 100%);
  --g-blue:   linear-gradient(135deg, #00008B 0%, #003A8C 52%, #0A8FA0 100%);
  --g-sky:    linear-gradient(180deg, #02006F 0%, #000000 100%);

  --shadow-fire: 0 0 40px rgba(255,122,26,0.34);
  --shadow-teal: 0 0 40px rgba(23,214,179,0.25);
  --shadow-sun:  0 0 80px rgba(255,154,0,0.16);

  --r:   12px;
  --rl:  20px;
  --rll: 28px;

  /* Header sizing */
  --urgency-height: 58px;
  --nav-height: 88px;
  --section-gap: 96px;
  --section-gap-sm: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--urgency-height) + var(--nav-height) + 24px);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--urgency-height) + var(--nav-height));
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ============================================================
   LOGO SVG COMPONENT (reutilizável via <use>)
============================================================ */
.joy-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   UTILITY
============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-gap) 0; }
.section-sm { padding: var(--section-gap-sm) 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.chip--fire {
  background: rgba(255,122,26,0.1);
  border: 1px solid rgba(255,122,26,0.3);
  color: var(--orange);
}
.chip--teal {
  background: rgba(23,214,179,0.1);
  border: 1px solid rgba(23,214,179,0.3);
  color: var(--teal);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; }

.fire { background: var(--g-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.teal { background: var(--g-teal); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn--fire  { background: var(--g-fire); color: #fff; box-shadow: 0 8px 32px rgba(255,122,26,0.4); }
.btn--fire:hover  { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(255,122,26,0.55); }
.btn--wpp   { background: var(--wpp); color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,0.35); }
.btn--wpp:hover   { background: #1fb855; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(37,211,102,0.5); }
.btn--glass {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn--lg { font-size: 17px; padding: 20px 42px; }
.btn--full { width: 100%; }
.btn svg { flex-shrink: 0; }

/* ============================================================
   NAVBAR
============================================================ */
nav {
  position: fixed;
  top: var(--urgency-height); left: 0; right: 0;
  z-index: 999;
  padding: 14px 24px;
  min-height: var(--nav-height);
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s ease;
}
nav.scrolled {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  padding: 10px 24px;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.nav-logo {
  width: auto;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }

@media(max-width:1100px){
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-actions .btn--glass { display: none; }
}

@media(max-width:900px){
  .nav-inner { grid-template-columns: auto auto; }
  .nav-links { display: none; }
}

/* ============================================================
   LOGO SVG — FIEL À IDENTIDADE VISUAL DAS IMAGENS
============================================================ */

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: calc(100vh - var(--urgency-height) - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 36px;
}

/* Céu estrelado + atmosfera solar */
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 70% at 70% 30%, rgba(255,154,0,0.08) 0%, transparent 55%),
              radial-gradient(ellipse 60% 60% at 20% 80%, rgba(23,214,179,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,58,140,0.12) 0%, transparent 70%),
              linear-gradient(180deg, #000000 0%, #02006F 54%, #000000 100%);
}

/* Sol animado no fundo */
.hero-sun {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,154,0,0.18) 0%, rgba(255,122,26,0.09) 35%, rgba(255,59,74,0.04) 60%, transparent 75%);
  animation: sunPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-sun::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,154,0,0.22) 0%, rgba(255,122,26,0.1) 50%, transparent 70%);
  animation: sunPulse 4s ease-in-out infinite reverse;
}
.hero-sun::after {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,154,0,0.3) 0%, rgba(255,122,26,0.15) 60%, transparent 100%);
}

@keyframes sunPulse {
  0%,100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50%      { transform: translateY(-50%) scale(1.06); opacity: 0.85; }
}

/* Painéis solares estilizados (fundo) */
.hero-panels {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-46%);
  width: 45vw;
  max-width: 580px;
  opacity: 0.55;
  pointer-events: none;
}

/* Grid linhas */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Raios de luz */
.sunray {
  position: absolute;
  right: 20%;
  top: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,154,0,0.4) 0%, transparent 100%);
  transform-origin: bottom center;
  animation: rayPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rayPulse {
  0%,100% { opacity: 0.15; }
  50%      { opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.hero-logo-png {
  width: clamp(150px, 16vw, 230px);
  height: auto;
  object-fit: contain;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-label-line {
  height: 1.5px;
  width: 36px;
  background: var(--g-fire);
}
.hero-label-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  align-items: center;
  justify-content: center;
  gap: 22px 34px;
  padding-top: 38px;
  margin-bottom: 64px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}
.trust-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23,214,179,0.15);
  border: 1px solid rgba(23,214,179,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Painel solar SVG */
.solar-panel-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 580px;
  z-index: 1;
  pointer-events: none;
}

@media(max-width:900px){
  .solar-panel-visual { display: none; }
  .hero-sun { right: -20%; opacity: 0.4; }
}

/* KPI flutuante */
.kpi-float {
  position: absolute;
  background: rgba(7,8,33,0.92);
  border: 1px solid var(--border2);
  border-radius: var(--rl);
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  z-index: 3;
  pointer-events: none;
  animation: floatAnim 5s ease-in-out infinite;
}
.kpi-float--1 { left: 48%; bottom: 20%; }
.kpi-float--2 { left: 52%; top: 22%; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.kpi-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 1;
  background: var(--g-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kpi-label { font-size: 11px; color: var(--muted2); margin-top: 2px; font-weight: 500; }

@media(max-width:1100px){
  .kpi-float { display: none; }
}

/* ============================================================
   STATS STRIP
============================================================ */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  margin-top: 28px;
  margin-bottom: var(--section-gap);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  background: var(--g-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--muted2); font-weight: 500; letter-spacing: 0.5px; }
@media(max-width:600px){ .stats-strip-inner { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   SECTION HEADERS
============================================================ */
.sec-header { margin-bottom: 60px; }
.sec-header .chip { margin-bottom: 18px; }
.sec-header h2 { margin-bottom: 14px; }
.sec-header p { font-size: 1.05rem; color: var(--muted); max-width: 540px; font-weight: 400; }
.sec-header.center { text-align: center; }
.sec-header.center p { margin: 0 auto; }

/* ============================================================
   BENEFITS
============================================================ */
.benefits { background: var(--bg2); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  padding: 32px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--g-fire);
  opacity: 0;
  transition: opacity 0.35s;
}
.benefit-card:hover { border-color: rgba(255,122,26,0.2); transform: translateY(-4px); box-shadow: var(--shadow-fire); }
.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: rgba(255,122,26,0.1);
  border: 1px solid rgba(255,122,26,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
  color: var(--orange);
}
.benefit-card:hover .benefit-icon { box-shadow: 0 0 24px rgba(255,122,26,0.3); }
.benefit-icon--teal  { background: rgba(23,214,179,0.1); border-color: rgba(23,214,179,0.2); color: var(--teal); }
.benefit-icon--cyan  { background: rgba(15,199,176,0.1); border-color: rgba(15,199,176,0.2); color: var(--cyan); }
.benefit-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

.benefit-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.benefit-card--wide { grid-column: span 2; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.hiw { background: var(--bg3); }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
}
.hiw-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--teal) 100%);
  opacity: 0.4;
}
.hiw-step { text-align: center; position: relative; }
.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--orange);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.hiw-step:hover .step-circle {
  background: var(--g-fire);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-fire);
}
.hiw-step h3 { font-size: 1rem; margin-bottom: 8px; }
.hiw-step p { font-size: 13px; color: var(--muted); }
@media(max-width:768px){ .hiw-grid { grid-template-columns: 1fr 1fr; } .hiw-grid::before { display: none; } }
@media(max-width:480px){ .hiw-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COMPARISON
============================================================ */
.comparison { background: var(--bg2); }
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--rll);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th,
.compare-table td { padding: 18px 24px; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table th { font-weight: 700; font-size: 13px; background: var(--surface); text-align: center; }
.compare-table td:first-child { text-align: left; color: var(--muted); font-size: 13px; }
.compare-table td { text-align: center; }
.compare-table th.col-solar { background: rgba(255,122,26,0.08); color: var(--orange); border-top: 2px solid var(--orange); }
.compare-table td.col-solar { background: rgba(255,122,26,0.04); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.015); }
.ico-yes { color: var(--teal); font-size: 18px; }
.ico-no  { color: rgba(255,255,255,0.15); font-size: 18px; }
td.col-solar .ico-yes { color: var(--orange); }

/* ============================================================
   CALCULATOR
============================================================ */
.calculator { background: var(--bg3); }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc-card, .calc-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  padding: 40px;
}
.calc-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.calc-card > p { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.field-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.input-row { position: relative; margin-bottom: 28px; }
.input-prefix { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 18px; color: var(--orange); }
.calc-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border2);
  border-radius: var(--r);
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  padding: 16px 16px 16px 52px;
  outline: none;
  transition: border-color 0.3s;
  -moz-appearance: textfield;
}
.calc-input:focus { border-color: rgba(255,122,26,0.5); }
.calc-input::placeholder { color: rgba(255,255,255,0.1); font-family: 'Bebas Neue', sans-serif; }
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.economy-bar-wrap { background: rgba(255,255,255,0.05); border-radius: 100px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.economy-bar { height: 100%; width: 0; border-radius: 100px; background: var(--g-fire); transition: width 1s cubic-bezier(.4,0,.2,1); }
.economy-bar-label { font-size: 12px; color: var(--muted2); margin-bottom: 24px; }

.results-grid { display: none; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; animation: fadeUp .5s ease; }
.result-box { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-align: center; }
.result-box.highlight { grid-column: 1/-1; border-color: rgba(255,122,26,0.25); background: rgba(255,122,26,0.06); }
.result-val { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; line-height: 1; margin-bottom: 4px; }
.result-val.fire { background: var(--g-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.result-val.teal { background: var(--g-teal); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.result-lbl { font-size: 11px; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.calc-info { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,122,26,0.1); border: 1px solid rgba(255,122,26,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
}
.info-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.info-item h4 { font-size: 14px; margin-bottom: 4px; }
.info-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media(max-width:900px){ .calc-layout { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--bg2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  padding: 28px;
  transition: all 0.3s;
}
.testi-card:hover { border-color: rgba(23,214,179,0.2); transform: translateY(-3px); }
.stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14px; }
.testi-city { font-size: 12px; color: var(--muted2); }

.numbers-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  overflow: hidden;
  margin-top: 48px;
}
.num-item { background: var(--surface); padding: 32px 24px; text-align: center; }
.num-val { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; margin-bottom: 6px; background: var(--g-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.num-lbl { font-size: 12px; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
@media(max-width:768px){ .numbers-row { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--bg3); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-features { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.about-feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.feat-dot--fire { background: var(--orange); box-shadow: 0 0 10px rgba(255,122,26,0.5); }
.feat-dot--teal { background: var(--teal); box-shadow: 0 0 10px rgba(23,214,179,0.5); }
.about-feat h4 { font-size: 14px; margin-bottom: 3px; }
.about-feat p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.about-card-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-card-main::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--g-solar);
}
.big-num { font-family: 'Bebas Neue', sans-serif; font-size: 5.5rem; line-height: 1; background: var(--g-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.about-sub { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-align: center; }
.about-sub .n { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--teal); }
.about-sub p { font-size: 11px; color: var(--muted2); margin-top: 2px; }
@media(max-width:900px){ .about-layout { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   REGIONS
============================================================ */
.regions { background: var(--bg2); }
.regions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rll);
  padding: 28px;
  display: flex; align-items: center; gap: 18px;
  transition: all 0.3s;
}
.region-card:hover { border-color: rgba(255,122,26,0.25); transform: translateY(-3px); box-shadow: var(--shadow-fire); }
.region-icon { font-size: 28px; width: 56px; height: 56px; background: rgba(255,122,26,0.1); border: 1px solid rgba(255,122,26,0.2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.region-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.region-state { font-size: 12px; color: var(--muted2); }
.region-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--teal); font-weight: 600; margin-top: 6px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: livePulse 1.5s infinite; }
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
@media(max-width:600px){ .regions-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--bg3); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--text); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px;
  text-align: left; padding: 22px 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-ico { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: all 0.3s; }
.faq-item.open .faq-ico { background: var(--g-fire); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.final-cta p { font-size: 1.05rem; color: var(--muted); margin-bottom: 40px; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-guarantee { margin-top: 24px; font-size: 13px; color: var(--muted2); display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--muted2); }
@media(max-width:768px){ .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   URGENCY BAR
============================================================ */
.urgency-bar {
  background: var(--g-fire);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--urgency-height);
  z-index: 1000;
}
.urgency-bar p { font-weight: 700; font-size: 13px; color: #fff; text-align: center; }
.urgency-bar .cd { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 2px 12px; font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; color: #fff; letter-spacing: 2px; }
.urgency-bar a { background: #fff; color: var(--orange); font-weight: 800; font-size: 12px; padding: 7px 18px; border-radius: 100px; transition: all 0.2s; white-space: nowrap; }
.urgency-bar a:hover { background: #000000; color: var(--orange); }

/* ============================================================
   FLOAT WPP
============================================================ */
.float-wpp {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1000;
  display: flex; align-items: center; gap: 12px;
}
.float-bubble {
  background: var(--surface2);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: slideIn .6s ease 2s both;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wpp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all 0.3s;
  animation: slideIn .4s ease 1.8s both;
  position: relative; flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 40px rgba(37,211,102,0.6); }
.float-btn svg { width: 30px; height: 30px; fill: #fff; }
.float-btn-label { display: none; }
.float-ping {
  position: absolute; top: -2px; right: -2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--bg);
  animation: ping 1.5s ease-in-out infinite;
}
@keyframes ping { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.4} }
@keyframes slideIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }


/* ============================================================
   MOBILE OPTIMIZATIONS
============================================================ */
@media (max-width: 768px) {
  :root {
    --urgency-height: 104px;
    --nav-height: 76px;
  }

  body {
    padding-top: calc(var(--urgency-height) + var(--nav-height));
  }

  .urgency-bar {
    min-height: var(--urgency-height);
    padding: 10px 16px 12px;
    flex-direction: column;
    gap: 8px;
  }

  .urgency-bar p {
    font-size: 12px;
    line-height: 1.2;
  }

  .urgency-bar .cd {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    padding: 4px 10px;
  }

  nav {
    top: var(--urgency-height);
    padding: 10px 16px;
    min-height: var(--nav-height);
  }

  nav.scrolled {
    padding: 8px 16px;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-logo {
    width: 132px;
    height: 50px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn--glass {
    display: none;
  }

  .nav-actions .btn--wpp {
    padding: 10px 14px;
    font-size: 12px;
  }

  .nav-actions .btn--wpp svg {
    width: 14px;
    height: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-content {
    max-width: 100%;
  }
  .hero-logo-wrap {
    margin-bottom: 18px;
  }

  .hero-logo-png {
    width: min(190px, 58vw);
  }

  .hero-label {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.02;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    padding-top: 24px;
    margin-bottom: 44px;
  }

  .trust-item {
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .stats-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 24px 14px;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  :root {
    --section-gap: 72px;
    --section-gap-sm: 52px;
  }

  .section {
    padding: var(--section-gap) 0;
  }

  .section-sm {
    padding: var(--section-gap-sm) 0;
  }

  .stats-strip {
    margin-bottom: var(--section-gap);
  }

  .sec-header {
    margin-bottom: 36px;
  }

  .sec-header p {
    font-size: 0.98rem;
  }

  .calc-card,
  .calc-info,
  .about-card-main {
    padding: 24px;
  }

  .calc-input {
    font-size: 1.9rem;
    padding-left: 48px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .about-sub-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }

  .float-wpp {
    right: 14px;
    bottom: 14px;
  }

  .float-bubble {
    display: none;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  :root {
    --urgency-height: 110px;
    --nav-height: 72px;
  }

  .container {
    padding: 0 16px;
  }

  .urgency-bar p {
    font-size: 11px;
  }

  .urgency-bar a {
    width: 100%;
    text-align: center;
  }

  .nav-actions .btn--wpp {
    width: 100%;
    justify-content: center;
  }

  .nav-inner {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    justify-self: center;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn--wpp {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .stats-strip {
    margin-bottom: 64px;
  }

  .stats-strip-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .benefit-card--wide {
    grid-column: auto;
  }

  .testi-grid,
  .benefits-grid,
  .regions-grid,
  .about-layout,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
  }

  .faq-q {
    padding: 18px 18px;
    font-size: 14px;
  }

  .faq-a-inner {
    padding: 0 18px 18px;
  }
}

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ============================================================
   MISC
============================================================ */
.glow-sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,122,26,0.4), transparent); }
.glow-sep--teal { background: linear-gradient(90deg, transparent, rgba(23,214,179,0.3), transparent); }

@keyframes fadeUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }


/* Mobile conversion-first layout */
@media (max-width: 768px) {
  :root {
    --urgency-height: 46px;
    --nav-height: 64px;
  }

  body {
    padding-top: calc(var(--urgency-height) + var(--nav-height));
    padding-bottom: 88px;
  }

  .urgency-bar {
    min-height: var(--urgency-height);
    padding: 7px 14px;
    flex-direction: row;
    gap: 8px;
  }

  .urgency-bar p {
    font-size: 11px;
    line-height: 1.15;
  }

  .urgency-bar .cd,
  .urgency-bar a {
    display: none;
  }

  nav {
    top: var(--urgency-height);
    min-height: var(--nav-height);
    padding: 8px 14px;
  }

  .nav-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-logo {
    width: 118px;
    height: 44px;
  }

  .nav-actions .btn--wpp {
    width: auto;
    min-width: 116px;
    padding: 10px 13px !important;
    font-size: 12px !important;
  }

  .hero {
    min-height: calc(100svh - var(--urgency-height) - var(--nav-height));
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-logo-wrap,
  .hero-label,
  .hero-ctas,
  .hero-trust {
    justify-content: center;
  }

  .hero-logo-wrap {
    margin-bottom: 12px;
  }

  .hero-logo-png {
    width: min(142px, 48vw);
    margin: 0 auto;
  }

  .hero-label {
    margin-bottom: 14px;
  }

  .hero-label-line {
    width: 28px;
  }

  .hero-label-text {
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.02;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 0.94rem;
    line-height: 1.48;
    max-width: 100%;
    margin: 0 auto 18px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-ctas .btn--wpp {
    min-height: 66px;
    padding: 18px 22px;
    font-size: 17px;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(37,211,102,0.45);
  }

  .hero-ctas .btn--wpp svg {
    width: 24px;
    height: 24px;
  }

  .hero-ctas .btn--glass {
    display: none;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    padding-top: 16px;
    margin-bottom: 22px;
  }

  .trust-item {
    justify-content: center;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }

  .trust-check {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .stats-strip {
    margin-top: 0;
  }

  .float-wpp {
    left: 14px;
    right: 14px;
    bottom: 12px;
    justify-content: stretch;
    gap: 10px;
  }

  .float-bubble {
    display: none;
  }

  .float-btn {
    width: 100%;
    height: 64px;
    border-radius: 18px;
    gap: 10px;
    animation: none;
  }

  .float-btn-label {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --urgency-height: 42px;
    --nav-height: 58px;
  }

  .nav-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-logo {
    justify-self: start;
    width: 104px;
    height: 40px;
  }

  .nav-actions {
    width: auto;
    justify-content: flex-end;
  }

  .nav-actions .btn--wpp {
    min-width: 108px;
    width: auto;
    padding: 9px 11px !important;
    font-size: 11px !important;
  }

  .hero {
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(1.82rem, 10vw, 2.45rem);
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-ctas .btn--wpp {
    min-height: 62px;
    font-size: 16px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 18px;
  }

  .float-btn {
    height: 62px;
  }

  .float-btn-label {
    font-size: 15px;
  }
}

/* Android/mobile overflow fixes */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  .container,
  .nav-inner,
  .stats-strip,
  .stats-strip-inner,
  .section,
  footer {
    width: 100%;
    max-width: 100%;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  nav,
  .urgency-bar,
  .float-wpp {
    max-width: 100vw;
  }

  .hero {
    width: 100%;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
  }

  .hero h1,
  .hero-sub,
  .sec-header h2,
  .sec-header p,
  .final-cta h2,
  .final-cta p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .btn {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.18;
  }

  .hero-ctas,
  .cta-row {
    width: 100%;
  }

  .hero-ctas .btn,
  .cta-row .btn,
  .section .btn--lg {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-actions {
    min-width: 0;
  }

  .nav-actions .btn--wpp {
    flex: 0 1 auto;
    max-width: 132px;
    white-space: nowrap;
  }

  .hero-sun {
    display: none !important;
  }

  .hero-grid-lines,
  .sunray,
  .kpi-float,
  .solar-panel-visual {
    display: none !important;
  }

  .benefits-grid,
  .testi-grid,
  .regions-grid,
  .about-layout,
  .calc-layout,
  .footer-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .benefit-card,
  .testi-card,
  .region-card,
  .calc-card,
  .calc-info,
  .about-card-main,
  .faq-item,
  .final-cta-inner {
    max-width: 100%;
    min-width: 0;
  }

  .stats-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item {
    min-width: 0;
  }

  .float-wpp {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .float-btn {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .final-cta::before {
    width: 100vw;
    height: 100vw;
  }

  .compare-wrap {
    max-width: 100%;
  }

  .compare-table {
    min-width: 0;
    table-layout: fixed;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.65rem, 9.2vw, 2.25rem);
  }

  .hero-sub {
    font-size: 0.86rem;
  }

  .hero-ctas .btn--wpp {
    min-height: 58px;
    font-size: 15px;
  }

  .stats-strip-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
  }
}
