/* Estilos modernos para o site Selfit.IA */

/* Cores principais */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #8b5cf6;
  --accent: #ffd60a;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #1f2937;
  --light: #f9fafb;
  --gray: #6b7280;
  --white: #ffffff;
}

/* Estilo de gradiente principal */
.primary-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Melhorias gerais */
body {
  background: #f8fafc;
  font-family: 'Inter', 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

/* Seção de hero - melhoria de visual */
.hero-section {
  position: relative;
  padding: 4rem 0 2rem;
  width: 100%;
  overflow: visible;
}

/* Animação de fundo sutil */
.hero-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 20%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0) 20%);
}

/* Melhoria no título principal */
.main-heading {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.main-heading::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* Melhoria no subtítulo */
.tagline {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  color: #4b5563;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Melhoria nos cards de recursos */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #dbeafe;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 6px 0 0 6px;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.feature-description {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
}

.feature-number {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

/* Melhoria na seção de benefícios */
.why-choose-section {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.why-choose-heading {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 1rem;
  display: inline-block;
}

.why-choose-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background: #f3f4f6;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 500;
}

/* Melhoria na seção de habilidades */
.skills-section {
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
}

.skills-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.skills-title .fas {
  margin-right: 0.5rem;
  color: var(--primary);
}

.skills-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.skill-text {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.6;
}

/* Melhoria nas estatísticas */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* gap: 2rem; */
  /* margin: 3rem 0; */
}

.stat-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #dbeafe;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gray);
}

/* Botão de ação principal melhorado */
.beta-button-container {
  text-align: center;
  margin: 3rem 0;
}

.beta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white !important;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
  border: none;
}

.beta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.beta-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
  transition: all 0.5s ease;
  z-index: 1;
}

.beta-button:hover::before {
  transform: rotate(30deg);
}

.ai-text-effect {
  position: relative;
  z-index: 2;
}

.ai-button-icon {
  margin-left: 0.5rem;
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.beta-button:hover .ai-button-icon {
  transform: translateX(3px);
}

.ai-pulse {
  animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Botões secundários */
.action-buttons-secondary {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #dbeafe;
}

.secondary-button:hover {
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary-dark);
}

.secondary-button i {
  font-size: 0.9rem;
}

/* Melhoria no rodapé */
.social {
  margin-top: 3rem;
  text-align: center;
}

.social ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social p {
  font-size: 1.1rem;
  color: var(--gray);
}

.social a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social a:hover {
  color: var(--secondary);
}

.copy-right {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  color: var(--gray);
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
}

/* Melhorias responsivas */
@media (max-width: 992px) {
  .main-heading {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.4rem;
  }
  
  .feature-card {
    flex-direction: column;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .why-choose-heading {
    font-size: 1.8rem;
  }
  
  .skills-title {
    font-size: 1.7rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .beta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

/* Efeitos de hover para links */
a {
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}
