/* ===== BASE ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: #fff;
  color: #0f172a;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.glass-nav {
  background: rgba(248, 245, 255, .8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.nav-inner {
  max-width: 1280px;
  margin: auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  font-size: 32px;
  color: #6c2bee;
}

.brand-text {
  font-weight: 800;
  color: #120d1b;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 96px 16px 128px;
  overflow: hidden;
  text-align: center;
}

.hero-bg .blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
}

.hero-bg .purple {
  top: -10%;
  left: 20%;
  background: #ddd6fe;
}

.hero-bg .pink {
  top: 10%;
  right: 10%;
  background: #fbcfe8;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(90deg, #6c2bee, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  max-width: 680px;
  margin: 24px auto;
  font-size: 1.125rem;
  color: #64748b;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  background: #6c2bee;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(108, 43, 238, .35);
  transition: all .3s;
}

.btn-primary:hover {
  transform: translateY(-4px);
}

/* ===== VIDEO CARD ===== */
.hero-video {
  margin-top: 64px;
}

.video-card {
    max-width: 1280px;
    margin: auto;
    padding: 30px;
    border-radius: 40px;
    background: rgba(0, 0, 0, .03);
    border: 1px solid #e5e7eb;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.play-btn span {
  font-size: 40px;
  color: #6c2bee;
}

.video-label {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .15em;
  color: #94a3b8;
  text-transform: uppercase;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .9s cubic-bezier(.16, 1, .3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



/* ===== INDUSTRIES ===== */
.industries {
  padding: 96px 16px;
  background: #f8fafc;
  border-top: 1px solid rgba(15,23,42,.08);
}

.industries-container {
  max-width: 1152px;
  margin: auto;
}

.industries-header {
  text-align: center;
  margin-bottom: 64px;
}

.industries-header h2 {
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.industries-header p {
  max-width: 640px;
  margin: auto;
  font-size: 1.125rem;
  color: #64748b;
}

/* GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 32px;
}

/* CARD */
.industry-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0 10px 30px rgba(0,0,0,.05); */
  transition: box-shadow .4s ease;
}
.industry-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,.15);
}

/* IMAGE */
.industry-image {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}
.industry-card:hover .industry-image {
  transform: scale(1.1);
}

/* OVERLAY */
.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.6),
    rgba(0,0,0,.2),
    transparent
  );
}

/* LABEL */
.industry-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.industry-label span {
  font-size: 32px;
}
.industry-label h3 {
  font-size: 1.5rem;
  font-weight: 800;
}


/* ===== INVENTORY ===== */
.inventory {
  padding: 96px 16px;
  background: #ffffff;
}

.inventory-container {
  max-width: 1152px;
  margin: auto;
}

.inventory-header {
  text-align: center;
  margin-bottom: 64px;
}

.inventory-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f172a;
}

.inventory-header p {
  max-width: 720px;
  margin: auto;
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
}

/* CARD */
.inventory-card {
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0 30px 80px rgba(15,23,42,.12); */
}

/* MEDIA */
.inventory-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #f8fafc;
}

.inventory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.inventory-card:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.inventory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,23,42,.25),
    transparent
  );
  pointer-events: none;
}

/* ===== AI MANAGER ===== */
.ai-manager {
  padding: 96px 16px;
}

.ai-manager-container {
  max-width: 1152px;
  margin: auto;
  display: grid;
  gap: 64px;
}

@media (min-width: 1024px) {
  .ai-manager-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* TEXT */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 24px;
}

.ai-manager-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.ai-manager-text p {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
}

.ai-manager-text ul {
  list-style: none;
  padding: 0;
}

.ai-manager-text li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #334155;
}

/* SLIDER */
.ai-manager-slider {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  border-radius: 40px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0 30px 80px rgba(15,23,42,.15); */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
}

.slider-btn.left { left: -12px; }
.slider-btn.right { right: -12px; }

/* DOTS */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5f5;
}

.slider-dots .dot.active {
  width: 24px;
  background: #6c2bee;
}

/* ===== REPORTS ===== */
.reports {
  padding: 96px 16px;
  background: #f8fafc;
}

.reports-container {
  max-width: 1280px;
  margin: auto;
}

.reports-header {
  text-align: center;
  margin-bottom: 64px;
}

.reports-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #16a34a;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 24px;
}

.reports-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: #0f172a;
}

.reports-header p {
  max-width: 900px;
  margin: auto;
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.7;
}

/* SLIDER */
.reports-slider {
  position: relative;
}

.reports-slider .slider-track {
  display: flex;
  gap: 32px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.report-slide {
  min-width: 100%;
  background: #ffffff;
  border-radius: 48px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.6);
  /* box-shadow: 0 40px 100px rgba(15,23,42,.18); */
}

.report-media {
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .report-media {
    aspect-ratio: 21 / 9;
  }
}

.report-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.report-media:hover img {
  transform: scale(1.05);
}

/* ===== FIDELIZACION (sección correcta) ===== */
.fidelizacion {
  padding: 96px 16px;
  background: #ffffff;
}

.fidelizacion-container {
  max-width: 1152px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

@media (min-width: 1024px) {
  .fidelizacion-container {
    flex-direction: row-reverse; /* como tu HTML original */
    align-items: center;
    gap: 64px;
  }
  .fidelizacion-text,
  .fidelizacion-slider {
    width: 50%;
  }
}

/* Badge */
.fidelizacion-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  margin-bottom: 24px;
}
.fidelizacion-badge span:last-child {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7c3aed;
}
.fidelizacion-badge .material-symbols-outlined {
  font-size: 16px;
  color: #7c3aed;
}

.fidelizacion-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.fidelizacion-text p {
  margin: 0 0 32px 0;
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
}

/* Feature cards */
.fidelizacion-features {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #334155;
  font-weight: 700;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon .material-symbols-outlined {
  font-size: 22px;
}

.feature-icon.pink { background: #ffe4ee; color: #db2777; }
.feature-icon.blue { background: #dbeafe; color: #2563eb; }

/* ===== Slider look igual ===== */
.fidelizacion-slider {
  position: relative;
}

/* Reutiliza tus botones .slider-btn ya existentes, no cambiamos eso */
/* Track */
.fidelizacion-slider .slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

/* Slide wrapper */
.fidelizacion-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  padding: 16px;
  border: 1px solid #eef2f7;
  /* box-shadow: 0 28px 70px rgba(15,23,42,.14); */
}

.fidelizacion-slide img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
}

/* Backgrounds (como tu original: purple/pink/blue suaves) */
.fidelizacion-slide.bg-purple { background: #faf5ff; border-color: #f3e8ff; }
.fidelizacion-slide.bg-pink   { background: #fff1f2; border-color: #ffe4e6; }
.fidelizacion-slide.bg-blue   { background: #eff6ff; border-color: #dbeafe; }


/* ===== IA POTENCIA ===== */
.ia-potencia {
  padding: 96px 16px;
  background: #f8fafc;
}

.ia-potencia-container {
  max-width: 1280px;
  margin: auto;
  text-align: center;
}

/* Header */
.ia-potencia-header {
  max-width: 860px;
  margin: 0 auto 64px auto;
}

.ia-potencia-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: #eef2ff; */
  border: 1px solid #e0e7ff;
  margin-bottom: 24px;
}

.ia-potencia-badge span:last-child {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #4f46e5;
}

.ia-potencia-badge .material-symbols-outlined {
  font-size: 16px;
  color: #4f46e5;
}

.ia-potencia-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #0f172a;
}

.ia-potencia-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
}

/* Slider */
.ia-potencia-slider {
  position: relative;
}

.ia-potencia-slider .slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 16px 12px 16px;
}

.ia-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0 40px 90px rgba(15,23,42,.15); */
}

.ia-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ===== MONITOREO MOVIL ===== */
.monitoreo-movil {
  padding: 96px 16px;
  background: #ffffff;
}

.monitoreo-container {
  max-width: 1152px;
  margin: auto;
  text-align: center;
}

.monitoreo-header {
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.monitoreo-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #0f172a;
}

.monitoreo-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
}

/* Devices */
.monitoreo-devices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .monitoreo-devices {
    flex-direction: row;
    justify-content: center;
    gap: 96px;
  }
}

.device {
  position: relative;
  width: 260px;
  height: 520px;
  background: #0f172a;
  border-radius: 48px;
  padding: 12px;
  border: 8px solid #1e293b;
  box-shadow: 0 40px 80px rgba(15,23,42,.45);
}

.phone-ios .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-android .camera-dot {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
  z-index: 2;
}

.device .screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 36px;
  overflow: hidden;
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #94a3b8;
}


/* ===== DESCARGAS ===== */
.descargas {
  position: relative;
  padding: 120px 16px;
  background: linear-gradient(180deg, #020617, #020617);
  color: #ffffff;
  overflow: hidden;
}

.descargas-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: #7c3aed;
  opacity: .18;
  filter: blur(140px);
  border-radius: 50%;
  z-index: 0;
}

.descargas-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: auto;
  text-align: center;
}

/* Header */
.descargas-header {
  max-width: 820px;
  margin: 0 auto 64px auto;
}

.descargas-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.descargas-header h2 span {
  background: linear-gradient(90deg, #22d3ee, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.descargas-header p {
  font-size: 1.125rem;
  color: #cbd5f5;
}

/* Slider */
.descargas-slider {
  position: relative;
  margin-bottom: 64px;
}

.descargas-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.12);
}

.descargas-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.descargas-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .descargas-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .3s ease;
  min-width: 260px;
}

.store-btn svg,
.store-btn .material-symbols-outlined {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.store-btn small {
  font-size: 10px;
  letter-spacing: .18em;
  opacity: .6;
}

.store-btn strong {
  font-size: 18px;
}

.store-btn.light {
  background: #ffffff;
  color: #020617;
}

.store-btn.dark {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #ffffff;
}

.store-btn:hover {
  transform: translateY(-6px);
}






/* ===== FOOTER (FINAL) ===== */
.site-footer {
  background: #020617;
  padding: 32px 24px 40px;
  color: #94a3b8;
}

/* Línea superior */
.footer-divider {
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.08);
  margin-bottom: 32px;
}

/* Layout */
.footer-container {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.footer-brand .material-symbols-outlined {
  font-size: 28px;
  color: #7c3aed;
}

/* Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Copyright */
.footer-copy {
  font-size: 14px;
  color: #64748b;
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-copy {
    text-align: center;
  }
}





/* ===== MONITOREO MOVIL (SIN MARCO) ===== */
.monitoreo-movil {
  padding: 96px 16px;
  background: #ffffff;
  margin-bottom: 40px;
}

.monitoreo-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.monitoreo-header {
  max-width: 820px;
  margin: 0 auto 72px auto;
}

.monitoreo-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
}

.monitoreo-header p {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
}

/* Images */
.monitoreo-images {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

@media (min-width: 768px) {
  .monitoreo-images {
    flex-direction: row;
    justify-content: center;
    gap: 120px;
  }
}



.platform-label {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #94a3b8;
  transform: translateY(52px);
}



/* Contenedor de cada preview */
.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;           /* mismo ancho para ambos */
}

/* Caja que iguala la altura */
.app-preview img {
  width: 100%;
  height: 520px;          /* 👈 ALTURA UNIFICADA */
  object-fit: contain;   /* mantiene proporción real */
  border-radius: 28px;
  background: #ffffff;

  box-shadow:
    0 40px 80px rgba(15,23,42,.18),
    0 8px 20px rgba(15,23,42,.08);
}

/* Ajuste responsive */
@media (max-width: 768px) {
  .app-preview {
    width: 260px;
  }

  .app-preview img {
    height: 460px;
  }
}



/* Contenedor del preview */
.app-preview {
  width: 320px;
}

/* Marco invisible que iguala proporción */
.app-preview::before {
  content: "";
  display: block;
  padding-top: 180%; /* ratio tipo teléfono */
}

/* Imagen real */
.app-preview img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;      /* 🔥 CLAVE */
  object-position: center;

  border-radius: 28px;
  background: #fff;

  box-shadow:
    0 40px 80px rgba(15,23,42,.18),
    0 8px 20px rgba(15,23,42,.08);
}

/* Necesario para el layout */
.app-preview {
  position: relative;
  /* overflow: hidden; */
}


@media (max-width: 768px) {
  .app-preview {
    width: 260px;
  }
}