:root{
  --bg1:#040b16;
  --bg2:#061426;

  --glass: rgba(10, 22, 40, .45);
  --glass2: rgba(10, 22, 40, .62);

  --stroke: rgba(0, 224, 255, .16);
  --stroke2: rgba(0, 224, 255, .22);

  --glow: rgba(0, 224, 255, .18);
  --glow2: rgba(0, 224, 255, .10);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
}

*{ box-sizing:border-box; }

html, body { height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 50% 25%, rgba(0,224,255,.10), transparent 55%),
              radial-gradient(800px 500px at 15% 65%, rgba(0,224,255,.06), transparent 60%),
              linear-gradient(180deg, var(--bg2), var(--bg1));
  overflow-x:hidden;
}

/* CANVAS BACKGROUND */
#bg, #fx{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:-2;
}
#fx{ z-index:-1; pointer-events:none; }

/* HEADER */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 22px;
  background: rgba(7, 18, 34, .55);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--stroke);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-badge{
  width:44px; height:44px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  background: rgba(0,224,255,.10);
  border:1px solid rgba(0,224,255,.40);
  box-shadow: 0 0 22px var(--glow);
}

.brand-name{ font-weight:800; letter-spacing:.5px; }
.brand-sub{ font-size:11px; color:var(--muted); letter-spacing:.7px; margin-top:2px; }

.online{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color: rgba(130,255,190,.95);
}

.pulse{
  width:10px; height:10px;
  border-radius:50%;
  background: rgba(60,255,160,.95);
  box-shadow: 0 0 16px rgba(60,255,160,.35);
  position:relative;
}
.pulse::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:1px solid rgba(60,255,160,.35);
  animation:pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%{ transform:scale(.6); opacity:.8; }
  100%{ transform:scale(1.3); opacity:0; }
}

/* PAGE WRAPPER */
.page{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 34px 0 120px; /* espaço pro dock */
}

/* HERO */
.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding: 26px 18px 18px;
}

.hero h1{
  margin:6px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing:.8px;
}

.hero p{
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

/* CORE "VIVO" */
.core{
  width:92px; height:92px;
  position:relative;
  display:grid; place-items:center;
  margin-bottom: 6px;
}

.core-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid rgba(0,224,255,.30);
  box-shadow: 0 0 40px rgba(0,224,255,.10);
  animation: ring 2.8s ease-in-out infinite;
}
@keyframes ring{
  0%,100%{ transform:scale(1); opacity:.55; }
  50%{ transform:scale(1.10); opacity:.22; }
}
.core-dot{
  width:58px; height:58px;
  border-radius:50%;
  display:grid; place-items:center;
  font-weight:900;
  background: rgba(0,224,255,.10);
  border:1px solid rgba(0,224,255,.48);
  box-shadow: 0 0 26px rgba(0,224,255,.22);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe{
  0%,100%{ transform:scale(1); filter:brightness(1); }
  50%{ transform:scale(1.06); filter:brightness(1.15); }
}

/* SHORTCUT GRID */
.shortcuts{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.tile{
  appearance:none;
  border:none;
  text-align:left;
  cursor:pointer;
  padding: 14px 14px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 26px var(--glow2);
  display:flex;
  align-items:center;
  gap:10px;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

.tile:hover{
  transform: translateY(-2px);
  background: rgba(10, 22, 40, .62);
  box-shadow: 0 14px 38px rgba(0,0,0,.30), 0 0 40px rgba(0,224,255,.12);
}

.tile-ic{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(0,224,255,.08);
  border: 1px solid rgba(0,224,255,.18);
}

.tile-txt{
  font-weight:700;
  letter-spacing:.2px;
  color: rgba(255,255,255,.92);
}

/* PANEL */
.panel{
  margin-top: 18px;
  border-radius: 18px;
  background: var(--glass2);
  border: 1px solid var(--stroke2);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.30), 0 0 40px rgba(0,224,255,.08);
  overflow:hidden;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,224,255,.12);
}

.panel-title{ font-weight:900; letter-spacing:.3px; }
.panel-sub{ font-size:12px; color: var(--muted); margin-top:4px; }

.panel-actions{ display:flex; gap:8px; }
.ghost{
  border:1px solid rgba(0,224,255,.18);
  background: rgba(0,224,255,.06);
  color: rgba(255,255,255,.86);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
}
.ghost:hover{ background: rgba(0,224,255,.10); }

.panel-body{
  padding: 16px;
  min-height: 140px;
  white-space: pre-wrap;
  line-height:1.35;
}

.empty-title{ font-weight:800; }
.empty-sub{ color: var(--muted); margin-top:6px; }

/* DOCK */
.dock{
  position:fixed;
  left:0; right:0; bottom:18px;
  z-index:20;
  display:flex;
  justify-content:center;
  padding: 0 16px;
}

.dock-inner{
  width: min(900px, 94vw);
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 20px;
  background: rgba(7, 18, 34, .60);
  border: 1px solid rgba(0,224,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.dock-btn, .dock-send{
  width:44px; height:44px;
  border:none;
  border-radius: 14px;
  cursor:pointer;
  background: rgba(0,224,255,.10);
  border:1px solid rgba(0,224,255,.20);
  color: var(--text);
}
.dock-btn:hover, .dock-send:hover{
  background: rgba(0,224,255,.16);
}

.dock-input{
  flex:1;
  height:44px;
  border-radius: 14px;
  border:1px solid rgba(0,224,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 0 14px;
  outline:none;
}

/* RESPONSIVO */
@media (max-width: 980px){
  .shortcuts{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .shortcuts{ grid-template-columns: 1fr; }
  .brand-sub{ display:none; }
}