/* ==========================================================================
   De Slimme Gids — Pricing & Premium Styles
   ========================================================================== */

/* ─── PRICING GRID ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ─── PRICING CARD BASE ──────────────────────────────────────────── */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Free — default muted */
.pricing-card--free {
  background: rgba(255,255,255,0.02);
}

/* Premium — highlighted */
.pricing-card--premium {
  background: linear-gradient(160deg, #0f172a 0%, #0d1117 100%);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.12), 0 8px 32px rgba(99,102,241,0.08);
}

/* Team — subtle */
.pricing-card--team {
  background: rgba(255,255,255,0.02);
}

/* ─── POPULAR BADGE ──────────────────────────────────────────────── */
.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

/* ─── TIER LABEL ─────────────────────────────────────────────────── */
.pricing-tier-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-card--premium .pricing-tier-label {
  color: #818cf8;
}

/* ─── PRICE DISPLAY ──────────────────────────────────────────────── */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card--premium .pricing-amount {
  background: linear-gradient(135deg, #a5b4fc, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

/* ─── FEATURE LIST ───────────────────────────────────────────────── */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  font-size: 0.84rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pricing-features li::before {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 0.05rem;
}

.feat--yes::before {
  content: '✓';
  background: rgba(16,185,129,0.12);
  color: #10b981;
  font-weight: 700;
}

.feat--no {
  opacity: 0.35;
}

.feat--no::before {
  content: '–';
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

.feat--highlight {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── CTA BUTTONS ────────────────────────────────────────────────── */
.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pricing-btn--free {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing-btn--free:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text-primary);
}

.pricing-btn--premium {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.pricing-btn--premium:hover {
  box-shadow: 0 6px 24px rgba(79,70,229,0.45);
  transform: translateY(-1px);
}

.pricing-btn--team {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.08);
}

.pricing-btn--team:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text-primary);
}

.pricing-footnote {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ─── TRUST STRIP ────────────────────────────────────────────────── */
.pricing-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-dot { color: rgba(255,255,255,0.15); }

/* ─── PREMIUM PAYWALL BLOCK (in artikel-pagina's) ────────────────── */
.premium-paywall {
  position: relative;
  margin: 2.5rem 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.2);
}

.premium-paywall-blur {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
  opacity: 0.45;
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.premium-paywall-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, transparent 0%, rgba(9,13,26,0.92) 35%);
  padding: 2rem;
  gap: 0.75rem;
}

.premium-paywall-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(79,70,229,0.35);
  margin-bottom: 0.25rem;
}

.premium-paywall-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.premium-paywall-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 340px;
  line-height: 1.5;
}

.premium-paywall-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
  margin-top: 0.25rem;
}

.premium-paywall-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.45);
}

.premium-paywall-free-note {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ─── PREMIUM BADGE ON CARDS ─────────────────────────────────────── */
.card-premium-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  font-family: 'Outfit', sans-serif;
  z-index: 10;
}

/* ─── NAV LINK — Lidmaatschap ────────────────────────────────────── */
.nav-link-premium {
  color: #818cf8 !important;
  font-weight: 600;
}

/* ─── CHAT WIDGET UPGRADE PROMPT ─────────────────────────────────── */
.chat-upgrade-banner {
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(37,99,235,0.08));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  text-align: center;
  margin: 0.5rem 0;
}

.chat-upgrade-banner p {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.chat-upgrade-banner a {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.chat-upgrade-banner a:hover { opacity: 0.85; }

/* ─── PREMIUM UNLOCKED STATE ────────────────────────────────────── */
.premium-paywall.unlocked {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.05);
}

.premium-paywall.unlocked .premium-paywall-blur {
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
  opacity: 1 !important;
}

.premium-paywall.unlocked .premium-paywall-cta {
  display: none !important;
}

/* Success notification banner */
.premium-trial-active-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: #a7f3d0;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease;
}

.premium-trial-active-banner svg {
  color: #10b981;
  flex-shrink: 0;
}
