﻿/*
 * ============================================
 * Yo Estoy Aquí - Landing Page
 * Programado por Nicoholas Lopetegui - https://github.com/TeguiHD
 * ============================================
 */

/* ============================================
   CSS VARIABLES & ROOT
   ============================================ */
:root {
  /* Primary Colors - Refined Palette */
  --color-primary: #a877d9;
  --color-primary-dark: #8b5fc7;
  --color-accent: #de58c5;
  --color-accent-light: #e87fd6;
  --color-secondary: #b978dd;

  /* Backgrounds */
  --color-bg-light: #f8f7fc;
  --color-bg-white: #ffffff;
  --color-bg-dark: #1a1025;

  /* Typography */
  --color-text-main: #2d1f3d;
  --color-text-muted: #645a72;
  --color-text-light: #9ca3af;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #a877d9 0%, #de58c5 100%);
  --gradient-main: linear-gradient(135deg, #a877d9 0%, #de58c5 50%, #b978dd 100%);
  --gradient-hero: linear-gradient(180deg, #f3eefc 0%, #e8dff8 40%, #ffffff 100%);
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  --gradient-card: linear-gradient(145deg, #ffffff, #f9f6fd);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(168, 119, 217, 0.08);
  --shadow-md: 0 12px 24px rgba(168, 119, 217, 0.12);
  --shadow-lg: 0 20px 40px rgba(168, 119, 217, 0.18);
  --shadow-glow: 0 0 40px rgba(222, 88, 197, 0.3);
  --shadow-neon: 0 0 20px rgba(168, 119, 217, 0.6);

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a877d9, #de58c5);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

/* ============================================
   NAVBAR & MOBILE MENU
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

body.menu-open .navbar {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

body.menu-open .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.9);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Fixes */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text-main);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding: 5px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-bounce);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(222, 88, 197, 0.4);
  transition: var(--transition-smooth);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(222, 88, 197, 0.5);
}

/* Mobile Toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 5px;
  z-index: 1001;
  /* Ensure above mobile menu overlay if needed */
}

.navbar-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Menu - Improved */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 16, 37, 0.85);
  /* Darker, more aesthetic overlay */
  backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100%;
  height: 100dvh;
  /* Dynamic viewport height for mobile browsers */
  background: #ffffff;
  padding: 0;
  z-index: 1100;
  transition: cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  min-height: 70px;
}

.mobile-menu-brand img {
  height: 36px;
  width: auto;
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  font-size: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  z-index: 1010;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding: 0.5rem 0;
  overflow-y: auto;
  min-height: 0;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: block;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
  color: var(--color-primary);
  background: rgba(168, 119, 217, 0.05);
  padding-left: 2rem;
}

/* Mobile Store Buttons Container */
.mobile-store-buttons {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #f8f7fc 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Sidebar Store Button - Compact Style */
.btn-store-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #1a1025;
  color: white;
}

.btn-store-sidebar svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-store-sidebar span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Google Play Button - 4 Google colors with elegant bottom border */
.btn-store-sidebar.google:hover {
  background: #1a1025;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 16, 37, 0.4);
  border-bottom: 4px solid transparent;
  background-image: linear-gradient(#1a1025, #1a1025),
    linear-gradient(90deg, #4285F4 0%, #DB4437 25%, #F4B400 50%, #0F9D58 75%, #4285F4 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-store-sidebar.google:hover svg {
  filter: drop-shadow(0 0 8px rgba(66, 133, 244, 0.6));
}

/* App Store Button - Glassmorphism hover */
.btn-store-sidebar.apple:hover {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #1a1025;
}

.btn-store-sidebar.apple:hover svg {
  fill: #1a1025;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Desktop Media Query */
@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }
}

/* Hide navbar elements when mobile menu is active */
body:has(.mobile-menu.active) .navbar-toggle,
body:has(.mobile-menu.active) .navbar-cta,
body:has(.mobile-menu.active) .navbar-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Mobile Store Button (same style as download section) */
.btn-store-mobile {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  background: #1a1025 !important;
  color: white !important;
  padding: 14px 24px !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 10px 30px rgba(26, 16, 37, 0.3) !important;
  text-decoration: none !important;
  width: 100% !important;
  justify-content: center !important;
}

.btn-store-mobile:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(26, 16, 37, 0.4) !important;
  background: #0f0a18 !important;
}

.btn-store-mobile svg {
  width: 28px !important;
  height: 28px !important;
  color: white !important;
  flex-shrink: 0 !important;
}

.btn-store-mobile .btn-store-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.2 !important;
}

.btn-store-mobile .btn-store-text span {
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  opacity: 0.8 !important;
  font-weight: 400 !important;
}

.btn-store-mobile .btn-store-text strong {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
}

/* Logo in mobile sidebar */
.mobile-menu-logo {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mobile-menu-logo:hover {
  opacity: 1;
}

.mobile-menu-logo img {
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}

/* ================================================
   STORE BUTTONS - Hero and Download sections
   ================================================ */

/* Container for multiple store buttons */
.store-buttons,
.download-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .store-buttons {
    justify-content: flex-start;
  }
}

/* Hero store button styling */
.btn-store-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1025;
  color: white;
  padding: 12px 24px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 25px rgba(26, 16, 37, 0.25);
  text-decoration: none;
}

.btn-store-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 16, 37, 0.35);
  background: #0f0a18;
}

.btn-store-hero svg {
  width: 26px;
  height: 26px;
  color: white;
  flex-shrink: 0;
}

.btn-store-hero .btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store-hero .btn-store-text span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.btn-store-hero .btn-store-text strong {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Free badge styling */
.free-text-badge {
  font-weight: 600;
  color: #4c1d95;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .free-text-badge {
    text-align: left;
    width: auto;
    margin-top: 0;
  }
}

/* Google Play Button - 4 Google colors with elegant bottom border */
.btn-store-hero:nth-child(1):hover,
.btn-store:nth-child(1):hover {
  background: #1a1025;
  box-shadow: 0 15px 35px rgba(26, 16, 37, 0.4);
  border-bottom: 4px solid transparent;
  background-image: linear-gradient(#1a1025, #1a1025),
    linear-gradient(90deg, #4285F4 0%, #DB4437 25%, #F4B400 50%, #0F9D58 75%, #4285F4 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-store-hero:nth-child(1):hover svg,
.btn-store:nth-child(1):hover svg {
  filter: drop-shadow(0 0 8px rgba(66, 133, 244, 0.6));
}

/* App Store Button - Glassmorphism hover */
.btn-store-hero:nth-child(2):hover,
.btn-store:nth-child(2):hover {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #1a1025;
}

.btn-store-hero:nth-child(2):hover svg,
.btn-store:nth-child(2):hover svg {
  fill: #1a1025;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 50px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Floating Bubbles Animation */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: floatBubble 8s ease-in-out infinite;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(168, 119, 217, 0.1);
}

.floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 55%;
  left: 5%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 35%;
  right: 20%;
  animation-delay: 4s;
}

@keyframes floatBubble {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }
}

.hero-text {
  text-align: center;
  animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-primary);
  display: inline-block;
  position: relative;
}

.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: var(--color-accent);
  margin-left: 5px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-rating-stars {
  color: #ffc107 !important;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: white;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
  z-index: -1;
}

.btn-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(222, 88, 197, 0.4);
}

.btn-hero:hover::before {
  transform: translateX(100%);
}

.hero-badge {
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  background: rgba(168, 119, 217, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
}

/* 3D Phone Mockup Animation */
.hero-mockup-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
  opacity: 0;
}

.phone-3d {
  width: 300px;
  /* Base width */
  border-radius: 45px;
  box-shadow:
    20px 20px 60px rgba(168, 119, 217, 0.2),
    -5px -5px 20px rgba(255, 255, 255, 0.8);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
  animation: float3D 6s ease-in-out infinite;
  background: #101010;
  padding: 10px;
  position: relative;
}

.phone-3d:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen-content {
  border-radius: 35px;
  overflow: hidden;
  width: 100%;
  height: auto;
  background: white;
}

@keyframes float3D {

  0%,
  100% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }

  50% {
    transform: rotateY(-8deg) rotateX(3deg) translateY(-20px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Wave Decoration - Animated Multi-layer */
/* Wave Decoration - Animated Multi-layer */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 350px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  transform-origin: bottom center;
}

.wave-1 {
  fill: #4c1d95;
  /* Darkest deep violet */
  opacity: 1;
  animation: waveMove 25s linear infinite;
  z-index: 1;
}

.wave-2 {
  fill: #6d28d9;
  /* Deep purple */
  opacity: 1;
  animation: waveMove 18s linear infinite reverse;
  z-index: 2;
  height: 85% !important;
}

.wave-3 {
  fill: #8b5cf6;
  /* Vivid violet */
  opacity: 1;
  animation: waveMove 12s linear infinite;
  z-index: 3;
  height: 70% !important;
}

.wave-4 {
  fill: #ffffff;
  /* Transition to white content */
  opacity: 1;
  animation: waveMove 7s linear infinite;
  z-index: 4;
  height: 50% !important;
}

/* End of Wave Decoration */

@keyframes waveMove {
  0% {
    transform: translateX(0) scaleY(1);
  }

  50% {
    transform: translateX(-5%) scaleY(1.1);
  }

  100% {
    transform: translateX(0) scaleY(1);
  }
}

@keyframes waveMove {
  0% {
    transform: translateX(0) scaleY(1);
  }

  50% {
    transform: translateX(-5%) scaleY(1.1);
  }

  100% {
    transform: translateX(0) scaleY(1);
  }
}

/* Fix Giant Play Store Icon */
.btn-hero svg,
.btn-store svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  /* Prevent shrinking */
  flex-shrink: 0;
}

/* Desktop Hero Adjustments */
@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
  }

  .hero-rating {
    justify-content: flex-start;
  }

  .hero-cta {
    align-items: flex-start;
  }

  .hero-mockup-container {
    margin-top: 0;
  }

  .phone-3d {
    width: 340px;
  }
}

/* ============================================
   FEATURES SECTION - PREMIUM BENTO/GRID
   ============================================ */
.features {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-tag {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

.feature-card-premium {
  background: var(--color-bg-white);
  border-radius: 30px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 119, 217, 0.2);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f3eefc, #e8dff8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  transition: transform 0.4s ease;
}

.feature-card-premium:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-primary);
  color: white;
}

.feature-card-premium h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card-premium p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Desktop Features */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   APP PREVIEW - IMMERSIVE
   ============================================ */
.app-preview {
  padding: 8rem 0;
  background: #1a1025;
  /* Dark premium background */
  color: white;
  position: relative;
  overflow: hidden;
}

.app-preview::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(222, 88, 197, 0.2), transparent 70%);
  pointer-events: none;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.preview-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.checklist {
  list-style: none;
  margin-top: 2rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.check-circle {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-circle svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 3;
}

.preview-showcase {
  display: flex;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
}

.phone-screen {
  width: 160px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
}

.phone-screen.main {
  width: 200px;
  transform: translateZ(50px);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(222, 88, 197, 0.3);
}

.phone-screen.side {
  opacity: 0.6;
  transform: rotateY(15deg) scale(0.9);
}

.phone-screen.side:first-child {
  transform: rotateY(15deg) scale(0.9);
}

.phone-screen.side:last-child {
  transform: rotateY(-15deg) scale(0.9);
}

.preview-showcase:hover .phone-screen.main {
  transform: translateZ(80px);
}

@media (min-width: 1024px) {
  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-screen {
    width: 180px;
  }

  .phone-screen.main {
    width: 220px;
  }
}

/* ============================================
   CTA & FOOTER
   ============================================ */
.footer {
  background: #0f0a18;
  color: white;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #645a72;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   DOWNLOAD STATS
   ============================================ */
.download-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 600;
}

@media (max-width: 640px) {
  .download-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   FIX: ENHANCED DOWNLOAD & STORE BUTTON
   ============================================ */
.download-cta {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
  text-align: center;
}

.download-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.download-cta p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.download-stats {
  display: flex;
  justify-content: center;
  gap: 4rem !important;
  margin: 3rem 0 4rem !important;
  flex-wrap: wrap;
}

.stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.stat-number {
  font-size: 3rem !important;
  font-weight: 800 !important;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1 !important;
}

.stat-label {
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--color-text-muted) !important;
  font-weight: 700 !important;
}

/* Store Button Style */
.btn-store {
  display: inline-flex !important;
  align-items: center !important;
  gap: 15px !important;
  background: #1a1025 !important;
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 10px 20px rgba(26, 16, 37, 0.2) !important;
  text-decoration: none !important;
  margin-top: 1rem !important;
  width: auto !important;
}

.btn-store:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(26, 16, 37, 0.3) !important;
  background: black !important;
}

.btn-store svg {
  width: 28px !important;
  height: 28px !important;
  color: white !important;
  margin: 0 !important;
}

.btn-store-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.2 !important;
}

.btn-store-text span {
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  opacity: 0.8 !important;
}

.btn-store-text strong {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
}

@media (max-width: 640px) {
  .download-stats {
    gap: 2rem !important;
  }

  .stat-number {
    font-size: 2.5rem !important;
  }

  .btn-store {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Transparency Override */
.wave-1 {
  opacity: 0.4 !important;
}

.wave-2 {
  opacity: 0.6 !important;
}

.wave-3 {
  opacity: 0.8 !important;
}

.wave-4 {
  opacity: 1 !important;
}


/* Animation Speed & Direction Override */
.wave-1 {
  animation: waveMove 25s linear infinite normal !important;
}

.wave-2 {
  animation: waveMove 12s linear infinite reverse !important;
}

.wave-3 {
  animation: waveMove 7s linear infinite normal !important;
}

.wave-4 {
  animation: waveMove 18s linear infinite reverse !important;
}


/* --- 3D PHONE COMPONENT (Adapted from paraelHero.txt) --- */
.stage-container {
  perspective: 1000px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  /* Initial Isometric Position */
  transform: rotateY(-15deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow:
    20px 20px 60px rgba(42, 15, 61, 0.3),
    -5px -5px 20px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.5s ease;
  position: relative;
  cursor: pointer;
  max-width: 100%;
  /* Responsive adjustment */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .phone-mockup {
    width: 260px;
    height: 520px;
    transform: rotateY(0deg) rotateX(0deg);
    /* Flatter on mobile for better visibility */
  }
}

.phone-mockup:hover {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-20px);
  box-shadow: 30px 30px 80px rgba(42, 15, 61, 0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  /* Mask for rounded corners on image */
  mask-image: -webkit-radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reflection */
.phone-reflection {
  position: absolute;
  bottom: -50px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  transform: rotateY(-15deg);
  filter: blur(15px);
  transition: opacity 0.5s;
  pointer-events: none;
}

.phone-mockup:hover+.phone-reflection {
  opacity: 0.6;
  transform: rotateY(-5deg) scale(0.8);
}


/* --- FLOATING CARDS (Glassmorphism) --- */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: float-local 4s ease-in-out infinite;
  z-index: 10;
}

.floating-card .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.floating-card .text-box h4 {
  margin: 0;
  font-size: 0.75rem;
  color: #2a0f3d;
  font-weight: 600;
}

.floating-card .text-box p {
  margin: 0;
  font-size: 0.65rem;
  color: #666;
}

/* Card Positions (relative to phone-mockup) */
.card-1 {
  top: 10%;
  right: -30%;
  animation-delay: 0s;
}

.card-1 .icon-box {
  background: linear-gradient(135deg, #FF6B6B, #EE5D5D);
}

.card-2 {
  bottom: 25%;
  left: -25%;
  animation-delay: 1.5s;
}

.card-2 .icon-box {
  background: linear-gradient(135deg, #b978dd, #de58c5);
}

.card-3 {
  bottom: 5%;
  right: 5%;
  padding: 8px 14px;
  border-radius: 30px;
  background: #2a0f3d;
  color: white;
  animation-delay: 0.7s;
}

.card-3 span {
  font-size: 0.8rem;
  color: #ffc107;
}

@keyframes float-local {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .floating-card {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .card-1 {
    right: -20%;
    top: 5%;
  }

  .card-2 {
    left: -15%;
    bottom: 20%;
  }

  .card-3 {
    bottom: 2%;
    right: 2%;
  }
}


/* Disable image dragging in phone mockup */
.phone-mockup .screen-img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}


/* ================================================
   ENHANCED FEATURES SECTION - Premium Effects
   ================================================ */

/* Section Background Enhancement */
.features {
  background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Orbs */
.features::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(130, 71, 229, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(222, 88, 197, 0.08) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  border-radius: 50%;
  pointer-events: none;
}

/* Grid Enhancement */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Premium Card Styling */
.feature-card-premium {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(130, 71, 229, 0.1);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* Gradient Border Effect on Hover */
.feature-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #8247e5, #de58c5, #8247e5);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card-premium:hover::before {
  opacity: 1;
}

/* 3D Lift Effect */
.feature-card-premium:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(130, 71, 229, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Icon Wrapper Enhancement */
.feature-card-premium .feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f3f0fa 0%, #e8e0f5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
}

/* Icon Glow on Hover */
.feature-card-premium:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, #8247e5 0%, #de58c5 100%);
  box-shadow: 0 10px 30px rgba(130, 71, 229, 0.3);
  transform: scale(1.1) rotate(5deg);
}

/* Icon Filter Effect */
.feature-card-premium:hover .feature-icon-wrapper {
  filter: drop-shadow(0 0 8px rgba(130, 71, 229, 0.5));
}

/* Card Title */
.feature-card-premium h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2a0f3d;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.feature-card-premium:hover h3 {
  color: #8247e5;
}

/* Card Description */
.feature-card-premium p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Staggered Animation on Scroll */
.feature-card-premium:nth-child(1) {
  animation-delay: 0s;
}

.feature-card-premium:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card-premium:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card-premium:nth-child(4) {
  animation-delay: 0.3s;
}

/* Psychological Trigger - Popular Badge */
.feature-card-premium.popular::after {
  content: ' Popular';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #2a0f3d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .feature-card-premium {
    padding: 1.5rem;
  }

  .feature-card-premium .feature-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}


/* ================================================
   PREMIUM BENTO GRID - Features Section Redesign
   ================================================ */

.features-premium {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 30%, #f5f0ff 70%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Hero Card - Spans 2 columns */
.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 380px;
  background: linear-gradient(135deg, #8247e5 0%, #a855f7 50%, #de58c5 100%);
  color: white;
}

.bento-hero h3,
.bento-hero p {
  color: white;
}

.bento-hero .icon-float {
  background: rgba(255, 255, 255, 0.2);
}

/* Featured Card */
.bento-featured {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
  border: 2px solid #ffd54f;
}

/* Stats Card - Full width bottom */
.bento-stats {
  grid-column: span 3;
  background: linear-gradient(135deg, #2a0f3d 0%, #4c1d95 100%);
  color: white;
}

/* Base Card Styling */
.bento-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(130, 71, 229, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

/* 3D Tilt Hover Effect */
.bento-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow:
    0 25px 50px rgba(130, 71, 229, 0.15),
    0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-card:hover .card-glow {
  opacity: 1;
}

/* Icon Styling */
.icon-float {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f3f0fa 0%, #e8e0f5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 20px rgba(130, 71, 229, 0.1);
}

.bento-card:hover .icon-float {
  transform: scale(1.1) translateY(-4px) rotate(5deg);
  box-shadow: 0 12px 30px rgba(130, 71, 229, 0.2);
}

/* Card Content */
.card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2a0f3d;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Card Stats (Hero Card) */
.card-stats {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card CTA Button */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.card-cta svg {
  transition: transform 0.3s ease;
}

.card-cta:hover svg {
  transform: translateX(4px);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #2a0f3d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Benefit Tags */
.benefit-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.benefit-tags .tag {
  background: linear-gradient(135deg, #8247e5, #de58c5);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #e0d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-name {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animated Background Elements */
.features-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(130, 71, 229, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(222, 88, 197, 0.08) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.bg-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(130, 71, 229, 0.1), transparent);
  height: 1px;
}

.line-1 {
  width: 60%;
  top: 50%;
  left: 20%;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -20px) scale(1.05);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-hero {
    grid-column: span 2;
    grid-row: span 1;
    min-height: auto;
  }

  .bento-stats {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-hero,
  .bento-stats {
    grid-column: span 1;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }
}


/* ================================================
   FEATURES SECTION V2 - Premium Bento Grid
   ================================================ */

.features-v2 {
  padding: 6rem 0;
  background: linear-gradient(180deg, #fff 0%, #faf8ff 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: inline;
  }
}

/* Section Header V2 */
.section-tag-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(192, 132, 252, 0.15);
  color: #a855f7;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title-v2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient-animated {
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef, #6366f1);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textFlow 5s linear infinite;
}

@keyframes textFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.section-subtitle-v2 {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* Bento Grid Layout */
.features-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Base Card */
.f-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.f-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.f-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.f-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* Hero Card (Encuentra Pymes) */
.f-card-hero {
  grid-column: span 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .f-card-hero {
    grid-column: span 7;
    grid-row: span 2;
  }
}

.f-card-bg-map {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chile-map-svg {
  width: 120px;
  height: auto;
  opacity: 0.8;
}

.santiago-pulse {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  80%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.radar-circles {
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 200px;
  height: 200px;
}

.ring-2 {
  width: 120px;
  height: 120px;
  opacity: 0.5;
}

.f-card-content {
  position: relative;
  z-index: 2;
}

.f-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Icon Boxes */
.f-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.f-icon-box .material-icons-outlined {
  font-size: 24px;
}

.f-icon-box.pink {
  background: rgba(244, 114, 182, 0.15);
  color: #ec4899;
}

.f-icon-box.orange {
  background: rgba(251, 146, 60, 0.15);
  color: #f97316;
}

.f-icon-box.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.f-icon-box.cyan {
  background: rgba(34, 211, 238, 0.15);
  color: #06b6d4;
}

/* Floating Pins */
.floating-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: float-local 4s ease-in-out infinite;
  z-index: 5;
}

.pin-1 {
  top: 25%;
  right: 15%;
  animation-delay: 0s;
}

.pin-2 {
  bottom: 30%;
  right: 25%;
  animation-delay: 1.5s;
}

.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pin-dot.green {
  background: #22c55e;
}

.pin-dot.purple {
  background: #8b5cf6;
}

.pin-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
}

/* Benefits Card */
.f-card-benefits {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .f-card-benefits {
    grid-column: span 5;
  }
}

.f-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.popular-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.b-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.b-pill.accent {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.2);
}

/* Pyme Card */
.f-card-pyme {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .f-card-pyme {
    grid-column: span 5;
  }
}

/* Digital Card */
.f-card-digital {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .f-card-digital {
    grid-column: span 12;
    flex-direction: row;
    padding: 2.5rem 3rem;
  }
}

.f-card-digital-content {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .f-card-digital-content {
    text-align: left;
  }
}

.digital-card-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.d-card {
  width: 280px;
  height: 170px;
  background: transparent;
  border-radius: 16px;
  padding: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
  transition: transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.d-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
}

.d-card::before {
  content: none;
}

.d-card:hover {
  transform: none;
}

.d-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.d-card-chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.d-card-chip-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.d-card-type {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.d-card-number {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.d-card-number .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.d-card-number .number {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-left: 8px;
}

.d-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

.d-card-brand {
  font-size: 0.6rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.d-card-logo {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.d-card-logo-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Stats Bar */
.f-stats-bar {
  grid-column: span 1;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .f-stats-bar {
    grid-column: span 12;
  }
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  padding: 8px;
  border-radius: 10px;
  font-size: 20px;
}

.stat-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.stat-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.stat-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.stat-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-data {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
  display: none;
}

@media (min-width: 768px) {
  .stat-divider {
    display: block;
  }
}


/* ================================================
   SANTIAGO CITY MAP - Encuentra Pymes Card
   ================================================ */

.santiago-city-map {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}

.city-grid-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

/* Map Markers */
.map-marker {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
  animation: float-local 3s ease-in-out infinite;
}

.map-marker .material-icons {
  font-size: 18px;
}

/* User location marker */
.marker-user {
  top: 45%;
  left: 40%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  width: 44px;
  height: 44px;
  z-index: 10;
}

.marker-user .material-icons {
  font-size: 22px;
}

.marker-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.3);
  animation: pulse-expand 2s ease-out infinite;
}

@keyframes pulse-expand {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Business markers */
.marker-1 {
  top: 25%;
  left: 60%;
  background: #fff;
  color: #f97316;
  animation-delay: 0.5s;
}

.marker-2 {
  top: 60%;
  left: 70%;
  background: #fff;
  color: #22c55e;
  animation-delay: 1s;
}

.marker-3 {
  top: 35%;
  left: 25%;
  background: #fff;
  color: #8b5cf6;
  animation-delay: 1.5s;
}

/* Radar Scan Effect */
.radar-scan {
  position: absolute;
  top: 45%;
  left: 40%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(139, 92, 246, 0.15) 60deg, transparent 120deg);
  animation: radar-spin 4s linear infinite;
  pointer-events: none;
}

@keyframes radar-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Floating Info Cards */
.map-info-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 15;
  animation: float-local 4s ease-in-out infinite;
}

.map-info-card .material-icons {
  font-size: 20px;
}

.map-info-card div {
  display: flex;
  flex-direction: column;
}

.map-info-card strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}

.map-info-card span {
  font-size: 0.65rem;
  color: #64748b;
}

.info-1 {
  top: 18%;
  right: 8%;
  animation-delay: 0s;
}

.info-2 {
  bottom: 22%;
  right: 5%;
  animation-delay: 1.5s;
}

/* Color utilities */
.text-green-500 {
  color: #22c55e;
}

.text-purple-500 {
  color: #8b5cf6;
}

/* Responsive */
@media (max-width: 768px) {
  .santiago-city-map {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    border-radius: 0 0 24px 24px;
    opacity: 0.5;
  }

  .map-info-card {
    display: none;
  }

  .f-card-hero {
    min-height: 500px;
  }
}


/* ================================================
   FIXES: Encuentra Pymes Card Layout
   ================================================ */

/* Ensure content stays above map */
.f-card-hero .f-card-content {
  position: relative;
  z-index: 20;
  max-width: 45%;
  background: linear-gradient(90deg, #fff 70%, transparent 100%);
  padding-right: 2rem;
  margin: -2rem;
  padding: 2rem;
  padding-right: 3rem;
  border-radius: 24px 0 0 24px;
}

/* Limit map area to right side only */
.santiago-city-map {
  width: 55% !important;
  left: auto !important;
  right: 0 !important;
}

/* Fix icon box position */
.f-card-hero .f-icon-box {
  position: relative;
  z-index: 25;
}

/* Fix info card icons - remove separate small icons */
.map-info-card .material-icons {
  flex-shrink: 0;
}

/* Better info card positioning */
.info-1 {
  top: 12% !important;
  right: 3% !important;
}

.info-2 {
  bottom: 15% !important;
  right: 2% !important;
}

/* Ensure proper layering */
.map-marker {
  z-index: 10 !important;
}

.radar-scan {
  z-index: 5 !important;
}

/* ================================================
   PROVIDENCIA MAP - OpenStreetMap Static Image
   ================================================ */

.providencia-map-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
  background: linear-gradient(135deg, #f8f5ff 0%, #e8e0f5 100%);
}

.providencia-map-tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: saturate(0.9) contrast(1.05);
}

.map-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.85) 20%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(248, 245, 255, 0.2) 100%);
  pointer-events: none;
}

/* Demo Business Markers */
.demo-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.demo-marker:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.demo-marker .material-icons {
  font-size: 20px;
}

/* Marker positions */
.demo-marker-cafe {
  top: 25%;
  left: 55%;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: white;
  animation: float-local 3.5s ease-in-out infinite;
}

.demo-marker-restaurant {
  top: 50%;
  left: 75%;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  animation: float-local 4s ease-in-out infinite 0.5s;
}

.demo-marker-health {
  top: 70%;
  left: 55%;
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  animation: float-local 3.8s ease-in-out infinite 1s;
}

.demo-marker-bakery {
  top: 35%;
  left: 85%;
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: white;
  animation: float-local 4.2s ease-in-out infinite 1.5s;
}

.demo-marker-gym {
  top: 60%;
  left: 40%;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  animation: float-local 3.6s ease-in-out infinite 0.8s;
}

.demo-marker-user {
  top: 45%;
  left: 60%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  width: 48px;
  height: 48px;
  z-index: 15;
}

.demo-marker-user .material-icons {
  font-size: 24px;
}

/* Pulse ring effect for user marker */
.marker-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
  animation: pulse-expand 2s ease-out infinite;
  z-index: -1;
}

/* Info Cards positioning for new design */
.info-cafe {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.info-restaurant {
  top: 35%;
  right: 3%;
  animation-delay: 0.8s;
}

.info-health {
  bottom: 30%;
  right: 5%;
  animation-delay: 1.2s;
}

.info-location {
  bottom: 10%;
  right: 8%;
  animation-delay: 1.6s;
}

/* Info status styling */
.info-status {
  font-size: 0.65rem;
  color: #64748b;
}

.info-status.open::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 4px;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Additional text color utilities */
.text-amber-600 {
  color: #d97706;
}

.text-red-500 {
  color: #ef4444;
}

/* ================================================
   FOOTER CREDITS STYLING
   ================================================ */

.footer-credits {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credits p {
  color: #a1a1aa;
  font-size: 0.9rem;
  margin: 0;
}

.credit-link {
  color: #a78bfa;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.credit-link:hover {
  color: #c4b5fd;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.credit-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #de58c5);
  transition: width 0.3s ease;
}

.credit-link:hover::after {
  width: 100%;
}

.credit-separator {
  margin: 0 0.75rem;
  color: #52525b;
}

/* Responsive for Providencia Map */
@media (max-width: 768px) {

  /* Card layout optimization */
  .f-card-hero {
    min-height: auto !important;
    padding-bottom: 0 !important;
  }

  .f-card-hero .f-card-content {
    max-width: 100%;
    background: white;
    padding: 1.5rem !important;
    padding-bottom: 1rem !important;
    margin: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    position: relative;
    z-index: 25;
  }

  /* Map container at bottom */
  .providencia-map-container {
    position: relative;
    width: 100%;
    height: 180px;
    top: auto;
    bottom: 0;
    border-radius: 0 0 24px 24px;
  }

  .map-overlay-gradient {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0) 100%);
  }

  /* Hide floating info cards on mobile */
  .map-info-card {
    display: none;
  }

  /* Compact markers for mobile */
  .demo-marker {
    width: 28px;
    height: 28px;
  }

  .demo-marker .material-icons {
    font-size: 14px;
  }

  .demo-marker-user {
    width: 34px;
    height: 34px;
  }

  .demo-marker-user .material-icons {
    font-size: 18px;
  }

  /* Reposition markers to fit within smaller map area */
  .demo-marker-cafe {
    top: 20%;
    left: 15%;
  }

  .demo-marker-restaurant {
    top: 35%;
    left: 75%;
  }

  .demo-marker-health {
    top: 65%;
    left: 25%;
  }

  .demo-marker-bakery {
    top: 25%;
    left: 55%;
  }

  .demo-marker-gym {
    top: 60%;
    left: 65%;
  }

  .demo-marker-user {
    top: 40%;
    left: 45%;
  }
}

/* ================================================
   APP PREVIEW SECTION - Experiencia Fluida
   ================================================ */

/* Feature List Styling */
.app-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.app-feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.app-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-feature-icon .material-icons {
  color: white;
  font-size: 24px;
}

.app-feature-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-feature-info strong {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.app-feature-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Phone Cards Wrapper */
.phone-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  perspective: 1000px;
}

.phone-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #1a1025;
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-card.main {
  width: 280px;
  height: 560px;
  z-index: 10;
  transform: translateY(0);
}

.phone-card.side-left,
.phone-card.side-right {
  width: 220px;
  height: 440px;
  z-index: 5;
  opacity: 0.7;
}

.phone-card.side-left {
  transform: rotateY(15deg) translateX(-20px);
}

.phone-card.side-right {
  transform: rotateY(-15deg) translateX(20px);
}

.phone-card:hover {
  opacity: 1 !important;
  transform: translateY(-10px) scale(1.02);
  z-index: 15;
}

/* Phone Card Labels */
.phone-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(26, 16, 37, 0.95), transparent);
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.phone-card-label .material-icons {
  font-size: 18px;
  color: #c084fc;
}

/* Responsive */
@media (max-width: 1024px) {
  .phone-card-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .phone-card.side-left,
  .phone-card.side-right {
    display: none;
  }

  .phone-card.main {
    width: 260px;
    height: 520px;
  }
}

@media (max-width: 768px) {
  .app-feature-item {
    padding: 0.75rem;
  }

  .app-feature-icon {
    width: 40px;
    height: 40px;
  }

  .app-feature-icon .material-icons {
    font-size: 20px;
  }

  .phone-card.main {
    width: 220px;
    height: 440px;
  }
}

/* ================================================
   HAND OF CARDS GALLERY (Experiencia Fluida)
   Based on paraExperiencia.txt
   ================================================ */

:root {
  /* Dimensiones base de carta */
  --card-w-desktop: 280px;
  --card-h-desktop: 420px;

  --card-w-mobile: 240px;
  --card-h-mobile: 360px;

  --perspective: 1000px;
}

.scene-container {
  perspective: var(--perspective);
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
  height: 600px;
  /* Altura fija para el contenedor en la landing */
  width: 100%;
  position: relative;
  overflow: hidden;
}

.card-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  /* Pivote inferior para efecto abanico */
  transform-origin: 50% 150%;

  width: var(--card-w-desktop);
  height: var(--card-h-desktop);
  margin-left: calc(var(--card-w-desktop) * -0.5);
  margin-top: calc(var(--card-h-desktop) * -0.6);

  transform-style: preserve-3d;
  will-change: transform, opacity;
  cursor: grab;

  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.8s ease,
    z-index 0s;
}

.card-wrapper:active {
  cursor: grabbing;
}

.card-visual {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1a1a;

  /* Glassmorphism Border */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.6);

  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

/* Efecto Holo/Brillo */
.holo-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.2),
      transparent 40%);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.3s;
  z-index: 10;
  pointer-events: none;
}

.dimmer {
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 20;
  pointer-events: none;
}

@media (max-width: 640px) {
  .card-wrapper {
    width: var(--card-w-mobile);
    height: var(--card-h-mobile);
    margin-left: calc(var(--card-w-mobile) * -0.5);
    margin-top: calc(var(--card-h-mobile) * -0.5);
    transform-origin: 50% 120%;
  }

  .scene-container {
    height: 500px;
  }
}

.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: white;
  width: 0%;
  transition: width 0.1s linear;
}

/* Custom Navigation Buttons for Hand Gallery */
.hg-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: -2rem;
  /* Pull up closer to cards */
  position: relative;
  z-index: 50;
  padding-bottom: 3rem;
}

.hg-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  color: white;
  cursor: pointer;
}

.hg-btn:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

/* ================================================
   HAND OF CARDS GALLERY (Experiencia Fluida) - EXACT IMPLEMENTATION
   Based on paraExperiencia.txt
   ================================================ */

.hand-gallery-section {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #050505;
  overflow: hidden;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.hand-gallery-section {
  --card-w-desktop: 280px;
  --card-h-desktop: 420px;
  --card-w-mobile: 240px;
  --card-h-mobile: 360px;
  --perspective: 1000px;
}

/* Ambient Background */
.ambient-bg {
  position: absolute;
  inset: 0;
  transition: background-color 1s ease;
  background-color: #0f0f11;
  z-index: 0;
}

/* Noise Texture */
.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg viewBox=\'0 0 200 200\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cfilter id=\'noiseFilter\'%3E%3CfeTurbulence type=\'fractalNoise\' baseFrequency=\'0.8\' numOctaves=\'3\' stitchTiles=\'stitch\'/%3E%3C/filter%3E%3Crect width=\'100%25\' height=\'100%25\' filter=\'url(%23noiseFilter)\'/%3E%3C/svg%3E');
}

/* Header Content */
.hg-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hg-header-content {
  max-width: 36rem;
  pointer-events: auto;
}

.hg-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hg-gradient-text {
  background: linear-gradient(to right, #22d3ee, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hg-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.625;
}

/* Scene Container */
.hg-scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  perspective: var(--perspective);
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Card Wrapper */
.hg-card-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 150%;
  width: var(--card-w-desktop);
  height: var(--card-h-desktop);
  margin-left: calc(var(--card-w-desktop) * -0.5);
  margin-top: calc(var(--card-h-desktop) * -0.6);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  cursor: grab;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.8s ease,
    z-index 0s;
}

.hg-card-wrapper:active {
  cursor: grabbing;
}

/* Card Visual */
.hg-card-visual {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

/* Card Elements */
.hg-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.7s;
}

.hg-card-wrapper:hover .hg-card-img {
  transform: scale(1.1);
}

.hg-dimmer {
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 20;
  pointer-events: none;
}

.hg-holo-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.2),
      transparent 40%);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.3s;
  z-index: 10;
  pointer-events: none;
}

.hg-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black, rgba(0, 0, 0, 0.4), transparent);
}

/* Card Content */
.hg-card-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.hg-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  text-align: left;
  transform: translateY(0);
  transition: transform 0.5s;
}

.hg-card-wrapper:hover .hg-card-text {
  transform: translateY(-0.5rem);
}

.hg-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hg-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.hg-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hg-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin: 0;
}

/* Footer Controls */
.hg-footer {
  position: absolute;
  bottom: 3rem;
  width: 100%;
  max-width: 32rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 50;
}

.hg-nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: all 0.2s;
  color: white;
  cursor: pointer;
}

.hg-nav-btn:hover {
  background: white;
  color: black;
  transform: scale(0.95);
}

.hg-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.7;
}

.hg-nav-btn:hover svg {
  opacity: 1;
}

.hg-pagination {
  display: flex;
  gap: 0.75rem;
}

.hg-dot-btn {
  height: 0.375rem;
  border-radius: 9999px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.3);
  width: 0.5rem;
  border: none;
  cursor: pointer;
}

.hg-dot-btn.active {
  background: white;
  width: 2rem;
}

.hg-dot-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}

/* Progress Bar */
.hg-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  overflow: hidden;
  z-index: 50;
}

.hg-progress-bar {
  height: 100%;
  background: white;
  width: 0%;
  transition: width 0.1s linear;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .hg-card-wrapper {
    width: var(--card-w-mobile);
    height: var(--card-h-mobile);
    margin-left: calc(var(--card-w-mobile) * -0.5);
    margin-top: calc(var(--card-h-mobile) * -0.5);
    transform-origin: 50% 120%;
  }

  .hg-header {
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .hg-title {
    font-size: 2.25rem;
  }

  .hg-scene {
    padding-top: 5rem;
  }
}

/* ================================================
   WHATSPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Animaci�n de pulso suave */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

/* ================================================
   INSTITUTIONAL SECTION
   ================================================ */
.institutional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.inst-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.inst-card:hover {
  transform: translateY(-5px);
}

.inst-card.full-width {
  grid-column: 1 / -1;
}

.inst-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.inst-icon.blue {
  background: #e0f2fe;
  color: #0ea5e9;
}

.inst-icon.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.inst-icon.pink {
  background: #fce7f3;
  color: #ec4899;
}

.inst-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1025;
}

.inst-card p {
  color: #645a72;
  line-height: 1.6;
}

/* Norms Details */
.norms-container {
  margin-bottom: 3rem;
}

.norms-details {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.norms-summary {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #1a1025;
  background: #fdfdfd;
  transition: background 0.2s;
}

.norms-summary:hover {
  background: #f8f7fc;
}

.norms-summary .arrow {
  margin-left: auto;
  transition: transform 0.3s;
}

.norms-details[open] .arrow {
  transform: rotate(180deg);
}

.norms-content {
  padding: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: white;
}

.norms-content h4 {
  color: #1a1025;
  margin-bottom: 1rem;
}

.norms-content ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
  color: #645a72;
}

.norms-content li {
  margin-bottom: 0.5rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.benefit-box {
  background: #1a1025;
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
}

.benefit-box h4 {
  color: #c084fc;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit-box p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ================================================
   BENEFITS SECTION - PREMIUM DESIGN
   ================================================ */
.benefits-section {
  background: linear-gradient(180deg, #f8f7fc 0%, #ffffff 100%);
  padding: 5rem 0;
}

.benefits-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.benefit-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-card-icon .material-icons {
  font-size: 28px;
  color: white;
}

.benefit-card-content h3 {
  font-size: 1.5rem;
  color: #1a1025;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.benefit-card-content p {
  color: #645a72;
  line-height: 1.6;
}

.benefit-card-glow {
  position: absolute;
  bottom: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
  pointer-events: none;
}

.benefit-card-glow.cyan {
  background: #06b6d4;
}

.benefit-card-glow.purple {
  background: #8b5cf6;
}

.benefit-card-glow.pink {
  background: #ec4899;
}

/* CTA Banner */
.benefits-cta {
  background: linear-gradient(135deg, #1a1025 0%, #2d1f3d 100%);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefits-cta-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.benefits-cta-content p {
  color: rgba(255, 255, 255, 0.7);
}

.benefits-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefits-cta .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
  .benefits-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* ================================================
   FOOTER PREMIUM DESIGN
   ================================================ */
.footer-new {
  background: #0d0a12;
  padding: 4rem 0 2rem;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8b5cf6;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-logo-img {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-location .material-icons {
  font-size: 18px;
  color: #8b5cf6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #c084fc;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.contact-item:hover {
  color: #c084fc;
}

.contact-item .material-icons {
  font-size: 18px;
  color: #8b5cf6;
}

/* Normas in Footer */

/* =============================
   FOOTER PREMIUM STYLES
   ============================= */
.footer-new {
  background: linear-gradient(180deg, #0d0a12 0%, #1a1525 100%);
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-logo-img img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-location .material-icons {
  font-size: 1.2rem;
  color: var(--primary-color, #7c3aed);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color, #7c3aed);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-contact .contact-item:hover {
  color: var(--primary-color, #7c3aed);
}

.footer-contact .contact-item .material-icons {
  font-size: 1.2rem;
  color: var(--primary-color, #7c3aed);
}

/* Footer Norms Collapsible */
.footer-norms {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-norms details summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: background 0.2s ease;
  list-style: none;
}

.footer-norms details summary::-webkit-details-marker {
  display: none;
}

.footer-norms details summary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-norms details summary .material-icons {
  color: var(--primary-color, #7c3aed);
}

.footer-norms details summary .arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.footer-norms details[open] summary .arrow {
  transform: rotate(180deg);
}

.footer-norms .norms-text {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-norms .norms-text p {
  margin-bottom: 1rem;
}

.footer-norms .norms-text p:last-child {
  margin-bottom: 0;
}

/* Footer Bottom */
.footer-bottom-new {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-credits-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-credits-new a {
  color: var(--primary-color, #7c3aed);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credits-new a:hover {
  color: #9f67ff;
}

.footer-credits-new .separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
}

/* =============================
   WHATSAPP FLOATING BUTTON
   ============================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* =============================
   FOOTER RESPONSIVE
   ============================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-location {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-credits-new {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-credits-new .separator {
    display: none;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* =============================
   FOOTER GRID - 3 COLUMNAS
   ============================= */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-location .material-icons {
  font-size: 1.3rem;
  color: var(--primary-color, #7c3aed);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color, #7c3aed);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-contact .contact-item:hover {
  color: var(--primary-color, #7c3aed);
}

.footer-contact .contact-item .material-icons {
  font-size: 1.3rem;
  color: var(--primary-color, #7c3aed);
}

/* Enlaces Institucionales */
.footer-institutional {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-institutional a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-institutional a:hover {
  color: var(--primary-color, #7c3aed);
}

.footer-institutional .dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom-new {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

.footer-credits-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.footer-credits-new a {
  color: var(--primary-color, #7c3aed);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credits-new a:hover {
  color: #9f67ff;
}

.footer-credits-new .separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

/* =============================
   WHATSAPP BUTTON - FIXED
   ============================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* =============================
   FOOTER RESPONSIVE
   ============================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .brand-col {
    grid-column: span 2;
    text-align: center;
  }

  .footer-location {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-col {
    grid-column: span 1;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-institutional {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-institutional .dot {
    display: none;
  }

  .footer-credits-new {
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-credits-new .separator {
    display: none;
  }

  /* WhatsApp button - siempre visible */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

/* =============================
   CONTACT MODAL STYLES
   ============================= */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-content {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #e5e7eb;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-icon .material-icons {
  font-size: 32px;
  color: white;
}

.modal-header h2 {
  font-size: 1.75rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  padding: 0;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.form-message.success {
  padding: 1rem;
  background: #d1fae5;
  color: #065f46;
}

.form-message.error {
  padding: 1rem;
  background: #fee2e2;
  color: #b91c1c;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 576px) {
  .contact-modal-content {
    padding: 1.5rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }
}

/* =============================
   EXTERNAL REDIRECT MODAL
   ============================= */
.external-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.external-modal.active {
  opacity: 1;
  visibility: visible;
}

.external-modal-content {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.external-modal.active .external-modal-content {
  transform: scale(1);
}

.external-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.external-modal-icon svg {
  width: 60px;
  height: 60px;
}

.external-modal-content h3 {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.external-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.external-notice {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.external-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-external-cancel {
  padding: 0.875rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-external-cancel:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.btn-external-continue {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-external-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-external-continue .material-icons {
  font-size: 18px;
}

/* Footer Contact Icons */
.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .external-modal-content {
    padding: 2rem 1.5rem;
  }

  .external-modal-buttons {
    flex-direction: column;
  }
}

/* =============================
   FIXES & UPDATES
   ============================= */

/* Fix for invisible stats numbers */
.download-stats .stat-number {
  color: #1a1a2e !important;
}

.download-stats .stat-label {
  color: #4b5563 !important;
}

/* Fix for footer duplicate border */
.footer-grid {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 2rem !important;
}

/* Button Store Hero Style */
.btn-store-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0d0a12;
  color: white !important;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
}

.btn-store-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #1a1525;
  color: white !important;
}

.btn-store-hero svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.btn-store-text span {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.btn-store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

/* =============================
   FINAL FIXES - FORCE VISIBILITY
   ============================= */

/* Reset gradients and text-fill for stats */
.download-cta .stat-number,
.download-cta .stat-label {
  background: none !important;
  -webkit-text-fill-color: #000000 !important;
  text-fill-color: #000000 !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #000000 !important;
}

/* Fix Button Hovers Separately */

/* Google Play: Dark BG -> White Text */
.btn-store-hero[data-external="playstore"]:hover,
.btn-store-hero[data-external="playstore"]:hover strong,
.btn-store-hero[data-external="playstore"]:hover span,
.btn-store-hero[data-external="playstore"]:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* App Store: Light BG -> Black Text */
.btn-store-hero[data-external="appstore"]:hover,
.btn-store-hero[data-external="appstore"]:hover strong,
.btn-store-hero[data-external="appstore"]:hover span,
.btn-store-hero[data-external="appstore"]:hover svg {
  background: #ffffff !important;
  color: #000000 !important;
  fill: #000000 !important;
}