@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');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #080808;
  color: #F5F5F5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s, opacity 0.2s; }
a:hover { opacity: 0.85; }
::selection { background: rgba(229,9,20,0.3); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #E50914; border-radius: 3px; }

/* Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 100px 0;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-sub {
  color: #A0A0A0;
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}
.btn-primary {
  background: #E50914;
  color: #fff !important;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
  background: #FF2D2D;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(229,9,20,0.4);
}

/* Cursor pointer em tudo clicável */
button, .app-card, .faq-tab, summary { cursor: pointer; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para cards em grid */
.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; }

/* 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: #E50914;
  letter-spacing: -0.03em;
}
nav a {
  color: #A0A0A0;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0 1rem;
}
nav a:hover { color: #FFFFFF; opacity: 1; }
.btn-cta {
  background: #E50914;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn-cta:hover { background: #FF1C1C; transform: translateY(-1px); }

/* Hero */
.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,0,0.85) 50%,
    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(229,9,20,0.15);
  border: 1px solid rgba(229,9,20,0.4);
  color: #E50914;
  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;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.text-red { color: #E50914; }
.hero-sub {
  font-size: 1.1rem;
  color: #A0A0A0;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  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: #E50914;
  line-height: 1;
}
.btn-primary-hero {
  background: #E50914;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.2s;
}
.btn-primary-hero:hover {
  background: #FF1C1C;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229,9,20,0.4);
}
.btn-secondary-hero {
  color: #A0A0A0;
  border: 1px solid #333;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  margin-left: 1rem;
  transition: all 0.2s;
}
.btn-secondary-hero:hover {
  border-color: #E50914;
  color: #fff;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.app-card {
  display: grid;
  grid-template-columns: 36px 56px 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;
}
.app-card:hover {
  border-color: #E50914;
  background: #140000;
  transform: translateX(4px);
}
.app-rank {
  font-size: 0.72rem;
  font-weight: 700;
  color: #E50914;
  text-align: center;
  opacity: 0.8;
}
.app-img-wrap img {
  width: 56px;
  height: 56px;
  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(229,9,20,0.3);
}
.app-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #F5F5F5;
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}
.app-desc {
  font-size: 0.76rem;
  color: #555;
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.app-rating { display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.35rem; }
.stars { color: #F7C948; font-size: 0.78rem; }
.rating-val { font-weight: 700; color: #F5F5F5; font-size: 0.82rem; }
.rating-count { color: #444; font-size: 0.72rem; }
.app-tags { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.tag {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #555;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.app-actions { display: flex; align-items: center; }
.btn-ver-app {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #777;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-ver-app:hover { border-color: #F5F5F5; color: #F5F5F5; }
.btn-testar {
  background: #E50914;
  color: #fff !important;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.4rem;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-testar:hover { background: #FF2D2D; transform: translateY(-1px); }

/* Rating Block (Component) */
.rating-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: #0F0F0F;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  margin-bottom: 2rem;
}
.rating-big {
  font-size: 4rem;
  font-weight: 900;
  color: #F5F5F5;
  line-height: 1;
}
.star.filled { color: #F7C948; }
.star.half { color: #F7C94880; }
.rating-count { font-size: 0.85rem; color: #888; margin-top: 0.3rem; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.4rem;
}
.bar {
  flex: 1;
  height: 6px;
  background: #1E1E1E;
  border-radius: 3px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: #E50914;
  border-radius: 3px;
  transition: width 0.8s ease;
}

/* Reviews List */
.reviews-list {
  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.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: #333; }
.review-card header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E50914;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}
.reviewer-location {
  font-size: 0.75rem;
  color: #888;
}
.review-stars { color: #F7C948; margin-left: auto; letter-spacing: 2px; }
.review-card p {
  color: #A0A0A0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.review-card time {
  font-size: 0.75rem;
  color: #666;
}

/* FAQ */
.faq-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.faq-tab {
  background: transparent;
  border: 1px solid #333;
  color: #A0A0A0;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.faq-tab:hover {
  border-color: #555;
  color: #fff;
}
.faq-tab.active {
  background: #E50914;
  border-color: #E50914;
  color: #fff;
}
.tab-count {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
}
.faq-tab.active .tab-count {
  background: rgba(255,255,255,0.3);
}
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-item {
  border-bottom: 1px solid #1a1a1a;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #E50914; }
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid #E50914;
  border-radius: 50%;
  color: #E50914;
  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: #E50914;
  color: #fff;
  transform: rotate(45deg);
}
.faq-item p {
  color: #A0A0A0;
  line-height: 1.7;
  padding-bottom: 1.2rem;
  font-size: 0.9rem;
}

/* Article Meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid #1E1E1E;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.author-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
}
.author-link:hover { color: #E50914; }
.article-meta time {
  color: #444;
  font-size: 0.78rem;
}
.article-meta time + time::before {
  content: "•";
  margin-right: 0.8rem;
  color: #333;
}

/* Compare Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.compare-table th, .compare-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid #1E1E1E;
}
.compare-table th {
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.02);
}
.compare-table td.yes { color: #2ECC71; font-weight: 600; }
.compare-table td.no { color: #E74C3C; }
.compare-table td.partial { color: #F39C12; }

/* How To Steps */
.steps-list {
  list-style: none;
  counter-reset: steps-counter;
  margin: 3rem 0;
  display: grid;
  gap: 2rem;
}
.steps-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: #E50914;
  line-height: 1;
  opacity: 0.8;
}
.steps-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.steps-list p {
  color: #A0A0A0;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}
footer nav {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
footer h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.8rem; }
footer ul a {
  color: #888;
  font-size: 0.9rem;
}
footer ul a:hover { color: #E50914; }
footer > p {
  text-align: center;
  color: #555;
  font-size: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .btn-secondary-hero { margin-left: 0; margin-top: 1rem; }
  .rating-block { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .app-card { grid-template-columns: 1fr; text-align: center; gap: 1rem; padding: 1.5rem; }
  .app-img-wrap img { margin: 0 auto; }
  .app-actions { justify-content: center; }
  .header-fixed { padding: 1rem; flex-wrap: wrap; gap: 1rem; justify-content: center; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
}
