/* ========================================
   EMOTIONIART - STYLE.CSS
   Diseño Moderno, Creativo e Innovador
   ======================================== */

/* ===== VARIABLES CSS ===== */
:root {
  /* Colores Principales */
  --primary: #00B4FF;           /* Azul corazón */
  --secondary: #FF4081;         /* Rosa vibrante */
  --accent-1: #6C63FF;          /* Púrpura */
  --accent-2: #00D9A4;          /* Verde esmeralda */
  --accent-3: #FF8C00;          /* Naranja */
  
  /* Neutros */
  --dark: #0D1B2A;              /* Azul oscuro */
  --darker: #070F1A;            /* Casi negro */
  --light: #FFFFFF;             /* Blanco */
  --gray: #F5F7FA;              /* Gris claro */
  --gray-dark: #64748B;         /* Gris oscuro */
  
  /* Degradados */
  --gradient-1: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
  --gradient-2: linear-gradient(135deg, #6C63FF 0%, #FF4081 100%);
  --gradient-3: linear-gradient(135deg, #FF4081 0%, #FF8C00 100%);
  --gradient-4: linear-gradient(135deg, #00B4FF 0%, #6C63FF 100%);
  
  /* Sombras */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 180, 255, 0.4);
  
  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  
  /* Tipografías */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Nunito', sans-serif;
  --font-display: 'Pacifico', cursive;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

/* ===== UTILIDADES ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 4rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  text-decoration: none;
  color: var(--light);
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: -1;
  transition: var(--transition);
}

.btn:hover::before {
  transform: scaleX(1.1) scaleY(1.2);
}

.btn-secondary::before {
  background: var(--gradient-2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline::before {
  background: var(--primary);
  opacity: 0.1;
}

.btn-outline:hover {
  color: var(--light);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.btn-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 64, 129, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 64, 129, 0); }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--darker);
  color: var(--light);
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 180, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 64, 129, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* Animaciones Hero */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PLATAFORMAS SECTION ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.platform-card {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  z-index: 0;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.platform-card:hover::before {
  opacity: 0.05;
}

.platform-card-content {
  padding: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.platform-card.humanvia .platform-icon { background: var(--gradient-2); }
.platform-card.lovevia .platform-icon { background: var(--gradient-3); }
.platform-card.menuia .platform-icon { background: var(--gradient-4); }
.platform-card.teamia .platform-icon { background: var(--gradient-1); }
.platform-card.videos-ia .platform-icon { background: var(--gradient-2); }

.platform-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.platform-card p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.platform-card .btn {
  width: 100%;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: linear-gradient(to bottom, var(--light) 0%, var(--gray) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--light);
}

.feature-item:nth-child(2) .feature-icon { background: var(--gradient-2); }
.feature-item:nth-child(3) .feature-icon { background: var(--gradient-3); }
.feature-item:nth-child(4) .feature-icon { background: var(--gradient-4); }

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--darker);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* WhatsApp Flotante */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-1);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Animaciones adicionales */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}