:root{
  --bg:#06131f;
  --bg-soft:#0a1d2b;
  --card:#0c2232;
  --card-2:#102a3c;
  --line:rgba(255,255,255,.09);
  --text:#f8fafc;
  --muted:#91a4b6;
  --green:#10b981;
  --green-2:#34d399;
  --shadow:0 30px 80px rgba(0,0,0,.28);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 10%,rgba(16,185,129,.14),transparent 28%),
    radial-gradient(circle at 90% 15%,rgba(14,116,144,.18),transparent 26%),
    linear-gradient(145deg,#020617 0%,var(--bg) 45%,#071a27 100%);
}

button,a{font:inherit}

a{color:inherit}

.page-shell{
  width:min(1220px,calc(100% - 40px));
  margin:0 auto;
}

.topbar{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:13px;
}

.brand-mark,.config-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:linear-gradient(135deg,#064e3b,#10b981);
  font-weight:950;
  letter-spacing:-2px;
  box-shadow:0 12px 30px rgba(16,185,129,.2);
}

.brand-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-copy strong{
  font-size:18px;
  letter-spacing:-.04em;
}

.brand-copy span{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

.top-support{
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:10px;
  text-decoration:none;
  font-size:11px;
  font-weight:900;
  transition:.18s ease;
}

.top-support:hover{
  border-color:rgba(52,211,153,.5);
  color:var(--green-2);
}

.hero{
  min-height:670px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:70px;
  padding:70px 0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  color:var(--green-2);
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
}

.eyebrow::before{
  content:"";
  width:26px;
  height:2px;
  border-radius:99px;
  background:var(--green);
}

h1{
  margin:0;
  max-width:660px;
  font-size:clamp(48px,6vw,82px);
  line-height:.96;
  letter-spacing:-.06em;
}

h1 span{
  color:var(--green-2);
}

.hero-text{
  max-width:620px;
  margin:26px 0 0;
  color:#afbfcc;
  font-size:18px;
  line-height:1.7;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.btn-primary,.btn-secondary{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 21px;
  border-radius:11px;
  cursor:pointer;
  text-decoration:none;
  font-size:11px;
  font-weight:950;
  letter-spacing:.025em;
}

.btn-primary{
  border:0;
  background:linear-gradient(135deg,#059669,#10b981);
  color:#fff;
  box-shadow:0 14px 32px rgba(16,185,129,.22);
}

.btn-primary:hover{
  transform:translateY(-1px);
}

.btn-secondary{
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  color:#dbe6ef;
}

.trust-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  color:#7f93a4;
  font-size:10px;
  line-height:1.5;
}

.trust-dot{
  width:7px;
  height:7px;
  flex:none;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 5px rgba(16,185,129,.1);
}

.hero-panel{
  padding:20px;
  border:1px solid var(--line);
  border-radius:24px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018)),
    var(--bg-soft);
  box-shadow:var(--shadow);
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:4px 3px 16px;
  color:#dbe6ef;
  font-size:11px;
  font-weight:950;
}

.status-pill{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(16,185,129,.12);
  color:var(--green-2);
  font-size:9px;
}

.metric-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.metric-card{
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:17px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(145deg,var(--card-2),var(--card));
}

.metric-label{
  margin-bottom:auto;
  color:var(--green-2);
  font-size:9px;
  font-weight:950;
  letter-spacing:.09em;
}

.metric-card strong{
  font-size:17px;
  letter-spacing:-.02em;
}

.metric-card small{
  margin-top:6px;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}

.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:22px 0 72px;
}

.features article{
  min-height:190px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}

.features article>span{
  color:var(--green-2);
  font-size:10px;
  font-weight:950;
}

.features h2{
  margin:28px 0 8px;
  font-size:18px;
}

.features p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  margin-bottom:40px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.022);
}

.notice>div{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.notice strong{
  font-size:18px;
}

.notice span,.notice p{
  color:var(--muted);
  font-size:10px;
}

.notice p{
  max-width:640px;
  margin:0;
  line-height:1.6;
  text-align:right;
}

footer{
  min-height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  color:#6f8292;
  font-size:10px;
}

.config-modal{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  place-items:center;
  padding:20px;
  background:rgba(2,6,23,.78);
  backdrop-filter:blur(7px);
}

.config-modal.aberto{
  display:grid;
}

.config-card{
  width:min(430px,100%);
  padding:28px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.config-icon{
  width:54px;
  height:54px;
  color:#fff;
}

.config-card h2{
  margin:20px 0 8px;
  font-size:22px;
}

.config-card p{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.6;
}

.config-card button{
  width:100%;
  height:44px;
  margin-top:20px;
  border:0;
  border-radius:10px;
  background:#0f172a;
  color:#fff;
  cursor:pointer;
  font-size:11px;
  font-weight:900;
}

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    gap:30px;
    padding:55px 0;
  }

  .hero-panel{
    max-width:680px;
  }

  .features{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .page-shell{
    width:min(100% - 24px,1220px);
  }

  .topbar{
    min-height:78px;
  }

  .brand-copy span{
    display:none;
  }

  .hero{
    min-height:auto;
    padding:48px 0;
  }

  h1{
    font-size:48px;
  }

  .hero-text{
    font-size:15px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .btn-primary,.btn-secondary{
    width:100%;
  }

  .metric-grid{
    grid-template-columns:1fr;
  }

  .metric-card{
    min-height:125px;
  }

  .notice{
    align-items:flex-start;
    flex-direction:column;
  }

  .notice p{
    text-align:left;
  }
}
