/* =========================================================================
   NN567 landing clone — visual 1:1 com ff.5j0ktk.com
   - Fonte: Prompt (Google Fonts) com fallback Roboto  [ .phantom-blue * ]
   - Tamanhos em rem: o <html> é escalado via JS como no original
       fontSize = min(innerWidth, 486) * 16/390 px
   - Regras .btn/.shiny/.main-text etc. copiadas do index-r2-*.css original
   ========================================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Prompt", -apple-system, "Roboto", sans-serif;
  background: #090f1f;               /* <style>body{background:#090f1f}</style> do shell original */
  color: #5F6368;                     /* --color da ion-content do download page */
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
* { font-family: "Prompt", -apple-system, "Roboto", sans-serif; }  /* .phantom-blue * */

img { -webkit-user-drag: none; user-select: none; }

.fade-in-loading-main-tree { animation: fade-in-loading .3s ease both; overflow: hidden; }
@keyframes fade-in-loading { from { opacity: 0; } to { opacity: 1; } }

/* coluna central: ion-router-outlet (max-width 486) + ion-content#first */
.content-root {
  max-width: 486px;
  margin: 0 auto;
  background-color: #f5f6f8;          /* ion-content#first */
  color: #5F6368;                     /* --color:#5F6368 da ion-content da página */
  min-height: 100vh;
  font-size: .875rem;                 /* class text-sm no ion-content */
  line-height: 1.25rem;
}
@media (min-width: 487px) { .content-root { box-shadow: 0 0 40px rgba(0,0,0,.45); } }

/* =========================================================================
   UTILITIES (mesmos valores Tailwind do site original)
   ========================================================================= */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; min-width: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.relative { position: relative; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none !important; }
.h-full { height: 100%; }

.mr-1 { margin-right: .25rem; }
.mr-3 { margin-right: .75rem; }
.mr-4 { margin-right: 1rem; }
.mr-6 { margin-right: 1.5rem; }
.ml-2 { margin-left: .5rem; }
.ml-3 { margin-left: .75rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-3\.5 { margin-left: .875rem; }
.my-1\.5 { margin-top: .375rem; margin-bottom: .375rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2\.5 { margin-top: .625rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }

.pb-\[0\.0625rem\] { padding-bottom: .0625rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }

.w-1 { width: .25rem; }
.w-3 { width: .75rem; }
.w-3\.5 { width: .875rem; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.h-6 { height: 1.5rem; }
.w-40 { width: 10rem; }
.w-\[1px\] { width: 1px; }
.h-\[1px\] { height: 1px; }
.h-\[\.5625rem\] { height: .5625rem; }
.w-\[\.8125rem\] { width: .8125rem; }
.w-\[\.9375rem\] { width: .9375rem; }
.w-\[15\.375rem\] { width: 15.375rem; }
.w-\[4\.5rem\] { width: 4.5rem; }
.h-\[4\.5rem\] { height: 4.5rem; }

.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: .375rem; }
.rounded-\[20%\] { border-radius: 20%; }
.rounded-\[\.9375rem\] { border-radius: .9375rem; }
.object-fill { object-fit: fill; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[\.6875rem\] { font-size: .6875rem; }
.text-\[\.75rem\] { font-size: .75rem; }
.text-\[1\.1875rem\] { font-size: 1.1875rem; }
.text-\[1\.625rem\] { font-size: 1.625rem; }
.text-\[\#202124\] { color: #202124; }
.text-\[\#02FA4D\] { color: #02FA4D; }
.text-\[\#02fa4d\] { color: #02fa4d; }
.text-\[\#ffe336\] { color: #ffe336; }
.text-\[\#028760\] { color: #028760; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-loose { line-height: 2; }

.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.border { border-width: 1px; border-style: solid; border-color: currentColor; }
.border-\[\#dadce0\] { border-color: #dadce0; }
.bg-\[\#E8EAED\] { background-color: #E8EAED; }
.bg-\[\#dadce0\] { background-color: #dadce0; }
.bg-\[\#e3e3e3\] { background-color: #e3e3e3; }
.bg-\[\#e6f3ef\] { background-color: #e6f3ef; }
.bar-fill { background-color: rgb(2, 135, 96); }

.share-icon { fill: currentColor; flex-shrink: 0; width: 1.5rem; height: 1.5rem; }

/* =========================================================================
   CLASSES DO COMPONENTE ORIGINAL  (data-v-1f5d2986 / data-v-2a3b5d00)
   ========================================================================= */
.paddingDiv { padding: 1.5rem; }

.content-top-wrap { background-color: #f5f6f8; }   /* .first .content-top-wrap */

.main-text { color: #000; }                          /* .first .main-text */
.sub-text { color: #5f6368; }                        /* .first .sub-text */
.line-bg { background-color: #e8eaed; }              /* .first .line-bg */

/* Botão principal — exatamente do CSS original:
   .first .btn[data-v-1f5d2986]{width:100%;padding:10px 8px;border-radius:8px;background:#02fa4d;color:#fff;cursor:pointer} */
.btn {
  width: 100%;
  padding: 10px 8px;
  border-radius: 8px;
  background: #02fa4d;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
.btn:active { filter: brightness(.95); }

/* Brilho — exatamente do CSS original:
   .shiny[data-v-1f5d2986]{position:relative;overflow:hidden}
   .shiny:before{content:"";animation:shiny 6s ease-in-out infinite;background:#fff;
     display:inline-block;height:100%;left:0;position:absolute;top:-180px;width:30px} */
.shiny { position: relative; overflow: hidden; }
.shiny::before {
  content: "";
  animation: shiny 6s ease-in-out infinite;
  background: #fff;
  display: inline-block;
  height: 100%;
  left: 0;
  position: absolute;
  top: -180px;
  width: 30px;
  pointer-events: none;
}
@keyframes shiny {
  0%   { opacity: 0;  transform: scale(0) rotate(45deg); }
  80%  { opacity: .5; transform: scale(0) rotate(45deg); }
  81%  { opacity: 1;  transform: scale(4) rotate(45deg); }
  to   { opacity: 0;  transform: scale(50) rotate(45deg); }
}

.description__content { line-height: 1.25rem; }

/* estrelas dos comentários (o original usa style inline 11px) */
img.star { width: 11px; height: 11px; margin-right: 2px; display: inline-block; }
img.w-3\.5 { width: 14px; height: 14px; margin-right: 2px; display: inline-block; }

/* nomes/textos dos comentários herdam o cinza da ion-content (#5F6368),
   igual ao markup original que não pinta esses elementos */

/* fallback de avatar (comentário sem foto): círculo colorido com inicial */
.avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: .875rem; flex-shrink: 0;
}
.c-more { width: 4px !important; height: 16px !important; object-fit: fill; }

/* =========================================================================
   POP-UP DE INSTALAÇÃO RÁPIDA (modal original)
   ========================================================================= */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, .55);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .25s ease;
}
.popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup-card {
  background: #fff; border-radius: 22px;
  width: min(330px, 88vw);
  padding: 26px 24px 30px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
  color: #5F6368;
}
@keyframes popIn { from { transform: scale(.82); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-title-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.popup-title-row img { width: 30px; height: 30px; }
.popup-title-row h3 { font-size: 20px; font-weight: 700; color: #1f1f1f; }
.popup-badge {
  display: inline-block; margin-top: 16px;
  border: 1px solid #dadce0; border-radius: 6px;
  padding: 5px 10px; font-size: 13px; color: #5f6368;
}
.popup-activated { margin-top: 26px; }
.activated-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid #02FA4D; border-radius: 999px;
  color: #02FA4D; font-size: 14px; font-weight: 500;
  padding: 8px 18px;
}
.activated-pill img { width: 17px; height: 17px; }

.popup-progress-wrap { margin-top: 26px; position: relative; width: 52px; height: 52px; margin-left: auto; margin-right: auto; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e8eaed; stroke-width: 4; }
.ring-fg {
  fill: none; stroke: #02FA4D; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 125.66; stroke-dashoffset: 125.66;
  transition: stroke-dashoffset .25s ease;
}
#popup-percent {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: #5f6368;
}

.btn-install-app {
  display: block; width: 100%;
  border: none; cursor: pointer;
  font-family: "Prompt", -apple-system, "Roboto", sans-serif;
  background-color: #02FA4D;
  color: #fff; font-size: 16px; font-weight: 500;
  border-radius: 8px; padding: 14px 0; margin-top: 28px;
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1);
}
.btn-install-app:active { filter: brightness(.94); }

/* informativo de instalação (sem prompt nativo — ex.: iPhone) */
.install-help { margin-top: 6px; text-align: left; animation: popIn .35s cubic-bezier(.34,1.56,.64,1); }
/* card do app dentro do informativo (igual ao sheet "Instale o aplicativo" deles no iPhone) */
.help-app-card { display: flex; align-items: center; gap: 14px; background: #f1f3f4; border-radius: 12px; padding: 14px; margin-bottom: 18px; }
.help-app-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.help-app-info { min-width: 0; }
.help-app-name { font-size: 15px; font-weight: 700; color: #202124; letter-spacing: .3px; white-space: nowrap; }
.help-app-domain { font-size: 13px; color: #5f6368; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.help-steps { display: flex; flex-direction: column; gap: 14px; }
.help-step { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #3c4043; line-height: 1.4; }
.help-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #e6f3ef; color: #02FA4D; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.install-help .btn-install-app { text-align: center; margin-top: 22px; }
