/* ===== AGORAFAN LANDING - WOW EDITION ===== */

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary: #FF8C42;
  --accent: #FFB347;
  --dark: #2D1810;
  --light: #FFF8F5;
  --gradient-1: linear-gradient(135deg, #FF6B35 0%, #FF8C42 30%, #FFB347 60%, #FF6B35 100%);
  --gradient-2: linear-gradient(135deg, #FF8C42 0%, #FFB347 50%, #FF6B35 100%);
  --gradient-3: linear-gradient(135deg, #FFB347 0%, #FF8C42 50%, #FF6B35 100%);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== HIDDEN SECTIONS ===== */
.hidden {
  display: none !important;
}

/* ===== HERO SECTION - IMPACTO TOTAL ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 800px;
  padding: 0 2rem;
}

/* ===== LOGO STYLES ===== */
.logo-container {
  margin-bottom: 2rem;
  animation: logoEntrance 1.5s ease-out;
}

.hero-logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.3));
  animation: logoFloat 3s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.hero-logo:hover {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 20px 50px rgba(255, 107, 53, 0.7)) drop-shadow(0 0 30px rgba(255, 179, 71, 0.5));
  animation: logoFloat 3s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate, logoPulse 0.6s ease-in-out infinite;
}

.hero-logo:active {
  transform: scale(0.95) rotate(-5deg);
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% { 
    transform: translateY(-8px) rotate(1deg); 
  }
  50% { 
    transform: translateY(-15px) rotate(3deg); 
  }
  75% { 
    transform: translateY(-5px) rotate(-1deg); 
  }
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.3));
  }
  100% {
    filter: drop-shadow(0 15px 40px rgba(255, 107, 53, 0.6)) drop-shadow(0 0 25px rgba(255, 179, 71, 0.4));
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1.2) rotate(10deg);
  }
  50% {
    transform: scale(1.25) rotate(12deg);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3), inset 0 0 15px rgba(255, 179, 71, 0.2);
  }
  100% {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6), inset 0 0 25px rgba(255, 179, 71, 0.4);
  }
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1); 
  }
  25% { 
    transform: translateY(-30px) translateX(20px) scale(1.2); 
  }
  50% { 
    transform: translateY(-15px) translateX(-15px) scale(0.8); 
  }
  75% { 
    transform: translateY(-25px) translateX(10px) scale(1.1); 
  }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
  }
  50% { 
    opacity: 1;
    box-shadow: 0 0 25px rgba(255, 179, 71, 0.8), 0 0 35px rgba(255, 107, 53, 0.6);
  }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease-out;
}

.hero .subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 300;
  animation: slideUp 1s ease-out 0.2s both;
}

.coming-soon {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255, 179, 71, 0.95);
  margin-bottom: 3rem;
  font-weight: 500;
  animation: slideUp 1s ease-out 0.4s both, comingSoonGlow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(255, 179, 71, 0.3);
}

@keyframes comingSoonGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 179, 71, 0.3);
    color: rgba(255, 179, 71, 0.9);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 179, 71, 0.6), 0 0 30px rgba(255, 107, 53, 0.4);
    color: rgba(255, 179, 71, 1);
  }
}

/* ===== MAIN SUBTITLE ===== */
.main-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: slideUp 1s ease-out 0.4s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== AGORA MESSAGE STYLES ===== */
.agora-message {
  margin-top: 1rem;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

.agora-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  line-height: 1.4;
  animation: slideUp 1s ease-out 0.8s both;
}

.modern-text {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  animation: slideUp 1s ease-out 1s both;
}

.highlight-word {
  font-weight: 600;
  color: #FFB347;
  text-shadow: 
    0 0 15px rgba(255, 179, 71, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 255, 255, 0.2);
  animation: wordGlow 3s ease-in-out infinite alternate;
  background: linear-gradient(45deg, #FFB347, #FFFFFF, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: wordGlow 3s ease-in-out infinite alternate, shimmer 4s ease-in-out infinite;
}

.fans-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #FF6B35;
  text-shadow: 
    0 0 15px rgba(255, 107, 53, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 255, 255, 0.2);
  animation: wordGlow 3s ease-in-out infinite alternate;
  background: linear-gradient(45deg, #FF6B35, #FFFFFF, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: wordGlow 3s ease-in-out infinite alternate, shimmer 4s ease-in-out infinite;
  display: inline-block;
}

.fun-text {
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
  color: #FFB347;
  text-shadow: 
    0 0 15px rgba(255, 179, 71, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 255, 255, 0.2);
  animation: wordGlow 3s ease-in-out infinite alternate;
  background: linear-gradient(45deg, #FFB347, #FFFFFF, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: wordGlow 3s ease-in-out infinite alternate, shimmer 4s ease-in-out infinite;
  display: inline-block;
}

@keyframes wordGlow {
  0% {
    text-shadow: 0 0 15px rgba(255, 179, 71, 0.4);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 25px rgba(255, 179, 71, 0.7), 0 0 35px rgba(255, 107, 53, 0.4);
    transform: scale(1.02);
  }
}



@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--gradient-3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  animation: slideUp 1s ease-out 0.4s both;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.4);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.4) 0%, rgba(255, 140, 66, 0.3) 50%, rgba(255, 107, 53, 0.2) 100%);
  border: 2px solid rgba(255, 179, 71, 0.3);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.4), inset 0 0 20px rgba(255, 179, 71, 0.2);
  animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
}

.circle-1 { 
  width: 100px; 
  height: 100px; 
  top: 20%; 
  left: 10%; 
  animation-delay: 0s; 
  background: radial-gradient(circle, rgba(255, 179, 71, 0.5) 0%, rgba(255, 140, 66, 0.4) 50%, rgba(255, 107, 53, 0.3) 100%);
}

.circle-2 { 
  width: 150px; 
  height: 150px; 
  top: 60%; 
  right: 15%; 
  animation-delay: 2s; 
  background: radial-gradient(circle, rgba(255, 140, 66, 0.5) 0%, rgba(255, 107, 53, 0.4) 50%, rgba(255, 179, 71, 0.3) 100%);
}

.circle-3 { 
  width: 80px; 
  height: 80px; 
  bottom: 30%; 
  left: 20%; 
  animation-delay: 4s; 
  background: radial-gradient(circle, rgba(255, 107, 53, 0.5) 0%, rgba(255, 179, 71, 0.4) 50%, rgba(255, 140, 66, 0.3) 100%);
}

.circle-4 { 
  width: 60px; 
  height: 60px; 
  top: 40%; 
  right: 25%; 
  animation-delay: 1s; 
  background: radial-gradient(circle, rgba(255, 179, 71, 0.6) 0%, rgba(255, 107, 53, 0.4) 100%);
}

.circle-5 { 
  width: 90px; 
  height: 90px; 
  bottom: 15%; 
  right: 10%; 
  animation-delay: 3s; 
  background: radial-gradient(circle, rgba(255, 140, 66, 0.6) 0%, rgba(255, 179, 71, 0.4) 100%);
}

/* ===== FLOATING PARTICLES ===== */
.floating-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.8) 0%, rgba(255, 107, 53, 0.4) 100%);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
  animation: particleFloat 8s ease-in-out infinite, sparkle 2s ease-in-out infinite;
}

.particle-1 { 
  width: 12px; 
  height: 12px; 
  top: 25%; 
  left: 30%; 
  animation-delay: 0.5s; 
}

.particle-2 { 
  width: 8px; 
  height: 8px; 
  top: 70%; 
  left: 60%; 
  animation-delay: 2.5s; 
}

.particle-3 { 
  width: 15px; 
  height: 15px; 
  bottom: 40%; 
  right: 30%; 
  animation-delay: 4.5s; 
}

/* ===== FEATURES SECTION - IMPACTO VISUAL ===== */
.features {
  padding: 8rem 2rem;
  background: var(--light);
  position: relative;
}

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

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #64748B;
  margin-bottom: 5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-3);
  transition: height 0.3s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3), 0 0 50px rgba(255, 179, 71, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.feature-card:hover::before {
  height: 8px;
  background: var(--gradient-1);
}

.feature-card:hover::after {
  left: 100%;
}

.feature-card:active {
  transform: translateY(-10px) scale(0.98);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  z-index: 2;
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: #64748B;
  line-height: 1.7;
}

/* ===== COMING SOON SECTION ===== */
.coming-soon-section {
  padding: 6rem 2rem;
  background: var(--dark);
  color: white;
  text-align: center;
}

.countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.coming-soon-message {
  text-align: center;
}

.revolution-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: #FFB347;
  animation: revolutionSpin 3s ease-in-out infinite;
}

.revolution-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 15px rgba(255, 179, 71, 0.4));
}

.coming-soon-message h3 {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: comingSoonPulse 2s ease-in-out infinite alternate;
}

.coming-soon-message p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.features-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
}

.preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 15px;
  border: 2px solid rgba(255, 179, 71, 0.3);
  transition: all 0.3s ease;
}

.preview-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 179, 71, 0.6);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.preview-icon {
  width: 40px;
  height: 40px;
  color: #FFB347;
  animation: previewFloat 4s ease-in-out infinite;
}

.preview-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 10px rgba(255, 179, 71, 0.3));
}

.preview-item span:last-child {
  font-weight: 600;
  color: rgba(255, 179, 71, 0.95);
}

@keyframes revolutionSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(5deg) scale(1.1); }
  50% { transform: rotate(0deg) scale(1.2); }
  75% { transform: rotate(-5deg) scale(1.1); }
}

@keyframes comingSoonPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

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

/* ===== CTA SECTION - LLAMADA A LA ACCIÓN ===== */
.cta-section {
  padding: 8rem 2rem;
  background: var(--gradient-2);
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
}

/* ===== ANIMACIONES WOW ===== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOADING ANIMATION ===== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
