/* ==========================================================================
   StackFire — Landing Multi-Tenant (/plataforma)
   Estética enterprise premium, fondo oscuro, gradientes sutiles, diagramas SVG
   y animaciones por scroll (CSS + IntersectionObserver, ver multi-tenant.js).
   Todo el CSS está namespaced con .mt-* y vive solo en esta página.
   ========================================================================== */

.mt-body {
  --mt-bg: #000000;
  --mt-bg-soft: #060708;
  --mt-panel: #0c0d10;
  --mt-panel-2: #131419;
  --mt-border: rgba(255, 255, 255, 0.10);
  --mt-border-strong: rgba(255, 255, 255, 0.20);
  --mt-text: #ededed;
  --mt-text-dim: #a1a1aa;
  --mt-text-dim-2: #71717a;
  --mt-accent: #00dc82;
  --mt-accent-2: #00b76b;
  --mt-accent-3: #34d399;
  --mt-grad: linear-gradient(120deg, #00dc82, #00dc82);
  --mt-grad-soft: linear-gradient(120deg, rgba(0, 220, 130, 0.16), rgba(0, 220, 130, 0.16));
  --mt-max: 1180px;
  --mt-radius: 16px;
  --mt-ease: cubic-bezier(0.16, 1, 0.3, 1);

  margin: 0;
  background: var(--mt-bg);
  color: var(--mt-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mt-body *,
.mt-body *::before,
.mt-body *::after { box-sizing: border-box; }

.mt-body img { max-width: 100%; display: block; }
.mt-body a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.mt-container { width: 100%; max-width: var(--mt-max); margin: 0 auto; padding: 0 24px; }
.mt-section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.mt-section--tight { padding: clamp(48px, 7vw, 88px) 0; }

.mt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mt-text-dim);
  padding: 7px 14px; border: 1px solid var(--mt-border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.mt-eyebrow .mt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mt-accent); box-shadow: 0 0 12px 2px rgba(0, 220, 130, 0.7); }

.mt-h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600; margin: 18px 0 0;
}
.mt-lead { margin: 18px 0 0; font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--mt-text-dim); max-width: 60ch; }
.mt-section-head { max-width: 760px; }
.mt-section-head--center { margin: 0 auto; text-align: center; }
.mt-section-head--center .mt-lead { margin-left: auto; margin-right: auto; }

.mt-grad-text {
  background: var(--mt-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.mt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 560; font-size: 0.98rem; line-height: 1; cursor: pointer;
  padding: 14px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform 0.18s var(--mt-ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.mt-btn svg { width: 17px; height: 17px; }
.mt-btn.mt-btn-primary { background: #00dc82; color: #04130c; }
.mt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0, 220, 130, 0.45); }
.mt-btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--mt-text); border-color: var(--mt-border-strong); }
.mt-btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.mt-btn.mt-btn-dark { background: #000; color: #fff; border-color: var(--mt-border-strong); }
.mt-btn-dark:hover { transform: translateY(-2px); background: #0e0f13; border-color: var(--mt-text); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.mt-btn.mt-btn-grad { background: var(--mt-grad); color: #04130c; font-weight: 600; }
.mt-btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(0, 220, 130, 0.5); }
.mt-btn-lg { padding: 17px 30px; font-size: 1.04rem; }
.mt-link { color: var(--mt-text-dim); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.mt-link:hover { color: var(--mt-text); }

/* ---------- Nav ---------- */
.mt-nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0); backdrop-filter: blur(0px);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.mt-nav.is-stuck { background: rgba(5, 6, 8, 0.72); border-bottom-color: var(--mt-border); backdrop-filter: blur(14px) saturate(140%); }
.mt-nav-inner { max-width: var(--mt-max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.mt-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.mt-brand img { width: 128px; height: auto; }
.mt-logo-badge { width: 34px; height: 34px; border-radius: 9px; background: #000; border: 1px solid var(--mt-border-strong); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mt-logo-badge img { width: 22px; height: 22px; }
.mt-logo-word { font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--mt-text); }
.mt-nav-links { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.mt-nav-links a { font-size: 0.92rem; color: var(--mt-text-dim); font-weight: 500; transition: color 0.2s; }
.mt-nav-links a:hover { color: var(--mt-text); }
.mt-nav-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* ---------- Hero ---------- */
.mt-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.mt-hero-bg { position: absolute; inset: -10% -10% auto -10%; height: 760px; pointer-events: none; z-index: 0; }
.mt-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 50% -10%, rgba(255, 255, 255, 0.04), transparent 72%);
}
.mt-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(680px 520px at 50% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(680px 520px at 50% 26%, #000 0%, transparent 78%);
}
.mt-hero-inner { position: relative; z-index: 1; text-align: center; }
.mt-hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 640; margin: 22px auto 0; max-width: 17ch;
}
.mt-hero .mt-lead { margin: 22px auto 0; font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 62ch; }
.mt-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.mt-hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--mt-text-dim-2); }

/* Diagrama del hero */
.mt-hero-visual { position: relative; z-index: 1; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1040px; }
.mt-diagram { width: 100%; height: auto; display: block; overflow: visible; }

/* Estilos compartidos de diagramas SVG */
.mt-node-card { fill: #0e0f13; stroke: var(--mt-border-strong); }
.mt-node-core { fill: url(#mtCoreFill); stroke: rgba(0, 220, 130, 0.55); }
.mt-node-label { fill: #fafafa; font-weight: 600; font-family: inherit; }
.mt-node-sub { fill: var(--mt-text-dim); font-weight: 500; font-family: inherit; }
.mt-chip { fill: rgba(255, 255, 255, 0.04); stroke: var(--mt-border); }
.mt-chip-label { fill: #d4d4d8; font-family: inherit; font-weight: 500; }
.mt-wire { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.mt-wire-flow { fill: none; stroke: url(#mtWireGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 11; animation: mtDash 1.5s linear infinite; }
@keyframes mtDash { to { stroke-dashoffset: -36; } }
.mt-pulse { transform-box: fill-box; transform-origin: center; animation: mtPulse 3.4s ease-in-out infinite; }
@keyframes mtPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.mt-spark { fill: var(--mt-accent); filter: drop-shadow(0 0 6px rgba(0, 220, 130, 0.9)); }

/* ---------- Marquee de tenants (eyebrow del hero) ---------- */
.mt-strip { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--mt-border); border-bottom: 1px solid var(--mt-border); }
.mt-strip-inner { display: flex; align-items: center; gap: 14px; padding: 18px 24px; max-width: var(--mt-max); margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.mt-strip-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mt-text-dim-2); }
.mt-strip-items { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mt-strip-items span { font-size: 0.88rem; color: var(--mt-text-dim); padding: 6px 13px; border: 1px solid var(--mt-border); border-radius: 999px; }

/* ---------- Tenants (Sección 2) ---------- */
.mt-tenants-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.mt-tenant-card {
  position: relative; padding: 26px; border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden; transition: transform 0.3s var(--mt-ease), border-color 0.3s, box-shadow 0.3s;
}
.mt-tenant-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--mt-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s;
}
.mt-tenant-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.mt-tenant-card:hover::after { opacity: 0.65; }
.mt-tenant-top { display: flex; align-items: center; gap: 13px; }
.mt-tenant-badge {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; color: #0a0a0a;
}
.mt-tenant-name { font-weight: 600; font-size: 1.12rem; }
.mt-tenant-domain { font-size: 0.84rem; color: var(--mt-text-dim-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-tenant-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--mt-border); }
.mt-tenant-meta div { font-size: 0.86rem; color: var(--mt-text-dim); }
.mt-tenant-meta strong { display: block; color: var(--mt-text); font-size: 1.18rem; font-weight: 650; letter-spacing: -0.01em; }
.mt-tenant-mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mt-tenant-mods span { font-size: 0.74rem; color: var(--mt-text-dim); padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); }

/* Aislamiento (pills) */
.mt-iso-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; justify-content: center; }
.mt-iso-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--mt-text-dim); padding: 9px 16px; border: 1px solid var(--mt-border); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }
.mt-iso-pill svg { width: 15px; height: 15px; color: var(--mt-accent); }

/* ---------- Arquitectura (Sección 3) ---------- */
.mt-arch { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.mt-arch-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.mt-arch-list li { display: flex; gap: 14px; align-items: flex-start; }
.mt-arch-list .mt-ai { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--mt-border); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.03); }
.mt-arch-list .mt-ai svg { width: 17px; height: 17px; color: var(--mt-accent); }
.mt-arch-list h4 { margin: 2px 0 2px; font-size: 1.02rem; font-weight: 600; }
.mt-arch-list p { margin: 0; font-size: 0.92rem; color: var(--mt-text-dim); }
.mt-arch-visual { position: relative; padding: 22px; border: 1px solid var(--mt-border); border-radius: 20px; background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%); }
.mt-flow-draw { stroke-dasharray: var(--len, 200); stroke-dashoffset: var(--len, 200); }
.is-visible .mt-flow-draw { animation: mtDraw 1.1s var(--mt-ease) forwards; }
@keyframes mtDraw { to { stroke-dashoffset: 0; } }

/* ---------- Módulos (Sección 4) ---------- */
.mt-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.mt-feature {
  position: relative; padding: 24px; border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  background: var(--mt-panel); transition: transform 0.3s var(--mt-ease), border-color 0.3s, background 0.3s;
  min-height: 178px; display: flex; flex-direction: column;
}
.mt-feature:hover { transform: translateY(-4px); border-color: var(--mt-border-strong); background: var(--mt-panel-2); }
.mt-feature-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--mt-grad-soft); border: 1px solid var(--mt-border); margin-bottom: 16px; }
.mt-feature-ic svg { width: 21px; height: 21px; color: #fff; }
.mt-feature h3 { margin: 0 0 7px; font-size: 1.04rem; font-weight: 600; letter-spacing: -0.01em; }
.mt-feature p { margin: 0; font-size: 0.89rem; color: var(--mt-text-dim); line-height: 1.55; }

/* ---------- Activar tenants (Sección 5) ---------- */
.mt-steps { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.mt-steps-list { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: mtstep; display: grid; gap: 8px; }
.mt-steps-list li { position: relative; display: flex; gap: 16px; padding: 18px; border: 1px solid var(--mt-border); border-radius: 13px; background: rgba(255, 255, 255, 0.018); transition: border-color 0.3s, background 0.3s; }
.mt-steps-list li:hover { border-color: var(--mt-border-strong); background: rgba(255, 255, 255, 0.04); }
.mt-steps-list .mt-step-n { counter-increment: mtstep; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--mt-grad); color: #0a0a0a; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.mt-steps-list .mt-step-n::before { content: counter(mtstep); }
.mt-steps-list h4 { margin: 3px 0 3px; font-size: 1rem; font-weight: 600; }
.mt-steps-list p { margin: 0; font-size: 0.9rem; color: var(--mt-text-dim); }

/* Terminal de aprovisionamiento */
.mt-terminal { border: 1px solid var(--mt-border); border-radius: 14px; background: #08090c; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.mt-terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--mt-border); background: rgba(255, 255, 255, 0.02); }
.mt-terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2b30; display: inline-block; }
.mt-terminal-bar i:nth-child(1) { background: #ff5f57; } .mt-terminal-bar i:nth-child(2) { background: #febc2e; } .mt-terminal-bar i:nth-child(3) { background: #28c840; }
.mt-terminal-title { margin-left: 8px; font-size: 0.8rem; color: var(--mt-text-dim-2); font-family: ui-monospace, monospace; }
.mt-terminal-body { padding: 18px 18px 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; line-height: 1.85; }
.mt-terminal-body .ln { display: block; opacity: 0; transform: translateY(4px); }
.is-visible .mt-terminal-body .ln { animation: mtLine 0.4s var(--mt-ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes mtLine { to { opacity: 1; transform: none; } }
.mt-tc-dim { color: var(--mt-text-dim-2); } .mt-tc-ok { color: #28c840; } .mt-tc-acc { color: var(--mt-accent); } .mt-tc-vio { color: var(--mt-accent-2); } .mt-tc-sky { color: var(--mt-accent-3); }

/* ---------- Dashboard / Control (Sección 6) ---------- */
.mt-dash { margin-top: clamp(40px, 6vw, 64px); border: 1px solid var(--mt-border); border-radius: 18px; overflow: hidden; background: var(--mt-panel); box-shadow: 0 40px 120px -50px rgba(0, 0, 0, 0.95); }
.mt-dash-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--mt-border); background: rgba(255, 255, 255, 0.02); }
.mt-dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2b30; }
.mt-dash-url { margin: 0 auto; font-size: 0.8rem; color: var(--mt-text-dim-2); font-family: ui-monospace, monospace; padding: 5px 14px; border: 1px solid var(--mt-border); border-radius: 7px; }
.mt-dash-body { padding: clamp(18px, 3vw, 28px); }
.mt-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mt-kpi { padding: 18px; border: 1px solid var(--mt-border); border-radius: 13px; background: rgba(255, 255, 255, 0.02); }
.mt-kpi .mt-kpi-label { font-size: 0.78rem; color: var(--mt-text-dim); display: flex; align-items: center; gap: 7px; }
.mt-kpi .mt-kpi-label svg { width: 14px; height: 14px; color: var(--mt-accent); }
.mt-kpi .mt-kpi-val { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 680; letter-spacing: -0.02em; margin-top: 8px; }
.mt-kpi .mt-kpi-trend { font-size: 0.76rem; color: #28c840; margin-top: 4px; }
.mt-dash-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; }
.mt-panelcard { border: 1px solid var(--mt-border); border-radius: 13px; background: rgba(255, 255, 255, 0.015); overflow: hidden; }
.mt-panelcard h5 { margin: 0; padding: 15px 18px; font-size: 0.86rem; font-weight: 600; border-bottom: 1px solid var(--mt-border); color: var(--mt-text-dim); }
.mt-table { width: 100%; border-collapse: collapse; }
.mt-table th, .mt-table td { text-align: left; padding: 12px 18px; font-size: 0.85rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.mt-table th { color: var(--mt-text-dim-2); font-weight: 500; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mt-table td { color: var(--mt-text-dim); }
.mt-table tr:last-child td { border-bottom: none; }
.mt-table .mt-org { color: var(--mt-text); font-weight: 600; display: flex; align-items: center; gap: 9px; }
.mt-table .mt-org b { width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; color: #0a0a0a; }
.mt-tag-ok { color: #28c840; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 6px; }
.mt-tag-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; }
.mt-bars { padding: 16px 18px; display: grid; gap: 13px; }
.mt-bar-row { display: grid; gap: 6px; }
.mt-bar-row .mt-bar-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--mt-text-dim); }
.mt-bar-track { height: 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.mt-bar-fill { height: 100%; border-radius: 5px; background: var(--mt-grad); width: 0; }
.is-visible .mt-bar-fill { transition: width 1.1s var(--mt-ease); width: var(--w, 50%); }

/* ---------- Tech stack (Sección 7) ---------- */
.mt-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.mt-tech-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--mt-border); border-radius: 13px; background: var(--mt-panel); transition: border-color 0.3s, transform 0.3s var(--mt-ease), background 0.3s; }
.mt-tech-item:hover { border-color: var(--mt-border-strong); transform: translateY(-3px); background: var(--mt-panel-2); }
.mt-tech-glyph { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--mt-border); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.03); }
.mt-tech-glyph svg { width: 22px; height: 22px; }
.mt-tech-item b { font-weight: 600; font-size: 0.98rem; display: block; }
.mt-tech-item span { font-size: 0.8rem; color: var(--mt-text-dim-2); }

/* ---------- CTA final ---------- */
.mt-cta { position: relative; text-align: center; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.mt-cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(700px 360px at 50% 120%, rgba(255, 255, 255, 0.035), transparent 70%); }
.mt-cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.mt-cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 640; }
.mt-cta p { margin: 20px auto 0; color: var(--mt-text-dim); font-size: clamp(1.02rem, 1.7vw, 1.22rem); max-width: 54ch; }
.mt-cta-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.mt-footer { border-top: 1px solid var(--mt-border); padding: 48px 0 40px; }
.mt-footer-inner { max-width: var(--mt-max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mt-footer-brand { display: flex; align-items: center; gap: 14px; }
.mt-footer-brand img { width: 120px; height: auto; }
.mt-footer-copy { font-size: 0.85rem; color: var(--mt-text-dim-2); }
.mt-footer-links { display: flex; gap: 22px; }
.mt-footer-links a { font-size: 0.88rem; color: var(--mt-text-dim); transition: color 0.2s; }
.mt-footer-links a:hover { color: var(--mt-text); }

/* ---------- Reveal on scroll ---------- */
.mt-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--mt-ease), transform 0.7s var(--mt-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.mt-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .mt-arch, .mt-steps { grid-template-columns: 1fr; }
  .mt-features { grid-template-columns: repeat(2, 1fr); }
  .mt-tech { grid-template-columns: repeat(2, 1fr); }
  .mt-dash-split { grid-template-columns: 1fr; }
  .mt-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .mt-nav-links { display: none; }
  .mt-tenants-grid { grid-template-columns: 1fr; }
  .mt-features { grid-template-columns: 1fr; }
  .mt-tech { grid-template-columns: 1fr; }
  .mt-kpis { grid-template-columns: 1fr; }
  .mt-dash-body { overflow-x: auto; }
  .mt-table { min-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-body * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .mt-reveal { opacity: 1; transform: none; }
  .mt-status-dot { animation: none; }
}

/* ==========================================================================
   Decoración del hero: oleaje de puntos, orillas y estado
   ========================================================================== */

/* Oleaje de puntos confinado al hero */
.mt-fx-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; }
.mt-guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: flex; justify-content: center; }
.mt-guides::before {
  content: ""; width: min(var(--mt-max), calc(100% - 48px)); height: 100%;
  border-left: 1px solid var(--mt-border); border-right: 1px solid var(--mt-border);
}
.mt-main, .mt-nav, .mt-footer { position: relative; z-index: 1; }
.mt-grid-overlay { display: none; } /* el campo de puntos reemplaza la rejilla estática */

/* Cruceta "+" reutilizable (orillas) */
.mt-cross { position: absolute; width: 13px; height: 13px; pointer-events: none; }
.mt-cross::before, .mt-cross::after { content: ""; position: absolute; background: var(--mt-text-dim-2); opacity: 0.85; }
.mt-cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.mt-cross::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* Marco del hero (caja con crucetas en las esquinas) */
.mt-hero-frame {
  position: absolute; z-index: 1; pointer-events: none;
  left: max(24px, calc((100% - var(--mt-max)) / 2 + 24px));
  right: max(24px, calc((100% - var(--mt-max)) / 2 + 24px));
  top: 72px; bottom: 28px; border: 1px solid var(--mt-border);
}
.mt-cross--tl { left: -7px; top: -7px; }
.mt-cross--tr { right: -7px; top: -7px; }
.mt-cross--bl { left: -7px; bottom: -7px; }
.mt-cross--br { right: -7px; bottom: -7px; }

/* Estado "All systems normal." (abajo-izquierda) */
.mt-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: var(--mt-max); margin: 28px auto 0; padding: 20px 24px 0; border-top: 1px solid var(--mt-border);
}
.mt-status {
  display: flex; align-items: center; gap: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--mt-text-dim);
}
.mt-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mt-accent);
  box-shadow: 0 0 10px 1px rgba(0, 220, 130, 0.85); animation: mtPulseDot 2.2s ease-in-out infinite;
}
@keyframes mtPulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Conmutador de tema (abajo-derecha) */
.mt-theme-toggle {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border: 1px solid var(--mt-border-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.mt-theme-toggle button {
  width: 30px; height: 30px; padding: 0; border: 0; cursor: pointer;
  background: transparent; border-radius: 999px; color: var(--mt-text-dim);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s;
}
.mt-theme-toggle button:hover { color: var(--mt-text); }
.mt-theme-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); color: var(--mt-text); }
.mt-theme-toggle svg { width: 15px; height: 15px; }

/* ───────────────────────── Modo claro (día) ───────────────────────── */
.mt-body.mt-theme-light {
  --mt-bg: #ffffff;
  --mt-bg-soft: #f5f5f6;
  --mt-panel: #ffffff;
  --mt-panel-2: #f5f5f7;
  --mt-border: rgba(9, 9, 11, 0.12);
  --mt-border-strong: rgba(9, 9, 11, 0.20);
  --mt-text: #0a0a0b;
  --mt-text-dim: #52525b;
  --mt-text-dim-2: #8a8a93;
  --mt-accent: #00a866;
  --mt-accent-2: #00935a;
  --mt-grad: linear-gradient(120deg, #00b76b, #00b76b);
  --mt-grad-soft: linear-gradient(120deg, rgba(0, 168, 102, 0.14), rgba(0, 168, 102, 0.14));
}
.mt-body.mt-theme-light .mt-tenant-card,
.mt-body.mt-theme-light .mt-feature,
.mt-body.mt-theme-light .mt-kpi,
.mt-body.mt-theme-light .mt-steps-list li,
.mt-body.mt-theme-light .mt-tech-item { background: #fbfbfc; }
.mt-body.mt-theme-light .mt-eyebrow,
.mt-body.mt-theme-light .mt-btn-ghost,
.mt-body.mt-theme-light .mt-strip-items span,
.mt-body.mt-theme-light .mt-iso-pill { background: rgba(9, 9, 11, 0.03); }
.mt-body.mt-theme-light .mt-bar-track { background: rgba(9, 9, 11, 0.08); }
.mt-body.mt-theme-light .mt-btn.mt-btn-primary { background: var(--mt-accent); }
.mt-body.mt-theme-light .mt-theme-toggle { background: rgba(255, 255, 255, 0.72); }
.mt-body.mt-theme-light .mt-theme-toggle button[aria-pressed="true"] { background: rgba(9, 9, 11, 0.08); }

