/* ==========================================================================
   MONEYMAP PRICING PAGE CSS
   Tier Cards, Billing Toggle Switch, Comparison Matrix, Trust Seals
   ========================================================================== */

.pricing-hero {
  padding: 100px 0 50px;
  text-align: center;
}

/* Billing Toggle Switch */
.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 36px 0 60px;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.toggle-label.active {
  color: #ffffff;
}

.billing-switch {
  width: 58px;
  height: 32px;
  background: rgba(16, 22, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: all var(--trans-normal);
}

.switch-handle {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform var(--trans-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.billing-switch.annual {
  background: var(--primary);
  border-color: var(--primary-light);
}

.billing-switch.annual .switch-handle {
  transform: translateX(26px);
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-light);
}

/* Pricing Grid Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 90px;
}

.pricing-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--trans-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(32, 43, 85, 0.9) 0%, rgba(16, 22, 47, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.pricing-card-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 44px;
}

.plan-pricing-box {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  vertical-align: top;
  line-height: 1.8;
}

.plan-price-num {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.plan-cycle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.plan-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-box {
  background: rgba(16, 22, 47, 0.5);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-light);
  flex-shrink: 0;
}

.guarantee-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.guarantee-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}
