/* Página de bienvenida: explica que EXIS CashControl se usa como complemento de Excel. */
:root {
  --texto: #13213a;
  --texto-2: #4a5873;
  --marca: #1267b4;
  --excel: #107c41;
  --tarjeta: rgba(255, 255, 255, .92);
  --borde: rgba(255, 255, 255, .6);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: linear-gradient(135deg, #0b1830 0%, #12305e 45%, #1267b4 100%);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2.5rem 1rem 1.5rem;
  overflow-x: hidden;
}
.fondo { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.fondo span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: flotar 18s ease-in-out infinite alternate; }
.fondo span:nth-child(1) { width: 420px; height: 420px; background: #2b8be0; top: -120px; left: -100px; }
.fondo span:nth-child(2) { width: 360px; height: 360px; background: #17a39b; bottom: -120px; right: -80px; animation-delay: -6s; }
.fondo span:nth-child(3) { width: 260px; height: 260px; background: #21a366; top: 40%; left: 60%; opacity: .35; animation-delay: -12s; }
@keyframes flotar { to { transform: translate(40px, -30px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .fondo span { animation: none; } }

.tarjeta {
  position: relative; z-index: 1;
  width: 100%; max-width: 640px;
  background: var(--tarjeta);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--borde);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(4, 12, 30, .45);
  padding: 2.25rem 2.25rem 2rem;
}
.marca { display: flex; align-items: center; gap: 1rem; }
.marca img { border-radius: 16px; box-shadow: 0 6px 18px rgba(18, 103, 180, .35); }
.marca h1 { margin: 0; font-size: 1.85rem; letter-spacing: -.01em; }
.marca p { margin: .15rem 0 0; color: var(--texto-2); }

.sello {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 1.75rem 0 .5rem; padding: .35rem .9rem .35rem .35rem;
  border-radius: 999px; background: #e7f5ed; color: var(--excel);
  font-weight: 700; font-size: .85rem;
}
.excel {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: linear-gradient(135deg, #21a366, var(--excel)); color: #fff; font-weight: 800; font-size: .9rem;
}
h2 { margin: .25rem 0 .5rem; font-size: 1.35rem; }
.intro { margin: 0 0 1.5rem; color: var(--texto-2); line-height: 1.6; }

.pasos { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: paso; display: grid; gap: .75rem; }
.pasos li {
  counter-increment: paso; position: relative;
  padding: .85rem 1rem .85rem 3.4rem; border-radius: 14px;
  background: #f3f7fc; border: 1px solid #e1e9f4;
}
.pasos li::before {
  content: counter(paso); position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--marca), #17a39b); color: #fff; font-weight: 700;
}
.pasos strong { display: block; }
.pasos span { color: var(--texto-2); font-size: .92rem; }

/* Soporte técnico (/soporte): portada centrada como «Acerca de» del complemento. */
.portada { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.logo-exis { width: 112px; height: auto; margin-bottom: .5rem; }
.portada h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.01em; }
.portada p { margin: 0; color: var(--texto-2); }
.sello.ayuda { background: #e8f1fb; color: var(--marca); }
.sello.ayuda .excel { background: linear-gradient(135deg, var(--marca), #17a39b); }
h3 { margin: 1.5rem 0 .6rem; font-size: 1.02rem; }
.contacto {
  display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit;
  padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid #cfe0f3;
  background: linear-gradient(135deg, #eef5fd, #e8f6f4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.contacto:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(18, 103, 180, .18); }
.contacto strong { display: block; color: var(--marca); font-size: 1.05rem; }
.contacto small { color: var(--texto-2); }
.sobre {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--marca), #17a39b); color: #fff; font-size: 1.3rem;
}
.datos { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.datos li { padding: .7rem 1rem; border-radius: 12px; border-left: 4px solid var(--marca); background: #f3f7fc; }
.datos strong { display: block; }
.datos span { color: var(--texto-2); font-size: .92rem; }
.nota { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: 14px; background: #fff6df; border: 1px solid #f2dfa8; color: #6b4a00; font-size: .92rem; }
.pie { position: relative; z-index: 1; margin-top: 1.75rem; color: rgba(255, 255, 255, .75); font-size: .85rem; }
.pie a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.pie a:hover, .pie a:focus-visible { border-bottom-color: #fff; }

@media (prefers-color-scheme: dark) {
  :root { --texto: #e8eef8; --texto-2: #b8c4d8; --tarjeta: rgba(16, 28, 52, .9); --borde: rgba(255, 255, 255, .12); }
  .pasos li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
  .sello { background: rgba(33, 163, 102, .15); color: #6fdca2; }
  .datos li { background: rgba(255, 255, 255, .05); }
  .contacto { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
  .contacto strong { color: #7db8f0; }
  .nota { background: rgba(242, 196, 109, .12); border-color: rgba(242, 196, 109, .3); color: #f2c46d; }
}
@media (max-width: 560px) {
  .tarjeta { padding: 1.6rem 1.25rem 1.5rem; }
  .marca h1 { font-size: 1.5rem; }
}
