@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* Reset e Configurações Globais */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #080808;
  color: #F5F5F5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { opacity: 0.85; }
::selection { background: rgba(168, 85, 247, 0.3); } /* Roxa */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #A855F7; border-radius: 3px; } /* Roxa */

button, .app-card, .faq-tab, summary { cursor: pointer; }

/* Tipografia e Cores Utilities */
.text-purple { color: #A855F7; }

/* Estrutura Geral */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #A855F7; /* Roxa */
  text-decoration: none;
  letter-spacing: -0.03em;
}
.header-fixed nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-fixed nav a {
  color: #A0A0A0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.header-fixed nav a:hover { color: #FFFFFF; }
.btn-cta {
  background: #A855F7;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.btn-cta:hover { background: #C084FC; transform: translateY(-1px); }
.mobile-actions { display: none; }

/* Main */
main {
  padding-top: 80px; /* offset para header fixo */
}
section {
  padding: 100px 0;
}

/* Typography Headings */
h1, h2, h3, h4 {
  color: #fff;
  line-height: 1.2;
}
section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  color: #A0A0A0;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}
.lead {
  color: #A0A0A0;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Botões */
.btn-primary {
  background: #A855F7;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary:hover {
  background: #C084FC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid #333;
  color: #F5F5F5;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}
.btn-outline:hover {
  border-color: #A855F7;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.97) 0%,
    rgba(26,0,26,0.85) 50%, /* Ajustado para tom puxado pro roxo escuro */
    rgba(10,10,10,0.97) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 0 2rem;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15); /* Roxa */
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #A855F7;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: #A0A0A0;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  margin-top: 0.2rem;
}
.stat span {
  font-size: 1.8rem;
  font-weight: 800;
  color: #A855F7; /* Roxa */
  line-height: 1;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary-hero {
  background: #A855F7; /* Roxa */
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary-hero:hover {
  background: #C084FC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}
.btn-secondary-hero {
  color: #A0A0A0;
  border: 1px solid #333;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary-hero:hover {
  border-color: #A855F7;
  color: #fff;
}

/* App Cards */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.app-card {
  display: grid;
  grid-template-columns: 36px 64px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}
.app-card:hover {
  border-color: #A855F7;
  background: #120A1A; /* Tom roxo escuro no hover */
  transform: translateX(4px);
}
.app-rank {
  font-size: 0.85rem;
  font-weight: 800;
  color: #A855F7;
  text-align: center;
  opacity: 0.9;
}
.app-img-wrap img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.app-card:hover .app-img-wrap img {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}
.app-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #F5F5F5;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}
.app-desc {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.app-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.stars { color: #F7C948; font-size: 0.85rem; }
.rating-val { font-weight: 700; color: #F5F5F5; font-size: 0.9rem; }
.rating-count { color: #666; font-size: 0.8rem; }
.app-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tag {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #888;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.btn-ver-app {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #A0A0A0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-ver-app:hover { border-color: #F5F5F5; color: #F5F5F5; }
.btn-testar {
  background: #A855F7;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-testar:hover { background: #C084FC; transform: translateY(-1px); }

/* Rating Block (Internal App Page) */
.rating-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  margin-bottom: 3rem;
  align-items: center;
}
.rating-big {
  font-size: 4.5rem;
  font-weight: 900;
  color: #F5F5F5;
  line-height: 1;
}
.rating-summary .rating-stars { margin-top: 0.5rem; font-size: 1.2rem; }
.star.filled { color: #F7C948; }
.star.half { color: #F7C94880; }
.rating-summary .rating-count { font-size: 0.9rem; color: #888; margin-top: 0.5rem; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.6rem;
}
.bar {
  flex: 1;
  height: 8px;
  background: #1E1E1E;
  border-radius: 4px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: #A855F7;
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* Reviews List */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.review-card:hover { border-color: #333; }
.review-card header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #A855F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-info {
  display: flex;
  flex-direction: column;
}
.reviewer-name { font-weight: 700; font-size: 0.95rem; color: #F5F5F5; }
.reviewer-location { font-size: 0.8rem; color: #888; }
.review-stars { color: #F7C948; margin-left: auto; font-size: 0.9rem; }
.review-card p {
  color: #A0A0A0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.review-card time {
  font-size: 0.8rem;
  color: #666;
}

/* FAQ com Abas */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.faq-tab {
  background: transparent;
  border: 1px solid #333;
  color: #A0A0A0;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.faq-tab:hover {
  border-color: #666;
  color: #fff;
}
.faq-tab.active {
  background: #A855F7;
  border-color: #A855F7;
  color: #fff;
}
.tab-count {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.1rem 0.6rem;
  font-size: 0.8rem;
}
.faq-tab.active .tab-count {
  background: rgba(255,255,255,0.3);
}
.faq-panel { display: none; max-width: 800px; margin: 0 auto; }
.faq-panel.active { display: block; }

.faq-item {
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 0.5rem;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #F5F5F5;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #A855F7; }
.faq-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #A855F7;
  border-radius: 50%;
  color: #A855F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item[open] .faq-icon {
  background: #A855F7;
  color: #fff;
  transform: rotate(45deg);
}
.faq-item p {
  color: #A0A0A0;
  line-height: 1.8;
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  padding-right: 2rem;
}

/* Compare Table */
.compare-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #0F0F0F;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #1E1E1E;
}
.compare-table th, .compare-table td {
  padding: 1.2rem;
  text-align: center;
  border-bottom: 1px solid #1E1E1E;
}
.compare-table th {
  background: #141414;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #F5F5F5;
}
.compare-table .yes { color: #2ECC71; font-weight: 600; }
.compare-table .no { color: #E74C3C; }
.compare-table .partial { color: #F7C948; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: #161616; }

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.blog-card {
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-content {
  padding: 1.5rem;
}
.blog-category {
  color: #A855F7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  display: block;
}
.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.blog-title a { color: #F5F5F5; }
.blog-title a:hover { color: #A855F7; }
.blog-desc {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.8rem;
  border-top: 1px solid #1E1E1E;
  padding-top: 1rem;
}

/* Article Layout */
.article-header {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 2rem;
}
.article-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1E1E1E;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.author-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #A0A0A0;
  font-weight: 600;
}
.author-link:hover { color: #A855F7; }
.author-link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.article-content {
  max-width: 800px;
  margin: 0 auto;
  color: #D0D0D0;
  font-size: 1.1rem;
  line-height: 1.8;
}
.article-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: #F5F5F5;
  text-align: left;
}
.article-content h3 {
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  color: #F5F5F5;
}
.article-content p {
  margin-bottom: 1.5rem;
}
.article-content ul, .article-content ol {
  margin: 0 0 1.5rem 2rem;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.direct-answer {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  color: #F5F5F5;
  padding: 1.5rem;
  background: #120A1A;
  border-left: 4px solid #A855F7;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2.5rem;
}
.cta-inline {
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}
.cta-inline p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F5F5F5;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 4rem 2rem 2rem;
}
footer nav {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
footer section h3 {
  color: #F5F5F5;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
footer section p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
}
footer section ul {
  list-style: none;
}
footer section ul li {
  margin-bottom: 0.8rem;
}
footer section ul a {
  color: #888;
  font-size: 0.9rem;
}
footer section ul a:hover { color: #A855F7; }
footer > p {
  text-align: center;
  color: #555;
  font-size: 0.85rem;
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Utilitários Animação */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.app-card:nth-child(1) { transition-delay: 0.05s; }
.app-card:nth-child(2) { transition-delay: 0.10s; }
.app-card:nth-child(3) { transition-delay: 0.15s; }
.app-card:nth-child(4) { transition-delay: 0.20s; }
.app-card:nth-child(5) { transition-delay: 0.25s; }
.app-card:nth-child(6) { transition-delay: 0.30s; }

/* Responsive */
@media (max-width: 992px) {
  footer nav { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .header-fixed { padding: 0.8rem 1rem; flex-wrap: nowrap; gap: 0.5rem; justify-content: space-between; align-items: center; }
  .logo { font-size: 1.2rem; white-space: nowrap; }
  .header-fixed nav { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; 
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    gap: 1.2rem;
    text-align: center;
  }
  .header-fixed nav.nav-open { display: flex; }
  .mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
  .mobile-actions .btn-cta { padding: 0.4rem 0.8rem; font-size: 0.8rem; white-space: nowrap; }
  .mobile-menu-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: #F5F5F5; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; cursor: pointer; transition: all 0.2s ease; }
  .mobile-menu-btn:active { background: rgba(255,255,255,0.1); }
  .desktop-cta { display: none !important; }
  .hero-content { padding: 0 1rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; text-align: center; }
  .app-card {
    grid-template-columns: 24px 56px 1fr;
    padding: 1rem;
    gap: 0.8rem;
  }
  .app-actions {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .app-actions a {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }
  .rating-block { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding: 1.5rem; }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
  footer nav { grid-template-columns: 1fr; gap: 2rem; }
  .faq-tabs { flex-direction: column; align-items: stretch; }
  .faq-tab { justify-content: space-between; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
