/* =========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================= */
:root {
  --c-bg: #0f1f27;
  --c-bg-alt: #162a34;
  --c-bg-card: #1c3541;
  
  --c-red: #2E9E57;
  --c-red-glow: rgba(46, 158, 87, 0.4);
  
  --c-orange: #5BD48A;
  --c-orange-glow: rgba(91, 212, 138, 0.4);
  
  --c-text-main: #ffffff;
  --c-text-muted: #d9d9d9;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================================================
   RESET & GLOBAL STYLES
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--c-bg);
  color: var(--c-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -3;
  opacity: 0.45;
  mix-blend-mode: screen; 
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="smoke"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.007" numOctaves="5" stitchTiles="stitch"/%3E%3CfeColorMatrix type="saturate" values="0"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23smoke)"/%3E%3C/svg%3E');
  background-size: cover;
  animation: heavySmoke 20s ease-in-out infinite alternate;
}

@keyframes heavySmoke {
  0% { transform: scale(1) translateY(0); opacity: 0.3; }
  100% { transform: scale(1.15) translateY(-20px); opacity: 0.6; }
}



a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* =========================================================================
   PRELOADER
   ========================================================================= */
.preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--c-bg);
  background-image: none;
  background-size: cover;
  background-position: center;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.preloader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 31, 39, 0.65); /* Asegura contraste con la barra y el logo */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.preloader-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 90%;
  max-width: 720px;
}

.preloader-logo {
  height: 350px;
  width: auto;
  margin: 0 auto 3rem auto;
  filter: drop-shadow(0 0 40px rgba(91, 212, 138, 0.4));
  animation: pulseLogo 1.5s infinite alternate ease-in-out;
  display: block;
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(91, 212, 138, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 60px rgba(46, 158, 87, 0.9)); }
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Gliker', var(--font-main);
  letter-spacing: 0.05em;
  text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.loading-bar-container {
  width: 100%;
  height: 16px;
  background: #d9d9d9; /* The unburnt "fuse" */
  border-radius: 12px;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
}

.loading-bar {
  height: 100%;
  width: 0%;
  /* The burnt, charred trail left behind */
  background: linear-gradient(90deg, #050505 0%, #0b1a10 50%, #0b3a1e 100%);
  border-radius: 12px 0 0 12px;
  position: relative;
  transition: width 0.15s ease-out;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.9);
}

.loading-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -25px;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle at center, 
      #ffffff 0%, 
      #E2FFE9 20%, 
      #5BD48A 50%, 
      #2E9E57 70%, 
      transparent 100%);
  border-radius: 50% 0% 50% 50%;
  transform: translateY(-50%) rotate(-45deg);
  box-shadow: 
      0 0 20px rgba(91, 212, 138, 0.9),
      0 0 40px rgba(46, 158, 87, 0.8),
      0 0 60px rgba(46, 158, 87, 0.5);
  z-index: 10;
  animation: realisticFlame 0.15s infinite alternate;
  mix-blend-mode: screen;
}

@keyframes realisticFlame {
  0% { transform: translateY(-50%) rotate(-40deg) scale(0.95); filter: blur(0px); }
  100% { transform: translateY(-50%) rotate(-50deg) scale(1.2); filter: blur(1px); }
}

#preloader-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.preloader-fire-particle {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle, rgba(91, 212, 138, 0.8) 0%, rgba(46, 158, 87, 0) 70%);
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: preloaderFloatUp linear forwards;
}

@keyframes preloaderFloatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(2.5); opacity: 0; }
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 100px 0;
}

.alt-bg {
  background-color: var(--c-bg-alt);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.w-full { width: 100%; }
.max-w-prose { max-width: 65ch; }
.text-gray { color: var(--c-text-muted); }
.text-sm { font-size: 0.875rem; }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--c-red), var(--c-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--c-orange), #A7F0C1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-red), var(--c-orange));
  color: white;
  box-shadow: 0 4px 15px var(--c-red-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px var(--c-red-glow), 0 0 15px var(--c-orange);
  animation: btnPulse 1.5s infinite alternate;
}

@keyframes btnPulse {
  0% { box-shadow: 0 12px 30px var(--c-red-glow), 0 0 10px var(--c-orange); }
  100% { box-shadow: 0 15px 40px var(--c-red-glow), 0 0 25px var(--c-orange); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1000;
  padding: 0.6rem 0;
  transition: all 0.5s ease;
  background: rgba(15, 31, 39, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(91, 212, 138, 0.3);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 15px rgba(46, 158, 87, 0.2);
}

.header::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange), transparent, transparent);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.header .header-container {
  max-width: 100%;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-main-img {
  height: 250px; /* Enlarge 25% from 200px as requested */
  width: auto;
  max-width: 100%;
  margin: -45px 0; /* Negatives margins allow it to stick out even more while the bar stays slim */
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 30px rgba(91, 212, 138, 0.45));
}

.logo-main-img:hover {
  filter: drop-shadow(0 0 35px rgba(46, 158, 87, 0.6));
  transform: scale(1.05) rotate(1deg);
}



.nav-menu ul {
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem; /* Reduced as requested */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(91, 212, 138, 0.8), 0 0 25px rgba(46, 158, 87, 0.4);
  transform: translateY(-2px);
}

.nav-menu a:hover::after {
  width: 100%;
  box-shadow: 0 0 15px var(--c-orange);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: white;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 280px;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(46, 158, 87, 0.15) 0%, rgba(15, 31, 39, 0) 60%);
  z-index: -1;
}

#particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--c-orange);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0;
  animation: floatUp ease-in infinite;
}

@keyframes floatUp {
  0% { transform: translateY(100px) scale(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-500px) scale(1.5); opacity: 0; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--c-text-muted);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-microtext {
  font-size: 0.85rem;
  color: rgba(217, 217, 217, 0.7);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dot {
  color: var(--c-red);
  font-weight: bold;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 31, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(91, 212, 138, 0.4);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-text .small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  line-height: 1;
  margin-bottom: 2px;
}

.store-text .big {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

/* Hero Image Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: floatPhone 6s ease-in-out infinite;
  overflow: visible;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Hover Fire Particles */
.hover-fire-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #5BD48A 10%, rgba(46, 158, 87, 0.8) 60%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  animation: miniFire 0.8s ease-out forwards;
  filter: blur(2px);
  z-index: 10;
  mix-blend-mode: screen;
}

@keyframes miniFire {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  100% { transform: translate(-50%, -80px) scale(0); opacity: 0; }
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 90%;
  background: radial-gradient(circle, rgba(46, 158, 87, 0.25) 0%, rgba(91, 212, 138, 0.15) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-app-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
  transform: scale(1);
  transform-origin: center;
}

.floating-element {
  position: absolute;
  background: rgba(22, 42, 52, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 16px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.el-1 {
  bottom: 80px;
  right: -40px;
  animation: floatElement 5s ease-in-out infinite reverse;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-orange);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

@keyframes floatElement {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* =========================================================================
   STATS BANNER
   ========================================================================= */
.stats-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, var(--c-bg) 0%, transparent 20%, transparent 80%, var(--c-bg) 100%),
    linear-gradient(90deg, rgba(15, 31, 39, 0.8), rgba(46, 158, 87, 0.4));
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.stat-item {
  padding: 3rem 1.5rem;
  background: rgba(15, 31, 39, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  border-color: rgba(91, 212, 138, 0.4);
  box-shadow: 0 20px 50px rgba(46, 158, 87, 0.3);
}

.stat-number {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--c-orange);
  margin-bottom: 0.5rem;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
  font-family: 'Gliker', var(--font-main);
}

.stat-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--c-text-muted);
  font-size: 1.05rem;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  animation: floatPhone 7s ease-in-out infinite reverse;
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(46, 158, 87, 0.15) 0%, rgba(91, 212, 138, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}

.rounded-img {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  display: block;
  width: 100%;
}

.about-hero-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
  transform: scale(1.15);
  transform-origin: center center;
}

/* =========================================================================
   FEATURES GRID
   ========================================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--c-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 2rem;
  z-index: 1;
}

.card-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(46, 158, 87, 0.15) 0%, rgba(91, 212, 138, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
  transition: all 0.4s ease;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .card-icon::before {
  background: radial-gradient(circle, rgba(46, 158, 87, 0.25) 0%, rgba(91, 212, 138, 0.1) 60%, transparent 80%);
  transform: translate(-50%, -50%) scale(1.15);
}

.feature-card:hover .card-icon img {
  transform: scale(1.15) rotate(-3deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-bottom: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--c-orange);
  border-radius: 50%;
}

.card-closure {
  font-weight: 600;
  color: var(--c-text-main) !important;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-box {
  background: linear-gradient(135deg, rgba(46, 158, 87, 0.1), rgba(91, 212, 138, 0.1));
  border: 1px solid rgba(91, 212, 138, 0.2);
  border-radius: 24px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: var(--c-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: #0a1419;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 225px; /* Increasded 25% from 180px */
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 15px 30px rgba(91, 212, 138, 0.4));
  animation: pulseFooterLogo 2s infinite alternate ease-in-out;
}

@keyframes pulseFooterLogo {
  0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(91, 212, 138, 0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(46, 158, 87, 0.7)); }
}

/* =========================================================================
   SOCIAL DEDICATED SECTION
   ========================================================================= */
.social-section {
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(46, 158, 87, 0.05), transparent);
}

.social-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  text-align: left;
  background: rgba(15, 31, 39, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.social-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.08);
}

.social-card.instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 15px 30px rgba(225, 48, 108, 0.2);
}

.social-card.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 15px 30px rgba(24, 119, 242, 0.2);
}

.sc-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.social-card.instagram .sc-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-card.facebook .sc-icon {
  background: #1877F2;
  color: white;
}

.sc-icon svg {
  width: 28px;
  height: 28px;
}

.sc-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.sc-text p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.sc-arrow {
  margin-left: auto;
  font-size: 1.8rem;
  color: var(--c-text-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.social-card:hover .sc-arrow {
  opacity: 1;
  transform: translateX(0);
  color: white;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-orange);
  background: rgba(255, 255, 255, 0.08);
}

.contact-title {
  font-size: clamp(3.5rem, 6vw, 5rem) !important;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 4px;
  width: auto;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--c-orange);
}

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active,
.reveal-right.active,
.reveal-up.active {
  opacity: 1;
  transform: translate(0);
}

.feature-card.reveal-up {
  transition-delay: var(--delay, 0s);
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 992px) {
  .hero-container,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-microtext {
    justify-content: center;
  }
  
  .reveal, .reveal-right {
    transform: translateY(30px);
  }
  
  .iphone-mockup {
    margin: 3rem auto 0;
  }
  
  .nav-menu, .header-actions .btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* =========================================================================
   PRICING SECTION
   ========================================================================= */
.pricing-section {
  position: relative;
  background: rgba(15, 31, 39, 0.5);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(91, 212, 138, 0.4);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(91, 212, 138, 0.1);
}

.pricing-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.pricing-card.featured:hover {
  border-color: var(--c-orange);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(91, 212, 138, 0.2);
}

.pc-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 20px rgba(46, 158, 87, 0.3);
}

.pc-title {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
}

.pc-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  line-height: 1;
}

.pc-period {
  font-size: 1rem;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-left: 0.2rem;
}

.pc-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pc-description {
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.support-text {
  max-width: 800px;
  margin: 5rem auto 0; /* Increased top margin as requested */
  color: var(--c-text-muted);
  font-style: italic;
  font-size: 1.1rem;
}

.w-full {
  width: 100%;
}

/* Pricing Savings Badge */
.pc-savings {
  display: inline-block;
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

/* Cursor Fire Particle Effect */
.cursor-fire-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 212, 138, 0.9) 0%, rgba(46, 158, 87, 0.3) 70%, transparent 100%);
  filter: blur(2px);
  mix-blend-mode: screen;
  z-index: 99999;
  transform: translate(-50%, -50%);
  animation: cursor-fire-fade 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes cursor-fire-fade {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x)), -50%) scale(0.2) translateY(-40px);
  }
}

/* =========================================================================
   MOBILE OPTIMIZATIONS — TABLET (max 992px)
   ========================================================================= */
@media (max-width: 992px) {
  .hero {
    padding-top: 180px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .about-hero-image {
    transform: scale(1);
    max-width: 80%;
    margin: 0 auto;
  }

  /* ── Hero: layout columna en móvil ────────────────────────────────────────
     Orden visual: badge → título → imagen → botón → tiendas → subtítulo
     Se usa display:flex en hero-content para participar en el flujo del
     padre como columna; hero-visual se reordena mediante order.
  ── */
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  /* CRÍTICO: neutralizar la clase .reveal en hero-content en móvil.
     Con display:contents el opacity:0 se comporta distinto en cada
     navegador (especialmente Safari iOS) y puede dejar el hero invisible. */
  .hero-content {
    display: contents;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Orden de los elementos en móvil */
  .badge          { order: 1; margin-bottom: 1rem; }
  .hero-title     { order: 2; margin-bottom: 1.5rem; width: 100%; }
  .hero-visual    { order: 3; width: 100%; margin-bottom: 1.5rem; }
  .hero-buttons   { order: 4; width: 100%; justify-content: center; margin-bottom: 1rem; }
  .store-buttons  { order: 5; width: 100%; justify-content: center; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
  .hero-subtitle  { order: 6; width: 100%; max-width: 100%; font-size: 0.95rem; }
}

/* =========================================================================
   MOBILE OPTIMIZATIONS — MÓVIL (max 768px)
   ========================================================================= */
@media (max-width: 768px) {
  /* ── Header ── */
  .header {
    top: 1rem;
    width: 94%;
    padding: 0.3rem 0;
  }
  .header .header-container {
    padding: 0 1.2rem;
  }
  .logo-main-img {
    height: 110px;
    margin: -15px 0;
  }

  /* ── Hero ── */
  .hero {
    padding-top: 140px;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 1.85rem;
    white-space: normal;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 340px;
  }
  .hero-visual {
    margin-top: 0;
  }

  /* ── Store buttons ── */
  .store-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .store-btn {
    flex: 1 1 auto;
    min-width: 160px;
    max-width: 220px;
    justify-content: center;
  }

  /* ── Secciones generales ── */
  .section-padding {
    padding: 55px 0;
  }
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* ── Stats banner ── */
  .stats-banner {
    padding: 4rem 0;
    background-attachment: scroll; /* fix iOS: fixed no funciona en mobile */
  }
  .stats-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1rem;
  }
  .stat-item {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }

  /* ── Precios ── */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  .pricing-card.featured {
    transform: none;   /* quita el scale(1.05) que se corta en móvil */
    margin-top: 1rem;
    order: -1;         /* lo pone primero en móvil */
  }
  .pc-price {
    font-size: 2.8rem;
  }
  .pc-title {
    font-size: 1.4rem;
  }

  /* ── Features ── */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 2rem 1.25rem;
  }

  /* ── About / Quiénes somos ── */
  .about-hero-image {
    transform: none;
    max-width: 85%;
    margin: 0 auto;
  }

  /* ── Redes sociales ── */
  .social-cards {
    flex-direction: column;
    align-items: center;
  }
  .social-card {
    max-width: 100%;
  }

  /* ── CTA box ── */
  .cta-box {
    padding: 2.5rem 1.25rem;
  }
  .cta-box h2 {
    font-size: 1.8rem;
  }
  .cta-box p {
    font-size: 0.95rem;
  }

  /* ── Footer ── */
  .footer-logo-img {
    height: 100px;    /* reducido: 140px era excesivo en móvil */
    margin-bottom: 1rem;
  }
  .footer-brand {
    text-align: center;
  }
  .contact-title {
    font-size: 2rem !important;
    margin-bottom: 1.25rem;
  }
  .footer-grid {
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }

  /* ── Hero image ── */
  .hero-image-wrapper {
    max-width: 85%;
    margin: 0 auto;
  }

  /* ── Preloader ── */
  .preloader-logo {
    height: 200px;
    margin-bottom: 2rem;
  }
  .loading-text {
    font-size: 1.1rem;
  }
}

/* =========================================================================
   MÓVIL PEQUEÑO (max 480px)
   ========================================================================= */
@media (max-width: 480px) {
  .hero {
    padding-top: 120px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-image-wrapper {
    max-width: 88%;
  }
  .header {
    top: 0.5rem;
    width: 95%;
  }
  .logo-main-img {
    height: 90px;
    margin: -10px 0;
  }
  .section-padding {
    padding: 45px 0;
  }
  .pricing-grid {
    max-width: 100%;
  }
  .pc-price {
    font-size: 2.4rem;
  }
  .contact-title {
    font-size: 1.7rem !important;
  }
  .feature-card {
    padding: 1.75rem 1rem;
  }
  /* Botones de tienda en columna en pantallas muy pequeñas */
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: 100%;
    max-width: 260px;
    min-width: unset;
  }
  /* CTA botón a full width en móvil pequeño */
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
  /* Reducir padding del cta box */
  .cta-box {
    padding: 2rem 1rem;
  }
  /* Footer logo más pequeño */
  .footer-logo-img {
    height: 80px;
  }
}

/* Móvil de la portada al doble de tamaño en ordenador (01-10-2026) */
@media (min-width: 993px) {
  .hero-app-image { transform: none; }
}

/* Guardia Civil: el móvil ya viene a tamaño real, sin escalar */
.hero-image-wrapper { max-width: 340px; }
.store-btn.proximamente { opacity: .75; cursor: default; }
.store-btn.proximamente:hover { transform: none; }
.aviso-no-oficial { font-size: .85rem; color: var(--c-text-muted); margin-top: .75rem; }
.logo-main-img { height: 60px; margin: 0; }
.footer-logo-img { height: 110px; }
@media (max-width: 768px) { .logo-main-img { height: 44px; } .footer-logo-img { height: 80px; } }

/* ===== Guardia Civil: piezas propias ===== */
.hero-image-wrapper { max-width: 360px; perspective: 1400px; }
.hero-app-image { transform: rotateY(-20deg) rotateX(8deg) rotateZ(5deg) !important; filter: drop-shadow(-30px 40px 45px rgba(0,0,0,.6)); }
.stats-overlay {
  background:
    linear-gradient(to bottom, var(--c-bg) 0%, transparent 25%, transparent 75%, var(--c-bg) 100%),
    linear-gradient(90deg, rgba(15, 31, 39, 0.85), rgba(20, 99, 58, 0.45));
}
.about-hero-image { max-width: 560px; transform: none; }

.pruebas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.prueba {
  position: relative; background: var(--c-bg-card); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 2rem 1.5rem 1.75rem; text-align: center; overflow: hidden;
  transition: var(--transition);
}
.prueba::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--c-red), var(--c-orange)); }
.prueba:hover { transform: translateY(-6px); border-color: rgba(91, 212, 138, .4); box-shadow: 0 18px 40px rgba(46, 158, 87, .18); }
.prueba-num {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange)); font-weight: 900; font-size: 1.3rem; margin-bottom: 1rem;
}
.prueba h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.prueba-n { color: var(--c-orange); font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem; }
.prueba p:last-child { color: var(--c-text-muted); font-size: .92rem; }
.apto { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.apto p { color: var(--c-text-muted); flex-basis: 100%; text-align: center; }
.apto span { font-weight: 900; letter-spacing: .08em; padding: .55rem 1.3rem; border-radius: 999px; font-size: .95rem; }
.apto-si { background: rgba(46, 158, 87, .18); color: #5BD48A; border: 1px solid rgba(91, 212, 138, .5); }
.apto-no { background: rgba(216, 30, 51, .15); color: #ff6b7a; border: 1px solid rgba(255, 107, 122, .45); }

.divisas-section { background: linear-gradient(to bottom, transparent, rgba(46, 158, 87, .06), transparent); }
.divisas-tira { display: grid; grid-template-columns: repeat(9, 1fr); gap: 1.25rem .75rem; }
.divisa { display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: var(--transition); }
.divisa img { width: 70px; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.divisa span { font-size: .78rem; color: var(--c-text-muted); font-weight: 600; line-height: 1.2; }
.divisa:hover { transform: translateY(-6px) scale(1.06); }

@media (max-width: 992px) {
  .pruebas-grid { grid-template-columns: repeat(2, 1fr); }
  .divisas-tira { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  .hero-app-image { transform: rotateY(-12deg) rotateX(5deg) rotateZ(3deg) !important; }
  .divisas-tira { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) { .pruebas-grid { grid-template-columns: 1fr; } }
