/* FUENTE UNIVERSAL */


@import url('https://v1.fontapi.ir/css/SFProDisplay:400;500;600;700;800');


html {
  font-family: SF Pro Display, sans-serif;
  scroll-behavior: smooth;
}

/* Custom scrollbar for a cleaner look */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.5);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}


/* ANIMACIONES */

.popp {
  animation: popp 1s ease both;
}

@keyframes popp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

/* SCROLL ZOOM IN ANIMATION */
@keyframes scroll-zoom-in {
  from {
    transform: scale(0.8);
    opacity: 0.4;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.scroll-zoom-in {
  view-timeline-name: --scroll-zoom;
  view-timeline-axis: block;
  animation-timeline: --scroll-zoom;
  animation-name: scroll-zoom-in;
  animation-fill-mode: both;
  animation-range: entry 10% cover 30%;
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Fallback para Safari (iOS) y otros navegadores que no soportan scroll-driven animations */
@supports not (animation-timeline: view()) {
  .scroll-zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    animation-name: none;
    /* Desactivar la animación de timeline */
  }

  .scroll-zoom-in.scroll-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}



/* INDEX.PHP */

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(3, 46, 37, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-emerald {
  background: rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.glass-premium-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.glass-premium-emerald {
  background: rgba(16, 185, 129, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: box-shadow 0.3s ease;
}

.glow-emerald:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.glow-text-emerald {
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.bg-dark-fintech {
  background-color: #020617;
  /* Slate 950 */
}

.bg-mesh-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #020617;
}

.card-gradient {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 253, 245, 0.8) 100%);
}

.card-gradient-emerald {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(209, 250, 229, 0.6) 100%);
}

.card-shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-overlay {
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-emerald-deep {
  background: linear-gradient(to right, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* Degradados */

.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #ffffff;
}

.mesh-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  /* filter: blur(100px); replaced with gradient for performance */
  opacity: 0.4;
  border-radius: 50%;
  will-change: transform;
}

@media screen and (max-width: 768px) {
  .blob-1 {
    width: 400px;
    height: 400px;
  }

  .blob-2 {
    width: 400px;
    height: 400px;
  }

  .blob-3 {
    width: 400px;
    height: 400px;
  }
}

.blob-1 {
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: mesh-float 20s infinite alternate;
}

.blob-2 {
  background: radial-gradient(circle, #059669 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: mesh-float 25s infinite alternate-reverse;
}

.blob-3 {
  background: radial-gradient(circle, #34d399 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mesh-float 30s infinite alternate;
}

@keyframes mesh-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 20px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 50px) scale(0.9);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}


.graficos-animados-2 {
  left: 650px;
  top: 90px;
  width: 500px;
  height: 500px;
}

/* Graficos animados */
@media (max-width: 900px) {
  .graficos-animados-2 {
    left: 90px;
    top: 50px;
    width: 300px;
    height: 300px;
  }
}

.graficos-animados {
  left: 250px;
  top: 90px;
  width: 500px;
  height: 500px;
}

@media (max-width: 900px) {
  .graficos-animados {
    left: 20px;
    top: 50px;
    width: 300px;
    height: 300px;
  }
}

.graficos-animados,
.graficos-animados-2 {
  pointer-events: none;
  will-change: transform;
  contain: strict;
}

/* Stories Styles */
.story-ring {
  position: relative;
  padding: 3px;
  background: linear-gradient(45deg, #10b981, #34d399, #6ee7b7);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.story-ring:hover {
  transform: scale(1.05);
}

.story-ring.seen {
  background: #e2e8f0;
}

.story-item {
  cursor: pointer;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.story-avatar {
  width: 74px;
  height: 74px;
  border: 3px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.story-add-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #10b981;
  color: white;
  border-radius: 50%;
  border: 2px solid white;
  width: 25px;
  height: 25px;
}

.stories-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
  display: none;
}


/* NEGOCIOS.PHP */

/* Animaciones para el modal del menú */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

.product-card-publico {
  transition: all 0.3s ease;
}

.product-card-publico:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}