/** Shopify CDN: Minification failed

Line 44:0 All "@import" rules must come first

**/
/* ============================================
   LEASYFAN HERO SECTION - STYLES
   ============================================
   
   INSTRUCCIONES DE INSTALACIÓN:
   1. Ve a tu admin de Shopify
   2. Online Store > Themes > Actions > Edit code
   3. En la carpeta "Assets" haz clic en "Add a new asset"
   4. Selecciona "Create a blank file"
   5. Nombra el archivo: leasyfan-hero.css
   6. Pega este código completo
   7. Guarda (Save)
   
   IMPORTANTE: Debes vincular este CSS en tu theme.liquid
   Busca el archivo theme.liquid y agrega esta línea en el <head>:
   {{ 'leasyfan-hero.css' | asset_url | stylesheet_tag }}
   
============================================ */

/* ============================================
   VARIABLES DE COLOR Y TEMA
============================================ */
:root {
  --lf-primary: #3BCEBB;
  --lf-primary-hover: #2fb8a7;
  --lf-bg-dark: #0A0A0A;
  --lf-bg-light: #FFFFFF;
  --lf-text-primary: #FFFFFF;
  --lf-text-secondary: #A0A0A0;
  --lf-text-dark: #0A0A0A;
  --lf-border: rgba(255, 255, 255, 0.1);
  --lf-gradient: linear-gradient(135deg, #3BCEBB 0%, #2A9D8F 100%);
}

/* ============================================
   IMPORTAR FUENTES
   NOTA: Estas fuentes se cargan desde Google Fonts
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ============================================
   HERO SECTION - ESTRUCTURA PRINCIPAL
============================================ */
.leasyfan-hero {
  position: relative;
  min-height: 100vh;
  background: var(--lf-bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ============================================
   FONDO ANIMADO CON GRADIENT MESH
============================================ */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--lf-primary);
  top: -300px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #2A9D8F;
  bottom: -250px;
  left: -100px;
  animation-delay: 5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--lf-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.grain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ============================================
   CONTENIDO - LADO IZQUIERDO
============================================ */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Badge superior */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 206, 187, 0.1);
  border: 1px solid rgba(59, 206, 187, 0.3);
  border-radius: 100px;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--lf-primary);
}

.hero-badge svg {
  flex-shrink: 0;
}

/* Título principal */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lf-text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Subtítulo */
.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--lf-text-secondary);
  margin: 0;
  max-width: 540px;
}

/* ============================================
   STATS (ESTADÍSTICAS)
============================================ */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--lf-primary);
  line-height: 1;
}

.stat-number::after {
  content: '+%';
  font-size: 24px;
  margin-left: 4px;
}

.stat-item:nth-child(3) .stat-number::after {
  content: ' min';
}

.stat-item:nth-child(5) .stat-number::after {
  content: 'x';
  margin-left: 0;
  margin-right: 4px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--lf-text-secondary);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--lf-border);
}

/* ============================================
   BOTONES CTA
============================================ */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--lf-gradient);
  color: var(--lf-bg-dark);
  box-shadow: 0 4px 24px rgba(59, 206, 187, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 206, 187, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--lf-text-primary);
  border: 2px solid var(--lf-border);
}

.btn-secondary:hover {
  border-color: var(--lf-primary);
  background: rgba(59, 206, 187, 0.1);
}

/* ============================================
   TRUST BADGES
============================================ */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.trust-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--lf-text-secondary);
}

.trust-badges {
  display: flex;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--lf-text-secondary);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--lf-primary);
}

/* ============================================
   VISUAL - MOCKUP DE TELÉFONO
============================================ */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 340px;
  height: 100%;
}

.phone-frame {
  width: 100%;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 12px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.digital-card {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 206, 187, 0.15) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   TARJETA DEMO (GENERADA CON CSS)
   NOTA: Esto se reemplaza cuando tengas tu mockup
============================================ */
.card-demo {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-logo-placeholder {
  width: 48px;
  height: 48px;
}

.card-type {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--lf-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.stamp {
  aspect-ratio: 1;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  position: relative;
}

.stamp.filled {
  background: var(--lf-gradient);
  border-color: var(--lf-primary);
}

.stamp.filled::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.card-reward {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--lf-text-dark);
  margin: 0;
  font-weight: 500;
}

.card-barcode {
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, 
    #000 0%, #000 8%, transparent 8%, transparent 10%,
    #000 10%, #000 12%, transparent 12%, transparent 15%,
    #000 15%, #000 18%, transparent 18%, transparent 20%,
    #000 20%, #000 25%, transparent 25%, transparent 28%,
    #000 28%, #000 30%, transparent 30%, transparent 35%,
    #000 35%, #000 38%, transparent 38%, transparent 40%,
    #000 40%, #000 45%, transparent 45%, transparent 48%,
    #000 48%, #000 50%, transparent 50%, transparent 55%,
    #000 55%, #000 58%, transparent 58%, transparent 60%,
    #000 60%, #000 65%, transparent 65%, transparent 68%,
    #000 68%, #000 70%, transparent 70%, transparent 75%,
    #000 75%, #000 78%, transparent 78%, transparent 80%,
    #000 80%, #000 85%, transparent 85%, transparent 88%,
    #000 88%, #000 90%, transparent 90%, transparent 95%,
    #000 95%, #000 100%
  );
  border-radius: 4px;
}

/* ============================================
   NOTIFICACIÓN FLOTANTE
============================================ */
.floating-notification {
  position: absolute;
  top: 60px;
  right: -60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 280px;
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 206, 187, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--lf-text-dark);
  margin: 0 0 4px 0;
}

.notification-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* ============================================
   ANIMACIONES DE ENTRADA
============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate].animated {
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-left"].animated {
  animation: fadeLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE - TABLET
============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    max-width: 600px;
  }

  .hero-visual {
    height: 500px;
  }

  .phone-frame {
    height: 500px;
  }

  .floating-notification {
    right: 50%;
    transform: translateX(50%);
  }
}

/* ============================================
   RESPONSIVE - MÓVIL
============================================ */
@media (max-width: 640px) {
  .leasyfan-hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-container {
    padding: 0 16px;
    gap: 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-badges {
    flex-wrap: wrap;
  }

  .hero-visual {
    height: 400px;
  }

  .phone-mockup {
    width: 280px;
  }

  .phone-frame {
    height: 400px;
  }

  .floating-notification {
    position: static;
    transform: none;
    margin-top: 20px;
  }
}
