styles.css 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. /* ============================================================
  2. NetPulse landing - styles.css v2
  3. Más grande, más espacio aprovechado, fondo canvas dinámico,
  4. widgets fieles a la app (topología, health ring, router cards).
  5. ============================================================ */
  6. :root {
  7. --canvas: 7 11 18;
  8. --surface: 13 20 32;
  9. --elevated: 19 28 44;
  10. --hover: 26 36 54;
  11. --border: 30 42 61;
  12. --border-strong: 42 58 82;
  13. --text-primary: 232 238 247;
  14. --text-secondary: 154 168 188;
  15. --text-muted: 122 140 165;
  16. --accent: 34 211 238;
  17. --tunnel: 167 139 250;
  18. --ok: 52 211 153;
  19. --warn: 251 191 36;
  20. --danger: 248 113 113;
  21. --info: 96 165 250;
  22. --radius: 0.75rem;
  23. color-scheme: dark;
  24. }
  25. html.light {
  26. --canvas: 243 245 249;
  27. --surface: 255 255 255;
  28. --elevated: 247 249 252;
  29. --hover: 236 239 244;
  30. --border: 226 232 240;
  31. --border-strong: 203 213 225;
  32. --text-primary: 15 23 42;
  33. --text-secondary: 71 85 105;
  34. --text-muted: 76 88 104;
  35. --accent: 14 116 144;
  36. --tunnel: 124 58 237;
  37. --ok: 5 150 105;
  38. --warn: 217 119 6;
  39. --danger: 220 38 38;
  40. --info: 37 99 235;
  41. color-scheme: light;
  42. }
  43. /* ---------- base ---------- */
  44. * { box-sizing: border-box; border-color: rgb(var(--border)); }
  45. html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
  46. body {
  47. margin: 0;
  48. background: rgb(var(--canvas));
  49. color: rgb(var(--text-primary));
  50. font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  51. font-size: 1rem;
  52. line-height: 1.55;
  53. -webkit-font-smoothing: antialiased;
  54. transition: background-color 250ms ease, color 250ms ease;
  55. overflow-x: hidden;
  56. }
  57. #bgCanvas {
  58. position: fixed; inset: 0; z-index: -1;
  59. width: 100%; height: 100%; pointer-events: none; opacity: 0.8;
  60. }
  61. .font-display { font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; }
  62. .font-mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; font-feature-settings: "tnum"; }
  63. ::selection { background: rgb(var(--accent) / 0.28); color: rgb(var(--text-primary)); }
  64. :focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; border-radius: 4px; }
  65. a { color: rgb(var(--accent)); text-decoration: none; }
  66. a:hover { text-decoration: underline; }
  67. ::-webkit-scrollbar { width: 10px; height: 10px; }
  68. ::-webkit-scrollbar-thumb { background: rgb(var(--border-strong)); border-radius: 999px; border: 2px solid rgb(var(--canvas)); }
  69. ::-webkit-scrollbar-track { background: transparent; }
  70. /* ---------- utilidades ---------- */
  71. .container { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }
  72. @media (min-width: 640px) { .container { padding: 0 1.75rem; } }
  73. @media (min-width: 1200px) { .container { padding: 0 2.5rem; } }
  74. .text-secondary { color: rgb(var(--text-secondary)); }
  75. .text-muted { color: rgb(var(--text-muted)); }
  76. .text-accent { color: rgb(var(--accent)); }
  77. .text-ok { color: rgb(var(--ok)); }
  78. .text-warn { color: rgb(var(--warn)); }
  79. .text-danger { color: rgb(var(--danger)); }
  80. .text-tunnel { color: rgb(var(--tunnel)); }
  81. .text-info { color: rgb(var(--info)); }
  82. .text-gradient {
  83. background: linear-gradient(135deg, rgb(var(--accent)) 0%, rgb(var(--ok)) 55%, rgb(var(--tunnel)) 100%);
  84. -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  85. background-clip: text;
  86. }
  87. .uppercase { text-transform: uppercase; }
  88. .label { font-size: 0.8125rem; line-height: 1.3; font-weight: 600; letter-spacing: 0.08em; }
  89. .caption { font-size: 0.875rem; line-height: 1.4; font-weight: 500; }
  90. .text-balance { text-wrap: balance; }
  91. .mono-num { font-variant-numeric: tabular-nums; }
  92. .card {
  93. background: rgb(var(--surface));
  94. border: 1px solid rgb(var(--border));
  95. border-radius: calc(var(--radius) + 8px);
  96. transition: background-color 250ms ease, border-color 250ms ease, transform 150ms ease, box-shadow 150ms ease;
  97. }
  98. .glow-accent { box-shadow: 0 0 60px -12px rgb(var(--accent) / 0.42), 0 0 120px -24px rgb(var(--accent) / 0.18); }
  99. /* textura mesh real de la app (mesh-texture.svg) - overlay sutil */
  100. .mesh-bg::before {
  101. content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  102. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none'%3E%3Cg stroke='%2322D3EE' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M-100 100 L100 -100 M0 400 L400 0 M300 500 L500 300 M-100 300 L300 -100 M100 500 L500 100'/%3E%3Cpath d='M-100 200 L200 -100 M200 500 L500 200'/%3E%3C/g%3E%3Ccircle cx='0' cy='0' r='1.5'/%3E%3C/svg%3E");
  103. background-repeat: repeat; background-size: 400px 400px;
  104. }
  105. /* ---------- nav ---------- */
  106. .nav {
  107. position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  108. backdrop-filter: blur(12px);
  109. background: rgb(var(--canvas) / 0.78);
  110. border-bottom: 1px solid rgb(var(--border) / 0.6);
  111. }
  112. .nav-inner { display: flex; align-items: center; gap: 1rem; height: 3.5rem; }
  113. .nav-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: rgb(var(--text-primary)); font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
  114. .nav-logo svg { width: 1.6rem; height: 1.6rem; }
  115. .nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
  116. .nav-links a { color: rgb(var(--text-secondary)); font-size: 0.875rem; font-weight: 500; }
  117. .nav-links a:hover { color: rgb(var(--text-primary)); text-decoration: none; }
  118. .nav-cta {
  119. font-size: 0.875rem; font-weight: 600; padding: 0.45rem 1rem;
  120. border-radius: var(--radius); border: 1px solid rgb(var(--accent) / 0.45);
  121. color: rgb(var(--accent)); white-space: nowrap; background: rgb(var(--accent) / 0.06);
  122. }
  123. .nav-cta:hover { background: rgb(var(--accent) / 0.12); text-decoration: none; }
  124. #langSelect {
  125. margin-left: 0.5rem; background: rgb(var(--surface)); color: rgb(var(--text-secondary));
  126. border: 1px solid rgb(var(--border)); border-radius: var(--radius); padding: 0.35rem 0.5rem;
  127. font-size: 0.8125rem; font-family: inherit; cursor: pointer;
  128. }
  129. html[dir="rtl"] #langSelect { margin-left: 0; margin-right: 0.5rem; }
  130. @media (max-width: 860px) { .nav-links { display: none; } }
  131. /* ---------- hero ---------- */
  132. .hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 4rem; overflow: hidden; }
  133. .hero-halo {
  134. position: absolute; top: -10rem; right: -10rem; width: 36rem; height: 36rem;
  135. border-radius: 50%; background: radial-gradient(circle, rgb(var(--accent) / 0.18) 0%, transparent 70%);
  136. filter: blur(80px); animation: breathe 7s ease-in-out infinite; pointer-events: none;
  137. }
  138. @keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
  139. .hero .eyebrow { font-size: 0.875rem; letter-spacing: 0.14em; }
  140. .hero h1 { font-size: clamp(3.5rem, 11vw, 8.5rem); line-height: 0.95; font-weight: 700; margin: 1.5rem 0 0; letter-spacing: -0.04em; }
  141. .hero-sub { max-width: 44rem; margin-top: 1.5rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: rgb(var(--text-secondary)); line-height: 1.5; }
  142. .hero-actions { display: flex; gap: 0.85rem; margin-top: 2.5rem; flex-wrap: wrap; align-items: center; }
  143. .btn-primary {
  144. display: inline-flex; align-items: center; gap: 0.5rem;
  145. background: rgb(var(--accent)); color: rgb(var(--canvas));
  146. font-weight: 700; font-size: 1rem; padding: 0.85rem 1.5rem;
  147. border-radius: var(--radius); border: none; cursor: pointer;
  148. transition: filter 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  149. box-shadow: 0 0 24px -4px rgb(var(--accent) / 0.5);
  150. }
  151. .btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); text-decoration: none; box-shadow: 0 0 36px -2px rgb(var(--accent) / 0.55); }
  152. .btn-ghost {
  153. display: inline-flex; align-items: center; gap: 0.5rem;
  154. color: rgb(var(--text-secondary)); font-weight: 600; font-size: 1rem;
  155. padding: 0.85rem 1.25rem; border-radius: var(--radius); border: 1px solid rgb(var(--border-strong));
  156. background: rgb(var(--surface) / 0.5);
  157. }
  158. .btn-ghost:hover { color: rgb(var(--text-primary)); border-color: rgb(var(--accent) / 0.5); background: rgb(var(--accent) / 0.08); text-decoration: none; }
  159. .hero-facts { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 2.75rem; }
  160. .chip {
  161. display: inline-flex; align-items: center; gap: 0.45rem;
  162. font-size: 0.8125rem; font-weight: 600; color: rgb(var(--text-secondary));
  163. border: 1px solid rgb(var(--border)); border-radius: 999px; padding: 0.35rem 0.85rem;
  164. background: rgb(var(--surface) / 0.7); backdrop-filter: blur(4px);
  165. }
  166. .chip svg { width: 0.9rem; height: 0.9rem; }
  167. .demo-strip { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 3.5rem; }
  168. .mini-stat { display: flex; flex-direction: column; gap: 0.25rem; border-left: 1px solid rgb(var(--border)); padding-left: 1.25rem; }
  169. .mini-stat .k { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; }
  170. .mini-stat .k svg { width: 0.95rem; height: 0.95rem; }
  171. .mini-stat .v { font-size: 1.35rem; font-weight: 700; }
  172. /* ---------- ticker ---------- */
  173. .ticker-wrap { border-block: 1px solid rgb(var(--border) / 0.7); background: rgb(var(--surface) / 0.45); overflow: hidden; position: relative; }
  174. .ticker { display: flex; gap: 3rem; padding: 0.7rem 0; width: max-content; animation: ticker 34s linear infinite; }
  175. .ticker-wrap:hover .ticker { animation-play-state: paused; }
  176. @keyframes ticker { to { transform: translateX(-50%); } }
  177. html[dir="rtl"] .ticker { animation-direction: reverse; }
  178. .ticker span { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; font-size: 0.8125rem; color: rgb(var(--text-muted)); }
  179. .ticker i { font-style: normal; color: rgb(var(--text-secondary)); }
  180. .ticker .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
  181. /* ---------- secciones ---------- */
  182. section.block { padding: 5rem 0; }
  183. .eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--accent)); }
  184. .block h2 { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.05; font-weight: 700; margin: 0.85rem 0 0; letter-spacing: -0.03em; }
  185. .block .lead { color: rgb(var(--text-secondary)); max-width: 48rem; margin-top: 1rem; font-size: 1.15rem; line-height: 1.55; }
  186. /* fade-up on scroll */
  187. .reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms ease; }
  188. .reveal.in { opacity: 1; transform: none; }
  189. /* ---------- club cloudless ---------- */
  190. .club-inner { display: flex; align-items: center; gap: 2.5rem; }
  191. .club-copy { flex: 1; min-width: 0; }
  192. /* Cuerpo: texto + CTA al lado (fullHD). */
  193. .club-body { display: flex; align-items: center; gap: 2rem; }
  194. .club-body .lead { flex: 1; min-width: 0; margin-top: 1rem; max-width: none; }
  195. .club-cta { flex-shrink: 0; white-space: nowrap; }
  196. @media (max-width: 860px) {
  197. .club-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  198. .club-body { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  199. .club-body .lead { max-width: 48rem; }
  200. }
  201. /* ---------- acerca de mí ---------- */
  202. .about-body { max-width: 52rem; margin-top: 1.5rem; }
  203. .about-body p { color: rgb(var(--text-secondary)); font-size: 1.1rem; line-height: 1.65; margin: 0 0 1rem; }
  204. .about-body p:last-child { margin-bottom: 0; }
  205. /* ---------- teatro sticky ---------- */
  206. .theater { display: grid; grid-template-columns: 38% 62%; gap: 1.75rem; align-items: start; margin-top: 2rem; }
  207. .theater-steps { display: flex; flex-direction: column; gap: 48vh; padding-bottom: 30vh; }
  208. .tstep { max-width: 32rem; opacity: 0.35; transition: opacity 450ms ease; }
  209. .tstep .num { font-family: "JetBrains Mono", monospace; font-size: 1.05rem; color: rgb(var(--accent)); letter-spacing: 0.1em; font-weight: 700; }
  210. .tstep h3 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin: 0.7rem 0 0.9rem; line-height: 1.12; }
  211. .tstep p { color: rgb(var(--text-secondary)); font-size: 1.42rem; margin: 0; line-height: 1.5; }
  212. .theater-stage { position: sticky; top: 5rem; height: 62vh; min-height: 30rem; display: flex; align-items: stretch; justify-content: center; }
  213. .stage-frame { width: 100%; min-height: 100%; padding: 1rem; border-radius: 1.25rem; position: relative; background: rgb(var(--surface) / 0.85); border: 1px solid rgb(var(--border)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  214. .stage-frame::before {
  215. content: ""; position: absolute; inset: 0; border-radius: 1.25rem;
  216. background: radial-gradient(1200px 500px at 20% 0%, rgb(var(--accent) / 0.08), transparent 60%);
  217. pointer-events: none;
  218. }
  219. .stage { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; position: relative; }
  220. .stage.active { display: flex; animation: stageIn 500ms ease both; }
  221. @keyframes stageIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
  222. @media (max-width: 960px) {
  223. .theater { grid-template-columns: 1fr; }
  224. .theater-stage { position: relative; top: auto; height: 56vh; min-height: 24rem; margin-bottom: 2rem; }
  225. .theater-steps { gap: 4rem; padding-bottom: 4rem; }
  226. .tstep { opacity: 1; }
  227. }
  228. /* widgets dentro del teatro */
  229. .w-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
  230. .ring-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
  231. .ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  232. .ring-center .big { font-family: "Space Grotesk", sans-serif; font-size: 3.8rem; font-weight: 700; line-height: 1; color: rgb(var(--text-primary)); }
  233. .ring-center .of { font-size: 0.95rem; color: rgb(var(--text-muted)); margin-top: 0.15rem; }
  234. .pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; padding: 0.4rem 0.95rem; border-radius: 999px; letter-spacing: 0.04em; }
  235. .pill.ok { background: rgb(var(--ok) / 0.12); color: rgb(var(--ok)); }
  236. .pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulseDot 1.6s ease-in-out infinite; }
  237. @keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  238. .wan-card { width: 100%; max-width: 46rem; padding: 1rem; }
  239. .wan-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; }
  240. .wan-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: rgb(var(--ok)); font-weight: 700; letter-spacing: 0.08em; }
  241. .wan-live .dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--ok)); animation: pulseDot 1.6s infinite; }
  242. #trafficChart { width: 100%; height: auto; display: block; }
  243. .wan-stats { display: flex; gap: 2.25rem; margin-top: 1rem; flex-wrap: wrap; }
  244. .wan-stats span { font-size: 1.05rem; }
  245. .wan-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1rem; border-top: 1px solid rgb(var(--border)); padding-top: 0.85rem; }
  246. .wan-footer .k { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(var(--text-muted)); font-weight: 600; }
  247. .wan-footer .v { display: block; margin-top: 0.2rem; font-size: 0.85rem; font-weight: 600; color: rgb(var(--text-primary)); }
  248. @media (max-width: 560px) { .wan-footer { grid-template-columns: 1fr 1fr; } }
  249. .traffic-ticks text { fill: rgb(var(--text-muted)); font-family: "JetBrains Mono", monospace; font-size: 10px; }
  250. /* salud */
  251. .health-box { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; max-width: 19rem; }
  252. .health-note { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: rgb(var(--warn)); background: rgb(var(--warn) / 0.1); border: 1px solid rgb(var(--warn) / 0.25); padding: 0.5rem 0.7rem; border-radius: 0.7rem; line-height: 1.4; }
  253. .health-note svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
  254. .health-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  255. .health-stats span { font-size: 0.98rem; }
  256. /* segmented control de rangos (4 columnas) */
  257. .seg-ranges { grid-template-columns: repeat(4, 1fr); }
  258. /* topología svg */
  259. #topoSvg { width: 100%; height: 100%; display: block; }
  260. .topo-node { opacity: 0; transform: scale(0.85); transform-box: fill-box; transform-origin: center; transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
  261. .topo-node.on { opacity: 1; transform: none; }
  262. .topo-edge { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms ease; filter: drop-shadow(0 0 2.5px currentColor); }
  263. .topo-edge.on { stroke-dashoffset: 0; }
  264. .topo-wg-flow { animation: wgFlow 1.4s linear infinite; }
  265. @keyframes wgFlow { to { stroke-dashoffset: -28; } }
  266. .topo-orbit { transform-origin: center; animation: topoOrbit 24s linear infinite; }
  267. @keyframes topoOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  268. .topo-halo { animation: haloPulse 6s ease-in-out infinite; }
  269. @keyframes haloPulse { 0%, 100% { opacity: 0.08; } 50% { opacity: 0.22; } }
  270. .topo-warn-pulse { transform-origin: center; animation: warnPulse 1.6s ease-out infinite; }
  271. @keyframes warnPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
  272. .topo-peer-pulse { transform-origin: center; animation: peerPulse 2.2s ease-out infinite; }
  273. @keyframes peerPulse { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.23); } }
  274. .topo-packet { offset-distance: 0%; }
  275. @keyframes packetMove { to { offset-distance: 100%; } }
  276. .topo-flow { opacity: 0; transition: opacity 600ms ease; }
  277. .topo-flow.on { opacity: 1; }
  278. .topo-guide { fill: none; stroke: rgb(var(--border-strong)); stroke-width: 1; stroke-dasharray: 2 6; opacity: 0.35; }
  279. .topo-label { font-size: 15px; font-weight: 700; fill: rgb(var(--text-primary)); stroke: rgb(var(--canvas)); stroke-width: 4px; paint-order: stroke; }
  280. .topo-label-sub { font-size: 12px; font-weight: 500; fill: rgb(var(--text-secondary)); stroke: rgb(var(--canvas)); stroke-width: 3px; paint-order: stroke; }
  281. .topo-badge-text { font-size: 7px; font-weight: 800; letter-spacing: 0.04em; }
  282. /* routers */
  283. .rgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; max-width: 52rem; }
  284. @media (max-width: 560px) { .rgrid { grid-template-columns: 1fr; } }
  285. .rcard { padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
  286. .rcard .rt { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
  287. .rcard .rt .nameblock { display: flex; align-items: flex-start; gap: 0.65rem; }
  288. .rcard .iconbox { width: 2.25rem; height: 2.25rem; border-radius: 0.65rem; background: rgb(var(--elevated)); display: flex; align-items: center; justify-content: center; color: rgb(var(--accent)); flex-shrink: 0; }
  289. .rcard .iconbox svg { width: 1.2rem; height: 1.2rem; }
  290. .rcard .name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; display: block; color: rgb(var(--text-primary)); }
  291. .rcard .model { font-size: 0.78rem; color: rgb(var(--text-muted)); margin-top: 0.05rem; display: block; }
  292. .rcard .rolepill { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgb(var(--accent) / 0.12); color: rgb(var(--accent)); margin-top: 0.25rem; display: inline-block; }
  293. .rcard .minimetrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.35rem 0.85rem; margin-top: 0.65rem; }
  294. .rcard .minimetrics > div { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: rgb(var(--text-secondary)); }
  295. .rcard .minimetrics svg { width: 1rem; height: 1rem; color: rgb(var(--text-muted)); flex-shrink: 0; }
  296. .rcard .minimetrics .hot { color: rgb(var(--warn)); }
  297. .rcard .minimetrics .hot svg { color: rgb(var(--warn)); }
  298. .rcard .bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-top: 1px solid rgb(var(--border)); padding-top: 0.85rem; margin-top: 0.85rem; }
  299. .rcard .spark { flex: 1; height: 28px; stroke: rgb(var(--accent)); stroke-width: 2; fill: none; opacity: 0.8; }
  300. .rcard .statuspill { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.25rem 0.6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem; }
  301. .rcard .statuspill.ok { background: rgb(var(--ok) / 0.12); color: rgb(var(--ok)); }
  302. .rcard .statuspill.warn { background: rgb(var(--warn) / 0.12); color: rgb(var(--warn)); }
  303. .rcard .statuspill .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  304. .rcard .statuspill.warn .dot { animation: pulseDot 1.6s infinite; }
  305. /* adguard */
  306. .ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: stretch; width: 100%; max-width: 50rem; }
  307. @media (max-width: 560px) { .ag-grid { grid-template-columns: 1fr; } }
  308. .ag-stat { padding: 1rem; }
  309. .ag-stat .v { font-family: "Space Grotesk", sans-serif; font-size: 2.4rem; font-weight: 700; }
  310. .ag-stat .k { font-size: 0.85rem; color: rgb(var(--text-muted)); margin-top: 0.2rem; font-weight: 600; }
  311. .ag-card { width: 100%; max-width: 30rem; padding: 1.1rem 1.2rem; }
  312. .ag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
  313. .ag-head .label { display: inline-flex; align-items: center; gap: 0.45rem; }
  314. .ag-head .label svg { width: 1.1rem; height: 1.1rem; }
  315. .ag-main { display: flex; align-items: center; gap: 1.4rem; }
  316. .ag-pct { font-size: 2.6rem; font-weight: 700; line-height: 1; }
  317. .ag-of { margin-top: 0.4rem; font-size: 0.8rem; color: rgb(var(--text-muted)); }
  318. .ag-donut { flex-shrink: 0; }
  319. .ag-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
  320. .ag-cell { background: rgb(var(--elevated)); border-radius: 0.7rem; padding: 0.6rem 0.8rem; }
  321. .ag-cell .k { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(var(--text-muted)); font-weight: 600; }
  322. .ag-cell .v { display: block; margin-top: 0.2rem; font-size: 0.95rem; font-weight: 600; color: rgb(var(--text-primary)); }
  323. .ag-domains { margin-top: 1rem; }
  324. .ag-domains > .label { display: block; margin-bottom: 0.55rem; }
  325. .ag-open { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: rgb(var(--text-secondary)); transition: color 150ms ease; }
  326. .ag-open svg { width: 0.95rem; height: 0.95rem; }
  327. .ag-open:hover { color: rgb(var(--accent)); }
  328. .ag-bar-row { display: flex; align-items: center; gap: 0.75rem; margin: 0.55rem 0; font-size: 0.8125rem; }
  329. .ag-bar-row .d { width: 9rem; text-align: left; color: rgb(var(--text-secondary)); font-family: "JetBrains Mono", monospace; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  330. .ag-bar-row .bar { flex: 1; height: 7px; border-radius: 999px; background: rgb(var(--elevated)); overflow: hidden; }
  331. .ag-bar-row .bar i { display: block; height: 100%; width: 0; background: rgb(var(--ok) / 0.8); border-radius: 999px; transition: width 900ms ease; }
  332. .ag-bar-row .n { width: 3.5rem; color: rgb(var(--text-muted)); font-family: "JetBrains Mono", monospace; font-size: 0.75rem; text-align: right; }
  333. /* alertas */
  334. .feed { display: flex; flex-direction: column; gap: 0.65rem; width: 100%; max-width: 44rem; }
  335. .alert-item { display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid rgb(var(--border)); border-radius: var(--radius); background: rgb(var(--elevated) / 0.55); opacity: 0; transform: translateX(-14px); transition: opacity 500ms ease, transform 500ms ease; }
  336. html[dir="rtl"] .alert-item { transform: translateX(14px); }
  337. .alert-item.on { opacity: 1; transform: none; }
  338. .alert-item .ico { width: 2rem; height: 2rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  339. .alert-item .ico svg { width: 1.1rem; height: 1.1rem; }
  340. .alert-item .t { font-size: 1rem; font-weight: 600; }
  341. .alert-item .s { font-size: 0.82rem; color: rgb(var(--text-muted)); margin-top: 0.15rem; }
  342. .alert-item.warn .ico { background: rgb(var(--warn) / 0.14); color: rgb(var(--warn)); }
  343. .alert-item.ok .ico { background: rgb(var(--ok) / 0.14); color: rgb(var(--ok)); }
  344. .alert-item.info .ico { background: rgb(var(--info) / 0.14); color: rgb(var(--info)); }
  345. .alert-item.accent .ico { background: rgb(var(--accent) / 0.14); color: rgb(var(--accent)); }
  346. /* características: tarjetas grandes */
  347. .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
  348. .feature { padding: 2rem; }
  349. .feature svg { width: 2rem; height: 2rem; margin-bottom: 1.25rem; }
  350. .feature h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; margin: 0 0 0.6rem; }
  351. .feature p { margin: 0; color: rgb(var(--text-secondary)); font-size: 1rem; line-height: 1.55; }
  352. @media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
  353. /* instalación */
  354. .install-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; margin-top: 2.75rem; }
  355. .install-grid > * { min-width: 0; }
  356. @media (max-width: 860px) { .install-grid { grid-template-columns: 1fr; } }
  357. .codecard { padding: 1.6rem; }
  358. .codecard h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; margin: 0 0 1.15rem; }
  359. .codebox {
  360. display: flex; align-items: center; gap: 0.85rem;
  361. background: rgb(var(--canvas)); border: 1px solid rgb(var(--border));
  362. border-radius: var(--radius); padding: 1rem 1.15rem; overflow-x: auto;
  363. }
  364. .codebox code { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: rgb(var(--text-primary)); white-space: nowrap; }
  365. .codebox .prompt { color: rgb(var(--text-muted)); user-select: none; }
  366. .code-actions { display: flex; justify-content: flex-end; margin: 0.6rem 0 0.75rem; }
  367. .copybtn {
  368. flex-shrink: 0; border: 1px solid rgb(var(--border-strong)); background: rgb(var(--elevated));
  369. color: rgb(var(--text-secondary)); border-radius: calc(var(--radius) - 2px);
  370. font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.85rem; cursor: pointer;
  371. }
  372. .copybtn:hover { color: rgb(var(--text-primary)); }
  373. .req-list { margin: 0; padding: 0; list-style: none; }
  374. .req-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; color: rgb(var(--text-secondary)); font-size: 0.95rem; }
  375. .req-list svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; color: rgb(var(--ok)); }
  376. .install-note { margin-top: 1.1rem; font-size: 0.9rem; color: rgb(var(--text-muted)); }
  377. .install-note a { color: rgb(var(--text-secondary)); text-decoration: underline; }
  378. /* expectativas honestas */
  379. .honest { border-left: 3px solid rgb(var(--warn)); }
  380. .honest p { color: rgb(var(--text-secondary)); margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.55; }
  381. /* footer */
  382. footer { border-top: 1px solid rgb(var(--border) / 0.7); padding: 4rem 0; margin-top: 2rem; }
  383. .foot-grid { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
  384. .foot-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgb(var(--text-muted)); margin: 0 0 0.85rem; }
  385. .foot-col a { display: block; color: rgb(var(--text-secondary)); font-size: 0.95rem; padding: 0.2rem 0; }
  386. .foot-col a:hover { color: rgb(var(--text-primary)); }
  387. .kofi {
  388. display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem;
  389. border: 1px solid rgb(var(--warn) / 0.45); color: rgb(var(--warn));
  390. border-radius: var(--radius); padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 700;
  391. background: rgb(var(--warn) / 0.06);
  392. }
  393. .kofi:hover { background: rgb(var(--warn) / 0.12); text-decoration: none; }
  394. .kofi svg { width: 1.1rem; height: 1.1rem; }
  395. .foot-bottom { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--border)); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgb(var(--text-muted)); font-size: 0.8125rem; }
  396. /* ---------- widget apariencia (flotante) ---------- */
  397. .appearance-fab {
  398. position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  399. width: 3rem; height: 3rem; border-radius: 50%;
  400. background: rgb(var(--surface)); border: 1px solid rgb(var(--border-strong));
  401. color: rgb(var(--text-secondary)); cursor: pointer;
  402. display: flex; align-items: center; justify-content: center;
  403. box-shadow: 0 8px 30px rgb(0 0 0 / 0.4);
  404. transition: transform 150ms ease, color 150ms ease, box-shadow 150ms ease;
  405. }
  406. html[dir="rtl"] .appearance-fab { right: auto; left: 1.25rem; }
  407. .appearance-fab:hover { color: rgb(var(--accent)); transform: scale(1.08); box-shadow: 0 0 24px -4px rgb(var(--accent) / 0.45); }
  408. .appearance-fab svg { width: 1.25rem; height: 1.25rem; }
  409. .appearance-panel {
  410. position: fixed; bottom: 5.25rem; right: 1.25rem; z-index: 60;
  411. width: 17rem; padding: 1.15rem; border-radius: 1.15rem;
  412. background: rgb(var(--surface)); border: 1px solid rgb(var(--border));
  413. box-shadow: 0 20px 56px rgb(0 0 0 / 0.45);
  414. opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none;
  415. transition: opacity 200ms ease, transform 200ms ease;
  416. }
  417. html[dir="rtl"] .appearance-panel { right: auto; left: 1.25rem; }
  418. .appearance-panel.open { opacity: 1; transform: none; pointer-events: auto; }
  419. .appearance-panel h5 { margin: 0 0 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgb(var(--text-muted)); }
  420. .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  421. .seg button {
  422. border: 1px solid rgb(var(--border)); background: transparent; color: rgb(var(--text-secondary));
  423. border-radius: calc(var(--radius) - 2px); padding: 0.5rem 0.25rem; font-size: 0.78rem; font-weight: 700; cursor: pointer;
  424. font-family: inherit;
  425. }
  426. .seg button.on { background: rgb(var(--accent) / 0.12); border-color: rgb(var(--accent) / 0.5); color: rgb(var(--accent)); }
  427. /* ---------- i18n / rtl ---------- */
  428. html[dir="rtl"] .mini-stat { border-left: none; border-right: 1px solid rgb(var(--border)); padding-left: 0; padding-right: 1.25rem; }
  429. html[dir="rtl"] .honest { border-left: none; border-right: 3px solid rgb(var(--warn)); }
  430. /* agente OpenWrt (stage 7) */
  431. .term { border-radius: calc(var(--radius) + 4px); overflow: hidden; min-width: 0; }
  432. .term-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.9rem; background: rgb(var(--elevated) / 0.5); border-bottom: 1px solid rgb(var(--border)); }
  433. .term-dots { display: flex; gap: 0.4rem; }
  434. .term-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--text-muted)); display: inline-block; }
  435. .term-dots i:nth-child(1) { background: #ff5f56; }
  436. .term-dots i:nth-child(2) { background: #ffbd2e; }
  437. .term-dots i:nth-child(3) { background: #27c93f; }
  438. .term-title { font-size: 0.7rem; color: rgb(var(--text-muted)); letter-spacing: 0.04em; }
  439. .term-body { padding: 0.85rem 1rem; font-size: 0.78rem; line-height: 1.75; color: rgb(var(--text-secondary)); }
  440. .term-line { display: block; opacity: 0; }
  441. .term-line.text-ok { color: rgb(var(--ok)); }
  442. .agent-badge { font-size: 0.68rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgb(var(--elevated)); border: 1px solid rgb(var(--border)); color: rgb(var(--text-secondary)); white-space: nowrap; }
  443. @media (prefers-reduced-motion: reduce) {
  444. html { scroll-behavior: auto; }
  445. *, *::before, *::after {
  446. animation-duration: 0.01ms !important;
  447. animation-iteration-count: 1 !important;
  448. transition-duration: 0.01ms !important;
  449. }
  450. #bgCanvas { display: none; }
  451. }
  452. /* ---------- extra responsive ---------- */
  453. @media (max-width: 520px) {
  454. .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  455. .hero { padding: 5.5rem 0 3rem; }
  456. .hero-actions { flex-direction: column; align-items: flex-start; }
  457. .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  458. .demo-strip { gap: 1.5rem; }
  459. .mini-stat { border: none; padding: 0; }
  460. .features { grid-template-columns: 1fr; }
  461. }
  462. /* ---------- slider de capturas ---------- */
  463. .slider { user-select: none; }
  464. .slider-main { position: relative; border: 1px solid rgb(var(--border)); border-radius: var(--radius); overflow: hidden; background: rgb(var(--elevated)); }
  465. .slider-main img { width: 100%; height: auto; display: block; }
  466. .slider-arrow {
  467. position: absolute; top: 50%; transform: translateY(-50%);
  468. width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  469. border: 1px solid rgb(var(--border)); border-radius: 50%;
  470. background: rgb(var(--canvas) / 0.85); color: rgb(var(--text-primary)); cursor: pointer; z-index: 5;
  471. }
  472. .slider-arrow.prev { left: 14px; }
  473. .slider-arrow.next { right: 14px; }
  474. .slider-arrow:hover { color: rgb(var(--accent)); border-color: rgb(var(--accent)); }
  475. .shot-caption { margin: 0.75rem 0 0; font-size: 0.92rem; color: rgb(var(--text-secondary)); text-align: center; }
  476. .slider-thumbs { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
  477. .thumb { width: 150px; border: 2px solid transparent; border-radius: var(--radius); padding: 0; background: transparent; cursor: pointer; overflow: hidden; opacity: 0.65; transition: opacity 180ms ease, border-color 180ms ease; }
  478. .thumb img { width: 100%; height: auto; display: block; }
  479. .thumb:hover { opacity: 1; }
  480. .thumb.active { border-color: rgb(var(--accent)); opacity: 1; }
  481. @media (max-width: 720px) {
  482. .slider-thumbs { justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; }
  483. .thumb { width: 110px; flex: none; }
  484. }
  485. /* ---------- lightbox de capturas ---------- */
  486. #shotImg[data-shot] { cursor: zoom-in; }
  487. .lightbox {
  488. position: fixed; inset: 0; z-index: 100;
  489. background: rgb(5 8 14 / 0.94);
  490. align-items: center; justify-content: center;
  491. flex-direction: column; gap: 1rem;
  492. padding: 2rem;
  493. cursor: zoom-out;
  494. }
  495. .lightbox:not([hidden]) { display: flex; }
  496. .lightbox[hidden] { display: none; }
  497. .lightbox-img {
  498. max-width: 92vw; max-height: 82vh;
  499. border-radius: var(--radius);
  500. box-shadow: 0 20px 60px rgb(0 0 0 / 0.55);
  501. }
  502. .lightbox-caption { color: rgb(var(--text-secondary)); font-size: 0.95rem; text-align: center; }
  503. .lightbox-close {
  504. position: absolute; top: 1.25rem; right: 1.5rem;
  505. width: 44px; height: 44px; border-radius: 50%;
  506. border: 1px solid rgb(255 255 255 / 0.3);
  507. background: transparent; color: #fff;
  508. font-size: 1.8rem; line-height: 1; cursor: pointer;
  509. display: flex; align-items: center; justify-content: center;
  510. }
  511. .lightbox-close:hover { background: rgb(255 255 255 / 0.15); }
  512. .lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  513. .lightbox-arrow {
  514. position: absolute; top: 50%; transform: translateY(-50%);
  515. width: 46px; height: 46px; border-radius: 50%;
  516. border: 1px solid rgb(255 255 255 / 0.3);
  517. background: rgb(0 0 0 / 0.4); color: #fff;
  518. display: flex; align-items: center; justify-content: center;
  519. cursor: pointer; z-index: 1;
  520. }
  521. .lightbox-arrow.prev { left: 1.5rem; }
  522. .lightbox-arrow.next { right: 1.5rem; }
  523. .lightbox-arrow:hover { background: rgb(255 255 255 / 0.15); }
  524. .lightbox-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  525. /* ============================================================
  526. v2.1 - secciones nuevas: hero shot, cómo funciona, ingeniería,
  527. comparativa, gratis, FAQ
  528. ============================================================ */
  529. /* ---------- hero: captura real + badges ---------- */
  530. .hero-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1.1rem; }
  531. .chip-link { text-decoration: none; transition: border-color .2s, background .2s; }
  532. .chip-link:hover { border-color: rgb(var(--border-strong)); background: rgb(var(--hover)); }
  533. .hero-shot { margin-top: 3.25rem; }
  534. .browser-frame { overflow: hidden; padding: 0 !important; }
  535. .bf-bar {
  536. display: flex; align-items: center; gap: 0.85rem;
  537. padding: 0.65rem 1rem;
  538. background: rgb(var(--elevated));
  539. border-bottom: 1px solid rgb(var(--border));
  540. }
  541. .bf-dots { display: flex; gap: 0.4rem; }
  542. .bf-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--border-strong)); display: block; }
  543. .bf-url { font-size: 0.72rem; color: rgb(var(--text-muted)); }
  544. .browser-frame img { display: block; width: 100%; height: auto; }
  545. /* ---------- cómo funciona ---------- */
  546. .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
  547. .step { position: relative; padding: 1.75rem; }
  548. .step svg { width: 26px; height: 26px; margin-bottom: 0.9rem; }
  549. .step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
  550. .step p { color: rgb(var(--text-secondary)); font-size: 0.92rem; line-height: 1.55; }
  551. .step-num {
  552. position: absolute; top: 1.1rem; inset-inline-end: 1.35rem;
  553. font-size: 1.6rem; font-weight: 600; color: rgb(var(--border-strong));
  554. }
  555. .how-time { margin-top: 1.75rem; display: flex; justify-content: center; }
  556. /* ---------- ingeniería ---------- */
  557. .statband {
  558. display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  559. margin-top: 2.5rem;
  560. }
  561. .stat {
  562. background: rgb(var(--surface)); border: 1px solid rgb(var(--border));
  563. border-radius: var(--radius); padding: 1.6rem 1.25rem; text-align: center;
  564. }
  565. .stat-v { display: block; font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; }
  566. .stat-k { display: block; margin-top: 0.4rem; color: rgb(var(--text-secondary)); font-size: 0.85rem; font-weight: 500; }
  567. .eng-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.75rem; justify-content: center; }
  568. /* ---------- comparativa ---------- */
  569. .compare-wrap { margin-top: 2.5rem; overflow-x: auto; padding: 0.5rem !important; }
  570. .compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
  571. .compare-table tbody tr.lose td:first-child { color: rgb(var(--text-secondary)); font-weight: 400; }
  572. .compare-table th, .compare-table td { padding: 0.85rem 1.1rem; text-align: start; font-size: 0.92rem; }
  573. .compare-table thead th {
  574. color: rgb(var(--text-secondary)); font-weight: 600; font-size: 0.8rem;
  575. text-transform: uppercase; letter-spacing: 0.06em;
  576. border-bottom: 1px solid rgb(var(--border));
  577. text-align: center;
  578. }
  579. .compare-table thead th:first-child { text-align: start; }
  580. .compare-table thead th.np { color: rgb(var(--accent)); }
  581. .compare-table tbody td { border-bottom: 1px solid rgb(var(--border)); color: rgb(var(--text-secondary)); }
  582. .compare-table tbody tr:last-child td { border-bottom: none; }
  583. .compare-table tbody td:first-child { color: rgb(var(--text-primary)); font-weight: 500; }
  584. .compare-table td.ck, .compare-table td.no, .compare-table td.pt { text-align: center; font-weight: 700; font-size: 1.05rem; }
  585. .compare-table td.ck { color: rgb(var(--ok)); }
  586. .compare-table td.no { color: rgb(var(--text-muted)); }
  587. .compare-table td.pt { color: rgb(var(--warn)); }
  588. .compare-note { margin-top: 1rem; }
  589. /* ---------- gratis ---------- */
  590. .free-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.25rem; margin-top: 2.5rem; align-items: stretch; }
  591. .free-card {
  592. display: flex; flex-direction: column; align-items: center; justify-content: center;
  593. text-align: center; padding: 2.5rem 1.75rem; gap: 0.35rem;
  594. }
  595. .free-price { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 700; color: rgb(var(--ok)); line-height: 1; }
  596. .free-period { color: rgb(var(--text-secondary)); font-size: 1.05rem; margin-bottom: 1.5rem; }
  597. .free-list-card { padding: 2rem 2.25rem; }
  598. .free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.75rem; }
  599. .free-list li { display: flex; align-items: center; gap: 0.7rem; color: rgb(var(--text-primary)); font-size: 0.95rem; font-weight: 500; }
  600. .free-list svg { width: 18px; height: 18px; flex-shrink: 0; }
  601. /* ---------- FAQ ---------- */
  602. .faq-list { display: grid; gap: 0.85rem; margin-top: 2.5rem; }
  603. .faq-item { padding: 0 !important; }
  604. .faq-item summary {
  605. cursor: pointer; list-style: none; padding: 1.15rem 1.5rem;
  606. font-weight: 600; font-size: 1rem; color: rgb(var(--text-primary));
  607. display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  608. }
  609. .faq-item summary::-webkit-details-marker { display: none; }
  610. .faq-item summary::after {
  611. content: "+"; font-size: 1.35rem; font-weight: 400; color: rgb(var(--text-muted));
  612. transition: transform .2s; flex-shrink: 0;
  613. }
  614. .faq-item[open] summary::after { transform: rotate(45deg); }
  615. .faq-item summary:hover { color: rgb(var(--accent)); }
  616. .faq-item summary:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: -2px; border-radius: var(--radius); }
  617. .faq-item p { padding: 0 1.5rem 1.25rem; margin: 0; color: rgb(var(--text-secondary)); line-height: 1.6; font-size: 0.95rem; }
  618. /* ---------- responsive ---------- */
  619. @media (max-width: 900px) {
  620. .steps { grid-template-columns: 1fr; }
  621. .statband { grid-template-columns: repeat(2, 1fr); }
  622. .free-grid { grid-template-columns: 1fr; }
  623. .free-list { grid-template-columns: 1fr; }
  624. .hero-shot { margin-top: 2.25rem; }
  625. }