/* =========================================================
   controlInfo.css — Dark theme (matches main site)
   ========================================================= */

/* ---------- Variables ---------- */
:root{
  --bg:#0b1220;
  --plomo:#0f131c;
  --text:#e8eefc;
  --muted:#b7c2de;
  --line: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --accent:#5eead4;
  --accent2:#60a5fa;
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(96,165,250,.16), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(94,234,212,.12), transparent 60%),
    var(--bg);
  line-height:1.6;
}
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.95; }
.container{ max-width:1100px; margin:0 auto; padding:0 18px; }
.muted{ color:var(--muted); }

/* ---------- Header ---------- */
.top{
  padding: 48px 0 18px;
  text-align:center;
}
h1{
  margin:0 0 10px;
  font-size: 44px;
  line-height:1.12;
  letter-spacing:.2px;
}
.lead{
  margin:0 auto;
  max-width: 900px;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Brand bar ---------- */
.brandbar{
  background: var(--plomo);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.brandbar-wrap{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-dot{
  width:12px; height:12px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display:inline-block;
}
.brand-name{
  font-weight:800;
  letter-spacing:.4px;
}

/* Home button */
.home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 18px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, #0f1625, #1b2130);
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
  font-weight:800;
  letter-spacing:.3px;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease;
}
.home-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}
.home-btn-wide{
  padding: 14px 26px;
}

/* ---------- Sections ---------- */
.section{ padding: 44px 0; }
.section-alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
h2{
  margin:0 0 10px;
  font-size: 28px;
}
.text{
  margin:0 0 18px;
  max-width: 980px;
  color: rgba(255,255,255,0.85);
}

/* ---------- Cards / Grid ---------- */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top: 18px;
}
.card{
  padding:18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(5, 8, 15, 0.85);
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}
.card h3{
  margin:0 0 10px;
  font-size: 18px;
}
.card ul{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
}
.card li{ margin: 8px 0; }

/* ---------- Importance list ---------- */
.list{
  margin: 18px 0 0;
  padding-left: 18px;
}
.list-item{
  margin: 14px 0;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.list-item h3{
  margin:0 0 6px;
  font-size:18px;
}
.list-item p{
  margin:0;
  color: rgba(255,255,255,0.82);
}

/* ---------- Bottom actions ---------- */
.bottom-actions{
  margin-top: 26px;
  display:flex;
  justify-content:center;
}

/* ---------- Footer ---------- */
.footer{ padding:26px 0; }
.footer-wrap{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:18px;
}

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, #0f1625, #1b2130);
  box-shadow: 0 14px 32px rgba(0,0,0,0.65);
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  opacity: 0;
  transform: translateY(14px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  z-index: 9999;
}
.back-to-top.show{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.back-to-top:hover{ box-shadow: 0 20px 44px rgba(0,0,0,0.8); }
.back-to-top-icon{ width:22px; height:22px; fill:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  h1{ font-size: 34px; }
  .lead{ font-size: 16px; }
  .brandbar-wrap{ grid-template-columns: 1fr auto; gap:10px; }
  .brandbar-spacer{ display:none; }
  .home-btn{ padding: 10px 14px; border-radius: 12px; }
  .back-to-top{
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 14px;
    border-radius: 14px;
  }
  .back-to-top-icon{ width:20px; height:20px; }
}
