styles.css 46 KB

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