/* Pricing Modal Styling - Neo AI Modern Glassmorphism */

.pricing-modal {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(51, 119, 255, 0.3);
  box-shadow: 0 0 40px rgba(51, 119, 255, 0.15), inset 0 0 20px rgba(51, 119, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  width: 90%;
  max-width: 900px;
  position: relative;
  z-index: 10001;
  text-align: center;
  animation: modalFadeIn 0.3s ease-out;
}

.pricing-title {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(51, 119, 255, 0.5);
}

.pricing-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 40px;
}

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(51, 119, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  background: rgba(51, 119, 255, 0.05);
  border: 1px solid rgba(51, 119, 255, 0.5);
  box-shadow: 0 0 20px rgba(51, 119, 255, 0.2);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 35px rgba(51, 119, 255, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3377ff, #00d4ff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.pricing-card h3 {
  color: #fff;
  font-size: 22px;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 15px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: #00d4ff;
  margin-bottom: 25px;
  font-family: 'Outfit', sans-serif;
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
  text-align: left;
}

.pricing-features li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #00d4ff;
  font-weight: bold;
}

.pricing-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.pricing-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pricing-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pricing-card.featured .pricing-btn {
  background: rgba(51, 119, 255, 0.2);
  border-color: rgba(51, 119, 255, 0.8);
  color: #fff;
  box-shadow: 0 0 15px rgba(51, 119, 255, 0.3);
}

.pricing-card.featured .pricing-btn:hover {
  background: rgba(51, 119, 255, 0.4);
  box-shadow: 0 0 25px rgba(51, 119, 255, 0.5);
}

.pricing-card[data-tier="expert"] .pricing-price {
  color: #ff3366;
}

.pricing-card[data-tier="expert"] .pricing-features li::before {
  color: #ff3366;
}

.pricing-card[data-tier="expert"] .pricing-btn {
  border-color: rgba(255, 51, 102, 0.5);
  color: #ff3366;
}

.pricing-card[data-tier="expert"] .pricing-btn:hover {
  background: rgba(255, 51, 102, 0.1);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
}

/* Modal close button shared with auth */
.auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT MODE — Pricing Modal
   ═══════════════════════════════════════════════════════════════ */
body.theme-light .pricing-modal {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

body.theme-light .pricing-title {
  color: #1a1a2e;
  text-shadow: none;
}

body.theme-light .pricing-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

body.theme-light .pricing-card {
  background: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-light .pricing-card:hover {
  background: #F5F5F5;
  border-color: rgba(26, 86, 219, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.theme-light .pricing-card.featured {
  background: rgba(26, 86, 219, 0.04);
  border: 1px solid rgba(26, 86, 219, 0.25);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.1);
}

body.theme-light .pricing-card.featured:hover {
  box-shadow: 0 12px 35px rgba(26, 86, 219, 0.15);
}

body.theme-light .pricing-card h3 {
  color: #1a1a2e;
}

body.theme-light .pricing-price {
  color: #1a56db;
}

body.theme-light .pricing-price span {
  color: rgba(0, 0, 0, 0.45);
}

body.theme-light .pricing-features li {
  color: #444;
}

body.theme-light .pricing-features li::before {
  color: #1a56db;
}

body.theme-light .pricing-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #555;
}

body.theme-light .pricing-btn:hover:not(:disabled) {
  background: rgba(26, 86, 219, 0.06);
  color: #1a56db;
  border-color: rgba(26, 86, 219, 0.3);
}

body.theme-light .pricing-btn:disabled {
  background: rgba(0, 0, 0, 0.04);
  color: #999;
  border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .pricing-card.featured .pricing-btn {
  background: rgba(26, 86, 219, 0.08);
  border-color: rgba(26, 86, 219, 0.4);
  color: #1a56db;
}

body.theme-light .pricing-card.featured .pricing-btn:hover {
  background: rgba(26, 86, 219, 0.15);
}

body.theme-light .pricing-badge {
  background: linear-gradient(90deg, #1a56db, #0891b2);
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.3);
}

body.theme-light .pricing-card[data-tier="expert"] .pricing-price {
  color: #dc2626;
}

body.theme-light .pricing-card[data-tier="expert"] .pricing-features li::before {
  color: #dc2626;
}

body.theme-light .pricing-card[data-tier="expert"] .pricing-btn {
  border-color: rgba(220, 38, 38, 0.3);
  color: #dc2626;
}

body.theme-light .pricing-card[data-tier="expert"] .pricing-btn:hover {
  background: rgba(220, 38, 38, 0.06);
}
