/* ══════════════════════════════════════════════════════════
   PRICING SECTION
   assets/css/pricing.css
══════════════════════════════════════════════════════════ */

.pricing {
  background: var(--iv-deep);
  position: relative;
  overflow: hidden;
}
.pricing .section-title { color: white; }
.pricing .section-sub   { color: rgba(255,255,255,.48); }

/* ── Toggle ───────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 56px;
  margin-top: 8px;
}
.ptoggle-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all .25s;
  background: transparent;
  color: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ptoggle-btn.active {
  background: var(--iv-purple);
  color: white;
}
.save-badge {
  background: #22C55E;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
}

/* ── Grid ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}

/* ── Pricing card ─────────────────────────────────────── */
.pricing-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
  opacity: 0;
  transform: translateY(18px);
}
.pricing-card.visible          { opacity: 1; transform: translateY(0); }
.pricing-card.featured {
  border-color: rgba(123,47,255,.48);
  background: linear-gradient(145deg, rgba(123,47,255,.17), rgba(90,31,204,.1));
  transform: scale(1.04);
  box-shadow: 0 0 55px rgba(123,47,255,.18);
}
.pricing-card.featured.visible { transform: scale(1.04); }

/* ── Card header ──────────────────────────────────────── */
.pc-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.pc-tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}
.pc-popular-badge {
  background: var(--iv-purple);
  color: white;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── Price ────────────────────────────────────────────── */
.pc-price {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 7px;
}
.pc-currency {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--iv-purple-light);
  padding-bottom: 7px;
}
.pc-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -.04em;
}
.pc-period {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,.33);
  padding-bottom: 7px;
}
.pc-price-label {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  margin-bottom: 22px;
}
.pc-custom {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
}

/* ── Features list ────────────────────────────────────── */
.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}
.pc-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
}
.pc-feature.included { color: rgba(255,255,255,.78); }
.pc-feature.excluded { color: rgba(255,255,255,.22); text-decoration: line-through; }

.feature-check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.included .feature-check { background: rgba(123,47,255,.2); color: var(--iv-purple-light); }
.excluded .feature-check { background: rgba(255,255,255,.06); color: rgba(255,255,255,.2); }

/* ── CTA button ───────────────────────────────────────── */
.pc-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .25s;
}
.pc-cta-btn.ghost        { background: rgba(255,255,255,.07); color: white; }
.pc-cta-btn.ghost:hover  { background: rgba(255,255,255,.12); }
.pc-cta-btn.solid        { background: var(--iv-purple); color: white; box-shadow: 0 4px 18px rgba(123,47,255,.38); }
.pc-cta-btn.solid:hover  { box-shadow: 0 8px 30px rgba(123,47,255,.56); transform: translateY(-2px); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .pricing-card.featured,
  .pricing-card.featured.visible { transform: none; }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── 4-column grid override (pricing.php uses inline style) ── */
@media (max-width: 1080px) {
  #pricingGrid[style*="repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  #pricingGrid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}
