/* Variáveis de Design */
:root {
  --primary-color: #6a0dad;
  --secondary-color: #ff66b2;
  --gradient-bg: linear-gradient(135deg, #6a0dad, #ff66b2);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-light: #ffffff;
  --text-dark: #2c3e50;
}

/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: var(--gradient-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Estilizado */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 1.8s ease-in-out;
}

nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 100px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-10deg);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: var(--secondary-color);
}

/* Botões Principais */
.cta-button {
  background: linear-gradient(45deg, #6a0dad, #f23aec, #6a0dad);
  background-size: 500% 200%;
  color: #fff;
  border: none;
  padding: 15px 15px;
  border-radius: 50px;
  margin: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
  background: linear-gradient(135deg, #5100ff, #ff0080);
  transform: scale(1.1);
  background-size: 200% 200%;
  animation: gradientAnimation 2s ease infinite;
  box-shadow: 0 4px 15px rgba(255, 102, 178, 0.4);
}

.prm-button {
  background: linear-gradient(90deg, 
    #6a0dad, 
    #e60b78, 
    #6a0dad);
  background-size: 400% 400%;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  animation: fadeIn 3s ease-in-out, gradientAnimation 4s ease infinite;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.prm-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 102, 178, 0.4);
}

.pulse {
  animation: pulseAnimation 2s infinite;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 140px;
  background: linear-gradient(135deg, #6a0dad, #ff66b2);
  background-size: 200% 200%;
  color: #fff;
  animation: gradientAnimation 4s ease infinite;
}

.gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, 
      rgba(106,13,173,0.3) 0%,
      rgba(106,13,173,0.7) 100%);
  z-index: -1;

}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s ease-in-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Cards de Recursos */
.features {
  padding: 5rem 0;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
}

.glass-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

  /* Testimonials */
  .testimonial-slider {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section-title {
  text-align: center;
}

.testimonial-text {
  color: #2c3e50;
}


.rating {
    color: #ffc107;
    margin-top: 1rem;
}

/* Footer */
.glass-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  margin-top: 5rem;
}

.glass-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-link {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.7s ease;
}

.support-link:hover {
  color: purple;
  transition: color 0.7s ease;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }


/* Preloader - Fundo e Centralização */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

/* Spinner */
.spinner {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* Esconder Preloader */
.hidden {
  opacity: 0;
  pointer-events: none;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes gradientAnimation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 768px) {

.nav-links{
  margin-right: 30px;
  margin-top: 10px;
  flex-direction: column;
}

.cta-button{
  display: none;
}

.hero{
  margin-top: 185px;
}
  
.hero h1 {
  font-size: 2.5rem;
}
  
.grid-container {
  grid-template-columns: 1fr;
}
}

/* Preloader - Fundo e Centralização */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

/* Spinner */
.spinner {
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Esconder Preloader */
.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efeito de mouse - Canvas */
#mouseTrailCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

