/* Estilos PROFESIONALES para el landing page - Basado en templates premium */
/* IMPORTANTE: Estos estilos NO deben afectar a la aplicación Angular */

/* Variables CSS para consistencia */
:root {
  --primary-color: #B8860B;
  --secondary-color: #8B4513;
  --accent-color: #DAA520;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-cream: #F5F5DC;
  --bg-light: #FAFAFA;
  --shadow-light: rgba(184, 134, 11, 0.1);
  --shadow-medium: rgba(184, 134, 11, 0.2);
  --shadow-heavy: rgba(184, 134, 11, 0.3);
}

/* Contenedor principal del landing page */
#landing-page {
  background: var(--bg-cream) !important;
  color: inherit;
  font-family: 'Poppins', sans-serif;
}

/* ===== HEADER STYLES ===== */
#landing-page .wpo-site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow-light);
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

#landing-page .navbar-brand {
  font-size: 2rem;
  font-weight: 700;
  color: #c9a96e !important;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}

#landing-page .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  position: relative;
  transition: all 0.3s ease;
}

#landing-page .nav-link:hover {
  color: var(--primary-color) !important;
}

#landing-page .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#landing-page .nav-link:hover::after {
  width: 100%;
}

#landing-page .header-right .theme-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-medium);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#landing-page .header-right .theme-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-heavy);
  color: white;
}

/* ===== HERO SECTION STYLES ===== */
#landing-page .static-hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

#landing-page .static-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23B8860B" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

#landing-page .static-hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#landing-page .static-hero h2 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 90%;
}

/* ===== BOTONES PROFESIONALES ===== */
#landing-page .theme-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px var(--shadow-medium);
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

#landing-page .theme-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

#landing-page .theme-btn:hover::before {
  left: 100%;
}

#landing-page .theme-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-heavy);
  color: white;
}

#landing-page .theme-btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 16px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#landing-page .theme-btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

/* ===== HERO BUTTONS ===== */
#landing-page .hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  align-items: center;
}

#landing-page .hero-btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 20px 45px;
  font-size: 1.1rem;
  box-shadow: 0 10px 35px var(--shadow-medium);
}

/* ===== STATS SECTION ===== */
#landing-page .hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#landing-page .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 134, 11, 0.1);
  transition: all 0.3s ease;
}

#landing-page .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-medium);
}

#landing-page .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
}

#landing-page .stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 5px;
}

/* ===== HERO RIGHT SIDE ===== */
#landing-page .static-hero-img-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--shadow-medium);
  position: relative;
}

#landing-page .static-hero-img-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
}

#landing-page .static-hero-img-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#landing-page .static-hero-img-inner:hover img {
  transform: scale(1.05);
}

/* ===== PHONE MOCKUPS ===== */
#landing-page .hero-phones {
  position: relative;
  margin-top: 2rem;
}

#landing-page .phone-mockup {
  position: absolute;
  width: 220px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px var(--shadow-medium);
  transition: all 0.3s ease;
}

#landing-page .phone-mockup img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

#landing-page .phone-mockup:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px var(--shadow-heavy);
}

#landing-page .phone-1 {
  top: 0;
  left: 0;
  z-index: 2;
}

#landing-page .phone-2 {
  top: 60px;
  left: 120px;
  z-index: 1;
}

/* ===== FLOATING ELEMENTS ===== */
#landing-page .floating-element {
  position: absolute;
  font-size: 2.5rem;
  animation: float 4s ease-in-out infinite;
  opacity: 0.7;
  filter: drop-shadow(0 4px 8px var(--shadow-light));
}

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

/* ===== HOW IT WORKS SECTION ===== */
#landing-page .wpo-how-it-works-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

#landing-page .wpo-section-title {
  text-align: center;
  margin-bottom: 4rem;
}

#landing-page .wpo-section-title span {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 8px 25px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

#landing-page .wpo-section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

#landing-page .wpo-section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== STEP ITEMS ===== */
#landing-page .step-item {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 25px;
  background: white;
  box-shadow: 0 10px 40px var(--shadow-light);
  transition: all 0.4s ease;
  margin-bottom: 2rem;
  position: relative;
  border: 1px solid rgba(184, 134, 11, 0.1);
  overflow: hidden;
}

#landing-page .step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.05), transparent);
  transition: left 0.6s;
}

#landing-page .step-item:hover::before {
  left: 100%;
}

#landing-page .step-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px var(--shadow-medium);
  border-color: var(--primary-color);
}

#landing-page .step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 5px 20px var(--shadow-medium);
  font-family: 'Playfair Display', serif;
}

#landing-page .step-icon {
  margin: 2rem 0 1.5rem;
  position: relative;
}

#landing-page .step-icon img {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 5px 15px var(--shadow-light));
  transition: all 0.3s ease;
}

#landing-page .step-item:hover .step-icon img {
  transform: scale(1.1);
}

#landing-page .step-content h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

#landing-page .step-content p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* ===== PLAN GRATUITO SECTION ===== */
#landing-page .wpo-free-plan-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
  position: relative;
}

#landing-page .free-plan-card {
  background: white;
  border-radius: 30px;
  padding: 4rem 3rem;
  box-shadow: 0 20px 60px var(--shadow-medium);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.1);
}

#landing-page .free-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

#landing-page .plan-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

#landing-page .plan-header {
  text-align: center;
  margin-bottom: 3rem;
}

#landing-page .plan-header h2 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

#landing-page .plan-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== FLOATING PHOTOS IMPROVEMENT ===== */
#landing-page .floating-photos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

#landing-page .floating-photo {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 30px var(--shadow-medium);
  border: 3px solid white;
  animation: floatPhoto 6s ease-in-out infinite;
  opacity: 0.8;
}

#landing-page .floating-photo.photo-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

#landing-page .floating-photo.photo-2 {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

#landing-page .floating-photo.photo-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes floatPhoto {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6; 
  }
  50% { 
    transform: translateY(-20px) rotate(3deg); 
    opacity: 0.9; 
  }
}

/* ===== TESTIMONIALS IMPROVEMENT ===== */
#landing-page .testimonial-item {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px var(--shadow-light);
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(184, 134, 11, 0.1);
  position: relative;
  overflow: hidden;
}

#landing-page .testimonial-item::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

#landing-page .testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px var(--shadow-medium);
}

#landing-page .testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px var(--shadow-light);
}

/* Testimonials - Fotos más grandes y prominentes CON FORMATO CUADRADO */
.author-avatar-large {
  width: 120px !important;
  height: 120px !important;
  border-radius: 15px !important; /* Cambiado de 50% a 15px para forma cuadrada con esquinas redondeadas */
  object-fit: cover;
  border: 4px solid #c9a96e;
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
  transition: all 0.3s ease;
  margin-right: 20px;
}

.author-avatar-large:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(201, 169, 110, 0.6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 15px 0;
}

.author-info h5 {
  margin: 0 0 8px 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #333;
  font-size: 1.3rem;
}

.author-info span {
  color: #c9a96e;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-card {
  padding: 35px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 0;
}

/* ===== GALLERY IMPROVEMENT ===== */
#landing-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

#landing-page .gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 15px 40px var(--shadow-light);
  transition: all 0.4s ease;
}

#landing-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#landing-page .gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px var(--shadow-medium);
}

#landing-page .gallery-item:hover img {
  transform: scale(1.1);
}

#landing-page .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  #landing-page .static-hero h1 {
    font-size: 2.8rem;
  }
  
  #landing-page .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  #landing-page .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  #landing-page .phone-2 {
    top: 40px;
    left: 80px;
  }
  
  #landing-page .floating-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Ocultar segunda fila de testimonios en móviles */
  .testimonial-section .row.mt-4 {
    display: none !important;
  }
}

/* ===== FORM BUTTONS ===== */
#landing-page .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-medium);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#landing-page .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-heavy);
  color: white;
}

#landing-page .btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 14px 28px;
  border: 2px solid #e1e5e9;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

#landing-page .btn-secondary:hover {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#landing-page .btn-secondary:active {
  transform: translateY(0px);
}

/* ===== ESTILOS GLOBALES PARA MODALS ===== */
/* Estos estilos se aplican a botones fuera del contenedor #landing-page */
.btn-secondary {
  background: transparent !important;
  color: #2c3e50 !important;
  padding: 14px 28px !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Poppins', sans-serif !important;
}

.btn-secondary:hover {
  background-color: #f8f9fa !important;
  border-color: #B8860B !important;
  color: #B8860B !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-secondary:active {
  transform: translateY(0px) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%) !important;
  color: white !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.2) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-family: 'Poppins', sans-serif !important;
}

.btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3) !important;
  color: white !important;
}

.form-actions {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 2rem !important;
  flex-wrap: wrap !important;
}

@media (max-width: 576px) {
  .form-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  
  #landing-page .btn-secondary {
    margin-left: 0;
  }
}

/* ===== ELIMINAR BULLETS DE LISTAS DE PLANES ===== */
.plan-features {
  list-style-type: none !important;
  padding-left: 0 !important;
}

.plan-features li {
  list-style: none !important;
}

/* Para el modal también */
.modal-overlay .plan-features {
  list-style-type: none !important;
  padding-left: 0 !important;
}

.modal-overlay .plan-features li {
  list-style: none !important;
}
