/*
 * Homepage Beta - Design cohérent avec QuickEventAI
 * Conserve la cohérence visuelle existante
 */

/* === VARIABLES COHÉRENTES === */
:root {
  --beta-primary: #667eea;
  --beta-secondary: #764ba2;
  --beta-accent: #10b981;
  --beta-warning: #f59e0b;
  --beta-light: #f8f9fa;
  --beta-white: #ffffff;
  --beta-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --beta-shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* === HERO BETA === */
.beta-hero {
  background: #f7f7f7;
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
}

.beta-hero::before {
  display: none;
}

.beta-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--beta-warning) 0%, #f97316 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  animation: betaPulse 2s infinite;
}

@keyframes betaPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  }
}

.beta-hero .hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.beta-hero .hero-subtitle {
  font-size: 1.3rem;
  color: #555555;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  max-width: 240px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  display: block;
}

.hero-visual-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.beta-hero .hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.beta-hero .hero-feature {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 500;
}

.beta-hero .hero-feature i {
  background: var(--beta-accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 0.8rem;
}

/* === BOUTONS BETA === */
.btn-beta-primary {
  background: var(--beta-primary);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-beta-primary::before {
  display: none; /* Shimmer effect removed */
}

.btn-beta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
  color: white;
  background: #5a6fc4; /* Darker purple on hover */
}

.btn-beta-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

/* === SECTION PRINCIPALE === */
.beta-main {
  background: var(--beta-light);
  position: relative;
  padding: 4rem 0;
}

.beta-main::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--beta-light));
}

/* === CARTES FEATURES === */
.beta-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.beta-feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: var(--beta-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.beta-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--beta-primary); /* Solid purple */
}

.beta-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--beta-shadow-lg);
  border-color: rgba(102, 126, 234, 0.2);
}

.beta-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--beta-primary); /* Solid purple */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.beta-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.beta-feature-desc {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.beta-feature-tag {
  display: inline-block;
  background: var(--beta-primary); /* Solid purple */
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === SECTION TARGET === */
.beta-target {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  margin: 3rem 0;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: var(--beta-shadow);
}

.beta-target h3 {
  color: var(--beta-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.beta-target-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.beta-target-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.08);
}

.beta-target-item i {
  background: var(--beta-primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOMENTS GALLERY === */

.beta-visual-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem auto 3rem;
  flex-wrap: wrap;
  max-width: 760px;
}

.beta-visual-card {
  width: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.beta-visual-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* === CTA FINAL === */
.beta-cta {
  background: linear-gradient(135deg, var(--beta-primary) 0%, var(--beta-secondary) 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.beta-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="none"><defs><pattern id="cta-dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.12)"/></pattern></defs><rect width="100" height="20" fill="url(%23cta-dots)"/></svg>');
  z-index: 0;
}

.beta-cta h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.beta-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.beta-guarantee {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  display: inline-block;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.guides-teaser {
  background: #f8fafc;
}

.guides-teaser .btn-outline-primary {
  border-width: 2px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .beta-hero {
    padding: 3rem 0 2rem;
  }
  
  .beta-hero .hero-title {
    font-size: 2.2rem;
  }
  
  .beta-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-visual {
    max-width: 200px;
  }

  .btn-beta-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .beta-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .beta-feature-card {
    padding: 1.5rem;
  }
  
  .beta-target {
    padding: 2rem 1.5rem;
  }
  
  .beta-target h3 {
    font-size: 1.6rem;
  }
  
  .beta-target-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .beta-cta {
    padding: 2rem 1.5rem;
  }
  
  .beta-cta h3 {
    font-size: 1.8rem;
  }

  .beta-visual-pair {
    gap: 1rem;
    max-width: 440px;
  }

  .beta-visual-card {
    width: 200px;
  }
}

@media (max-width: 576px) {
  .beta-hero {
    padding: 3rem 0;
  }

  .beta-hero .hero-title {
    font-size: 2rem;
  }

  .beta-hero .hero-subtitle {
    font-size: 1rem;
  }

  .hero-visual {
    max-width: 170px;
  }

  .beta-features-grid {
    grid-template-columns: 1fr;
  }

  .beta-visual-pair {
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 360px;
  }

  .beta-visual-card {
    width: 170px;
  }
}

/* === ANIMATIONS === */
.beta-feature-card {
  animation: fadeInUp 0.6s ease-out;
}

.beta-feature-card:nth-child(1) { animation-delay: 0.1s; }
.beta-feature-card:nth-child(2) { animation-delay: 0.2s; }
.beta-feature-card:nth-child(3) { animation-delay: 0.3s; }
.beta-feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FIX LISIBILITÉ HERO (Thème clair) === */
.beta-hero .col-lg-6 {
  color: #555555;
}

.beta-hero .text-muted {
  color: #888888 !important;
}

.beta-hero strong {
  color: #1a1a1a;
}

/* === BLOC 2 - SOCIAL PROOF === */
.beta-social-proof {
  background: var(--beta-light);
  padding: 3rem 0;
}

.beta-social-proof h2 {
  color: #1a1a1a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.beta-social-proof p {
  color: #555555;
  font-size: 1.1rem;
  line-height: 1.6;
}
