/* ============================================================
   SERVICE PAGE — base para xCloud, Boosteroid, GeForce Now, Luna
   Reusa tokens.css + components.css. Mantenha compartilhado.
   ============================================================ */

.service-page { color: var(--ink-100); }

/* ----- HERO ----- */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}
.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(163, 230, 53, .12), transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(56, 189, 248, .08), transparent 55%),
    linear-gradient(180deg, var(--ink-950), var(--ink-900) 50%, var(--ink-950));
}
.service-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 230, 53, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.service-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.service-hero__inner .badge { margin-bottom: 1.25rem; }
.service-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  color: var(--ink-50);
  letter-spacing: -.01em;
}
.service-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--lime-200), var(--lime-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(163, 230, 53, .35);
}
.service-hero .lead {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-200);
  max-width: 720px;
  line-height: 1.65;
  margin: 0 0 2rem;
}
.hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-ctas .btn { padding: 14px 24px; font-size: 13px; }

/* ----- SECTION DEFAULTS ----- */
.service-section {
  padding: 4.5rem 0;
  position: relative;
}
.service-section--alt { background: var(--ink-900); }
.service-section .eyebrow { display: inline-block; margin-bottom: .75rem; }
.service-section h2 {
  font-family: var(--f-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--ink-50);
  letter-spacing: -.005em;
}
.service-section .section-lead {
  font-size: 1.05rem;
  color: var(--ink-200);
  max-width: 760px;
  line-height: 1.7;
  margin: 0 0 2.25rem;
}

/* ----- BLOCO 2: Features grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--ink-800);
  border: 1px solid rgba(163, 230, 53, .1);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, .35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35), 0 0 24px rgba(163, 230, 53, .08);
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 230, 53, .1);
  border: 1px solid rgba(163, 230, 53, .25);
  border-radius: 12px;
  color: var(--lime-300);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.feature-card p {
  font-size: .95rem;
  color: var(--ink-200);
  line-height: 1.6;
  margin: 0;
}

/* ----- BLOCO 3: Plan cards ----- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
}
.plan-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .25s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 230, 53, .25);
}
.plan-card--featured {
  border-color: rgba(163, 230, 53, .35);
  box-shadow: 0 0 0 1px rgba(163, 230, 53, .15), 0 12px 32px rgba(0, 0, 0, .3);
}
.plan-card--top {
  border-color: var(--lime-300);
  background: linear-gradient(180deg, rgba(163, 230, 53, .04), var(--ink-800) 30%);
  box-shadow: 0 0 0 1px var(--lime-300), 0 0 40px rgba(163, 230, 53, .15), 0 12px 32px rgba(0, 0, 0, .35);
}
.plan-card__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--lime-400), var(--lime-300));
  color: var(--ink-950);
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .35rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(163, 230, 53, .35);
}
.plan-card__head {
  border-bottom: 1px solid var(--ink-700);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}
.plan-card__head h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 .65rem;
  letter-spacing: .5px;
}
.plan-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; }
.price-from {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-400);
  width: 100%;
  font-family: var(--f-mono);
}
.price-value {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--lime-300);
  text-shadow: 0 0 16px rgba(163, 230, 53, .3);
}
.price-period {
  font-size: .9rem;
  color: var(--ink-300);
  font-family: var(--f-mono);
}
.plan-card__intent {
  font-size: .9rem;
  color: var(--ink-200);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  font-style: italic;
}
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
.plan-card__features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  color: var(--ink-100);
  line-height: 1.55;
}
.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 230, 53, .15);
  color: var(--lime-300);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
}

.plans-disclaimer {
  background: var(--ink-800);
  border: 1px solid rgba(163, 230, 53, .2);
  border-left: 3px solid var(--lime-300);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  color: var(--ink-100);
  line-height: 1.7;
  margin-top: 1.5rem;
}
.plans-disclaimer strong { color: var(--lime-300); }

/* ----- BLOCO 4: Steps timeline ----- */
.steps-timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(163, 230, 53, .3), rgba(163, 230, 53, .3), transparent);
  z-index: 0;
}
@media (max-width: 900px) {
  .steps-timeline { grid-template-columns: 1fr; }
  .steps-timeline::before { display: none; }
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 .5rem;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--ink-900);
  border: 2px solid var(--lime-300);
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--lime-300);
  margin-bottom: 1rem;
  box-shadow: 0 0 24px rgba(163, 230, 53, .25);
}
.step h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 .5rem;
  letter-spacing: .3px;
}
.step p {
  font-size: .9rem;
  color: var(--ink-200);
  line-height: 1.6;
  margin: 0;
}

/* ----- BLOCO 5: Devices grid ----- */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.device-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .2s ease;
}
.device-card:hover {
  border-color: rgba(163, 230, 53, .3);
  background: rgba(163, 230, 53, .03);
  transform: translateY(-2px);
}
.device-card__icon {
  font-size: 2rem;
  width: 48px;
  text-align: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(163, 230, 53, .3));
}
.device-card h3 {
  font-family: var(--f-ui);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-50);
  margin: 0 0 .2rem;
}
.device-card p {
  font-size: .8rem;
  color: var(--ink-300);
  margin: 0;
  font-family: var(--f-mono);
}

/* ----- BLOCO 6: Requirements ----- */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 768px) {
  .requirements-grid { grid-template-columns: 1fr; }
}
.req-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.req-card__icon {
  font-size: 2.25rem;
  margin-bottom: .5rem;
}
.req-card__label {
  font-family: var(--f-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lime-300);
  margin-bottom: .35rem;
}
.req-card__value {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--ink-50);
  margin-bottom: .35rem;
}
.req-card__sub {
  font-size: .85rem;
  color: var(--ink-300);
  margin: 0;
}
.req-note {
  background: rgba(56, 189, 248, .05);
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--ink-200);
  line-height: 1.65;
}

/* ----- BLOCO 7: Games grid ----- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
.game-card {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s ease;
  display: block;
  text-decoration: none;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--lime-300);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 24px rgba(163, 230, 53, .25);
}
.game-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s ease;
}
.game-card:hover .game-card__cover { filter: brightness(1.05) saturate(1.1); }
.game-card__name {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem .85rem .85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .92));
  color: var(--ink-50);
  font-family: var(--f-display);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 0;
}
.games-footer {
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--ink-300);
  text-align: center;
}

/* ----- BLOCO 8: Benefits / GiftCardPro CTA ----- */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .85rem;
}
.benefits-list li {
  background: var(--ink-800);
  border: 1px solid rgba(163, 230, 53, .15);
  border-left: 3px solid var(--lime-300);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: .95rem;
  color: var(--ink-100);
  line-height: 1.55;
}
.benefits-list strong { color: var(--lime-300); }

/* ----- BLOCO 9: YouTube embed ----- */
.youtube-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 880px;
  margin: 1.5rem auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ink-700);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}
.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----- BLOCO 11: Final CTA ----- */
.service-final-cta {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at center, rgba(163, 230, 53, .12), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-950));
  overflow: hidden;
  border-top: 1px solid rgba(163, 230, 53, .2);
}
.service-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 230, 53, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.service-final-cta .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}
.service-final-cta h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.service-final-cta p {
  font-size: 1.1rem;
  color: var(--ink-200);
  line-height: 1.65;
  margin: 0 0 2rem;
}
.service-final-cta .hero-ctas {
  justify-content: center;
}
.service-final-cta .btn-large {
  padding: 18px 32px;
  font-size: 14px;
}

/* ----- Tabela comparativa (Boosteroid vs xCloud vs GFN) ----- */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--ink-700);
  background: var(--ink-900);
  margin-top: 1.5rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--ink-700);
  border-right: 1px solid var(--ink-700);
  font-size: .92rem;
  color: var(--ink-100);
  line-height: 1.5;
  vertical-align: top;
}
.compare-table th:last-child,
.compare-table td:last-child { border-right: none; }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  background: var(--ink-800);
  color: var(--ink-50);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: .8rem;
  padding: 1.1rem;
}
.compare-table thead th:first-child { color: var(--ink-300); }
.compare-table th.compare-table__highlight {
  background: linear-gradient(135deg, var(--lime-400), var(--lime-300));
  color: var(--ink-950);
  position: relative;
}
.compare-table th.compare-table__highlight::after {
  content: '★';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: .7rem;
  color: var(--ink-950);
}
.compare-table tbody tr:hover td { background: rgba(163, 230, 53, .03); }
.compare-table .feature-name {
  font-family: var(--f-display);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--ink-200);
  background: var(--ink-800);
  white-space: nowrap;
}
.compare-table td.compare-table__highlight-col {
  background: rgba(163, 230, 53, .04);
  color: var(--ink-50);
  font-weight: 500;
}
.compare-table .yes  { color: var(--lime-300); font-weight: 600; }
.compare-table .no   { color: #f87171; }
.compare-table-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--ink-800);
  border-left: 3px solid var(--lime-300);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--ink-100);
  line-height: 1.65;
}

/* ----- Selo de pioneirismo (badge oficial) ----- */
.official-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: linear-gradient(135deg, rgba(163, 230, 53, .08), rgba(163, 230, 53, .02));
  border: 1px solid rgba(163, 230, 53, .35);
  border-radius: 999px;
  padding: .65rem 1.15rem;
  margin-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--lime-200);
  letter-spacing: .3px;
}
.official-badge::before {
  content: '🏆';
  font-size: 1.1rem;
}
.official-badge strong {
  color: var(--lime-300);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ----- Tabela comparativa: variante 4 colunas (Blacknut) ----- */
.compare-table.compare-table--4col th,
.compare-table.compare-table--4col td {
  padding: .85rem .9rem;
  font-size: .85rem;
}
.compare-table.compare-table--4col { min-width: 880px; }

/* ----- Cards "Onde comprar" (Blacknut: 3 caminhos comerciais) ----- */
.purchase-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 900px) {
  .purchase-options { grid-template-columns: 1fr; }
}
.purchase-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
}
.purchase-card:hover {
  border-color: rgba(163, 230, 53, .35);
  transform: translateY(-3px);
}
.purchase-card__label {
  font-family: var(--f-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lime-300);
  margin-bottom: .35rem;
}
.purchase-card h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0 0 .85rem;
  color: var(--ink-50);
  letter-spacing: .5px;
}
.purchase-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.purchase-card li {
  font-size: .88rem;
  color: var(--ink-100);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}
.purchase-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime-300);
  font-weight: 700;
}
.purchase-card li.warn::before { content: '⚠'; color: #fbbf24; }
.purchase-card .btn { margin-top: auto; }

/* ----- Bloco de transparência ----- */
.transparency-note {
  background: linear-gradient(135deg, rgba(233, 30, 99, .08), rgba(163, 230, 53, .06));
  border: 1px solid rgba(233, 30, 99, .25);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--ink-100);
  line-height: 1.7;
}
.transparency-note h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  margin: 0 0 .85rem;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.transparency-note p { margin: 0 0 .85rem; }
.transparency-note p:last-child { margin: 0; }

/* ----- Stores grid (lojas suportadas pelo Boosteroid) ----- */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 2.5rem;
}
.store-pill {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  padding: .85rem 1rem;
  text-align: center;
  font-family: var(--f-mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink-200);
  transition: all .2s ease;
}
.store-pill:hover {
  border-color: rgba(163, 230, 53, .35);
  color: var(--lime-300);
  background: rgba(163, 230, 53, .04);
}

/* ----- Reveal on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
