:root {
  --bg: #f8f9fa;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.85);
  --line: rgba(0, 31, 77, 0.1);
  --text: #2c2e30;
  --muted: #5a6066;
  --cyan: #01edf6;
  --cyan-soft: #00bac1;
  --deep-blue: #006aff;
  --brand: var(--cyan);
  --brand-strong: #006aff;
}

[data-theme="dark"] {
  --bg: #0a0f1a;
  --bg-elevated: #131a28;
  --surface: #131a28;
  --surface-soft: rgba(19, 26, 40, 0.85);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8f9fa;
  --muted: #a0aec0;
}

html {
  font-size: 18px; /* Increases global font scale from default 16px */
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--deep-blue);
  color: var(--deep-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  background: var(--deep-blue);
  color: var(--text);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .moon-icon {
  display: none;
}
[data-theme="dark"] .theme-toggle {
  border-color: var(--cyan);
  color: var(--cyan);
}
[data-theme="dark"] .theme-toggle:hover {
  background: var(--cyan);
  color: #000;
}
[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-size: auto;
  min-height: 100vh;
  overflow-x: hidden;
  animation: none;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -3;
  pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(10, 74, 158, 0.09),
    rgba(0, 229, 255, 0.04),
    rgba(18, 18, 18, 0.04),
    rgba(10, 74, 158, 0.09)
  );
  filter: blur(84px);
  opacity: 0.38;
  animation: bgSpin 48s linear infinite;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  z-index: -2;
}

.bg-glow-1 {
  width: 320px;
  height: 320px;
  background: var(--deep-blue);
  top: -120px;
  right: -60px;
  opacity: 0.35;
  animation: glowFloatA 14s ease-in-out infinite;
}

.bg-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--cyan);
  left: -80px;
  top: 35%;
  opacity: 0.22;
  animation: glowFloatB 16s ease-in-out infinite;
}

.grid-overlay {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(0, 229, 255, 0.02), transparent 55%);
  animation: auraPulse 14s ease-in-out infinite;
}

.crm-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(120deg, rgba(10, 74, 158, 0.92), rgba(0, 229, 255, 0.9));
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.crm-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: flex-end;
  gap: 0.12rem;
  text-decoration: none;
  line-height: 1;
}

.wordmark-me {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.03em;
  margin-bottom: 0.42rem;
  margin-right: 0.05rem;
}

.wordmark-subo {
  display: inline-flex;
  align-items: center;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wm-s,
.wm-b,
.wm-o {
  color: var(--text);
}

.wm-u {
  position: relative;
  display: inline-block;
  margin: 0 0.02em;
}

.wm-u-txt {
  background: linear-gradient(
    180deg,
    var(--cyan-soft) 0%,
    var(--cyan) 35%,
    var(--deep-blue) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wm-sparks {
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 8px;
  pointer-events: none;
}

.wm-sparks::before,
.wm-sparks::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 11px;
  background: var(--cyan);
  border-radius: 1px;
  transform: skewX(-16deg);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
}

.wm-sparks::before {
  left: 2px;
  top: 0;
}

.wm-sparks::after {
  left: 11px;
  top: 0;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--deep-blue);
}

nav a.active {
  color: var(--text);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 0.2rem;
}

nav a:hover,
.btn-text:hover {
  color: var(--cyan);
}

.btn-outline {
  text-decoration: none;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
  background: transparent;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.btn-outline:hover {
  background: var(--deep-blue);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 10px;
  background: rgba(10, 18, 32, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a.active {
  color: var(--text);
  background: rgba(0, 229, 255, 0.08);
}

.navbar.menu-open .mobile-menu {
  display: block;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--deep-blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(0, 106, 255, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 31, 77, 0.35);
  filter: brightness(1.15);
}

.btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  border: 2px solid var(--line);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--deep-blue);
  color: var(--deep-blue);
  transform: translateY(-2px);
}

.btn-text {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

main {
  padding-bottom: 3rem;
}

.page-main {
  padding-top: 1.25rem;
}

.page-title {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
}

/* Hero: editorial + panel abstracto (no mockup de teléfono) */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  max-width: 14ch;
}

.lead {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero-stats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
  animation: panelRise 1.1s ease both;
}

.hero-orbit {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-left: auto;
  animation: orbitSlow 28s linear infinite;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: radial-gradient(
    circle at 30% 25%,
    rgba(0, 229, 255, 0.12),
    transparent 55%
  );
  box-shadow: inset 0 0 60px rgba(0, 102, 255, 0.15);
}

.orbit-core {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(10, 74, 158, 0.1), var(--bg-elevated));
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.orbit-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-soft);
}

.orbit-value {
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--deep-blue));
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}

.orbit-dot--a {
  top: 12%;
  right: 22%;
  animation: dotPulse 2.6s ease-in-out infinite;
}

.orbit-dot--b {
  bottom: 18%;
  left: 16%;
  animation: dotPulse 2.6s ease-in-out infinite 1.3s;
}

.hero-panel-card {
  width: 100%;
  max-width: 280px;
  margin-top: 0;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.hero-panel-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero-panel-price {
  margin-top: 0.35rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-panel-price span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.price-select {
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
}

.metrics {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.metrics-grid article {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
}

.metrics-grid strong {
  display: block;
  font-size: 1.3rem;
  color: var(--cyan-soft);
}

.metrics-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel-meta {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Franja tipo mensaje central (eco de “propuesta clara” sin copiar sitios) */
.value-band {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 255, 0.06) 50%,
    transparent
  );
}

.value-band-inner p {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  line-height: 1.6;
}

.section-block {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head--compact {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-head h2,
.security-copy h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Bento: servicios (estructura tipo “una app, muchos servicios”) */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  grid-column: span 4;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 160px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}


.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--text); /* Trazo oscuro por defecto */
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.15);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-icon {
  background: var(--brand);
  color: var(--bg);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
    background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 229, 255, 0.03));
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15), 0 4px 10px rgba(0,0,0,0.3);
}

.bento-card--wide {
  grid-column: span 8;
  min-height: auto;
}

.bento-card--accent {
  grid-column: span 12;
  background: linear-gradient(125deg, rgba(0, 102, 255, 0.08), var(--bg-elevated) 55%);
  border-color: rgba(0, 229, 255, 0.22);
}

.bento-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.bento-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan-soft);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.bento-tag--soon {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

/* Seguridad: bloque destacado */
.security-block {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
    ellipse 80% 80% at 20% 40%,
    rgba(0, 102, 255, 0.12),
    transparent 55%
  );
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  background: var(--bg-elevated);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.security-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 229, 255, 0.03));
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15), 0 4px 10px rgba(0,0,0,0.3);
}

.security-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.15);
  transition: all 0.3s ease;
}

.security-list li:hover .security-icon {
  background: var(--brand);
  color: var(--bg);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.security-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.security-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}


.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  background: var(--bg-elevated);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.security-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 229, 255, 0.03));
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15), 0 4px 10px rgba(0,0,0,0.3);
}

.security-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.15);
  transition: all 0.3s ease;
}

.security-list li:hover .security-icon {
  background: var(--brand);
  color: var(--bg);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.security-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.security-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}


.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-list li:hover /* Flujo horizontal */
.flow {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.flow::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 255, 0.35) 15%,
    rgba(0, 229, 255, 0.35) 85%,
    transparent
  );
  pointer-events: none;
}

.flow li {
  position: relative;
  padding: 0 0.5rem;
  transition: transform 0.25s ease;
}

.flow li:hover {
  transform: translateY(-3px);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0a1628;
  background: linear-gradient(145deg, var(--cyan-soft), var(--cyan));
  border: 2px solid var(--bg);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.flow h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.flow p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA app */
.app-cta {
  margin-top: 1rem;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 0;
}

.app-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 22px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: var(--bg-elevated);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.app-cta-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.app-cta-copy p {
  margin-top: 0.65rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
}

.app-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.store-btn {
  display: inline-block;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.store-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.store-btn:hover {
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--cyan-soft);
  transform: translateY(-2px);
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.waitlist input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.waitlist input::placeholder {
  color: #6a7a9a;
}

.waitlist button {
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  background: var(--deep-blue);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.waitlist button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.form-feedback {
  min-height: 1.2rem;
  color: var(--cyan-soft);
  font-size: 0.85rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-card {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 1.1rem;
}

.testimonial-card p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.testimonial-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.15rem;
}

.testimonial-author span {
  margin-top: 0;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.corporate-block {
  padding-top: 1rem;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 18px;
  padding: 1.4rem;
  background: var(--bg-elevated);
}

.corporate-actions {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}

/* Animaciones globales de entrada por scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 14px);
  }
}

@keyframes bgSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.06);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 38px, 38px 0;
  }
}

@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.34;
    transform: scale(1.02);
  }
}

@keyframes glowFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-18px, -10px);
  }
}

@keyframes orbitSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-rich {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title,
.footer-brand {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-rich a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.footer-rich a:hover {
  color: var(--cyan-soft);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  nav,
  .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .security-grid,
  .app-cta-inner,
  .metrics-grid,
  .testimonials,
  .footer-rich,
  .corporate-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-items: center;
    margin-top: 1rem;
  }

  .hero-orbit {
    margin-right: auto;
    margin-left: auto;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--accent {
    grid-column: span 12;
  }



  .flow::before {
    display: none;
  }

  .navbar {
    position: static;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .crm-float {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}




/* --- PROMO CAROUSEL --- */
.promo-banner-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg);
  padding: 0;
}
.promo-carousel {
  position: relative;
  width: 100%;
  display: grid;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background-color: #030B14; /* Dark blue matching their brand */
  aspect-ratio: 2560 / 800; /* Ratio exacto del banner */
}


.carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Esto evita que se corte NADA de la imagen */
  object-position: center;
  display: block;
}
.placeholder-slide {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

option { background: var(--bg-elevated); color: var(--text); }
/* --- Servicios Page Styles --- */
.services-page {
  padding: 100px 0;
  background: var(--bg);
}

.services-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 960px) {
  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-btn {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(0, 255, 255, 0.03);
  border: 1px solid var(--brand);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
}

.service-btn:hover {
  background: rgba(0, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}
/* --- Movement Section (Red Binaria, Puntos, Compensacin) --- */
.movement-block {
  position: relative;
  overflow: hidden;
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .movement-grid {
    grid-template-columns: 1fr;
  }
}

.movement-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  overflow: hidden;
}

.movement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.movement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--brand);
}

.movement-card--featured {
  background: linear-gradient(145deg, var(--bg-elevated), rgba(0, 255, 255, 0.05));
  border-color: rgba(0, 255, 255, 0.2);
}

.movement-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.movement-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.movement-card p {
  color: var(--muted);
  flex-grow: 1;
}

/* Red Binaria Visual */
.movement-visual {
  height: 120px;
  margin-top: 1rem;
  position: relative;
  border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.movement-visual--network .net-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--brand);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.movement-visual--network .net-node.center {
  top: 10px;
  width: 50px; height: 50px;
  background: var(--brand);
  color: #000;
  z-index: 2;
}

.movement-visual--network .net-node.left {
  bottom: 20px; left: 30%;
}

.movement-visual--network .net-node.right {
  bottom: 20px; right: 30%;
}

/* Tags de Tienda */
.movement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.movement-tags span {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.movement-tags span:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: var(--brand);
  transform: scale(1.05);
}

/* Barras de compensacin */
.movement-visual--chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 1rem;
}

.movement-visual--chart .bar {
  width: 15%;
  background: linear-gradient(to top, rgba(0,255,255,0.1), var(--brand));
  border-radius: 4px 4px 0 0;
  animation: growBar 2s ease-out infinite alternate;
}

.movement-visual--chart .bar-1 { height: 40%; animation-delay: 0s; }
.movement-visual--chart .bar-2 { height: 60%; animation-delay: 0.2s; }
.movement-visual--chart .bar-3 { height: 80%; animation-delay: 0.4s; }
.movement-visual--chart .bar-4 { height: 100%; animation-delay: 0.6s; }

@keyframes growBar {
  0% { transform: scaleY(0.8); }
  100% { transform: scaleY(1.1); }
}


/* Watermark de la U en el fondo */
body::after {
  content: "";
  position: fixed;
  top: 15vh; /* Bajado un poco para librar el banner del carrusel */
  left: 0;
  width: 100vw;
  height: 85vh;
  background-image: url('icono-u.png');
  background-repeat: no-repeat;
  /* Alineada a la derecha de forma segura */
  background-position: 85% center; 
  /* Un buen tamaño, pero sin que choque con los elementos de arriba */
  background-size: auto 80vh; 
  opacity: 0.12;
  /* Z-index negativo para que JAMÁS se sobreponga a los contenedores (bento-cards) */
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] body::after {
  opacity: 0.15; /* Más visible en modo oscuro */
  filter: drop-shadow(0 0 50px var(--brand)) brightness(1.5);
}
