/* =========================================================
   LUCIANODALLAVIA.NET · Pantalla de bienvenida de dominio
   ========================================================= */
:root {
  --bg: #050b18;
  --bg-2: #0a1428;
  --surface: rgba(15, 27, 52, .62);
  --surface-2: rgba(20, 36, 68, .7);
  --line: rgba(148, 178, 230, .14);
  --line-2: rgba(148, 178, 230, .24);
  --text: #e8eef9;
  --muted: #8b9bb8;
  --cyan: #06b6d4;
  --cyan-2: #22d3ee;
  --blue: #3b82f6;
  --ok: #34d399;
  --radius: 16px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(6, 182, 212, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(59, 130, 246, .12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.ok { color: var(--ok); }

#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .55; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, section, footer { position: relative; z-index: 1; }

/* ---------- Topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(5, 11, 24, .45);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
  color: #04111d;
  background: linear-gradient(135deg, var(--cyan-2), var(--blue));
  box-shadow: 0 6px 24px -6px rgba(6, 182, 212, .6);
}
.brand__name { font-weight: 700; letter-spacing: 1.6px; font-size: 15px; }
.brand__name b { color: var(--cyan-2); font-weight: 700; }
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; color: #c9f3e2;
  border: 1px solid rgba(52, 211, 153, .3);
  background: rgba(52, 211, 153, .08);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 80%,100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
.clock { font-size: 13px; color: var(--muted); }

/* ---------- Layout ---------- */
.shell {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px) 40px;
  max-width: 1440px; margin: 0 auto;
}

/* ---------- Hero ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--cyan-2);
}
.hero h1 {
  margin: 18px 0 28px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02; font-weight: 800; letter-spacing: -2px;
}
.grad {
  background: linear-gradient(90deg, #fff 0%, var(--cyan-2) 45%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.domain {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 50px -30px rgba(6,182,212,.5);
}
.domain__label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.domain__value { font-size: clamp(17px, 2vw, 22px); color: #fff; word-break: break-all; }
.domain__value::after { content: "▍"; color: var(--cyan-2); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.domain__badge {
  font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 6px;
  color: var(--ok); border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.08);
}
.domain__badge.warn { color: #fbbf24; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.lead { margin: 26px 0 30px; max-width: 640px; font-size: 17px; line-height: 1.65; color: #b8c5dc; }
.lead strong { color: #fff; font-weight: 600; }

/* ---------- Panel de pasos ---------- */
.panel {
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.panel__head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.bar { height: 4px; border-radius: 4px; background: rgba(148,178,230,.12); overflow: hidden; }
.bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px var(--cyan);
  transition: width .6s cubic-bezier(.2,.8,.2,1);
}
.steps { list-style: none; margin-top: 18px; display: grid; gap: 4px; }
.steps li {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 4px; font-size: 14.5px; color: var(--muted);
  border-bottom: 1px dashed rgba(148,178,230,.08);
  transition: color .3s;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
}
.steps li .st { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.steps li.run { color: var(--text); }
.steps li.run::before { border-color: var(--cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.run .st { color: var(--cyan-2); }
.steps li.done { color: var(--text); }
.steps li.done::before {
  border-color: var(--ok);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052016' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.steps li.done .st { color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Botones ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn--primary {
  color: #03121c;
  background: linear-gradient(135deg, var(--cyan-2), var(--cyan));
  box-shadow: 0 12px 30px -10px rgba(6,182,212,.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(6,182,212,.85); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(6,182,212,.08); }

/* ---------- Lateral ---------- */
.side { display: grid; gap: 20px; align-content: start; }
.card {
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.card--status { background: linear-gradient(180deg, rgba(6,182,212,.08), transparent 60%), var(--surface); border-color: rgba(6,182,212,.25); }
.card__title { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.kv { display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { color: #fff; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.spark { margin-top: 18px; height: 60px; }
.spark svg { width: 100%; height: 100%; display: block; }
.spark__legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.next { list-style: none; display: grid; gap: 16px; }
.next li { display: flex; gap: 14px; }
.next .n { font-family: var(--mono); font-size: 12px; color: var(--cyan-2); padding-top: 2px; }
.next b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.next small { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.terminal { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: rgba(2, 6, 14, .82); }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.terminal__bar i:nth-child(1) { background: #f87171; } .terminal__bar i:nth-child(2) { background: #fbbf24; } .terminal__bar i:nth-child(3) { background: #34d399; }
.terminal__bar span { margin-left: 8px; font-size: 11.5px; color: var(--muted); }
.terminal pre { padding: 14px 16px; height: 184px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12px; line-height: 1.7; color: #9fb3d1; white-space: pre-wrap; }
.terminal pre .t { color: #475569; } .terminal pre .c { color: var(--cyan-2); } .terminal pre .g { color: var(--ok); }

/* ---------- Cifras ---------- */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1440px; margin: 20px auto 0;
  padding: 0 clamp(20px, 5vw, 64px);
}
.stat {
  padding: 30px 20px; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -1px; color: #fff; }
.stat__lbl { display: block; margin-top: 6px; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Servicios ---------- */
.services { max-width: 1440px; margin: 0 auto; padding: clamp(60px, 7vw, 96px) clamp(20px, 5vw, 64px); }
.services__head h2 { margin-top: 12px; font-size: clamp(24px, 2.9vw, 40px); font-weight: 700; letter-spacing: -1px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

/* ---------- Banner destacado (Marketing Digital) ---------- */
.feature {
  position: relative; margin-top: 40px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(6,182,212,.12), transparent 70%),
    linear-gradient(180deg, rgba(6,182,212,.05), transparent 50%),
    var(--surface);
  border: 1px solid rgba(6,182,212,.25);
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  opacity: .7;
}
.feature__top { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px 30px; align-items: start; }
.feature__ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  color: var(--cyan-2); background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.3);
}
.feature__ic svg { width: 24px; height: 24px; }
.feature__intro h3 { margin: 8px 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.6px; }
.feature__lead { font-size: 14px; color: var(--muted); }
.feature__lead b { color: #fff; font-weight: 600; }
.feature__desc { font-size: 15px; line-height: 1.65; color: #b8c5dc; padding-left: 28px; border-left: 1px solid var(--line); }

.feature__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.feature__item {
  padding: 20px; border-radius: 12px;
  background: rgba(5, 11, 24, .45); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, background .3s;
}
.feature__item:hover { border-color: rgba(6,182,212,.35); transform: translateY(-3px); background: rgba(6,182,212,.05); }
.feature__item .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--cyan-2); margin-bottom: 12px; }
.feature__item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.feature__item small { display: block; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.feature__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
}
.feature__foot p { font-size: 14px; color: var(--muted); max-width: 820px; line-height: 1.6; }
.feature__foot p b { color: #fff; font-weight: 600; }
.feature__link {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
.feature__link span { color: var(--cyan-2); transition: transform .2s; }
.feature__link:hover { border-color: var(--cyan); background: rgba(6,182,212,.08); }
.feature__link:hover span { transform: translateX(4px); }
.svc {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px 160px at var(--mx, 50%) var(--my, 0%), rgba(6,182,212,.16), transparent 70%);
  transition: opacity .3s;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(6,182,212,.35); }
.svc:hover::after { opacity: 1; }
.svc__ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 18px; color: var(--cyan-2);
  background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.25);
}
.svc h3 { margin: 18px 0 8px; font-size: 17px; font-weight: 600; }
.svc p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.foot {
  display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center;
  max-width: 1440px; margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand b { display: block; letter-spacing: 1.4px; font-size: 14px; }
.foot__brand small { color: var(--muted); font-size: 13px; }
.foot__links { display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); }
.foot__links a:hover { color: var(--cyan-2); }
.foot__copy { grid-column: 1 / -1; color: #5b6b88; font-size: 12px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .shell { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .services__head h2 { white-space: normal; }
  .feature__top { grid-template-columns: auto 1fr; }
  .feature__desc { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .feature__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar .pill, .topbar .clock { display: none; }
  .brand__name { font-size: 13px; letter-spacing: 1px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-left: 0; }
  .grid { grid-template-columns: 1fr; }
  .feature__top { grid-template-columns: 1fr; }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__foot { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .foot__links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
