:root {
  --bg: #061812;
  --bg-2: #09251b;
  --panel: rgba(9, 36, 27, 0.76);
  --panel-strong: #0d3024;
  --green: #00a859;
  --green-soft: #4ade80;
  --gold: #f7b733;
  --gold-2: #ffd166;
  --text: #f5fff8;
  --muted: #a7c7b8;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 28px 90px rgba(0,0,0,0.42);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(0,168,89,0.22), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(247,183,51,0.22), transparent 28%),
    linear-gradient(180deg, #04100c 0%, var(--bg) 42%, #020806 100%);
  color: var(--text);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > *:not(.noise) { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(3, 18, 13, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 0deg, var(--gold), var(--green), var(--gold));
  animation: spin 9s linear infinite;
  box-shadow: 0 0 30px rgba(247,183,51,0.38);
}
.sun-core { width: 18px; height: 18px; border-radius: 50%; background: #082018; border: 3px solid var(--gold-2); }

nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--gold-2); }
.header-cta { padding: 10px 16px; background: rgba(247,183,51,.12); color: var(--gold-2); border: 1px solid rgba(247,183,51,.32); border-radius: 999px; font-weight: 700; }

.section-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 32px; align-items: center; padding: 86px 0 64px; }
.status-pill, .online-badge {
  width: fit-content;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(74,222,128,.28);
  background: rgba(0,168,89,.12);
  color: #c8ffe0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.status-pill span, .online-badge span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green-soft);
  box-shadow: 0 0 0 0 rgba(74,222,128,.75);
  animation: pulse 1.8s infinite;
}

h1, h2, h3 { font-family: 'Syne', system-ui, sans-serif; margin: 0; letter-spacing: -0.055em; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: .91; max-width: 800px; margin-top: 22px; }
h2 { font-size: clamp(34px, 4.5vw, 64px); line-height: .98; }
h3 { font-size: 22px; }
p { color: var(--muted); line-height: 1.7; }
.hero-text { max-width: 650px; font-size: 19px; margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-btn, .secondary-btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 50px; padding: 0 20px; border-radius: 999px; font-weight: 800;
  border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.primary-btn { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #211500; box-shadow: 0 18px 42px rgba(247,183,51,.25); }
.secondary-btn { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.05); }
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-2px); }
.full { width: 100%; }
.trust-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }
.trust-row span { border: 1px solid var(--line); padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.04); }

.hero-card, .calculator-panel, .result-panel, .problem article, .package-grid article, .advisor {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13,48,36,.86), rgba(3,18,13,.72));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-card { min-height: 560px; padding: 28px; overflow: hidden; position: relative; }
.card-topline { display: flex; justify-content: space-between; color: var(--muted); }
.card-topline strong { color: var(--gold-2); }
.orbital-sun { position: relative; height: 330px; display: grid; place-items: center; }
.center-sun {
  width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4a7, var(--gold) 50%, #f97316 100%);
  box-shadow: 0 0 70px rgba(247,183,51,.72), 0 0 130px rgba(0,168,89,.2);
  animation: breathe 3.4s ease-in-out infinite;
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; animation: spin 14s linear infinite; }
.orbit-one { width: 250px; height: 250px; }
.orbit-two { width: 320px; height: 160px; transform: rotate(-18deg); animation-duration: 18s; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-grid div, .result-stack div { padding: 16px; border-radius: 20px; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
.metric-grid span, .result-stack span { display:block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.metric-grid strong, .result-stack strong { font-size: 20px; }

.problem, .calculator-section, .how, .packages, .advisor { padding: 62px 0; }
.problem { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.eyebrow { color: var(--gold-2); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin: 0 0 12px; }
.problem-grid { display: grid; gap: 14px; }
.problem article { padding: 24px; box-shadow: none; }
.problem article span { color: var(--gold); font-weight: 900; }
.problem article h3 { margin-top: 12px; }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-heading.narrow { max-width: 680px; }
.calculator-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; align-items: start; }
.calculator-panel, .result-panel { padding: 24px; }
.quick-add { margin-bottom: 14px; }
label { display: grid; gap: 8px; color: #dff8ea; font-weight: 700; font-size: 13px; }
input, select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px;
  background: rgba(1,9,7,.72); color: var(--text); outline: none;
}
input:focus, select:focus { border-color: rgba(247,183,51,.65); box-shadow: 0 0 0 4px rgba(247,183,51,.11); }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.appliance-list-wrap { margin-top: 24px; }
.list-header { display: flex; align-items: center; justify-content: space-between; }
.list-header button { color: var(--gold-2); background: none; border: 0; cursor: pointer; }
.appliance-list { display: grid; gap: 10px; margin-top: 12px; }
.appliance-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.045); }
.appliance-item small { color: var(--muted); display: block; margin-top: 4px; }
.appliance-item button { border: 0; background: rgba(255,255,255,.08); color: #ffb4b4; border-radius: 999px; padding: 8px 10px; cursor: pointer; }
.result-panel { position: sticky; top: 110px; }
.lead-form { display: grid; gap: 14px; margin-top: 18px; }
.lead-form .primary-btn { margin-top: 4px; }
.result-content { display: grid; gap: 14px; }
.hidden { display: none !important; }
#leadStatus.success { color: var(--green-soft); }
#leadStatus.error { color: #ffb4b4; }
.result-main { margin: 6px 0; padding: 24px; border-radius: 24px; background: linear-gradient(145deg, rgba(247,183,51,.18), rgba(0,168,89,.12)); border: 1px solid rgba(247,183,51,.24); }
.result-main span { display: block; font-family: 'Syne'; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; }
.result-main small, .microcopy { color: var(--muted); }
.result-stack { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.recommendation { padding: 16px; border-radius: 18px; background: rgba(0,168,89,.10); border: 1px solid rgba(74,222,128,.18); }

.steps { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.chat-bubble { width: min(650px, 92%); padding: 20px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.06); animation: floaty 4s ease-in-out infinite; }
.chat-bubble.right { justify-self: end; background: rgba(247,183,51,.12); animation-delay: .6s; }
.chat-bubble strong, .chat-bubble span { display: block; }
.chat-bubble span { color: var(--muted); margin-top: 6px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package-grid article { padding: 24px; box-shadow: none; }
.package-grid strong { display: inline-block; margin-top: 12px; color: var(--gold-2); font-size: 24px; }
.advisor { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; margin-bottom: 70px; }
.advisor p { max-width: 680px; }
footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@keyframes breathe { 50% { transform: scale(1.05); filter: saturate(1.2); } }
@keyframes floaty { 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .problem, .calculator-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-card { min-height: auto; }
  .result-panel { position: static; }
  .form-grid, .package-grid { grid-template-columns: 1fr; }
  .advisor { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 20px); padding: 10px; }
  .header-cta { display: none; }
  .hero-actions a { width: 100%; }
  .metric-grid, .result-stack { grid-template-columns: 1fr; }
  h1 { font-size: 46px; }
  footer { flex-direction: column; }
}
