:root {
  --bg: #0d1015;
  --bg2: #11151c;
  --panel: #141a22;
  --panel2: #1a212b;
  --border: #232c38;
  --border-soft: #1c242f;
  --text: #eaf0f7;
  --muted: #7e8b9c;
  --soft: #b6c1d0;
  --accent: #3b82f6;
  --accent-2: #2563eb;
  --green: #46d27e;
  --amber: #fbbf24;
  --ink: #090b10;
  --font-sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Etiqueta tipo instrumento */
.label,
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.label .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(70, 210, 126, 0.7);
}

/* ---------- Topbar ---------- */
.topbar {
  align-items: center;
  background: rgba(13, 16, 21, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px var(--pad);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 7px;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text);
}

nav a.navCta {
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 6px;
}

nav a.navCta:hover {
  border-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: clamp(56px, 9vh, 104px) var(--pad) clamp(48px, 8vh, 80px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 30% 0;
  background:
    linear-gradient(rgba(126, 139, 156, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 139, 156, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(120% 80% at 30% 20%, black, transparent 75%);
  pointer-events: none;
}

.heroCopy,
.controlRoom {
  position: relative;
  min-width: 0;
}

h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 22px;
  max-width: 16ch;
}

.lead {
  color: var(--soft);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  margin: 0;
  max-width: 54ch;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.22);
}

.btn.primary:hover {
  background: var(--accent-2);
}

.btn.ghost {
  color: var(--soft);
  border-color: var(--border);
}

.btn.ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

.btn.wide {
  width: 100%;
}

.trustRow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.trustRow li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trustRow li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

/* ---------- Mockup / control room ---------- */
.controlRoom {
  align-self: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 18px;
}

.monitorTop {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  padding-bottom: 14px;
}

.monitorTop strong {
  font-size: 14px;
  font-weight: 600;
}

.monitorTop .live {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-left: auto;
}

.statusDot {
  animation: pulse 1.8s ease-in-out infinite;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(70, 210, 126, 0.6);
  height: 9px;
  width: 9px;
  flex: none;
}

@keyframes pulse {
  50% { opacity: 0.4; }
}

.metricGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0;
}

.metricGrid div {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px;
}

.metricGrid .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.metricGrid strong {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 9px 0 5px;
}

.metricGrid strong i {
  font-style: normal;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

.metricGrid small {
  color: var(--muted);
  font-size: 12px;
}

.chart {
  align-items: end;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(10, 1fr);
  height: 156px;
  margin-bottom: 12px;
  padding: 16px;
  background: var(--bg);
}

.chart span {
  background: linear-gradient(180deg, var(--accent), rgba(59, 130, 246, 0.35));
  border-radius: 3px 3px 0 0;
  min-height: 14px;
}

.alertStrip {
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.alertStrip span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.alertStrip strong {
  color: #ffe7a3;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Statement ---------- */
.statement {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg2);
  margin: 0 auto;
  max-width: 100%;
}

.statement {
  padding: clamp(56px, 8vw, 96px) var(--pad);
}

.statement > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.bigStatement {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin: 0 auto 20px;
  color: var(--text);
}

.bigStatement em {
  font-style: normal;
  color: var(--amber);
}

.statementFollow {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--soft);
  margin: 0 auto;
  max-width: 720px;
}

/* ---------- Secciones genéricas ---------- */
.section,
.pilot,
.split,
.proof,
.contact {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: clamp(64px, 9vw, 110px) var(--pad);
}

.sectionHead,
.pilotIntro,
.splitHead,
.proofText,
.contactCopy {
  max-width: 720px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.sub {
  color: var(--soft);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Features ---------- */
.featureGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.featureGrid article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.featureGrid article:hover {
  border-color: #2f3c4e;
  transform: translateY(-3px);
}

.featureGrid .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.featureGrid h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
}

.featureGrid p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Pilot ---------- */
.pilot {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: grid;
  gap: 4px;
  padding: 18px 18px 18px 64px;
  position: relative;
}

.steps li strong {
  font-size: 15.5px;
  font-weight: 600;
}

.steps li span {
  color: var(--muted);
  font-size: 14px;
}

.steps li::before {
  align-items: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 8px;
  color: var(--accent);
  content: counter(step);
  counter-increment: step;
  display: flex;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  left: 18px;
  position: absolute;
  top: 18px;
  width: 32px;
}

/* ---------- Split / cumplimiento ---------- */
.split {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.copyBlock {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.copyBlock p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.copyBlock p:last-child {
  margin-bottom: 0;
}

/* ---------- Proof ---------- */
.proof {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.proofStats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.proofStats div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
}

.proofStats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.proofStats span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- FAQ ---------- */
.faqGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.faqItem {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 24px;
}

.faqItem h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text);
}

.faqItem p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  align-items: start;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.contactPanel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.contactPanel small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.siteFoot {
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 28px var(--pad) 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero,
  .pilot,
  .split,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .featureGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faqGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  .heroActions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .metricGrid,
  .featureGrid,
  .proofStats {
    grid-template-columns: 1fr;
  }

  .siteFoot {
    flex-direction: column;
    gap: 6px;
  }
}
