/* Letter Arc Games — estilos compartilhados por todas as paginas do site.
   Folha unica: evita a duplicacao de <style> por pagina que ja tinha divergido. */

:root {
  --bg: #08080d;
  --bg-soft: #0e0e17;
  --text: #f4f4fa;
  --muted: #a3a3ba;
  --muted-dim: #6f6f86;
  --accent: #8b7cff;
  --accent-2: #c4a6ff;
  --accent-3: #6ee7ff;
  --card-bg: #13131f;
  --card-hover: #181826;
  --border: #24243a;
  --border-soft: #1b1b2b;
  --ok: #4ade80;
  --no: #ff6b6b;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Brilho de fundo fixo, sutil, que da profundidade a pagina inteira. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60vw 60vh at 50% -10%, rgba(139, 124, 255, 0.16), transparent 60%),
    radial-gradient(50vw 50vh at 100% 0%, rgba(110, 231, 255, 0.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Navegacao superior --- */
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.nav img { width: 36px; height: 36px; border-radius: 10px; }
/* Emblema (arco) na nav: nao e quadrado, entao nao arredonda nem forca 36x36. */
.nav img.emblem { width: auto; height: 30px; border-radius: 0; }
.nav .brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav .spacer { margin-left: auto; }
.nav .navlink { font-size: 0.92rem; color: var(--muted); margin-left: 22px; transition: color 0.2s; }
.nav .navlink:hover { color: var(--text); text-decoration: none; }

/* Botao de voltar na barra: mais visivel que um navlink comum, para o usuario
   sempre ter uma saida clara de volta a pagina principal. */
.nav .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 22px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.nav .back-btn:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: rgba(139, 124, 255, 0.1);
  transform: translateY(-1px);
}
.nav .back-btn .arw { font-size: 1.05em; line-height: 1; }

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 72px 24px 76px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.22) 0%, rgba(139, 124, 255, 0.05) 38%, transparent 68%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero .logo {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  margin-bottom: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(139, 124, 255, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}
/* Emblema horizontal (arco) no hero da landing da empresa: sem moldura/sombra
   de app, so a arte com um brilho suave. */
.hero .emblem-hero {
  width: clamp(220px, 40vw, 360px);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 40px rgba(139, 124, 255, 0.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  line-height: 1.05;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.hero .hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(139, 124, 255, 0.1);
  border: 1px solid rgba(139, 124, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 26px;
}

/* --- Secoes --- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.section-title {
  text-align: center;
  padding: 72px 24px 4px;
}
.section-title h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-title p { color: var(--muted); font-size: 1.02rem; }

/* --- Cartoes de app --- */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  padding: 40px 0 24px;
}
.app-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
/* Faixa de cor no topo do cartao, cor definida por --app-color inline. */
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--app-color, var(--accent));
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--app-color, var(--accent)) 55%, var(--border));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.app-card .top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-card .top img {
  width: 64px; height: 64px; border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.app-card h3 { font-size: 1.32rem; line-height: 1.25; letter-spacing: -0.01em; }
.app-card .lang {
  font-size: 0.82rem; color: var(--muted); margin-top: 3px;
  display: inline-flex; align-items: center; gap: 6px;
}
.app-card > p { color: var(--muted); font-size: 0.98rem; flex: 1; margin-bottom: 22px; }
.app-card .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Mini-estatisticas dentro do cartao de app */
.app-stats {
  display: flex;
  gap: 26px;
  margin-bottom: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.app-stats .n { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.app-stats .l { font-size: 0.78rem; color: var(--muted-dim); }

/* --- Botoes --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
  color: #0b0b12;
  font-weight: 700;
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(139, 124, 255, 0.4); }
.btn-store { background: #fff; color: #111; }
.btn-store:hover { box-shadow: 0 6px 24px rgba(255, 255, 255, 0.14); }
.btn-store svg { width: 19px; height: 19px; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(139, 124, 255, 0.08); }

/* Estado "ainda nao publicado": nao e link, para nao entregar destino morto. */
.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px dashed var(--border);
  color: var(--muted-dim);
  cursor: default;
}

/* --- Grade de recursos --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 40px 0 24px;
}
.feature {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  background: var(--card-hover);
}
.feature .icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

/* Grade compacta de temas (chips) para a pagina PT-BR */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  padding: 40px 0 24px;
}
.theme-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.theme-chip:hover { transform: translateY(-2px); border-color: var(--border); background: var(--card-hover); }
.theme-chip .ic { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.theme-chip .tx h4 { font-size: 0.98rem; font-weight: 600; line-height: 1.2; }
.theme-chip .tx span { font-size: 0.76rem; color: var(--muted-dim); }

/* --- Faixa de numeros --- */
.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 8px 24px 4px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .number {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(115deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .label { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* Divisor sutil entre blocos */
.divider {
  max-width: 1080px;
  height: 1px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* --- Documento (politica de privacidade) --- */
.doc-header {
  text-align: center;
  padding: 60px 24px 30px;
  position: relative;
  overflow: hidden;
}
.doc-header h1 {
  font-size: clamp(2rem, 4.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.doc-header .updated { color: var(--muted); font-size: 0.9rem; }

.callout {
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 0 24px;
}
.callout-inner {
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.14), rgba(110, 231, 255, 0.05));
  border: 1px solid rgba(139, 124, 255, 0.28);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.callout-inner .ico { font-size: 1.8rem; line-height: 1; }
.callout-inner h2 { font-size: 1.15rem; margin-bottom: 5px; }
.callout-inner p { color: var(--muted); font-size: 0.96rem; }

.section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 18px;
}
.section h2 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section h2 .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  flex-shrink: 0;
}
.section h3 { font-size: 1rem; margin: 16px 0 6px; }
.section p { color: var(--muted); margin-bottom: 10px; }
.section p:last-child { margin-bottom: 0; }
.section strong { color: var(--text); }
.section ul { list-style: none; margin: 8px 0; }
.section li { color: var(--muted); padding: 5px 0 5px 26px; position: relative; }
.section li::before { content: '•'; position: absolute; left: 6px; color: var(--accent); }
.section li.no::before { content: '✕'; left: 4px; color: var(--no); font-weight: 700; }
.section li.yes::before { content: '✓'; left: 4px; color: var(--ok); font-weight: 700; }

/* Tabela de dados coletados */
.table-wrap { overflow-x: auto; margin: 10px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); font-weight: 600; white-space: nowrap; }
td { color: var(--muted); }

/* --- Rodape --- */
footer {
  text-align: center;
  padding: 48px 24px 40px;
  margin-top: 48px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted-dim);
  font-size: 0.85rem;
}
footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .nav { padding: 16px 18px; }
  .nav .navlink { margin-left: 14px; font-size: 0.85rem; }
  .hero { padding: 48px 20px 56px; }
  .hero .logo { width: 100px; height: 100px; }
  .stats { gap: 32px; }
  .section { padding: 22px 20px; }
  .callout-inner { flex-direction: column; gap: 10px; }
  .app-card .actions { flex-direction: column; align-items: stretch; }
  .btn, .btn-soon { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .logo { animation: none; }
  html { scroll-behavior: auto; }
}
