:root {
  --bg-deep: #06050c;
  --bg-surface: rgba(17, 15, 32, 0.82);
  --bg-card: rgba(23, 20, 43, 0.76);
  --bg-card-hover: rgba(33, 28, 62, 0.95);
  --border-subtle: rgba(139, 92, 246, 0.24);
  --border-glow: rgba(6, 182, 212, 0.72);
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --electric: #3b82f6;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-neon: 0 22px 60px -15px rgba(124, 58, 237, 0.48), 0 0 35px -8px rgba(6, 182, 212, 0.32);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 15% 10%, rgba(124, 58, 237, 0.20), transparent 40%),
              radial-gradient(circle at 85% 22%, rgba(6, 182, 212, 0.16), transparent 44%),
              radial-gradient(circle at 50% 88%, rgba(59, 130, 246, 0.15), transparent 50%),
              var(--bg-deep);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.aurora-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.34;
  z-index: 0;
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 440px;
  height: 440px;
  background: var(--primary);
  top: -120px;
  left: -90px;
}

.orb-2 {
  width: 390px;
  height: 390px;
  background: var(--cyan);
  top: 35%;
  right: -120px;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: var(--electric);
  bottom: -100px;
  left: 28%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(42px, -36px) scale(1.12); }
}

/* Ícones Vetoriais SVG Neon */
.svg-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.svg-icon-sm {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.45));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

/* Barra de Navegação Glassmorphism */
.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 12px 24px;
  background: rgba(13, 11, 25, 0.80);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.50);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--electric));
  color: #fff;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-name span {
  background: linear-gradient(135deg, #c4b5fd, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.24);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #ddd6fe;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--electric), var(--cyan));
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.52);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.62);
}

.nav-cta:hover .svg-icon-sm {
  transform: translateY(2px);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Seção Hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
  padding: 76px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.38);
  color: #ddd6fe;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.hero h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.9rem);
  line-height: 1.07;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #60a5fa 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 585px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 15px;
  font-size: 1.04rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--electric));
  box-shadow: var(--shadow-neon);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -12px rgba(6, 182, 212, 0.70);
}

.btn-primary:hover .svg-icon {
  transform: scale(1.14) rotate(-4deg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  background: rgba(30, 27, 54, 0.75);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(45, 40, 78, 0.92);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.stat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
}

.stat-item strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Card 3D Hero */
.hero-visual {
  perspective: 1100px;
}

.showcase-window {
  background: linear-gradient(160deg, rgba(25, 22, 46, 0.95), rgba(12, 10, 24, 0.97));
  border: 1px solid rgba(167, 139, 250, 0.38);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-neon);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  position: relative;
  overflow: hidden;
}

.showcase-window::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.16), transparent 40%);
  pointer-events: none;
}

.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.win-dots {
  display: flex;
  gap: 7px;
}

.win-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #10b981; }

.win-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-banner-img {
  width: 100%;
  border-radius: 15px;
  border: 1px solid rgba(124, 58, 237, 0.38);
  margin-bottom: 16px;
  display: block;
}

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  padding: 8px 13px;
  border-radius: 11px;
  font-size: 0.81rem;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.32);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.22s ease;
}

.mini-pill:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.18);
  transform: translateY(-2px);
}

/* Seções */
.section {
  padding: 74px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.38);
  color: #67e8f9;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Simulador Interativo */
.interactive-demo {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(18px);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding-bottom: 16px;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 13px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: rgba(24, 21, 44, 0.78);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.demo-tab:hover {
  color: #fff;
  border-color: var(--primary-light);
}

.demo-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--electric));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.48);
}

.demo-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  animation: fadeSlide 0.32s ease;
}

.demo-panel.active {
  display: grid;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.format-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.fmt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(30, 27, 56, 0.85);
  color: #e2e8f0;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fmt-btn:hover, .fmt-btn.selected {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.42);
}

.demo-status-box {
  background: rgba(11, 9, 22, 0.88);
  border: 1px solid rgba(6, 182, 212, 0.38);
  border-radius: 16px;
  padding: 22px;
}

.demo-status-box h4 {
  color: #67e8f9;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-log {
  font-family: 'Consolas', monospace;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.75;
}

/* Bento Grid com Ícones Vetoriais Duotone Neon */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.bento-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.bento-card:hover {
  transform: translateY(-7px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 18px 44px -12px rgba(6, 182, 212, 0.32);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(167, 139, 250, 0.38);
  box-shadow: inset 0 0 18px rgba(124, 58, 237, 0.25), 0 8px 20px -6px rgba(124, 58, 237, 0.4);
  margin-bottom: 18px;
  position: relative;
  transition: all 0.35s ease;
}

.bento-card:hover .card-icon {
  border-color: #22d3ee;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.42), rgba(6, 182, 212, 0.35));
  box-shadow: inset 0 0 22px rgba(6, 182, 212, 0.35), 0 10px 26px -4px rgba(6, 182, 212, 0.55);
}

.bento-card:hover .svg-icon-lg {
  transform: scale(1.16) rotate(-5deg);
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.85));
}

.bento-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 9px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.62;
  margin-bottom: 16px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tags span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #93c5fd;
}

/* Passos de Instalação */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

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

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

/* Banner CTA Final */
.cta-banner {
  margin: 40px 0 70px;
  padding: 56px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.30), rgba(26, 23, 58, 0.94), rgba(6, 182, 212, 0.26));
  border: 1px solid rgba(6, 182, 212, 0.48);
  text-align: center;
  box-shadow: var(--shadow-neon);
}

.cta-banner h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 34px 0 46px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

footer a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #22d3ee;
}

@media (max-width: 920px) {
  .hero, .demo-panel.active {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
