/* ============================================================================
   KOW Client — camada de tema
   ----------------------------------------------------------------------------
   Carregada DEPOIS do style.css, por isso ganha nos conflitos. Camada separada
   de proposito: para reverter o visual basta tirar o <link> do index.html.

   ATENCAO AO SITIO ONDE ESTE FICHEIRO VIVE: tem de ficar em public/css/.
   A primeira versao estava em public/assets/ui/ e nunca chegou ao servidor —
   o vite tem `outDir: "../public/assets/ui"` com `emptyOutDir: true`, e o
   PublicarSite.ps1 corre `npm run build:web` ANTES de enviar os ficheiros. Ou
   seja, o build esvaziava a pasta e apagava este CSS mesmo antes do upload, sem
   erro nenhum. Qualquer ficheiro estatico posto em assets/ui/ desaparece assim.

   O site era todo texto em fundo preto, sem uma unica imagem. Como nao ha
   fotografias do produto, o peso visual tem de vir de outro lado: profundidade,
   halos da cor da marca, bordas vivas e hierarquia de tipos.
   ============================================================================ */

:root {
  --kow: #00E599;
  --kow-dim: #00b87b;
  --kow-glow: rgba(0, 229, 153, .18);
  --kow-line: rgba(255, 255, 255, .07);
  --kow-surface: rgba(255, 255, 255, .022);
  --kow-surface-2: rgba(255, 255, 255, .045);
}

/* ── Fundo: halos suaves em vez de preto liso ───────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58vw 42vw at 12% -8%, rgba(0, 229, 153, .10), transparent 60%),
    radial-gradient(50vw 38vw at 92% 8%, rgba(88, 101, 242, .08), transparent 62%),
    radial-gradient(60vw 45vw at 50% 108%, rgba(0, 229, 153, .06), transparent 60%);
}

/* ── Tipografia e ritmo ─────────────────────────────────────────────────── */
.section { padding: 104px 0; position: relative; }

.section-heading {
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -.045em;
  margin-bottom: 42px;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* A eyebrow passa a pastilha. Centra-se com width:fit-content + margem auto,
   para NAO ser preciso mexer no display do .container (a primeira tentativa
   punha o container em flex e era arriscado para o resto do layout). */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--kow);
  background: var(--kow-glow);
  border: 1px solid rgba(0, 229, 153, .28);
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--kow);
  box-shadow: 0 0 8px var(--kow);
}

/* ── Cartões: profundidade e reação ao rato ─────────────────────────────── */
.feature-tile,
.news-card,
.server-card,
.download-panel,
.faq-list details {
  background: linear-gradient(180deg, var(--kow-surface-2), var(--kow-surface));
  border: 1px solid var(--kow-line);
  border-radius: 18px;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1),
              border-color .28s ease,
              box-shadow .35s ease;
}
.feature-tile:hover,
.news-card:hover,
.server-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 153, .42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 229, 153, .18);
}

/* ── Feature tiles: redesign com cor de destaque por card ─────────────── */
.feature-tile {
  position: relative;
  overflow: hidden;
  padding: 32px 26px 26px;
}
/* Barra colorida no topo — cada card tem uma cor diferente */
.feature-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--kow));
  opacity: .85;
  transition: opacity .28s ease, height .28s ease;
}
.feature-tile:hover::before { opacity: 1; height: 4px; }
/* Glow no canto inferior direito por card */
.feature-tile::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--card-glow, rgba(0, 229, 153, .12)) 0%, transparent 70%);
  pointer-events: none;
  opacity: .8;
  transition: opacity .35s ease;
}
.feature-tile:hover::after { opacity: 1; }

/* Paleta por card (ciclo) */
.feature-tile:nth-child(6n+1) { --card-accent: #00E599; --card-glow: rgba(0, 229, 153, .18); }
.feature-tile:nth-child(6n+2) { --card-accent: #3B82F6; --card-glow: rgba(59, 130, 246, .18); }
.feature-tile:nth-child(6n+3) { --card-accent: #A855F7; --card-glow: rgba(168, 85, 247, .18); }
.feature-tile:nth-child(6n+4) { --card-accent: #EC4899; --card-glow: rgba(236, 72, 153, .18); }
.feature-tile:nth-child(6n+5) { --card-accent: #F59E0B; --card-glow: rgba(245, 158, 11, .18); }
.feature-tile:nth-child(6n+6) { --card-accent: #06B6D4; --card-glow: rgba(6, 182, 212, .18); }

.feature-tile h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 16px 0 10px;
  color: #fff;
}
.feature-tile p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
  margin: 0;
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--card-glow, rgba(0, 229, 153, .25)), rgba(255, 255, 255, .02));
  border: 1.5px solid var(--card-accent, var(--kow));
  border-radius: 16px;
  color: var(--card-accent, var(--kow));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05),
              0 6px 18px var(--card-glow, rgba(0, 229, 153, .15));
  transition: transform .35s cubic-bezier(.16, 1, .3, 1),
              box-shadow .35s ease;
}
.feature-tile:hover .feature-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08),
              0 10px 26px var(--card-glow, rgba(0, 229, 153, .25));
}
.feature-icon-wrap svg { width: 28px; height: 28px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.server-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
  min-width: 260px;
  position: relative;
  text-decoration: none !important;
  color: inherit;
}
.server-card-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, .35);
  transition: transform .25s ease, color .25s ease;
  flex: 0 0 auto;
}
.server-card:hover .server-card-arrow {
  color: var(--kow);
  transform: translateX(3px);
}
.server-card-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.server-card-dot.is-on { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.55); }
.server-card-dot.is-off { background: #6b7280; }
.server-card-sep { margin: 0 4px; opacity: .4; }
.server-card-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-weight: 800;
  color: rgba(255, 255, 255, .8);
}
.server-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.server-card-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
  color: rgba(255, 255, 255, .7);
  background: linear-gradient(145deg, rgba(0, 229, 153, .12), rgba(255, 255, 255, .02));
}
.server-card-body { flex: 1; min-width: 0; }
.server-card-name {
  font-weight: 750;
  font-size: 14.5px;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.server-card-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
  box-shadow: 0 6px 18px rgba(0, 229, 153, .12);
}

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--kow), var(--kow-dim));
  color: #04241a;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 26px rgba(0, 229, 153, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 34px rgba(0, 229, 153, .4);
}
.btn-outline, .btn-ghost {
  border: 1px solid var(--kow-line);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.btn-outline:hover, .btn-ghost:hover {
  border-color: rgba(0, 229, 153, .45);
  background: rgba(0, 229, 153, .07);
  transform: translateY(-2px);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 116px 0 96px; }
.hero h1 {
  letter-spacing: -.05em;
  background: linear-gradient(178deg, #fff 34%, rgba(255, 255, 255, .58) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { color: hsl(var(--muted)); max-width: 58ch; }

.hero-stats dt {
  background: linear-gradient(135deg, var(--kow), #7ef7cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero-stats > div {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--kow-surface);
  border: 1px solid var(--kow-line);
}

/* ── Hero: mockup do client desktop ao lado do copy ────────────────────── */
.hero-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}
.hero-visual { position: relative; perspective: 1400px; }
.hero-mock {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a1d24 0%, #0f1116 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 229, 153, .08),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.hero-visual:hover .hero-mock { transform: rotateY(-2deg) rotateX(0); }
.hero-mock-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #23262e, #1a1d24);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.hero-mock-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hero-mock-title {
  flex: 1; text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.hero-mock-body { padding: 14px; }
.hero-mock-nav {
  display: flex; gap: 6px; margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.hero-mock-nav-item {
  padding: 5px 10px;
  font-size: 11px; font-weight: 600;
  color: rgba(255, 255, 255, .55);
  border-radius: 6px;
}
.hero-mock-nav-item.is-active {
  background: rgba(0, 229, 153, .15);
  color: var(--kow);
}
.hero-mock-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
}
.hero-mock-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 12px;
  min-height: 78px;
}
.hero-mock-card--teal {
  background: linear-gradient(135deg, rgba(0, 229, 153, .18), rgba(0, 229, 153, .04));
  border-color: rgba(0, 229, 153, .3);
}
.hero-mock-tag {
  font-size: 9px; font-weight: 700;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-mock-stat {
  font-size: 22px; font-weight: 900;
  color: var(--kow);
  line-height: 1; letter-spacing: -.02em;
}
.hero-mock-sub {
  font-size: 10px; color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}
.hero-mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, .07);
  border-radius: 99px;
  margin-bottom: 6px;
}
.hero-mock-bar--teal {
  background: linear-gradient(90deg, var(--kow), #7ef7cc);
  box-shadow: 0 0 12px rgba(0, 229, 153, .35);
}
.hero-mock-icon { font-size: 22px; line-height: 1; }
.hero-mock-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(closest-side, rgba(0, 229, 153, .25), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* ── Reveal: fade-in ao scroll ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
              transform .7s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger dentro de grids: cada filho tem um atraso incremental */
.reveal.is-visible .feature-tile,
.reveal.is-visible .server-card {
  animation: kow-rise .6s cubic-bezier(.16, 1, .3, 1) both;
}
.reveal.is-visible .feature-tile:nth-child(1) { animation-delay: 0.04s; }
.reveal.is-visible .feature-tile:nth-child(2) { animation-delay: 0.10s; }
.reveal.is-visible .feature-tile:nth-child(3) { animation-delay: 0.16s; }
.reveal.is-visible .feature-tile:nth-child(4) { animation-delay: 0.22s; }
.reveal.is-visible .feature-tile:nth-child(5) { animation-delay: 0.28s; }
.reveal.is-visible .feature-tile:nth-child(6) { animation-delay: 0.34s; }
.reveal.is-visible .server-card:nth-child(1) { animation-delay: 0.04s; }
.reveal.is-visible .server-card:nth-child(2) { animation-delay: 0.10s; }
.reveal.is-visible .server-card:nth-child(3) { animation-delay: 0.16s; }
.reveal.is-visible .server-card:nth-child(4) { animation-delay: 0.22s; }
.reveal.is-visible .server-card:nth-child(5) { animation-delay: 0.28s; }
.reveal.is-visible .server-card:nth-child(6) { animation-delay: 0.34s; }
@keyframes kow-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.is-visible .feature-tile,
  .reveal.is-visible .server-card { animation: none; }
}

/* ── Footer: status, versão, separador ─────────────────────────────────── */
.footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}
.footer-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6b7280;
  transition: background .3s ease, box-shadow .3s ease;
}
.footer-status-dot.is-on { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.6); }
.footer-status-dot.is-off { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.5); }
.footer-version {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.footer-credit {
  color: var(--kow) !important;
  text-decoration: none;
  font-weight: 700;
}

/* ── Light mode (toggle do rodape) ─────────────────────────────────────── */
:root[data-theme="light"] {
  --kow-line: rgba(0, 0, 0, .12);
  --kow-surface: rgba(255, 255, 255, .65);
  --kow-surface-2: rgba(255, 255, 255, .85);
  --kow-glow: rgba(0, 0, 0, .06);
}
:root[data-theme="light"] body {
  background: #f5f7fa;
  color: #0c0d10;
}
:root[data-theme="light"] .feature-tile h3,
:root[data-theme="light"] .server-card-name,
:root[data-theme="light"] h1, :root[data-theme="light"] h2 {
  color: #0c0d10;
}
:root[data-theme="light"] .feature-tile p,
:root[data-theme="light"] .server-card-meta {
  color: rgba(0, 0, 0, .65) !important;
}
:root[data-theme="light"] .section,
:root[data-theme="light"] .section-alt {
  background: transparent;
}
:root[data-theme="light"] .site-footer { background: #ececec; }
:root[data-theme="light"] .nav-pill { color: #00875a !important; }
:root[data-theme="light"] .benchmark-table-wrap { background: rgba(255,255,255,.7); }
:root[data-theme="light"] .footer-status { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.1); color: #0c0d10; }

/* ── Skeleton loading (substitui "A carregar..." em texto) ─────────────── */
.skeleton {
  display: block;
  background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 100%);
  background-size: 200% 100%;
  animation: kow-shimmer 1.4s linear infinite;
  border-radius: 6px;
  color: transparent !important;
}
.skeleton::before, .skeleton::after { content: none; }
.skeleton-line { display: block; height: 12px; margin-bottom: 8px; }
.skeleton-block { display: block; height: 80px; margin-bottom: 10px; border-radius: 10px; }
@keyframes kow-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(0, 229, 153, .2);
  border-top-color: var(--kow);
  border-radius: 50%;
  animation: kow-spin .8s linear infinite;
}
@keyframes kow-spin { to { transform: rotate(360deg); } }
.spinner-wrap { display: flex; align-items: center; justify-content: center; padding: 32px 0; gap: 12px; color: rgba(255,255,255,.55); }


/* ── Navegação ──────────────────────────────────────────────────────────── */
.navbar {
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  background: rgba(9, 9, 11, .72);
  border-bottom: 1px solid var(--kow-line);
}
.nav-links a { transition: color .18s ease; }
.nav-links a:hover { color: var(--kow); }
.nav-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 16px !important;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 229, 153, .55);
  background: linear-gradient(180deg, rgba(0, 229, 153, .25), rgba(0, 229, 153, .08));
  color: var(--kow) !important;
  font-weight: 800 !important;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: 0 0 0 0 rgba(0, 229, 153, 0);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-pill:hover {
  background: linear-gradient(180deg, rgba(0, 229, 153, .4), rgba(0, 229, 153, .15)) !important;
  border-color: rgba(0, 229, 153, .85);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 229, 153, .25);
}
.nav-pill svg { display: block; flex: 0 0 auto; }

/* ── Comparação de FPS ──────────────────────────────────────────────────── */
.bench-row {
  background: linear-gradient(180deg, var(--kow-surface-2), var(--kow-surface));
  border-radius: 16px;
  transition: transform .24s ease, border-color .24s ease;
}
.bench-row:hover { transform: translateX(3px); border-color: rgba(255, 255, 255, .16); }
.bench-row.is-kow {
  background: linear-gradient(180deg, rgba(0, 229, 153, .12), rgba(0, 229, 153, .03));
  box-shadow: 0 0 0 1px rgba(0, 229, 153, .3), 0 10px 30px rgba(0, 229, 153, .1);
}
.bench-fill { background: linear-gradient(90deg, #d8c34a, #f0e08a); }
.bench-row.is-kow .bench-fill { background: linear-gradient(90deg, var(--kow), #7ef7cc); }

/* Enquanto o KOW não tem medição própria: barra tracejada e etiqueta discreta,
   para ficar claro que é um lugar por preencher e não um resultado. */
.bench-row.is-pending .bench-bar {
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .10) 0 8px, transparent 8px 16px);
}
.bench-row.is-pending .bench-fps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .75;
}

/* Tabela horizontal de clients: o KOW fica com a mesma presença visual da
   referência, sem depender de logos de marcas de terceiros. */
.bench-grid { margin-top:28px; display:block; }
.benchmark-table-wrap { padding:10px; border:1px solid rgba(255,255,255,.11); border-radius:17px; background:rgba(11,12,14,.68); box-shadow:0 20px 60px rgba(0,0,0,.3); }
.benchmark-table { width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; }
.benchmark-table th, .benchmark-table td { padding:20px 10px; vertical-align:middle; }
.benchmark-table th { width:90px; color:#fff; text-align:center; font-size:13px; font-weight:800; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.11); }
.benchmark-clients-row th { border-radius:10px 0 0 0; }
.benchmark-fps-row th { border-radius:0 0 0 10px; border-top:0; }
.benchmark-clients-row th, .benchmark-client { height:96px; }
.benchmark-fps-row th, .benchmark-fps { height:46px; }
.benchmark-fps-row th, .benchmark-fps-row td { border-bottom:0; }
.benchmark-client { min-width:96px; text-align:center; color:rgba(255,255,255,.7); background:rgba(255,255,255,.018); border:1px solid rgba(255,255,255,.11); border-left:0; }
.benchmark-client.is-kow { min-width:130px; color:#fff; background:linear-gradient(180deg, rgba(0,229,153,.16), rgba(0,229,153,.055)); }
.benchmark-fps { min-width:96px; text-align:center; color:rgba(255,255,255,.67); background:rgba(255,255,255,.01); font-size:12px; font-weight:700; border:1px solid rgba(255,255,255,.11); border-top:0; border-left:0; }
.benchmark-fps.is-kow { min-width:130px; color:#00E599; background:rgba(0,229,153,.055); border-top:0; }
.benchmark-fps-num { font-size:13px; font-weight:800; letter-spacing:-.01em; }
.benchmark-fps-bar {
  margin-top: 4px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.benchmark-fps-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.65));
  border-radius: 99px;
  transition: width 1s cubic-bezier(.16, 1, .3, 1);
}
.benchmark-fps.is-kow .benchmark-fps-bar > span {
  background: linear-gradient(90deg, var(--kow), #7ef7cc);
  box-shadow: 0 0 10px rgba(0,229,153,.4);
}
.benchmark-icon { display:flex; width:42px; height:42px; margin:0 auto 8px; align-items:center; justify-content:center; border-radius:12px; font-size:15px; font-weight:850; color:#0b0d0d; background:linear-gradient(145deg, var(--client-color), color-mix(in srgb, var(--client-color) 43%, #121417)); overflow:hidden; }
.benchmark-icon img { width:100%; height:100%; object-fit:contain; display:block; }
.benchmark-client.is-kow .benchmark-icon { width:52px; height:52px; margin-top:-6px; border-radius:14px; }
.benchmark-client.is-kow .benchmark-icon.has-logo { background:linear-gradient(180deg, rgba(0,229,153,.16), rgba(0,229,153,.04)); }
.benchmark-client-name { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px; font-weight:750; }
@media (max-width:760px) { .benchmark-table-wrap { margin-right:-16px; margin-left:-16px; border-radius:0; border-left:0; border-right:0; } }

/* ── Cosméticos ─────────────────────────────────────────────────────────── */
.cos-thumb {
  background: linear-gradient(150deg, rgba(0, 229, 153, .16), rgba(255, 255, 255, .03)) !important;
  border-color: rgba(0, 229, 153, .22) !important;
  position: relative;
  overflow: hidden;
}
.cos-thumb::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(0, 229, 153, .22), transparent 70%);
}
.cos-thumb svg { position: relative; z-index: 1; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list details { padding: 4px 20px; margin-bottom: 12px; }
.faq-list summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 650;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] { border-color: rgba(0, 229, 153, .3); }
.faq-list details[open] summary { color: var(--kow); }

/* ── Parceiros ──────────────────────────────────────────────────────────── */
.partner-logo-item {
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease;
}
.partner-logo-item:hover { opacity: 1; filter: grayscale(0); }

/* ── Separadores entre secções ──────────────────────────────────────────── */
.section-alt {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--kow-line) 20%, var(--kow-line) 80%, transparent) 1;
  background: rgba(255, 255, 255, .012);
}

/* ── Barra de scroll ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 153, .45); background-clip: content-box; }

/* Quem prefere menos movimento não leva com transformações. */
@media (prefers-reduced-motion: reduce) {
  .feature-tile, .news-card, .server-card, .btn-primary,
  .btn-outline, .btn-ghost, .bench-row { transition: none; }
  .feature-tile:hover, .news-card:hover, .server-card:hover,
  .btn-primary:hover, .bench-row:hover { transform: none; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 68px; }
}
