/* Seções principais - Dark Theme Premium */
section {
  padding: 6rem 5%;
  position: relative;
}

/* ========== Hero Mini ========== */
.hero-mini {
  padding: 9rem 5% 4.5rem;
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Gradient mesh background */
.hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(0, 217, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 60% at 85% 120%, rgba(123, 47, 247, 0.12), transparent),
    radial-gradient(ellipse 60% 60% at 15% 120%, rgba(0, 217, 255, 0.06), transparent);
  pointer-events: none;
}

/* Bottom gradient line */
.hero-mini::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 217, 255, 0.4) 30%, rgba(123, 47, 247, 0.3) 70%, transparent 95%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 1.6rem;
  background: rgba(0, 217, 255, 0.07);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  animation: heroPulse 2s ease infinite;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
  flex-shrink: 0;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.hero-mini h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #e0f4ff 30%, #00d9ff 60%, #7b2ff7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s ease infinite;
  position: relative;
  z-index: 1;
}

@keyframes textShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-mini p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-ghost {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(0, 217, 255, 0.4) !important;
  color: var(--accent-primary) !important;
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.1) !important;
}

.cta-light {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1a1a2e !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}

.cta-light:hover {
  background: #ffffff !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(0, 217, 255, 0.15) !important;
}

/* ========== Section Dividers ========== */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin: 0 auto 3rem;
}

/* ========== Benefits Grid / Como Escolher ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== Directory / Ranking ========== */
.directory-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.platform-card {
  background: rgba(20, 25, 55, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Top accent line */
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), rgba(123, 47, 247, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
              0 0 60px rgba(0, 217, 255, 0.04);
  border-color: rgba(0, 217, 255, 0.15);
}

/* Featured card (rank 1) — Golden premium look */
.platform-card.featured {
  background: rgba(20, 25, 55, 0.85);
  border-color: rgba(255, 215, 0, 0.15);
  padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
              0 0 80px rgba(255, 215, 0, 0.025);
}

.platform-card.featured::before {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.7), rgba(255, 140, 0, 0.5), transparent);
  opacity: 1;
}

.platform-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 215, 0, 0.03), transparent 50%);
  pointer-events: none;
}

.platform-card.featured:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4),
              0 0 100px rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
}

/* Platform card layout */
.platform-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.platform-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.platform-info {
  flex: 1;
  min-width: 0;
}

.platform-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
  letter-spacing: -0.3px;
}

.platform-card.featured .platform-name {
  font-size: 1.5rem;
}

.platform-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-description {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
}

.platform-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ========== FAQ Container ========== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ========== CTA Section ========== */
.cta-section {
  background: rgba(20, 25, 55, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 3rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.4), transparent);
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 217, 255, 0.05), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(123, 47, 247, 0.04), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  section { padding: 4rem 5%; }

  .hero-mini { padding: 7.5rem 5% 3rem; }
  .hero-mini h1 { font-size: 2rem; }
  .hero-mini p { font-size: 1rem; margin-bottom: 2rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 1.2rem; }

  .benefits-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  .platform-card { padding: 1.5rem; }
  .platform-card.featured { padding: 2rem 1.5rem; }
  .platform-name { font-size: 1.15rem; }
  .platform-card.featured .platform-name { font-size: 1.25rem; }
  .platform-description { font-size: 0.9rem; }
  .platform-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .platform-cta { width: 100%; justify-content: center; }

  .cta-section h2 { font-size: 1.8rem; }
  .cta-section p { font-size: 1rem; }
  .cta-section { padding: 3rem 2rem; }
}

@media (max-width: 480px) {
  section { padding: 3rem 5%; }
  .hero-mini h1 { font-size: 1.65rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .cta-button { width: 100%; justify-content: center; }

  .platform-header {
    gap: 0.8rem;
  }
  .platform-brand {
    gap: 0.6rem;
  }
}
