:root{
  --bg:#0b1220; --card:#0e1730; --line:rgba(255,255,255,.10);
  --text:#e5e7eb; --muted:rgba(229,231,235,.72);
  --green:#22c55e; --blue:#0ea5e9;
  --radius:18px; --shadow:0 12px 40px rgba(0,0,0,.35);
  --max:1120px; --font:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(34,197,94,.18), transparent 55%),
              radial-gradient(900px 600px at 85% 30%, rgba(14,165,233,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family:var(--font);
}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 36px)); margin:0 auto}
.main{padding-bottom:60px}
.topbar{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(14px);
  background: rgba(11,18,32,.68);
  border-bottom:1px solid var(--line);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.brand{display:flex; gap:10px; align-items:center}
.brand-mark{width:26px;height:26px}
.brand-name{font-weight:800; letter-spacing:.2px}
.nav{display:flex; gap:14px; align-items:center}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.nav-toggle{
  display:none; width:44px;height:44px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:12px;
}
.nav-toggle span{display:block; height:2px; background:rgba(229,231,235,.9); margin:7px 10px}
.pill{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}
.pill.ghost{background:transparent}
.btn{
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(34,197,94,.25), rgba(14,165,233,.22));
  color:var(--text);
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
}
.btn:hover{filter:brightness(1.05)}
.btn.ghost{background:transparent; box-shadow:none}
.btn.full{width:100%}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  font-weight:700;
  font-size:13px;
  color:rgba(229,231,235,.9);
}
.section{padding:54px 0}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,.03), transparent)}
.section-head{margin-bottom:18px}
.section-head h1,.section-head h2{margin:0 0 8px 0}
.muted{color:var(--muted)}
.small{font-size:13px; color:var(--muted)}
.hero{padding:56px 0 16px}
.hero-grid{display:grid; gap:18px; grid-template-columns: 1.1fr .9fr; align-items:stretch}
.hero-copy h1{font-size:42px; line-height:1.05; margin:14px 0}
.lead{font-size:16px; line-height:1.6; color:var(--muted); margin:0 0 18px}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.hero-points{display:grid; gap:10px}
.point{display:flex; gap:12px; align-items:flex-start}
.dot{width:10px;height:10px; border-radius:50%; background: linear-gradient(135deg, var(--green), var(--blue)); margin-top:7px}
.point-title{font-weight:800}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-header{padding:16px 16px 0}
.card-header h3{margin:0}
.card-body{padding:16px}
.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid.one{grid-template-columns:1fr}
.two-col{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:7px 0}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
.field label{font-weight:700; font-size:13px; color:rgba(229,231,235,.88)}
input, select, textarea{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
textarea{resize:vertical}
.hr{height:1px;background:rgba(255,255,255,.12); margin:14px 0}
.row{display:flex; gap:10px; flex-wrap:wrap}
.spacer{height:12px}
.price{font-size:22px; font-weight:900}
.estimate{
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  border-radius:14px;
  padding:12px;
  margin:12px 0;
}
.fin-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin:10px 0}
.inline-check{display:flex; gap:10px; align-items:center; color:var(--muted)}
.filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px}
.filters .active{border-color: rgba(34,197,94,.55)}
.steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.step{display:flex; gap:12px; padding:16px; border:1px solid rgba(255,255,255,.12); border-radius: var(--radius); background:rgba(255,255,255,.03)}
.step-num{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;font-weight:900;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.cta{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px; border:1px solid rgba(255,255,255,.12); border-radius: var(--radius); background:rgba(255,255,255,.03)}
.footer{border-top:1px solid rgba(255,255,255,.12); padding:34px 0 24px; background: rgba(0,0,0,.12);}
.footer-grid{display:grid; grid-template-columns: 1.3fr .7fr .7fr 1.1fr; gap:14px}
.footer-col h4{margin:0 0 10px 0}
.footer-col a{display:block; color:var(--muted); margin:8px 0}
.footer-col a:hover{color:rgba(229,231,235,.95)}
.footer-logo{width:220px; max-width:100%; opacity:.95}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid rgba(255,255,255,.10)}
.narrow{max-width:720px}
.prose p{line-height:1.75; color:var(--muted)}
.form-note{color:rgba(229,231,235,.85); font-size:13px; margin-top:10px}

.wizard{display:grid; grid-template-columns: 280px 1fr; gap:14px}
.wizard-rail{position:sticky; top:86px; align-self:flex-start; display:flex; flex-direction:column; gap:10px}
.wizard-step{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  display:flex; gap:10px; align-items:center;
  color:var(--muted);
  font-weight:700;
}
.wizard-step span{
  width:26px;height:26px;border-radius:10px;display:grid;place-items:center;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:rgba(229,231,235,.9)
}
.wizard-step.active{border-color: rgba(14,165,233,.45); color:rgba(229,231,235,.95)}
.wizard-actions{display:flex; justify-content:space-between; gap:10px; margin-top:12px}

.tabs{display:flex; gap:8px; flex-wrap:wrap; margin:12px 0}
.tab{
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(229,231,235,.9);
  font-weight:800; cursor:pointer;
}
.tab.active{border-color: rgba(34,197,94,.55)}
.tabpanes{margin-top:10px}
.tabpane{display:none}
.tabpane.active{display:block}
.stack{display:flex; flex-direction:column; gap:10px}
.pill-row{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
.mini{border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03); border-radius:18px; padding:12px}
.mini-row{display:flex; justify-content:space-between; gap:12px; padding:6px 0}
.sep{border:0; height:1px; background:rgba(255,255,255,.10); margin:14px 0}
.btn.sm{padding:8px 10px; font-size:13px}
.input.sm{padding:8px 10px; font-size:13px}
.dash-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px}
.dash-user{display:flex; gap:12px; align-items:center}
.avatar{
  width:46px;height:46px;border-radius:16px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  font-weight:900;
}
.dash-content{min-height:220px}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .two-col{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .wizard{grid-template-columns:1fr}
  .wizard-rail{position:relative; top:0; flex-direction:row; overflow:auto}
  .wizard-step{min-width:170px}
  .cta{flex-direction:column; align-items:flex-start}
}
@media (max-width: 740px){
  .nav-toggle{display:block}
  .nav{
    display:none; position:absolute; left:0; right:0; top:64px;
    flex-direction:column; align-items:stretch; gap:10px;
    padding:14px 18px;
    background: rgba(11,18,32,.98);
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .nav.open{display:flex}
  .hero-copy h1{font-size:34px}
  .grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column; align-items:flex-start}
}
