:root{
  /* Cores oficiais (Ativo 2) */
  --bg:#1A1E1A;
  --text:#E9FFF2;
  --muted:rgba(233,255,242,.72);
  --line:rgba(233,255,242,.12);
  --card:rgba(255,255,255,.03);

  --brand:#10E265;        /* verde */
  --brandSoft: rgba(16,226,101,.18);
  --brandGlow: rgba(16,226,101,.35);

  --danger:#ff4d4d;
  --ok:#10E265;

  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);

  /* Fundo escuro com glow verde (mais a “cara” do projeto) */
  background:
    radial-gradient(900px 500px at 18% 0%, var(--brandSoft), transparent 60%),
    radial-gradient(700px 450px at 88% 10%, rgba(233,255,242,.07), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(16,226,101,.10), transparent 55%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:28px 18px}

/* Topbar */
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:12px;
}

.brand-logo{
  height:34px;
  width:auto;
  display:block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}

/* Botões */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  transition:.15s ease;
}
.btn:hover{
  transform:translateY(-1px);
  border-color: rgba(16,226,101,.45);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(16,226,101,.95), rgba(16,226,101,.78));
  border: 1px solid rgba(16,226,101,.55);
  color:#07110b;
  font-weight:800;
  box-shadow: 0 18px 40px rgba(16,226,101,.10);
}
.btn.primary:hover{
  box-shadow: 0 22px 60px rgba(16,226,101,.18);
}

.btn.ghost{
  background: transparent;
}

/* Layout hero */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  margin-top:18px;
}
@media (max-width: 860px){
  .hero{grid-template-columns:1fr}
}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
  backdrop-filter: blur(12px);

  box-shadow:
    0 24px 70px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(233,255,242,.06);
}

.h1{
  font-size:42px;
  line-height:1.05;
  margin:0 0 10px;
  letter-spacing:-.6px;
}
.p{
  color:var(--muted);
  margin:0 0 16px;
  font-size:16px;
  line-height:1.5;
}

/* Features */
.grid3{
  display:grid; gap:12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top:14px;
}
@media (max-width: 860px){
  .grid3{grid-template-columns:1fr}
}
.feature{
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(0,0,0,.14);
}
.feature h3{
  margin:0 0 6px;
  font-size:16px;
}
.feature p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

/* Form */
.form{display:flex; flex-direction:column; gap:10px}
label{font-size:13px; color:var(--muted)}
input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.20);
  color:var(--text);
  outline:none;
}
input:focus{
  border-color: rgba(16,226,101,.55);
  box-shadow: 0 0 0 4px rgba(16,226,101,.12);
}

/* Alerts */
.alert {
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
}

.alert-success {
  background: #16a34a;
  color: #ffffff;
}

.alert-error {
  background: #dc2626;
  color: #ffffff;
}

.alert.danger{border-color: rgba(255,77,77,.45)}

.alert.ok{border-color: rgba(16,226,101,.45)}

.small{font-size:13px; color:var(--muted)}

.footer{margin-top:18px; color:var(--muted); font-size:13px}

.tip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted rgba(0,0,0,.35);
}

.tip:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: 120%;
  min-width: 220px;
  max-width: 320px;
  background: #111827;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.3;
  z-index: 9999;
  white-space: normal;
}

.tip:hover::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 105%;
  border: 7px solid transparent;
  border-bottom-color: #111827;
}

.hidden { display:none; }

.helpbox {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;

  /* CORES CORRIGIDAS */
  background: #f9fafb;     /* fundo claro */
  color: #111827;          /* texto escuro */
}

.helpbox .small {
  color: #111827;          /* garante contraste */
  font-size: 13px;
  line-height: 1.4;
}

.helpbox strong {
  color: #0f172a;          /* destaque do título */
}

body.dark .helpbox {
  background: #111827;
  color: #f9fafb;
  border-color: #1f2937;
}

body.dark .helpbox .small,
body.dark .helpbox strong {
  color: #f9fafb;
}

