4
0

styles.css 49 KB

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