/* 
  OFFRES PAGE STYLES
  Glassmorphic Premium Design
*/

.offres-section {
  padding: 180px 5% 100px;
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
}

.offres-header {
  text-align: center;
  margin-bottom: 80px;
}

.offres-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.offres-header p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.popular {
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: rgba(30, 30, 45, 0.7);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
  transform: scale(1.02);
  z-index: 5;
}

.popular::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1);
  background-size: 200% 100%;
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
  animation: border-glow 4s linear infinite;
}

@keyframes border-glow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.complet {
  border: 1px solid rgba(180, 180, 200, 0.2);
  background: rgba(25, 25, 30, 0.8);
}

.complet::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, #9ca3af, #6b7280, #9ca3af);
  background-size: 200% 100%;
  border-radius: 24px;
  z-index: -1;
  opacity: 0.15;
  animation: border-glow 5s linear infinite;
}

.complet:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(180, 180, 200, 0.12);
  border-color: rgba(180, 180, 200, 0.4);
}

.complet .popular-badge {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.popular:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 70px rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.8);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.card-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
  line-height: 1.5;
  min-height: 44px;
}

.card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.card-price span {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
}

.price-subtext {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

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

.feature-icon.plus {
  color: #6366f1;
}

.card-cta {
  margin-top: auto;
}

.cyber-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  color: #000;
}

.cyber-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
  color: #000;
}

.cyber-btn.outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cyber-btn.outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .offres-section {
    padding: 140px 5% 80px;
  }
  
  .offres-header h1 {
    font-size: 2.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
}

/* ── LEAD CAPTURE POPUP ── */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lead-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 10001;
  width: 90%;
  max-width: 440px;
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 36px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.lead-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px;
}

.lead-popup-close:hover {
  color: #fff;
}

.lead-popup h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.lead-popup-plan {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--accent, #6366f1);
  font-weight: 600;
  margin-bottom: 28px;
}

.lead-field {
  margin-bottom: 18px;
}

.lead-field label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.lead-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  box-sizing: border-box;
}

.lead-field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.lead-field input:focus {
  border-color: var(--accent, #6366f1);
  background: rgba(99, 102, 241, 0.06);
}

.lead-submit {
  margin-top: 8px;
  width: 100%;
  background: #fff;
  color: #030305;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.lead-submit:hover {
  background: var(--accent, #6366f1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.lead-popup-note {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 16px;
}

/* Success state */
.lead-success {
  text-align: center;
  padding: 40px 20px;
}

.lead-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #000;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lead-success h2 {
  color: #fff;
  margin-bottom: 8px;
}

.lead-success p {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .lead-popup {
    padding: 36px 24px 28px;
    border-radius: 20px;
  }
}
