/* Componentes essenciais - Dark Theme Premium */

/* ========== Logo ========== */
.logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text span {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7, #00d9ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--text-muted);
  margin-top: 2px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 15px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 3px;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: shine 4s infinite;
}

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

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes shine {
  to { transform: translateX(100%); }
}

/* ========== CTA Button ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.25),
              0 0 15px rgba(123, 47, 247, 0.15);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.35),
              0 0 30px rgba(123, 47, 247, 0.2);
}

.cta-button:active {
  transform: translateY(-1px) scale(1);
}

/* ========== Section Titles ========== */
.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 20%, #00d9ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ========== Cards (Como Escolher) ========== */
.card {
  background: rgba(20, 25, 55, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(0, 217, 255, 0.04);
  border-color: rgba(0, 217, 255, 0.12);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.93rem;
}

.icon-minimal {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 47, 247, 0.1));
  border: 1px solid rgba(0, 217, 255, 0.15);
  transition: all 0.4s;
  position: relative;
}

.icon-minimal::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.25), rgba(123, 47, 247, 0.25));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(10px);
}

.card:hover .icon-minimal {
  border-color: rgba(0, 217, 255, 0.3);
  transform: scale(1.08);
}

.card:hover .icon-minimal::after {
  opacity: 1;
}

.icon-minimal svg {
  width: 28px;
  height: 28px;
  color: var(--accent-primary);
}

/* ========== FAQ Filter Buttons ========== */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.faq-filter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.faq-filter-btn:hover {
  border-color: rgba(0, 217, 255, 0.3);
  color: var(--accent-primary);
  background: rgba(0, 217, 255, 0.06);
}

.faq-filter-btn.active {
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 217, 255, 0.25);
}

/* ========== FAQ Accordion ========== */
.accordion-item {
  background: rgba(20, 25, 55, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 14px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(0, 217, 255, 0.15);
}

.accordion-item.active {
  border-color: rgba(0, 217, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.06);
}

.accordion-header {
  padding: 1.5rem 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
  gap: 1rem;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  opacity: 0.6;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body {
  padding: 0 1.8rem 1.8rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.accordion-body a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.accordion-body a:hover {
  color: var(--accent-secondary);
}

/* ========== Directory / Ranking Components ========== */

/* Rank Badge */
.platform-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  color: white;
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.2);
  position: relative;
}

/* Gold rank for #1 */
.platform-card.featured .platform-rank {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3);
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
  color: #1a1a2e;
}

/* Stars */
.platform-stars {
  color: #ffd700;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  letter-spacing: 2px;
}

/* Score */
.platform-score {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.platform-card.featured .platform-score {
  font-size: 1.7rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Rating Bar */
.rating-bar {
  width: 70px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #00d9ff, #7b2ff7);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card.featured .rating-bar-fill {
  background: linear-gradient(90deg, #ffd700, #ff8c00);
}

/* Tags */
.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-tag {
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.15);
  color: rgba(0, 217, 255, 0.85);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.2px;
}

.platform-card:hover .platform-tag {
  border-color: rgba(0, 217, 255, 0.25);
  background: rgba(0, 217, 255, 0.1);
}

.platform-card.featured .platform-tag {
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 215, 0, 0.2);
  color: rgba(255, 215, 0, 0.9);
}

.platform-card.featured:hover .platform-tag {
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.1);
}

/* CTA Button on cards */
.platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 217, 255, 0.2);
}

.platform-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.platform-cta:hover::before {
  left: 100%;
}

.platform-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.platform-card.featured .platform-cta {
  padding: 14px 34px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.25);
  color: #1a1a2e;
  border-radius: 14px;
}

.platform-card.featured .platform-cta:hover {
  box-shadow: 0 10px 35px rgba(255, 215, 0, 0.35);
}

.platform-cta.disabled {
  cursor: pointer;
}

/* Platform Logo (featured card image) */
.platform-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
              0 0 25px rgba(255, 215, 0, 0.12);
  border: 2px solid rgba(255, 215, 0, 0.2);
  transition: all 0.4s ease;
}

.platform-card.featured:hover .platform-logo {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5),
              0 0 35px rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.35);
  transform: scale(1.04);
}

/* Stagger animation for cards */
.platform-card.fade-in:nth-child(1) { transition-delay: 0s; }
.platform-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.platform-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.platform-card.fade-in:nth-child(4) { transition-delay: 0.24s; }
.platform-card.fade-in:nth-child(5) { transition-delay: 0.32s; }
.platform-card.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: -1px;
  right: 30px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a1a2e;
  padding: 0.45rem 1.3rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

/* Header CTA */
.header-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .logo-container {
    gap: 8px;
  }

  .logo-text span {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.5rem;
    letter-spacing: 2px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .logo-icon::before {
    border-left: 9px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
  }

  .cta-button {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .platform-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .platform-rank {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .platform-card.featured .platform-rank {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .platform-score {
    font-size: 1.3rem;
  }

  .platform-card.featured .platform-score {
    font-size: 1.4rem;
  }

  .platform-cta {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .platform-card.featured .platform-cta {
    padding: 13px 28px;
    font-size: 0.9rem;
  }

  .featured-badge {
    font-size: 0.65rem;
    padding: 0.35rem 1rem;
    right: 20px;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .card {
    padding: 1.8rem 1.5rem;
  }

  .faq-filters {
    gap: 0.5rem;
  }

  .faq-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .accordion-header {
    padding: 1.3rem 1.4rem;
  }

  .accordion-header h3 {
    font-size: 0.95rem;
  }

  .accordion-body {
    padding: 0 1.4rem 1.4rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
    gap: 6px;
  }

  .logo-text span {
    font-size: 0.85rem;
  }

  .logo-sub {
    font-size: 0.45rem;
    letter-spacing: 1.5px;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .logo-icon::before {
    border-left: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 1px;
  }

  .cta-button {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .platform-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .card {
    padding: 1.5rem 1.2rem;
  }

  .platform-stars {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .platform-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .featured-badge {
    right: 15px;
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
  }

  .rating-bar {
    width: 50px;
  }
}
