/* Animaciones y estilos de iconos para APEX */
/* Override hero background a imagen local */
.hero-bg {
  background-image: linear-gradient(180deg, rgba(23,190,187,0.18), rgba(0,0,0,0.55)), url('../images/trading4.jpg');
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  image-rendering: auto;
}

/* Iconos base (para SVG inline) */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.icon path, .icon circle, .icon rect, .icon line, .icon polyline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill path { fill: var(--accent); stroke: none; }
.icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(23,190,187,0.12); border: 1px solid rgba(23,190,187,0.35); margin-bottom: 8px; }

/* Keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(23,190,187,0.35); } 50% { box-shadow: 0 0 0 8px rgba(23,190,187,0.0); } }
@keyframes shimmer { 0% { background-position: -200px 0 } 100% { background-position: 200px 0 } }

/* Helpers de animación */
.animate-fade-up { animation: fadeUp .6s ease-out both; }
.animate-slide-right { animation: slideRight .6s ease-out both; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: float 7s ease-in-out infinite, pulse 2.4s ease-in-out infinite; }
.hover-grow { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.hover-grow:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 0 0 2px rgba(23,190,187,.25), 0 12px 30px rgba(0,0,0,.45); background: linear-gradient(180deg, rgba(23,190,187,.08), var(--bg-soft)); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery img { width: 100%; border-radius: 12px; border: 1px solid #111; display: block; object-fit: cover; height: 180px; }
.gallery img:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* CTA shimmer effect */
.cta-shimmer {
  background: linear-gradient(90deg, rgba(23,190,187,0.15) 25%, rgba(23,190,187,0.05) 50%, rgba(23,190,187,0.15) 75%);
  background-size: 200px 100%;
  animation: shimmer 2.5s infinite linear;
}