/* ============================================================
       RESET & BASE
    ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0071bc; /* Azul primário */
  --primary-d: #005a99; /* Azul primário mais escuro */
  --accent: #29abe2; /* Azul secundário */
  --dark: #0a0a0f;
  --dark2: #12121a;
  --dark3: #223b5f; /* Azul escuro para superfície */
  --surface: #223b5f; /* Azul escuro para superfície */
  --border: rgba(0, 113, 188, 0.3);
  --text: #f0f0f5;
  --muted: #a4e1fb; /* Azul claro para texto muted */
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Titillium Web", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ============================================================
       SCROLLBAR
    ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark2);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ============================================================
       NAVBAR
    ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 12px 5%;
  background: rgba(10, 10, 15, 0.95);
}
.logo-nav {
  height: 30px; /* Ajuste conforme necessário */
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.nav-cta:hover {
  background: var(--primary-d) !important;
  transform: translateY(-1px);
}

/* ============================================================
       HERO
    ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  overflow: hidden;
  background: url("bg-stage.jpg") no-repeat center center/cover;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 113, 188, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(41, 171, 226, 0.15) 0%, transparent 60%), rgba(0, 0, 0, 0.7); /* Overlay para escurecer a imagem de fundo */
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

/* Particle dots */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 113, 188, 0.6);
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* Grid lines overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 188, 0.15);
  border: 1px solid rgba(0, 113, 188, 0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.hero h1 {
  font-family: "Titillium Web", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeDown 0.9s ease 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeDown 1s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 1.1s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 0 30px rgba(0, 113, 188, 0.4);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 113, 188, 0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(0, 113, 188, 0.08);
  transform: translateY(-2px);
}

/* Stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeDown 1.2s ease 0.4s both;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: "Titillium Web", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
       SECTION BASE
    ============================================================ */
section {
  padding: 100px 5%;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 113, 188, 0.12);
  border: 1px solid rgba(0, 113, 188, 0.3);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Titillium Web", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
       POWER SECTION
    ============================================================ */
.power {
  background: url("bg-mixer.jpg") no-repeat center center/cover;
  position: relative;
}
.power::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 26, 0.85); /* Overlay para escurecer a imagem de fundo */
}
.power > div {
  position: relative;
  z-index: 1;
}

.power-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.power-intro {
  grid-column: 1 / -1;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.power-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.power-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.75;
}
.power-intro h3 {
  font-family: "Titillium Web", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.card:hover {
  border-color: rgba(0, 113, 188, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 113, 188, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.card h3 {
  font-family: "Titillium Web", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
       SECURITY SECTION
    ============================================================ */
.security {
  background: url("bg-control.jpg") no-repeat center center/cover;
  position: relative;
}
.security::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.85); /* Overlay para escurecer a imagem de fundo */
}
.security > div {
  position: relative;
  z-index: 1;
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-visual {
  position: relative;
}
.shield-wrapper {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.shield-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 113, 188, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
.shield-icon {
  font-size: 8rem;
  filter: drop-shadow(0 0 40px rgba(0, 113, 188, 0.5));
}

/* Orbiting badges */
.orbit-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.orbit-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.orbit-badge:nth-child(2) {
  top: 10%;
  right: -5%;
  animation: orbitFloat 4s ease-in-out infinite;
}
.orbit-badge:nth-child(3) {
  bottom: 15%;
  left: -8%;
  animation: orbitFloat 4s ease-in-out 1s infinite;
}
.orbit-badge:nth-child(4) {
  top: 50%;
  right: -10%;
  animation: orbitFloat 4s ease-in-out 2s infinite;
}
@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    transform var(--transition);
  cursor: default;
}
.feature-item:hover {
  border-color: rgba(0, 113, 188, 0.35);
  transform: translateX(4px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 113, 188, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-text h4 {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.feature-text p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================================
       HOW IT WORKS
    ============================================================ */
.how {
  background: var(--dark2);
}
.how-header {
  text-align: center;
  margin-bottom: 72px;
}
.how-header .section-desc {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connector line */
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  background: var(--dark3);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Titillium Web", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 28px;
  position: relative;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}
.step:hover .step-number {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.step-emoji {
  font-size: 1.5rem;
}
.step h3 {
  font-family: "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================================================
       COUNTER SECTION
    ============================================================ */
.counters {
  background: linear-gradient(135deg, rgba(0, 113, 188, 0.15) 0%, rgba(41, 171, 226, 0.08) 100%);
  border-top: 1px solid rgba(0, 113, 188, 0.2);
  border-bottom: 1px solid rgba(0, 113, 188, 0.2);
  padding: 80px 5%;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.counter-item {
}
.counter-value {
  font-family: "Titillium Web", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
       CTA FINAL
    ============================================================ */
.cta-final {
  background: var(--dark);
  text-align: center;
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 113, 188, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-content {
  position: relative;
  z-index: 1;
}
.cta-final h2 {
  font-family: "Titillium Web", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-final p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}
.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition:
    border-color var(--transition),
    transform var(--transition),
    background var(--transition);
  min-width: 180px;
}
.app-btn:hover:not(.disabled) {
  border-color: var(--primary);
  background: rgba(0, 113, 188, 0.1);
  transform: translateY(-2px);
}
.app-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.app-btn-icon {
  height: 40px;
  width: 40px;
}
.app-btn-text {
  text-align: left;
}
.app-btn-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}
.app-btn-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.cta-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 24px;
  font-family: "Titillium Web", sans-serif;
}

/* ============================================================
       FOOTER
    ============================================================ */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  height: 25px; /* Ajuste conforme necessário */
}
footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
       SCROLL REVEAL
    ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .power-grid {
    grid-template-columns: 1fr;
  }
  .security-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .steps::before {
    display: none;
  }
  .counters-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .counters-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
}

/* ============================================================
       INTERACTIVE TABS (Power Section)
    ============================================================ */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: "Titillium Web", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ============================================================
       PROGRESS BARS (Security)
    ============================================================ */
.progress-wrap {
  margin-top: 32px;
}
.progress-item {
  margin-bottom: 20px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.progress-bar {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
       TOOLTIP
    ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
[data-tooltip]:hover::after {
  opacity: 1;
}

/* ============================================================
       FLOATING CTA BUTTON
    ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 113, 188, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: floatIn 1s ease 1s both;
}
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0, 113, 188, 0.7);
}
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
