/* ================================================
   Modern Pricing Cards - Glass Morphism Design
   ================================================ */

.pricing-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.pricing-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-section .section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.pricing-section .section-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Toggle (Monthly/Yearly) */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  align-items: center;
}

.pricing-toggle span {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: #fff;
}

/* Cards Container */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 20px;
  align-items: stretch;
}

/* Single Card */
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 30px;
  width: 280px;
  min-width: 260px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

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

/* Popular/Featured Card */
.pricing-card.featured {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.3);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(59,130,246,0.15), 0 20px 60px rgba(0,0,0,0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 0 50px rgba(59,130,246,0.25), 0 25px 70px rgba(0,0,0,0.3);
}

/* Badge */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Plan Name */
.pricing-card .plan-name {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card.featured .plan-name {
  color: rgba(255,255,255,0.8);
}

/* Plan Description */
.pricing-card .plan-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Price */
.pricing-card .plan-price-wrap {
  margin-bottom: 24px;
}

.pricing-card .plan-price {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.pricing-card .plan-price .currency {
  font-size: 16px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 1px;
}

.pricing-card .plan-price .period {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0;
}

.pricing-card.featured .plan-price {
  color: #fff;
}

/* Trial badge */
.pricing-card .trial-text {
  display: inline-block;
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 6px;
  padding: 3px 10px;
  background: rgba(34,197,94,0.1);
  border-radius: 20px;
}

/* Screens info */
.pricing-card .screens-info {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-card .screens-info i {
  color: #3b82f6;
}

/* Divider */
.pricing-card .card-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 0 20px;
}

/* Features List */
.pricing-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.pricing-card .features-list li i {
  color: #22c55e;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card.featured .features-list li {
  color: rgba(255,255,255,0.7);
}

/* CTA Button */
.pricing-card .plan-cta {
  margin-top: auto;
}

.pricing-card .btn-plan {
  display: block;
  width: 100%;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

/* Default button - outline */
.pricing-card .btn-plan {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
}

.pricing-card .btn-plan:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Featured button - filled gradient */
.pricing-card.featured .btn-plan {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}

.pricing-card.featured .btn-plan:hover {
  box-shadow: 0 6px 30px rgba(59,130,246,0.5);
  transform: translateY(-2px);
}

/* Active/subscribed */
.pricing-card .btn-plan.subscribed {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.3);
  color: #22c55e;
  cursor: default;
}

/* Submit button inside form */
.pricing-card .btn-plan input[type="submit"] {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .pricing-cards {
    gap: 20px;
  }
  .pricing-card {
    width: 260px;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    width: 100%;
    max-width: 360px;
  }
  .pricing-section .section-header h2 {
    font-size: 28px;
  }
}
