/* home.css — home estilo Dyno, botões roxos do HEPO */

body.home-page {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100vh;
  background: #0f0a1a;
  color: #e2d9f3;
  overflow-x: hidden;
}

body.home-page::before {
  display: none;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  color: #b8a5d9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}

.btn-login:hover { background: #4752c4; transform: translateY(-1px); }
.btn-login svg { width: 16px; height: 16px; fill: white; }

.btn-login.btn-sair {
  background: #3f3f46;
}
.btn-login.btn-sair:hover { background: #52525b; }

.btn-painel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  color: #c4b0ff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}

.btn-painel:hover { background: rgba(124,58,237,0.3); }

/* ── HERO ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: #c4b0ff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #b8a5d9;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botões originais do HEPO (mantidos) */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124,58,237,0.7);
}

.btn-painel-cta {
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(168,85,247,0.55);
  color: #e9d5ff;
  box-shadow: none;
}

.btn-painel-cta:hover {
  background: rgba(124,58,237,0.32);
  box-shadow: 0 4px 20px rgba(124,58,237,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  color: #d4bbff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}

.btn-secondary:hover {
  background: rgba(124,58,237,0.3);
  transform: translateY(-1px);
  color: white;
}

.btn-vote {
  background: rgba(255,51,102,0.15);
  border-color: rgba(255,51,102,0.45);
  color: #ffb3c4;
}

.btn-vote:hover {
  background: #ff3366;
  color: white;
}

.btn-icon { font-size: 16px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(124,58,237,0.15);
  box-shadow: 0 0 60px rgba(124,58,237,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── FEATURES ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.section-head p {
  color: #9b8bb8;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px 20px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.feature-card:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #9b8bb8;
}

/* ── CTA ── */
.cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(76,29,149,0.25));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.cta-box p {
  color: #b8a5d9;
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-box .hero-btns {
  justify-content: center;
}

/* ── FOOTER ── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(10, 6, 18, 0.8);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.footer-links a {
  color: #9b8bb8;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: #d2b7ff; }

.footer-copy {
  color: #6b5f80;
  font-size: 12px;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo { width: 140px; height: 140px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .navbar-inner { padding: 12px 16px; }
  .hero { padding: 36px 16px 40px; }
  .cta-box { padding: 32px 20px; }
}

/* ── Páginas internas (Status, Comandos, Legal) ── */
.page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
  width: 100%;
}

.page-section .section-head h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.nav-links a.active {
  color: white;
  background: rgba(124, 58, 237, 0.25);
}

/* Status cards */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 28px;
}

.status-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 20px;
  transition: border-color 0.15s, transform 0.15s;
}

.status-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}

.status-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-label {
  font-size: 13px;
  font-weight: 600;
  color: #b8a5d9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-value {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.status-hint {
  font-size: 12px;
  color: #7a6b99;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6b7280;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.status-dot.green {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

.status-dot.red {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
}

.status-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.meta-item {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  text-align: center;
}

.meta-item span {
  font-size: 12px;
  color: #7a6b99;
}

.meta-item strong {
  font-size: 15px;
  color: #e2d9f3;
}

/* Comandos */
.cmd-search {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto 20px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.35);
  background: rgba(124,58,237,0.1);
  color: white;
  font-size: 15px;
  outline: none;
}

.cmd-search:focus {
  border-color: #7c3aed;
  background: rgba(124,58,237,0.15);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #b8a5d9;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.tab-btn.active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: white;
}

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.cmd-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.cmd-card:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-2px);
}

.cmd-card code {
  font-size: 14px;
  font-weight: 700;
  color: #c4b0ff;
  font-family: ui-monospace, monospace;
}

.cmd-card span {
  font-size: 13px;
  color: #9b8bb8;
  line-height: 1.4;
}

.cmd-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8c7cad;
  padding: 32px;
}

/* Legal (privacy / terms) */
.legal-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 24px;
  text-align: left;
}

.legal-box h2 {
  font-size: 17px;
  color: white;
  margin: 22px 0 10px;
}

.legal-box h2:first-child { margin-top: 0; }

.legal-box p, .legal-box li {
  font-size: 14px;
  line-height: 1.65;
  color: #c4b0e8;
  margin-bottom: 10px;
}

.legal-box ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-box a { color: #c4b0ff; }

@media (max-width: 700px) {
  .status-grid { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: 1fr; }
}