/* ===== PREMIUM PRICING SECTION 2025 ===== */
.pricing-section {
  padding: 140px 0 160px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 50%);
  position: relative;
  overflow: hidden;
}

.pricing-section .container .section-heading {
  margin-top: 30px;
  margin-bottom: 60px;
}

.pricing-section .container .section-heading .sub-heading {
  font-size: 22px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 600px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2327aae1" fill-opacity="0.08" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>')
    no-repeat center top;
  background-size: cover;
}

.chip {
  display: inline-block;
  background: #e0f4ff;
  color: #27aae1;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(to right, #262262, #27aae1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(39, 170, 225, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 35px 80px rgba(38, 34, 98, 0.22);
  border-color: #27aae1;
}

.pricing-card.popular {
  transform: scale(1.08);
  z-index: 10;
  border: 2px solid #27aae1;
  box-shadow: 0 40px 100px rgba(39, 170, 225, 0.3);
}

/* .glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: linear-gradient(45deg, #27aae1, #6ee2ff);
  z-index: -1;
  opacity: 0;
  animation: pulseGlow 4s infinite;
} */

.popular:hover .glow-ring {
  opacity: 0.4;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }
}

.ribbon {
  position: absolute;
  top: 46px;
  right: -48px;
  background: linear-gradient(90deg, #ff9d00, #f39c12);
  color: white;
  padding: 10px 60px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.card-header {
  padding: 50px 30px 40px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a4d, #262262);
  color: white;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.card-header.gold {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.card-header.platinum {
  background: linear-gradient(135deg, #2c3e50, #34495e);
}

.card-header.silver {
  background: linear-gradient(135deg, #bdc3c7, #ecf0f1, #95a5a6);
}

.card-header.silver h3 {
  color: #000;
}

.card-header.silver .price {
  color: #000;
}

.card-header.silver .save-tag {
  color: #000;
}

.card-header h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.price {
  font-size: 24px;
  font-weight: 400;
}

.price .currency {
  font-size: 28px;
  vertical-align: top;
  font-weight: bold;
}

.price .amount {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.price .period {
  opacity: 0.8;
  font-size: 18px;
}

.save-tag {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 45px 35px 50px;
}

.card-body ul {
  space: 16px 0;
  text-align: left;
}

.card-body li {
  padding: 14px 0;
  font-size: 16.5px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eee;
}

.card-body li:last-child {
  border: none;
}

.card-body li i {
  color: #27aae1;
  font-size: 22px;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 18px;
  margin-top: 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
}

.btn-pricing:not(.primary):not(.outline) {
  background: #f8f9fa;
  color: #262262;
  border: 2px solid #e0e0e0;
}

.btn-pricing:not(.primary):not(.outline):hover {
  background: #262262;
  color: white;
  transform: translateY(-4px);
}

.btn-pricing.primary {
  background: #f8f9fa;
  color: #262262;
  border: 2px solid #e0e0e0;
}

.btn-pricing.primary:hover {
  background: #262262;
  color: white;
  transform: translateY(-4px);
}

.btn-pricing.outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-pricing.outline:hover {
  background: white;
  color: #262262;
  border-color: white;
}

/* Custom Glass Card */
.custom-glass {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 77, 0.95),
    rgba(38, 34, 98, 0.98)
  );
  backdrop-filter: blur(20px);
  color: white;
  border: 1px solid rgba(39, 170, 225, 0.3);
}

.custom-glass .card-body li {
  color: #e0f4ff;
  border-color: rgba(255, 255, 255, 0.1);
}

.custom-glass i {
  color: #6ee2ff;
}

.highlight-text {
  font-size: 18px;
  font-weight: 600;
  color: #6ee2ff;
  margin-bottom: 20px;
}

/* CTA Button Pulse */
.pulse {
  animation: pulseBtn 2s infinite;
}

/* MODAL - PREMIUM GLASSMORPHISM STYLE */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: modalPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
}

@keyframes modalPop {
  0% { transform: scale(0.8) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  color: #aaa;
  cursor: pointer;
  transition: 0.3s;
}
.modal-close:hover { color: #fff; }

.modal-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.modal-header p {
  font-size: 18px;
  opacity: 0.9;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.full-width { grid-column: 1 / -1; }

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
}
.req { color: #ff6b6b; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: white;
  font-size: 16px;
  transition: all 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #27aae1;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 4px rgba(39, 170, 225, 0.3);
}

.phone-input-wrapper {
  display: flex;
  gap: 10px;
}
.phone-input-wrapper select {
  width: 200px;
  flex-shrink: 0;
}
.phone-input-wrapper input {
  flex: 1;
}

.phone-input-wrapper select option {
  background: #242424 !important;
  color: white !important;
}

/* GOLD SUBMIT BUTTON - EXACT SAME AS CARD */
.btn-submit-gold {
  margin-top: 20px;
  width: 100%;
  padding: 20px;
  background: #f8f9fa;
  color: #262262;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.btn-submit-gold:hover {
  background: #262262;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(38, 34, 98, 0.3);
}
.btn-submit-gold .loading-spinner svg {
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success Box */
.success-box {
  text-align: center;
  padding: 30px 20px;
}
.success-box i {
  font-size: 70px;
  color: #27aae1;
  margin-bottom: 20px;
}
.success-box h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.btn-close-modal {
  margin-top: 20px;
  padding: 12px 40px;
  background: #27aae1;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
}
/* Only the plan name text color changes */
#selectedPlanName.text-silver {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

#selectedPlanName.text-gold {
  background: linear-gradient(to right, #f39c12, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

#selectedPlanName.text-platinum {
  background: linear-gradient(to right, #2c3e50, #34495e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

#selectedPlanName.text-custom {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .gradient-text {
    font-size: 3rem;
  }
  .pricing-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .pricing-section {
    padding: 100px 20px 120px;
  }
  .gradient-text {
    font-size: 2.8rem;
  }
  .sub-heading {
    font-size: 1.1rem;
  }
  .card-header {
    padding: 35px 20px;
  }
  .price .amount {
    font-size: 3rem;
  }
  .ribbon {
    top: 25px;
    right: -60px;
    padding: 6px 50px;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 80px 15px 100px;
  }
  .gradient-text {
    font-size: 2.5rem;
  }
  .sub-heading {
    font-size: 1rem;
  }
  .pricing-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .popular {
    transform: scale(1.03);
  }
  .card-header {
    padding: 35px 20px;
  }
  .card-body {
    padding: 25px 20px;
  }
  .btn-pricing {
    padding: 14px;
    font-size: 1rem;
  }
  .modal-content-glass {
    padding: 30px 20px;
     max-width: 95%;
  }
  .modal-header h2 {
    font-size: 2rem;
  }
  .modal-header p {
    font-size: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .phone-input-wrapper {
    flex-direction: column;
  }
  .phone-input-wrapper select {
 width: 100%;
  }
   .btn-submit-gold {
    padding: 16px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gradient-text {
    font-size: 2.2rem;
  }
  .pricing-section {
    padding: 60px 15px 80px;
  }
  .price .amount {
    font-size: 2.5rem;
  }
  .ribbon {
    top: 20px;
    right: -70px;
    font-size: 0.75rem;
    padding: 5px 45px;
  }
  .modal-overlay {
    padding: 15px;
  }
  .modal-content-glass {
    padding: 25px 15px;
  }
  .modal-header h2 {
    font-size: 1.8rem;
  }
  .modal-header p {
    font-size: 0.95rem;
  }
  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 28px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .btn-submit-gold {
    padding: 14px;
  }
}