:root {
  --ink: #edf5ff;
  --muted: #98aabd;
  --line: rgba(148, 180, 214, .16);
  --paper: #07111e;
  --white: #ffffff;
  --navy: #10243a;
  --navy-2: #081726;
  --blue: #2388f2;
  --blue-2: #65b4ff;
  --green: #27d876;
  --amber: #ffbe40;
  --red: #ff5757;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(35,136,242,.10), transparent 34%),
    radial-gradient(circle at 88% 44%, rgba(39,216,118,.07), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(77,111,161,.08), transparent 42%),
    var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: -48px;
  left: 16px;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background .2s ease, box-shadow .2s ease, padding .2s ease;
}

.site-header.is-solid {
  background: rgba(11, 29, 51, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #3b97ec, #1b5d9d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 4px;
  color: rgba(232, 242, 255, .78);
  font-size: 12px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(8, 20, 36, .34);
}

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(241, 247, 255, .86);
  font-size: 14px;
}

.nav a:hover {
  background: rgba(255,255,255,.12);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #0f2237;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(8, 20, 36, .34);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MODIFICACIÓN: Fondo de la sección Hero ─── */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  /* NUEVO FONDO: Gradientes de color + imagen proporcionada */
  background-image:
    /* Gradientes decorativos para dar color y profundidad en los bordes */
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(35, 136, 242, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(39, 216, 118, 0.1), transparent 50%),
    /* Capa oscura superpuesta para asegurar la legibilidad del texto blanco */
    linear-gradient(rgba(10, 20, 32, 0.7), rgba(10, 20, 32, 0.7)),
    /* La imagen proporcionada como fondo principal - AJUSTA LA RUTA AQUÍ */
    url("cap3.avif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* Asegura que la imagen cubra todo el espacio sin deformarse */
}

/* El resto del código CSS permanece igual */
/* ... */

/* Viñeta sutil para encuadrar el contenido */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 28% 50%, transparent 30%, rgba(7, 18, 32, .45) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Grid / mesh decorativa */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 136, 242, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 136, 242, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, rgba(0,0,0,.45), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, rgba(0,0,0,.45), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Blob decorativo sutil detrás del contenido */
.hero .hero-content::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -60px;
  left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 136, 242, .18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Degradado inferior hacia el body */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(0deg, var(--paper), rgba(7,17,30,0));
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  min-width: 0;
  margin-left: clamp(20px, 6vw, 96px);
  padding-top: 60px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 124px);
  line-height: .88;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 21px;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(238, 246, 255, .9);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #32a0ff, #1476df);
  box-shadow: 0 16px 34px rgba(35, 136, 242, .32);
}

.btn-secondary {
  color: #f4f8ff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
}

.btn-outline {
  color: var(--navy);
  border: 1px solid #b9c8d7;
  background: #fff;
}

.btn {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(35, 136, 242, .42);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.18);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(35, 136, 242, .18);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
  max-width: 660px;
}

.hero-facts div {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(8, 21, 37, .48);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  color: #fff;
  font-weight: 900;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: rgba(229, 239, 250, .72);
  font-size: 13px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -36px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(144, 180, 218, .13);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(17, 35, 54, .96), rgba(10, 24, 40, .96));
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 116px) 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ── Dashboard Live Replica ── */
.dashboard-live {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  background: #0d1b2a;
  box-shadow:
    0 24px 80px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
  font-size: 13px;
  color: #c8d6e5;
}

/* Sidebar */
.dash-sidebar {
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  background: linear-gradient(180deg, #0f2237 0%, #0b1a2b 100%);
  border-right: 1px solid rgba(255,255,255,.06);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.dash-brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #3b97ec, #1b5d9d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(35,136,242,.35);
}

.dash-brand-text strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
}

.dash-brand-text small {
  display: block;
  margin-top: 3px;
  color: rgba(200,214,229,.55);
  font-size: 10px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(200,214,229,.65);
  font-size: 13px;
  transition: background .2s, color .2s;
  cursor: default;
}

.dash-nav-link:hover {
  background: rgba(255,255,255,.05);
  color: rgba(200,214,229,.9);
}

.dash-nav-link.active {
  background: linear-gradient(135deg, rgba(35,136,242,.18), rgba(35,136,242,.08));
  color: var(--blue-2);
  font-weight: 600;
}

.dash-nav-link svg {
  flex-shrink: 0;
  opacity: .6;
}

.dash-nav-link.active svg {
  opacity: 1;
}

.dash-version {
  margin-top: auto;
  padding-top: 16px;
  color: rgba(200,214,229,.25);
  font-size: 11px;
}

/* Dash Main */
.dash-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d1b2a 0%, #101f30 100%);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.dash-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.dash-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(200,214,229,.8);
  font-size: 13px;
  font-weight: 600;
}

/* Stats Cards */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dash-stat-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s, background .2s, box-shadow .2s;
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.055);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.dash-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dash-stat-label {
  font-size: 11.5px;
  color: rgba(200,214,229,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
}

.dash-stat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.dash-stat-icon.blue {
  background: rgba(35,136,242,.12);
  color: var(--blue-2);
}

.dash-stat-icon.green {
  background: rgba(39,216,118,.12);
  color: var(--green);
}

.dash-stat-icon.red {
  background: rgba(255,87,87,.12);
  color: var(--red);
}

.dash-stat-icon.amber {
  background: rgba(255,190,64,.12);
  color: var(--amber);
}

.dash-stat-value {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.dash-stat-value.money {
  font-size: 22px;
}

.dash-stat-value small {
  font-size: 15px;
  font-weight: 600;
  opacity: .5;
}

/* Progress Bars */
.dash-stat-bar {
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.dash-stat-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

.dash-stat-bar.blue span { background: linear-gradient(90deg, #2388f2, #65b4ff); }
.dash-stat-bar.green span { background: linear-gradient(90deg, #1fb866, #4aeaa0); }
.dash-stat-bar.red span { background: linear-gradient(90deg, #e04545, #ff7b7b); }
.dash-stat-bar.amber span { background: linear-gradient(90deg, #e8a820, #ffd060); }

/* Accesos Table */
.dash-accesos {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
}

.dash-accesos-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.dash-accesos-title svg {
  opacity: .45;
}

.dash-accesos-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-acceso-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .15s;
}

.dash-acceso-row:hover {
  background: rgba(255,255,255,.035);
}

.dash-acceso-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.dash-acceso-avatar.green { background: linear-gradient(135deg, #1fb866, #27d876); }
.dash-acceso-avatar.red   { background: linear-gradient(135deg, #d63e3e, #ff5757); }
.dash-acceso-avatar.amber { background: linear-gradient(135deg, #d49a18, #ffbe40); }

.dash-acceso-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-acceso-name {
  color: #e8f0fa;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-acceso-dni {
  color: rgba(200,214,229,.4);
  font-size: 11px;
  margin-top: 2px;
}

.dash-acceso-time {
  color: rgba(200,214,229,.35);
  font-size: 11px;
  white-space: nowrap;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.dash-badge.green {
  background: rgba(39,216,118,.12);
  color: #4aeaa0;
}

.dash-badge.red {
  background: rgba(255,87,87,.12);
  color: #ff7b7b;
}

.dash-badge.amber {
  background: rgba(255,190,64,.12);
  color: #ffd060;
}

/* Dashboard responsive */
@media (max-width: 980px) {
  .dashboard-live {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dash-stats-row {
    grid-template-columns: 1fr;
  }

  .dash-main {
    padding: 16px 14px 18px;
  }

  .dash-stat-value {
    font-size: 22px;
  }

  .dash-stat-value.money {
    font-size: 18px;
  }

  .dash-acceso-row {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .dash-acceso-time {
    display: none;
  }

  .dash-title {
    font-size: 16px;
  }
}

.workflow,
.feature-grid,
.plans {
  display: grid;
  gap: 18px;
}

.workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
  padding: 40px;
  border-radius: 24px;
}

.workflow article,
.feature-grid article,
.plan,
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 36, 58, .06);
}

.workflow article {
  padding: 24px;
}

.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #0d5a34;
  background: #dff9e9;
  font-weight: 900;
  font-size: 12px;
}

.workflow p,
.feature-grid p,
.plan p,
.faq p,
.access-copy p,
.final-cta p {
  color: var(--muted);
  line-height: 1.58;
}

.access-section {
  position: relative;
  display: grid;
  gap: 30px;
}

/* Blob decorativo en sección de acceso */
.access-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  bottom: -40px;
  right: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 136, 242, .06), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.access-copy {
  max-width: 700px;
}

.access-examples {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.access-example {
  margin: 0;
  overflow: hidden;
  border: 1px solid #bfd0df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 36, 58, .10);
}

.access-example img {
  display: block;
  width: 100%;
  aspect-ratio: 728 / 406;
  object-fit: cover;
}

.access-example figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: #233140;
  font-size: 14px;
  font-weight: 800;
}

.access-example figcaption span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.access-example.is-approved figcaption span { background: #27d876; }
.access-example.is-warning figcaption span { background: #ffb72c; }
.access-example.is-rejected figcaption span { background: #ff5157; }

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #233140;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #dff9e9;
}

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

.feature-grid article {
  padding: 24px;
}

.features-section {
  position: relative;
  padding-bottom: 10px;
}

/* Blob decorativo sutil en sección de funciones */
.features-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: 60px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 216, 118, .08), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.plans-section {
  width: 100%;
  max-width: none;
  padding: clamp(76px, 8vw, 120px) clamp(20px, 4vw, 64px);
  margin-top: 88px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 18%, rgba(39,216,118,.20), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255,190,64,.20), transparent 26%),
    radial-gradient(circle at 50% 90%, rgba(35,136,242,.15), transparent 40%),
    linear-gradient(135deg, #142a3f, #0b1d33 55%, #102b35);
}

.plans-section .section-heading {
  color: #fff;
}

.plans-section .section-heading p:not(.eyebrow) {
  color: rgba(234, 243, 252, .76);
}

.plans {
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 28px;
  color: var(--ink);
}

.plan.featured {
  border-color: rgba(39,216,118,.8);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
  transform: translateY(-12px);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0d5a34;
  background: #dff9e9;
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 14px 0 8px;
  color: var(--navy) !important;
  font-size: 32px;
  font-weight: 900;
}

.plan ul {
  display: grid;
  gap: 9px;
  padding-left: 19px;
  margin: 22px 0 26px;
  color: #34465a;
}

.faq-section {
  position: relative;
}

/* Blob decorativo sutil en sección FAQ */
.faq-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 40px;
  left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 136, 242, .07), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq details {
  padding: 19px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin-bottom: 0;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 92px auto 0;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,190,64,.20), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(39,216,118,.18), transparent 35%),
    linear-gradient(135deg, rgba(35,136,242,.92), rgba(22,91,160,.98));
  box-shadow:
    0 22px 60px rgba(13, 26, 41, .16),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* Blob decorativo en final CTA */
.final-cta::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.final-cta p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: rgba(248,252,255,.84);
}

.final-cta .btn {
  position: relative;
  z-index: 1;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
}

.footer .brand {
  color: var(--ink);
}

.footer .brand small {
  color: var(--muted);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  z-index: 50;
  top: 68px;
  right: 16px;
  left: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(11, 29, 51, .97);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  padding: 13px 16px;
  border-radius: 12px;
  color: rgba(241, 247, 255, .9);
  font-weight: 700;
  font-size: 16px;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,.08);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 6px;
  text-align: center;
  color: #0f2237;
  background: #fff;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #32a0ff, #1476df);
  box-shadow: 0 0px 30px rgba(35, 136, 242, .38);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: transform .25s ease, opacity .25s ease, visibility .25s, box-shadow .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px rgba(35, 136, 242, .48);
}

/* Animaciones de scroll */
.js [data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-animate-children] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.js [data-animate-children].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-children].is-visible > *:nth-child(1) { transition-delay: .05s; }
[data-animate-children].is-visible > *:nth-child(2) { transition-delay: .12s; }
[data-animate-children].is-visible > *:nth-child(3) { transition-delay: .19s; }
[data-animate-children].is-visible > *:nth-child(4) { transition-delay: .26s; }
[data-animate-children].is-visible > *:nth-child(5) { transition-delay: .33s; }
[data-animate-children].is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-animate],
  .js [data-animate-children] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
    display: none;
  }

  .hamburger {
    display: flex;
    justify-self: end;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-facts,
  .trust-strip,
  .workflow,
  .feature-grid,
  .plans,
  .access-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .access-examples {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92svh;
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, rgba(35, 136, 242, .1), transparent 60%),
      radial-gradient(ellipse 50% 70% at 20% 80%, rgba(39, 216, 118, .06), transparent 50%),
      linear-gradient(170deg, #070f1e 0%, #0b1d33 40%, #0f2a45 70%, #071220 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 340px;
    margin-left: 16px;
  }

  .hero-copy {
    max-width: 320px;
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip {
    width: calc(100% - 24px);
    margin-top: -28px;
  }

  .trust-strip div {
    min-width: 0;
    padding: 22px;
  }

  .trust-strip span {
    max-width: 280px;
    font-size: 15px;
  }

  .section,
  .final-cta,
  .footer {
    width: calc(100% - 24px);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --- Visual refresh: dark, premium and responsive to interaction --- */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(150, 190, 230, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 190, 230, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  pointer-events: none;
}

main {
  overflow-x: clip;
}

.site-header.is-solid {
  background: rgba(5, 15, 27, .84);
  border-bottom: 1px solid rgba(154, 189, 225, .10);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}

.nav {
  border-color: rgba(174, 208, 242, .14);
  background: rgba(4, 14, 26, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.nav a,
.header-cta,
.trust-strip div,
.workflow article,
.feature-grid article,
.access-example,
.plan,
.faq details {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.header-cta {
  color: #06111d;
  background: linear-gradient(135deg, #eff9ff, #bfe0ff);
  box-shadow: 0 10px 28px rgba(56, 155, 245, .20);
}

.header-cta:hover {
  color: #06111d;
  background: #fff;
  box-shadow: 0 14px 34px rgba(56, 155, 245, .32);
}

.hero {
  background-image:
    radial-gradient(ellipse 70% 70% at 82% 25%, rgba(35, 136, 242, .20), transparent 64%),
    radial-gradient(ellipse 54% 64% at 10% 82%, rgba(39, 216, 118, .13), transparent 62%),
    linear-gradient(90deg, rgba(4, 12, 23, .92) 0%, rgba(5, 16, 29, .72) 48%, rgba(5, 15, 27, .50) 100%),
    url("cap3.avif");
}

.hero::after {
  opacity: .8;
  animation: ambient-grid 18s linear infinite;
}

.hero-content > * {
  animation: reveal-up .75s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-content > :nth-child(1) { animation-delay: .06s; }
.hero-content > :nth-child(2) { animation-delay: .14s; }
.hero-content > :nth-child(3) { animation-delay: .22s; }
.hero-content > :nth-child(4) { animation-delay: .30s; }
.hero-content > :nth-child(5) { animation-delay: .38s; }

.hero-facts div {
  border-color: rgba(180, 217, 255, .18);
  background: linear-gradient(135deg, rgba(10, 28, 47, .76), rgba(7, 21, 36, .48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.hero-facts div:hover {
  transform: translateY(-4px);
  border-color: rgba(101, 180, 255, .45);
}

.btn-primary {
  background: linear-gradient(135deg, #188ff3, #1b63db 58%, #274bc4);
  box-shadow: 0 16px 36px rgba(27, 120, 230, .30), inset 0 1px 0 rgba(255,255,255,.20);
}

.btn-outline {
  color: #dcecff;
  border-color: rgba(147, 191, 235, .28);
  background: rgba(14, 34, 55, .74);
}

.trust-strip {
  border-color: rgba(144, 180, 218, .20);
  box-shadow: 0 24px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}

.trust-strip div:hover,
.workflow article:hover,
.feature-grid article:hover,
.access-example:hover,
.plan:hover,
.faq details:hover {
  transform: translateY(-5px);
  border-color: rgba(101, 180, 255, .42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .26);
}

.section-heading h2,
.access-copy h2,
.workflow h3,
.feature-grid h3,
.faq summary {
  color: var(--ink);
}

.workflow {
  border: 1px solid rgba(146, 183, 220, .14);
  background: linear-gradient(135deg, rgba(17, 36, 58, .76), rgba(8, 21, 36, .70));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), var(--shadow);
}

.workflow article,
.feature-grid article,
.faq details {
  border-color: rgba(146, 183, 220, .15);
  background: linear-gradient(145deg, rgba(19, 40, 63, .96), rgba(10, 24, 40, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 28px rgba(0,0,0,.16);
}

.workflow span {
  color: #75efb0;
  background: rgba(39, 216, 118, .12);
}

.access-section::before {
  background: radial-gradient(circle, rgba(35, 136, 242, .18), transparent 70%);
}

.check-list li {
  color: #cbd9e7;
}

.check-list li::before {
  box-shadow: inset 0 0 0 4px rgba(39, 216, 118, .16);
}

.access-example {
  border-color: rgba(146, 183, 220, .22);
  background: #0d2136;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 38px rgba(0,0,0,.22);
}

.access-example figcaption {
  color: #dcecff;
  background: linear-gradient(90deg, rgba(13, 31, 50, .98), rgba(12, 27, 43, .98));
}

.plans-section {
  border-top: 1px solid rgba(146, 183, 220, .12);
  border-bottom: 1px solid rgba(146, 183, 220, .12);
  background:
    radial-gradient(circle at 12% 20%, rgba(39,216,118,.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(35,136,242,.22), transparent 30%),
    linear-gradient(135deg, #0c2136, #06121f 55%, #0a1a2b);
}

.plan {
  color: var(--ink);
  border-color: rgba(146, 183, 220, .18);
  background: linear-gradient(145deg, rgba(20, 42, 66, .96), rgba(9, 23, 39, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 32px rgba(0,0,0,.22);
}

.plan.featured {
  border-color: rgba(68, 228, 141, .65);
  box-shadow: 0 28px 66px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}

.plan-badge {
  color: #8ff5bd;
  background: rgba(39, 216, 118, .13);
}

.price {
  color: #f3f9ff !important;
}

.plan ul {
  color: #b9cadc;
}

.faq details[open] {
  border-color: rgba(101, 180, 255, .48);
  background: linear-gradient(145deg, rgba(22, 48, 75, .98), rgba(10, 27, 45, .98));
}

.faq p,
.footer,
.footer .brand small {
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(146, 183, 220, .10);
}

.footer .brand {
  color: var(--ink);
}

.final-cta {
  border: 1px solid rgba(133, 204, 255, .22);
  background:
    radial-gradient(circle at 88% 12%, rgba(114, 227, 255, .18), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(39,216,118,.20), transparent 34%),
    linear-gradient(135deg, #0e3d66, #10295e 54%, #12214b);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.12);
}

.final-cta:hover {
  box-shadow: 0 34px 88px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.12);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ambient-grid {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 16px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-content > *,
  .hero-facts div,
  .trust-strip div,
  .workflow article,
  .feature-grid article,
  .access-example,
  .plan,
  .faq details {
    animation: none;
    transition: none;
  }
}
