:root{
  --bg:#070b12;
  --bg2:#0b1020;
  --card:#101827;
  --card2:#0f172a;
  --text:#f8fafc;
  --muted:#a7b0c0;
  --soft:#dbe7ff;
  --gold:#f6c453;
  --gold2:#fff0a6;
  --cyan:#00e5ff;
  --green:#30d158;
  --red:#ff5c7a;
  --line:rgba(255,255,255,.13);
  --shadow:0 28px 90px rgba(0,0,0,.38);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 0%,rgba(0,229,255,.17),transparent 31%),
    radial-gradient(circle at 85% 4%,rgba(246,196,83,.18),transparent 30%),
    linear-gradient(180deg,#05070d 0%,#0a1020 48%,#05070d 100%);
  overflow-x:hidden;
}

a{color:inherit}

.site-glow{
  position:fixed;
  width:360px;
  height:360px;
  border-radius:50%;
  filter:blur(70px);
  opacity:.22;
  pointer-events:none;
  z-index:-1;
}

.glow-one{left:-100px;top:220px;background:var(--cyan)}
.glow-two{right:-120px;bottom:120px;background:var(--gold)}

.topbar{
  max-width:1220px;
  margin:0 auto;
  padding:24px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-mark{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:1000;
  letter-spacing:-1px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#111827;
  box-shadow:0 12px 30px rgba(246,196,83,.2);
}

.brand strong{
  display:block;
  font-size:18px;
  line-height:1.05;
}

.brand em{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-style:normal;
  margin-top:3px;
}

.nav{
  display:flex;
  gap:22px;
  color:var(--muted);
  font-size:14px;
}

.nav a{
  text-decoration:none;
}

.nav a:hover{color:#fff}

.top-cta{
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 16px;
  font-weight:800;
  background:rgba(255,255,255,.05);
}

.hero{
  padding:66px 18px 40px;
}

.hero-inner{
  max-width:1040px;
  margin:0 auto;
  text-align:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
  border-radius:999px;
  padding:9px 15px;
  font-size:13px;
  font-weight:800;
  margin-bottom:22px;
  box-shadow:0 10px 40px rgba(0,0,0,.2);
}

h1{
  margin:0 auto 22px;
  max-width:970px;
  font-size:clamp(43px,7.4vw,88px);
  line-height:.92;
  letter-spacing:-4px;
}

h1 span{
  display:inline-block;
  background:linear-gradient(92deg,var(--gold) 0%,#fff 48%,var(--cyan) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-copy{
  max-width:800px;
  margin:0 auto 30px;
  color:var(--muted);
  font-size:20px;
  line-height:1.55;
}

.address-card{
  max-width:860px;
  margin:0 auto;
  border:1px solid var(--line);
  background:rgba(16,24,39,.86);
  border-radius:30px;
  padding:18px;
  text-align:left;
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}

.address-card label{
  display:block;
  color:var(--soft);
  margin:0 0 10px 4px;
  font-weight:850;
  font-size:14px;
}

.address-row{
  display:flex;
  gap:12px;
}

.address-row input{
  flex:1;
  border:0;
  outline:0;
  border-radius:20px;
  background:#fff;
  color:#111827;
  padding:20px 22px;
  font-size:17px;
  min-width:0;
}

.address-row button,
.primary-wide,
.lead-panel button{
  border:0;
  border-radius:20px;
  padding:19px 25px;
  font-size:16px;
  font-weight:950;
  cursor:pointer;
  color:#111827;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  box-shadow:0 15px 35px rgba(246,196,83,.17);
}

.address-row button:hover,
.primary-wide:hover,
.lead-panel button:hover{
  transform:translateY(-1px);
}

.microcopy{
  margin:12px 4px 2px;
  color:var(--muted);
  font-size:13px;
}

.trust-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:26px auto 0;
  max-width:860px;
}

.trust-row div{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 12px;
  background:rgba(255,255,255,.045);
}

.trust-row strong{
  display:block;
  color:#fff;
  font-size:18px;
}

.trust-row span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:3px;
}

.result-shell{
  max-width:1220px;
  margin:40px auto 0;
  padding:0 18px;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:22px;
  align-items:start;
}

.hidden{display:none!important}

.result-card,
.lead-panel,
.analysis-section,
.ecosystem{
  border:1px solid var(--line);
  background:rgba(16,24,39,.82);
  border-radius:32px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}

.result-card{padding:30px}

.result-header{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.status-pill{
  display:inline-flex;
  background:rgba(48,209,88,.13);
  color:var(--green);
  border:1px solid rgba(48,209,88,.24);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:12px;
}

.result-card h2{
  margin:13px 0 7px;
  font-size:34px;
  letter-spacing:-1px;
}

#resultAddress{
  color:var(--muted);
  margin:0;
}

.confidence{
  min-width:154px;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  text-align:center;
  background:rgba(255,255,255,.045);
}

.confidence span,
.confidence em{
  color:var(--muted);
  font-size:12px;
  font-style:normal;
}

.confidence strong{
  display:block;
  color:var(--gold);
  letter-spacing:2px;
  font-size:23px;
  margin:5px 0;
}

.estimate-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:24px 0 16px;
}

.estimate-main,
.estimate-range{
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  background:rgba(255,255,255,.045);
}

.estimate-main span,
.estimate-range span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  margin-bottom:7px;
}

.estimate-main strong{
  font-size:44px;
  color:var(--gold);
  letter-spacing:-2px;
}

.estimate-range strong{
  font-size:24px;
  color:#fff;
  letter-spacing:-.5px;
}

.meter{
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.09);
  margin:18px 0;
}

.meter-fill{
  width:88%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--cyan),var(--gold));
}

.result-note{
  color:var(--muted);
  line-height:1.55;
  margin:0 0 18px;
}

.mini-factors{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:20px 0;
}

.mini-factors div{
  border:1px solid var(--line);
  border-radius:18px;
  padding:15px;
  background:rgba(255,255,255,.04);
}

.mini-factors b{
  display:block;
  font-size:14px;
  margin-bottom:5px;
}

.mini-factors span{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.primary-wide{width:100%;margin-top:4px}

.lead-panel{
  padding:28px;
}

.lead-panel h3{
  font-size:30px;
  margin:0 0 8px;
  letter-spacing:-1px;
}

.lead-panel p{
  color:var(--muted);
  line-height:1.55;
}

.lead-panel label{
  display:block;
  font-size:13px;
  color:var(--soft);
  font-weight:850;
  margin:12px 0 7px;
}

.lead-panel input,
.lead-panel select,
.lead-panel textarea{
  width:100%;
  border:1px solid var(--line);
  outline:0;
  border-radius:16px;
  background:#0b1220;
  color:#fff;
  padding:15px;
  font-size:15px;
}

.lead-panel textarea{
  min-height:92px;
  resize:vertical;
}

.lead-panel button{
  width:100%;
  margin-top:14px;
}

.form-disclaimer{
  font-size:12px;
}

.analysis-section{
  max-width:1220px;
  margin:82px auto 0;
  padding:34px 18px 18px;
}

.section-title{
  text-align:center;
  max-width:760px;
  margin:0 auto 26px;
}

.section-title span,
.ecosystem span{
  color:var(--gold);
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.section-title h2,
.ecosystem h2{
  margin:10px 0;
  font-size:clamp(32px,5vw,52px);
  letter-spacing:-2px;
  line-height:1;
}

.section-title p{
  color:var(--muted);
  line-height:1.55;
  font-size:17px;
}

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

.feature-grid article{
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  background:rgba(255,255,255,.04);
}

.icon{
  font-size:28px;
  margin-bottom:10px;
}

.feature-grid h3{
  margin:0 0 8px;
}

.feature-grid p{
  color:var(--muted);
  line-height:1.45;
  margin:0;
}

.ecosystem{
  max-width:1220px;
  margin:24px auto 0;
  padding:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.ecosystem h2{
  max-width:700px;
  font-size:clamp(28px,4vw,44px);
}

.eco-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.eco-links a{
  text-decoration:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  border-radius:999px;
  padding:13px 16px;
  font-weight:850;
}

footer{
  max-width:960px;
  margin:34px auto 0;
  padding:0 18px 34px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

@media(max-width:900px){
  .nav{display:none}
  .hero{padding-top:36px}
  h1{letter-spacing:-2.5px}
  .address-row{flex-direction:column}
  .trust-row{grid-template-columns:repeat(2,1fr)}
  .result-shell{grid-template-columns:1fr}
  .estimate-grid{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr 1fr}
  .ecosystem{display:block}
  .eco-links{justify-content:flex-start;margin-top:18px}
}

@media(max-width:560px){
  .topbar{padding-top:18px}
  .top-cta{display:none}
  h1{font-size:44px}
  .hero-copy{font-size:17px}
  .trust-row{grid-template-columns:1fr}
  .result-header{display:block}
  .confidence{margin-top:16px}
  .estimate-main strong{font-size:36px}
  .mini-factors{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr}
  .result-card,.lead-panel{padding:22px}
}
