: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;
  --text-muted: #64748b;
  --muted: #5a6066;
  --cyan: #01edf6;
  --cyan-soft: #00bac1;
  --deep-blue: #006aff;
  --brand: var(--cyan);
  --brand-strong: #006aff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --border: #e2e8f0;
  --surface-2: #f1f5f9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(0, 31, 77, 0.08);
  --glass-glow: rgba(255, 255, 255, 0.6);
  --glass-highlight: rgba(0, 229, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --glass-tags-bg: rgba(0, 0, 0, 0.03);
  --glass-tags-border: rgba(0, 0, 0, 0.05);
}

[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;
  --text-muted: #94a3b8;
  --muted: #a0aec0;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --secondary: #1e293b;
  --border: #1e293b;
  --surface-2: #1e293b;

  /* Glassmorphism Dark */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-glow: rgba(255, 255, 255, 0.01);
  --glass-highlight: rgba(0, 255, 255, 0.06);
  --glass-shadow: rgba(0, 0, 0, 0.5);
  --glass-tags-bg: rgba(255, 255, 255, 0.03);
  --glass-tags-border: rgba(255, 255, 255, 0.08);
}

.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow !important;
  transition-duration: 0.4s !important;
  transition-timing-function: ease !important;
}

html {
  font-size: 18px; /* Increases global font scale from default 16px */
  width: 100%;
}

/* 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;
}

html {
  overflow-x: hidden;
}

* {
  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;
  color: white;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.crm-float:hover {
  transform: translateY(-4px) scale(1.08);
  filter: brightness(1.1);
}

.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;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-inner > .brand {
  flex-shrink: 0;
}

.nav-inner > nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

.nav-inner > .nav-actions, .nav-inner > .mobile-menu-btn, .nav-inner > .menu-toggle {
  flex-shrink: 0;
}

.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: none;
  cursor: pointer;
  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;
  overflow-x: hidden;
  width: 100%;
}

.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(--deep-blue);
  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.5rem 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 20px var(--glass-glow), 0 20px 50px var(--glass-shadow);
  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 {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.metrics-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.1);
}

.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(--deep-blue);
}

.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: 2.5rem 2rem;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, var(--glass-highlight) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}


.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1) 0%, rgba(0,128,255,0.05) 100%);
  color: var(--brand);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 8px 16px rgba(0,255,255,0.1), inset 0 0 10px rgba(255,255,255,0.05);
  transition: all 0.4s 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.6);
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.1);
}

.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.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.bento-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  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.5rem 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.security-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: inset 0 0 20px var(--glass-glow), 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.1);
}

.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;
}


/* 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;
  transition: transform 0.25s ease;
}

.flow li div {
  padding: 1.25rem;
  background: var(--surface-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px var(--glass-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.flow li:hover div {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--glass-shadow);
  border-color: rgba(0, 229, 255, 0.4);
}

.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: 3rem 2.5rem;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.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(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem 1.8rem 2.2rem;
  margin-top: 48px;
  position: relative;
  /* Removed overflow: hidden so avatar can overlap outside */
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.1);
}

.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: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -45px;
  left: 2rem;
}

.corporate-block {
  padding-top: 1rem;
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.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: 3rem 0 2.5rem;
  background: #050810;
  border-top: none;
  
  /* Force dark mode variables so inline styles and child elements adapt automatically */
  --text: #f8f9fa;
  --muted: #a0aec0;
  --deep-blue: #ffffff;
  --brand: #01edf6;
  --line: rgba(255, 255, 255, 0.1);
  
  color: var(--text);
}

.footer-rich {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title,
.footer-brand {
  color: var(--deep-blue);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--muted);
  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(--brand);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  nav,
  .nav-inner > nav,
  .desktop-auth-actions,
  .btn-outline {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Hide login/register buttons on mobile, keep theme toggle */
  .nav-actions {
    gap: 0.5rem !important;
  }
  .nav-actions > a {
    display: none !important;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
  }

  /* Add theme toggle + mobile menu links */
  .mobile-menu .theme-toggle-mobile {
    display: inline-flex;
  }

  .hero-grid,
  .security-grid,
  .app-cta-inner,
  .metrics-grid,
  .testimonials,
  .footer-rich,
  .corporate-grid,
  .flow {
    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;
  }

  .promo-banner-section,
  .promo-carousel {
    width: 100vw;
    max-width: 100%;
  }

  .promo-image {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
}

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 en PC */
  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(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  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, border-color 0.4s ease;
  overflow: hidden;
  box-shadow: inset 0 0 20px var(--glass-glow), 0 10px 30px var(--glass-shadow);
}

.movement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, var(--glass-highlight) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.movement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.3);
}

.movement-card--featured {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0, 255, 255, 0.04));
  border-color: rgba(0, 255, 255, 0.15);
}

.movement-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,255,255,0.1) 0%, rgba(0,128,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,255,255,0.2);
  box-shadow: 0 8px 16px rgba(0,255,255,0.1), inset 0 0 10px rgba(255,255,255,0.05);
  color: var(--brand);
}

.movement-card h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text);
}

.movement-card p {
  color: var(--muted);
  flex-grow: 1;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Red Binaria Visual */
.movement-visual {
  height: 120px;
  margin-top: 1.5rem;
  position: relative;
  border-radius: 16px;
  background: transparent; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.movement-visual--rewards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.rewards-center {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 24px;
  padding: 0.8rem 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
  position: relative;
}

.rewards-center::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2rem;
  width: 2rem;
  height: 2px;
  background: var(--brand);
}

.rewards-branches {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.rewards-branch {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 24px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 0.85rem;
  z-index: 2;
  position: relative;
  min-width: 150px;
}

.rewards-branch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -15px;
  width: 15px;
  height: 2px;
  background: var(--brand);
}

.rewards-branch:first-child::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -15px;
  width: 2px;
  height: calc(100% + 1.5rem);
  background: var(--brand);
}

.branch-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.3;
  line-height: 1;
}

.branch-text {
  font-size: 0.85rem;
  line-height: 1.2;
}

/* Tags de Tienda */
.movement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.movement-tags span {
  background: var(--glass-tags-bg);
  border: 1px solid var(--glass-tags-border);
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.movement-tags span:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--brand);
  transform: translateY(-2px);
  color: var(--brand-strong);
}

/* 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;
  left: 0;
  width: 100%;
  height: 85vh;
  background-image: url('icono-u.png');
  background-repeat: no-repeat;
  background-position: 85% center; 
  background-size: auto 80vh; 
  opacity: 0.12;
  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);
}

/* =========================================
   TIENDA, ALIADOS Y LOGIN
========================================= */

/* Aliados */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-category {
  padding: 2rem;
}

.partner-logos-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 100px;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--glass-shadow);
}

.partner-logo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  z-index: 1;
}

.partner-logo:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(10, 74, 158, 0.15);
}

/* Login */
.auth-container {
  max-width: 450px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.auth-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.auth-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 74, 158, 0.2);
}

.auth-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  display: block;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Tienda */
.store-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.points-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  flex-wrap: wrap;
  gap: 2rem;
}

.points-banner-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.points-banner-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.points-badge {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.points-badge-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.points-badge-value {
  font-size: 3rem;
  font-weight: 800;
  color: #00e5ff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem;
}

[data-theme="dark"] .product-image {
  background: rgba(255,255,255,0.05);
}

.product-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-price-suggested {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn-redeem {
  width: 100%;
  margin-top: auto;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-redeem:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.discount-badge {
  background: var(--secondary);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Auth Layout background shape */
.auth-bg-shape {
  position: fixed;
  top: 0;
  right: 0;
  width: 40vw;
  height: 100vh;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  border-bottom-left-radius: 100vh;
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
}

.auth-bg-shape-left {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 20vw;
  height: 50vh;
  background: var(--primary);
  border-top-right-radius: 100vh;
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
}

.categories-grid a {
  position: relative;
  transition: transform 0.25s ease;
  min-width: 140px;
  z-index: 1;
}

.categories-grid a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--bg);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}

.categories-grid a:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .points-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .auth-bg-shape, .auth-bg-shape-left {
    display: none;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
/* Enhanced hover effects */
.hover-lift { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important; }
.hover-lift:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 229, 255, 0.2) !important; border-color: rgba(0, 229, 255, 0.4) !important; }
[data-theme="dark"] .hover-lift:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.15) !important; }

/* --- AUDIENCE FADE IN --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* --- STICKY MOBILE CTA --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 50;
  box-shadow: 0 -10px 30px var(--glass-shadow);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  .crm-float {
    bottom: 5.5rem !important;
  }
  body {
    padding-bottom: 5.5rem !important;
  }
}

/* --- OVERRIDE STORE BTN COLORS --- */
.app-cta-group:first-child .store-btn {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--cyan) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 106, 255, 0.3) !important;
}
.app-cta-group:first-child .store-btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 8px 25px rgba(0, 106, 255, 0.5) !important;
  filter: brightness(1.1) !important;
  border: none !important;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--cyan) 100%) !important;
}
.app-cta-group:first-child .store-btn .store-icon svg {
  fill: #ffffff !important;
}

/* --- FAQ STYLES --- */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 1.5rem; transition: transform 0.3s ease; color: var(--brand); }


/* Marquee / Trust Banner */
.trust-banner {
  padding: 3rem 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  margin-top: 2rem;
}
.trust-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Mask gradient for soft edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-left: 4rem;
  animation: scroll-left 25s linear infinite;
  width: max-content;
}
.marquee-content img {
  height: 45px;
  object-fit: contain;
  filter: grayscale(100%) opacity(50%);
  transition: all 0.3s ease;
}
.marquee-content img:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .marquee-content img { height: 35px; }
  .marquee-content { gap: 2.5rem; padding-left: 2.5rem; }
}

/* Theme-aware service icons */
.service-icon-light, .service-icon-dark {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.service-icon-dark { display: none; }
[data-theme='dark'] .service-icon-light { display: none; }
[data-theme='dark'] .service-icon-dark { display: block; }

/* In dark mode, when hovering, show the dark icon to contrast with the bright cyan background */
[data-theme='dark'] .bento-card:hover .service-icon-dark { display: none; }
[data-theme='dark'] .bento-card:hover .service-icon-light { display: block; }
