/* ==========================================================================
   WalliSend Pro Hero Component
   Hero split layout avec texte à gauche et mockup tablette à droite
   ========================================================================== */

/* ===== PRO HERO CONTAINER ===== */

.hero-pro {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: auto;
}

.hero-pro__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  padding-bottom: 0;
}

/* ===== PRO BADGE ===== */

.hero-pro__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-sm);
  backdrop-filter: blur(8px);
}

.hero-pro__badge-icon {
  width: 18px;
  height: 18px;
}

/* ===== HERO CONTENT (Côté gauche) ===== */

.hero-pro__content {
  text-align: center;
  order: 2;
}

.hero-pro__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.hero-pro__subtitle {
  font-size: var(--font-size-md);
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== AVANTAGES RAPIDES ===== */

.hero-pro__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-pro__benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--color-white);
  font-size: var(--font-size-base);
}

.hero-pro__benefit-icon {
  width: 20px;
  height: 20px;
  color: #4ade80;
  flex-shrink: 0;
}

/* ===== COUNTRIES COVERAGE ===== */

.hero-pro__countries {
  margin-bottom: var(--space-md);
}

.hero-pro__countries-title {
  font-size: var(--font-size-sm);
  color: var(--color-white);
  opacity: 0.7;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.hero-pro__countries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  max-width: 400px;
  margin: 0 auto;
}

.hero-pro__country {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  font-size: 1.5rem;
  transition: transform var(--transition-smooth),
              background-color var(--transition-smooth);
  cursor: default;
}

.hero-pro__country:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.25);
}

/* +6 badge style */
.hero-pro__country:last-child {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

/* ===== CTA SECTION ===== */

.hero-pro__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero-pro__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 300px;
}

.hero-pro__cta-note {
  font-size: var(--font-size-sm);
  color: var(--color-white);
  opacity: 0.7;
}

/* ===== HERO IMAGE (Côté droit - Mockup Tablette) ===== */

.hero-pro__image {
  order: 1;
  width: 100%;
  max-width: 380px;
  animation: slideInUp 0.8s ease-out;
}

.hero-pro__mockup {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
  border-radius: 16px;
  animation: floatTablet 5s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */

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

@keyframes floatTablet {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* Animation d'entrée pour le contenu */
.hero-pro__content {
  animation: slideInUp 0.8s ease-out 0.2s both;
}

/* ===== TABLET ===== */

@media (min-width: 768px) {
  .hero-pro {
    padding-bottom: 90px;
  }

  .hero-pro__image {
    max-width: 500px;
  }

  .hero-pro__title {
    font-size: var(--font-size-3xl);
  }

  .hero-pro__benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .hero-pro__cta-buttons {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  .hero-pro__country {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}

/* ===== DESKTOP ===== */

@media (min-width: 1024px) {
  .hero-pro {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: auto;
  }

  .hero-pro__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-md);
    padding-bottom: 0;
  }

  .hero-pro__content {
    flex: 1;
    text-align: left;
    order: 1;
    max-width: 550px;
  }

  .hero-pro__title {
    font-size: var(--font-size-4xl);
  }

  .hero-pro__subtitle {
    font-size: var(--font-size-lg);
    margin-left: 0;
    margin-right: 0;
  }

  .hero-pro__benefits {
    justify-content: flex-start;
  }

  .hero-pro__benefit {
    justify-content: flex-start;
  }

  .hero-pro__cta {
    align-items: flex-start;
  }

  .hero-pro__countries-title {
    text-align: left;
  }

  .hero-pro__countries-grid {
    justify-content: flex-start;
    margin: 0;
    max-width: 500px;
  }

  .hero-pro__country {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
  }

  .hero-pro__image {
    order: 2;
    flex: 0 0 auto;
    max-width: 550px;
    animation: slideInRight 0.8s ease-out;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== LARGE DESKTOP ===== */

@media (min-width: 1280px) {
  .hero-pro {
    padding-bottom: 120px;
  }

  .hero-pro__image {
    max-width: 650px;
  }

  .hero-pro__title {
    font-size: 3.5rem;
  }

  .hero-pro__mockup {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  }
}

/* ==========================================================================
   Pro Features Cards
   ========================================================================== */

.pro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.pro-feature {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.pro-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pro-feature__icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.pro-feature__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.pro-feature__description {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
  .pro-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pro-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Revenue Calculator Preview
   ========================================================================== */

.revenue-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.revenue-preview__content {
  text-align: center;
  max-width: 500px;
}

.revenue-preview__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.revenue-preview__description {
  font-size: var(--font-size-md);
  color: var(--color-white);
  opacity: 0.9;
}

.revenue-preview__card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 100%;
}

.revenue-preview__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.revenue-preview__amount {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-light);
  margin-bottom: var(--space-xs);
}

.revenue-preview__period {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.revenue-preview__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-bg-gray);
}

.revenue-preview__detail {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
}

.revenue-preview__detail-label {
  color: var(--color-text-muted);
}

.revenue-preview__detail-value {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

@media (min-width: 1024px) {
  .revenue-preview {
    flex-direction: row;
    justify-content: space-between;
  }

  .revenue-preview__content {
    text-align: left;
    flex: 1;
  }

  .revenue-preview__title {
    font-size: var(--font-size-3xl);
  }
}

/* ==========================================================================
   How to Become Agent Steps
   ========================================================================== */

.agent-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}

.agent-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.agent-step__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-full);
  flex-shrink: 0;
}

.agent-step__content {
  flex: 1;
}

.agent-step__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.agent-step__description {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
  .agent-steps {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-md);
  }

  .agent-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
    flex: 1;
  }

  .agent-step__content {
    text-align: center;
  }
}
