/* TikSpeed landing (v2026-10-08): the same look as the app (night panels, red header gradient, Segoe UI), with REAL screenshots
   of the app, its overlays and the customer panel (public/img). Loaded after style.css only on index.html. CSP is self: no inline styles. */
:root {
  --bg: #0c0d12; --panel: #14161d; --panel-2: #1b1e27; --bar: #0f1016;
  --line: #262a36; --line-2: #323746; --muted: #8d93a6; --faint: #5d6377;
  --accent: #ff2d46; --accent-2: #ff6b78; --good: #2dd4a4;
  --hdr: linear-gradient(90deg, #c8102e, #ff2d46 55%, #ff6a3d);
  --night: var(--bg); --stage: var(--panel); --stage-2: var(--panel-2); --signal: var(--accent); --signal-2: var(--accent-2);
  --ui: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, Roboto, sans-serif;
}
body { font-family: var(--ui); }
.mark { font-family: var(--ui); font-weight: 750; font-size: 17px; letter-spacing: -.01em; }
.mark img { image-rendering: auto; border-radius: 7px; }
.mark b { color: var(--accent); font-weight: 800; }
.top nav .btn { color: #fff; padding: 0 14px; min-height: 36px; margin-left: 4px; }
.top nav .btn:hover { color: #fff; background: var(--accent-2); }
.btn.go { background: var(--accent); border-color: var(--accent); }
.btn.go:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.lg { min-height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.lp section { scroll-margin-top: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.sec { padding: 96px 0 0; }
.sec-title { max-width: 720px; }
.sec-title h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; font-weight: 780; letter-spacing: -.025em; margin-top: 10px; }
.sec-title p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 60ch; }
.sec-title.center { margin: 0 auto; text-align: center; }
.sec-title.center p { margin-left: auto; margin-right: auto; }
.hl { color: var(--accent); }
.dm { color: var(--diamond); }

/* ---------- hero ---------- */
.hero2 { position: relative; padding: 64px 0 24px; overflow: hidden; }
.hero2::before { content: ""; position: absolute; inset: -200px -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(600px 340px at 72% 30%, rgba(255, 45, 70, .22), transparent 70%), radial-gradient(500px 300px at 15% 0%, rgba(127, 227, 255, .08), transparent 70%); }
.hero2 .wrap { position: relative; }
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.hero-copy .lead { margin: 22px auto 0; max-width: 58ch; color: var(--muted); font-size: 18.5px; }
.hero-copy .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-copy .fine { margin-top: 14px; color: var(--faint); font-size: 13.5px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 22, 29, .8); color: var(--muted); font-size: 13px; font-weight: 600; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 45, 70, .2); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- real screenshots (v2026-10-08: prints do app de verdade, não simulação) ---------- */
.shot { margin: 0; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); overflow: hidden;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .02), 0 50px 120px -40px rgba(255, 45, 70, .45), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.shot img { display: block; width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; background: #08090d; color: var(--faint); font-size: 12px; border-bottom: 1px solid var(--line); }
.shot-bar .dots { display: flex; gap: 6px; }
.shot-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e3a; }
.shot-bar .dots i:first-child { background: var(--accent); }
.shot figcaption { padding: 10px 14px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); background: var(--panel); }
.hero-shot { margin: 56px auto 0; max-width: 1160px; }
.under-shot { text-align: center; color: var(--faint); font-size: 13px; margin-top: 16px; }
/* video */
.video { margin: 36px auto 0; max-width: 1060px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 100px -40px rgba(255, 45, 70, .5); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* ---------- numbers strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.strip > div { padding: 22px 24px; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.strip span { color: var(--muted); font-size: 14px; }

/* ---------- dynamics showcase ---------- */
.dyn { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.dyn-list { display: flex; flex-direction: column; gap: 8px; }
.dyn-btn { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; color: var(--text); }
.dyn-btn:hover { border-color: var(--line-2); }
.dyn-btn .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: var(--panel-2); }
.dyn-btn b { display: block; font-weight: 700; }
.dyn-btn small { color: var(--muted); font-size: 13px; }
.dyn-btn[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(90deg, rgba(255, 45, 70, .12), var(--panel) 70%); }
.dyn-btn[aria-selected="true"] .ic { background: var(--hdr); }
.dyn-view { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.dv-app { background: #08090d; border-bottom: 1px solid var(--line); }
.dv-app img { display: block; width: 100%; height: auto; }
.dv-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; }
.dv-ov { padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: center; background: radial-gradient(360px 200px at 50% 0%, rgba(255, 45, 70, .1), transparent 70%), #0b0b12; border-right: 1px solid var(--line); }
.dv-ov img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; border-radius: 8px; }
.dv-lbl { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dyn-text { padding: 16px 20px 18px; display: grid; gap: 10px; align-content: start; }
.dyn-text h3 { font-size: 18px; font-weight: 750; }
.dyn-text p { color: var(--muted); }
.dyn-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dyn-text li { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); }

/* ---------- feature grid ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.feat { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.feat .vis { height: 168px; display: grid; place-items: center; background: #0a0b10; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; padding: 14px; }
.feat .txt { padding: 16px 18px 20px; }
.feat h3 { font-size: 16.5px; font-weight: 700; }
.feat p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.feat.wide { grid-column: span 2; }
.feat .vis img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.feat .vis { height: 200px; padding: 12px; background: #0b0b12; }
.feat .vis.tall img { height: 100%; }
.feat .vis.app { padding: 0; align-items: start; }
.feat .vis.app img { width: 100%; max-height: none; object-fit: cover; object-position: top left; height: 100%; }

/* ---------- OBS / phone ---------- */
.obs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; margin-top: 40px; }
.obs-list { display: grid; gap: 12px; }
.obs-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.obs-item .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); font-size: 20px; }
.obs-item p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.obs-link { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-2); font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.obs-link b { color: var(--good); font-family: var(--ui); font-size: 12px; margin-left: auto; }
.obs .shot { align-self: center; }

/* ---------- account panel (real screenshots) ---------- */
.panel-shots { position: relative; margin-top: 40px; padding-right: 150px; }
.panel-shots .shot { box-shadow: 0 40px 100px -40px rgba(127, 227, 255, .25), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.phone-shot { position: absolute; right: 0; bottom: -30px; width: 230px; height: auto; border-radius: 30px; border: 8px solid #1d1f27; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2); }
.acc-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.acc-points > div { padding: 4px 0; }
.acc-points b { display: block; font-weight: 700; }
.acc-points span { color: var(--muted); font-size: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; counter-reset: s; }
.step { padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--hdr); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ---------- plans ---------- */
.plans2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.plan2 { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.plan2.best { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 45, 70, .12), var(--panel) 60%); box-shadow: 0 30px 70px -40px rgba(255, 45, 70, .7); }
.plan2 .tag { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 99px; background: var(--hdr); color: #fff; font-size: 11.5px; font-weight: 750; letter-spacing: .03em; }
.plan2 .len { font-weight: 700; font-size: 16px; }
.plan2 .pm { margin-top: 14px; font-size: 40px; font-weight: 820; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan2 .pm small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan2 .tot { color: var(--muted); font-size: 13.5px; margin-top: 8px; min-height: 40px; }
.plan2 .tot s { color: var(--faint); }
.plan2 .save { align-self: flex-start; margin-top: 2px; font-size: 12px; font-weight: 750; color: var(--good); background: rgba(45, 212, 164, .12); padding: 3px 9px; border-radius: 999px; }
.plan2 .save.none { visibility: hidden; }
.plan2 .btn { margin-top: 18px; }
.plan-incl { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; }
.incl { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.incl h3 { margin-bottom: 10px; }
.incl ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.incl li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14px; }
.incl li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.onepc { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .06); }
.onepc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 181, 71, .14); }
.onepc h3 { color: var(--warn); }
.onepc p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.onepc p b { color: var(--text); }

/* ---------- faq + final ---------- */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.final { margin: 96px 0 0; padding: 56px 32px; border-radius: 22px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255, 45, 70, .4);
  background: radial-gradient(500px 240px at 50% 0%, rgba(255, 45, 70, .28), transparent 70%), var(--panel); }
.final h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.final p { color: var(--muted); margin: 12px auto 0; max-width: 52ch; font-size: 17px; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.foot { margin-top: 80px; }

/* ---------- auth in the app look ---------- */
.auth-box { padding: 30px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.auth-box h1 { font-size: 28px; }
.auth-box .onepc-note { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .06); }
.field input:focus { border-color: var(--accent); }


/* ---------- gift animation (novo) ---------- */
.new-tag { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--hdr); color: #fff; font-size: 11px; letter-spacing: .08em; }
.gfx-show { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; margin-top: 36px; align-items: start; }
.gfx-main { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -40px rgba(255, 45, 70, .5); background: #0b0b12; }
.gfx-main img { display: block; width: 100%; height: auto; }
.gfx-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gfx-thumbs button { display: block; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; text-align: left; }
.gfx-thumbs button img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gfx-thumbs button span { display: block; padding: 6px 10px; font-size: 12.5px; color: var(--muted); }
.gfx-thumbs button.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 45, 70, .35); }
.gfx-thumbs button.on span { color: var(--text); }
.gfx-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.gfx-points li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.gfx-points li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.gfx-points b { color: var(--text); }

@media (max-width: 1000px) {
  .gfx-show { grid-template-columns: 1fr; }
  .dyn { grid-template-columns: 1fr; }
  .dyn-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .dyn-btn { flex: 0 0 230px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obs { grid-template-columns: 1fr; }
  .steps, .plans2, .acc-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans2 { gap: 22px 14px; }
  .plan-incl { grid-template-columns: 1fr; }
  .panel-shots { padding-right: 110px; }
  .phone-shot { width: 170px; border-width: 6px; border-radius: 24px; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .top nav a#navLogin, .top nav a[href="/#plans"] { display: inline-block; }
  .hero2 { padding-top: 40px; }
  .hero-shot { margin-top: 36px; }
  .shot-bar { height: 26px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding-top: 72px; }
  .feats, .steps, .plans2, .acc-points { grid-template-columns: 1fr; }
  .feat.wide { grid-column: auto; }
  .dv-bottom { grid-template-columns: 1fr; }
  .dv-ov { border-right: 0; border-bottom: 1px solid var(--line); }
  .incl ul { grid-template-columns: 1fr; }
  .final { padding: 40px 20px; }
  .panel-shots { padding-right: 0; padding-bottom: 0; }
  .phone-shot { position: static; display: block; width: 62%; margin: 22px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .live-pill i { animation: none; }
}
/* v2026-10-08: seletor de idioma no topo do celular */
@media (max-width: 640px) {
  .top nav a[href="/#plans"] { display: none; }
}
@media (max-width: 380px) { .top nav a#navLogin { display: none; } }
@media (max-width: 640px) {
  .top nav { gap: 2px; }
  .top nav a:not(.btn) { padding: 8px 7px; }
  .top nav .btn { padding: 0 10px; font-size: 13px; margin-left: 2px; }
}

/* v2026-10-08: moeda dos planos */
.cur-pick { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.cur-pick label { color: var(--muted); font-size: 13.5px; }
.cur-pick select { background: var(--panel, #14161d); color: var(--text, #eef0f6); border: 1px solid var(--line-2, #353b4d); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; max-width: 260px; }
.cur-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* v2026-10-08 (2): preço sempre numa linha (o index.js diminui a fonte se a moeda tiver número grande) */
.plan2 .pm, .plan2 .tot { white-space: nowrap; overflow: hidden; }
.plan2 .tot { min-height: 0; height: 20px; line-height: 20px; }
.cur-pick select { min-width: 96px; }
.plan2 .pm { height: 44px; line-height: 44px; margin-top: 10px; }
.plan2 .pm small { font-size: .375em; } /* acompanha o preço quando a fonte diminui */
/* v2026-10-09: idiomas com texto longo (ru, ms...): o botão do topo quebra em 2 linhas no celular em vez de alargar a página */
@media (max-width: 640px) {
  .top nav .btn { white-space: normal; max-width: 128px; line-height: 1.1; font-size: 12.5px; text-align: center; min-height: 36px; padding: 4px 10px; }
  .top .wrap { gap: 8px; }
}
