:root {
  --bg-deep: #060907;
  --bg-card: #0c140f;
  --bg-alt: #090f0c;
  --border: #18281e;
  --border-focus: #284433;
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --text-main: #edf5ef;
  --text-muted: #8fa896;
  --text-faint: #597361;
  --font-title: "Cinzel", serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 50%, rgba(5, 150, 105, 0.05) 0%, transparent 40%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 9, 7, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #042417;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.brand-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-admin {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-admin:hover {
  border-color: var(--primary);
  color: var(--text-main) !important;
}

/* Hero */
.hero {
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-online {
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s infinite;
}

.status-offline {
  background-color: #f59e0b;
}

.status-loading {
  background-color: var(--text-faint);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.25);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botoes */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #042417;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.bg-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.max-w {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.mt-4 {
  margin-top: 32px;
}

.text-center {
  text-align: center;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-main);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-admin a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-admin a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero-title { font-size: 42px; }
  .topbar-inner { height: 60px; }
  .footer-content { flex-direction: column; text-align: center; }
}
