/* ==========================================================================
   Landing Page v2.5 - Versão Final e Completa com Identidade Visual
   ========================================================================== */

/* --- Paleta de Cores e Variáveis --- */
:root {
  --primary-red: #a62e2e; /* Vermelho principal para ações e destaques */
  --secondary-red: #d9695f; /* Vermelho para fundos (CTA) e hovers */
  --dark-red: #731919; /* Vermelho escuro para textos e ênfase */
  --bg-dark: #0d0d0d; /* Fundo principal da página */
  --bg-card: rgba(20, 20, 20, 0.75); /* Fundo dos cards com efeito de vidro */
  --text-primary: #c7d1d9; /* Cor principal do texto (cinza azulado claro) */
  --text-secondary: #a0a0a0; /* Cor para textos de apoio e descrições */
  --text-dark: #0d0d0d; /* Texto escuro para fundos claros (CTA) */
  --text-contrast: #333; /* Texto escuro para o verso do card */
  --border-color: rgba(166, 46, 46, 0.25);
  --glow-color: rgba(166, 46, 46, 0.6);
  --accent-yellow: #ffd700; /* Amarelo para o stat de IA */
  --font-primary: "Poppins", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Animated Background --- */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 15% 50%,
      rgba(115, 25, 25, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(166, 46, 46, 0.1) 0%,
      transparent 40%
    );
  animation: gradientShift 15s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
#particles-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* --- Header --- */
.header-transparent {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header-transparent.scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}
.logo-wrapper {
  position: relative;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  position: relative;
  animation: shake 2.5s ease-in-out infinite;
}
@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  2%,
  6% {
    transform: translate(-1px, 1px) rotate(-0.5deg);
  }
  4%,
  8% {
    transform: translate(1px, -1px) rotate(0.5deg);
  }
  10% {
    transform: translate(0, 0) rotate(0);
  }
}
.logo-part-1 {
  color: var(--primary-red);
  text-shadow: 0 0 20px var(--glow-color);
}
.tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* Botões do Header (Estilo Unificado) */
.action-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn-gradient {
  position: relative;
  padding: 12px 35px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-gradient:hover::before {
  opacity: 1;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(166, 46, 46, 0.3);
}
.btn-text,
.btn-hover-text {
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.btn-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 150%);
  opacity: 0;
  width: 100%;
  text-align: center;
}
.btn-gradient:hover .btn-text {
  transform: translateY(-150%);
  opacity: 0;
}
.btn-gradient:hover .btn-hover-text {
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--secondary-red),
    var(--text-primary)
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 5s ease-in-out infinite;
}
@keyframes textGradient {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-button-premium {
  display: inline-block;
  position: relative;
  padding: 18px 40px;
  background: var(--bg-card);
  border: 2px solid var(--primary-red);
  border-radius: 60px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.cta-button-premium::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.cta-button-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--glow-color);
  border-color: var(--primary-red);
}
.cta-button-premium:hover::before {
  width: 450px;
  height: 450px;
}
.cta-button-premium .button-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-button-premium:hover .button-content {
  color: white;
}

/* --- Stats Section --- */
.stats-section {
  background: rgba(166, 46, 46, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 2.5rem 2rem;
  margin: 8rem auto;
  position: relative;
  z-index: 10;
  max-width: 1100px;
  backdrop-filter: blur(10px);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
}
.stat-label {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.stat-number-red {
  color: var(--dark-red);
}
.ai-powered {
  color: var(--accent-yellow);
  font-family: var(--font-display);
  animation: shock-effect 2.5s infinite;
  font-size: 3rem;
}
@keyframes shock-effect {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0);
  }
  50% {
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
  }
}

/* --- Features Section --- */
.features-section-v2 {
  padding: 4rem 0;
}
.section-title-v2 {
  font-family: var(--font-display);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.title-decoration {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-red));
}
.features-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.feature-card-3d {
  perspective: 1000px;
  height: 380px;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.feature-card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-front {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}
.card-back {
  background: var(--text-primary);
  border: 1px solid var(--primary-red);
  transform: rotateY(180deg);
}
.feature-card-3d:hover .card-front,
.feature-card-3d:hover .card-back {
  border-color: var(--secondary-red);
  box-shadow: 0 0 8px var(--secondary-red), 0 0 20px var(--primary-red);
}
.card-icon {
  font-size: 4rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  display: block;
}
.card-front h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
}
.card-back h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-red);
}
.hover-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--primary-red);
  opacity: 1;
  animation: rotate 2.5s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
  width: 100%;
}
.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
}
.feature-list i {
  color: var(--primary-red);
  font-size: 1.2rem;
}
.card-action {
  margin-top: auto;
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.card-action:hover {
  background: var(--primary-red);
  color: white;
}

/* --- CTA Section --- */
.cta-section-v2 {
  background: var(--secondary-red);
  border-radius: 30px;
  padding: 4rem;
  margin: 4rem auto;
  text-align: center;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.cta-title,
.cta-subtitle {
  color: var(--text-dark);
}
.cta-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn-pulse {
  background: var(--dark-red);
  color: white;
  display: inline-block;
  padding: 18px 50px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
  animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(115, 25, 25, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(115, 25, 25, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(115, 25, 25, 0);
  }
}
.btn-pulse:hover {
  background: var(--primary-red);
  transform: scale(1.05);
}
.beta-badge {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.rocket-animation {
  color: var(--dark-red);
  display: inline-block;
  animation: rocket-shake 2s ease-in-out infinite;
}
@keyframes rocket-shake {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}
.countdown {
  font-weight: 700;
  color: var(--text-dark);
}

/* --- Footer --- */
.footer-v2 {
  background: #000;
  padding: 4rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid var(--border-color);
}
.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--primary-red);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary-red);
}
.contact-card-footer {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.contact-card-footer:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 20px var(--glow-color);
}
.contact-card-footer h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.contact-item:hover {
  color: var(--primary-red);
}
.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-red);
  transition: color 0.3s ease;
}
.contact-item:hover i {
  color: var(--secondary-red);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* --- Back to Top --- */
.back-to-top-v2 {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top-v2.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-v2:hover {
  background: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--glow-color);
}
.back-to-top-v2 i {
  color: var(--primary-red);
  font-size: 1.5rem;
  z-index: 2;
  transition: color 0.3s ease;
}
.back-to-top-v2:hover i {
  color: white;
}
.progress-circle {
  position: absolute;
  transform: rotate(-90deg);
}
.progress-circle-back {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 3;
}
.progress-circle-prog {
  fill: none;
  stroke: var(--primary-red);
  stroke-width: 3;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
}

/* --- AOS and Scrollbar --- */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos="fade-up"] {
  transform: translateY(50px);
}
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-red);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .stat-number {
    font-size: 2.8rem;
  }
  .stat-label {
    font-size: 1.1rem;
  }
  .features-grid-v2 {
    grid-template-columns: 1fr;
  }
  .cta-section-v2 {
    padding: 3rem 1.5rem;
  }
  .cta-title {
    font-size: 2rem;
  }
}