/*
 * Pakketten page (redesign). Shared base, header, footer, buttons, pills and the CTA band
 * come from css/site.css; this file only adds the pricing intro and the plan card.
 */

/* ---------- Intro ---------- */
.pricing { background: var(--bg-subtle); padding-block: 32px 56px; }
.pricing__row { display: flex; flex-direction: column; gap: 32px; }
.pricing__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pricing__title {
    max-width: 560px;
    color: var(--text-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.pricing__title em { font-style: normal; color: var(--text-brand-display); }
.pricing__lead { max-width: 540px; color: var(--text-secondary); font-size: 17px; line-height: 1.6; }
.pricing__trust { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.pricing__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
}
.pricing__trust svg { width: 16px; height: 16px; color: var(--support-green-700); }

/* ---------- Plan card ---------- */
.plan {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
    border: 1px solid var(--border-brand);
    border-radius: 24px;
    background: var(--bg-page);
    box-shadow: var(--shadow-float);
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { color: var(--text-primary); font-weight: var(--font-weight-bold); font-size: 22px; line-height: 1.3; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan__amount {
    color: var(--text-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.03em;
}
.plan__period { color: var(--text-secondary); font-weight: var(--font-weight-medium); font-size: 15px; }
.plan__divider { height: 1px; margin: 4px 0; border: 0; background: var(--border-default); }
.plan__includes {
    color: var(--text-brand);
    font-weight: var(--font-weight-bold);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.plan__features { display: flex; flex-direction: column; gap: 12px; }
.plan__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
}
.plan__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    background: var(--bg-brand);
    color: var(--icon-on-brand);
}
.plan__check svg { width: 14px; height: 14px; }
.plan__actions { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
/* The testprogramma label is long; let it wrap on narrow cards instead of overflowing. */
.plan__actions .btn { white-space: normal; text-align: center; }

@media (min-width: 768px) {
    .pricing { padding-block: 64px 96px; }
    .pricing__copy { gap: 20px; }
    .pricing__title { font-size: 52px; line-height: 1.08; }
    .pricing__lead { font-size: 19px; }
    .pricing__trust { flex-direction: row; flex-wrap: wrap; gap: 24px; }
    .plan { padding: 40px; border-radius: 28px; gap: 20px; max-width: 520px; }
    .plan__name { font-size: 24px; }
    .plan__amount { font-size: 64px; }
}
@media (min-width: 1024px) {
    .pricing { padding-block: 80px 112px; }
    .pricing__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 80px; }
    .pricing__copy { flex: 1 1 0; min-width: 0; }
    .pricing__title { font-size: 60px; }
    .pricing__lead { font-size: 20px; }
    .plan { flex: 0 0 460px; }
}

/* ---------- Entrance + hover ---------- */
@media (prefers-reduced-motion: no-preference) {
    .pricing__copy { animation: packages-rise .7s cubic-bezier(.22, 1, .36, 1) both; }
    .plan { animation: packages-rise .8s cubic-bezier(.22, 1, .36, 1) .12s both; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
    .plan:hover { transform: translateY(-4px); }
    .plan__features li { animation: packages-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
    .plan__features li:nth-child(1) { animation-delay: .35s; }
    .plan__features li:nth-child(2) { animation-delay: .42s; }
    .plan__features li:nth-child(3) { animation-delay: .49s; }
    .plan__features li:nth-child(4) { animation-delay: .56s; }
    .plan__features li:nth-child(5) { animation-delay: .63s; }
    @keyframes packages-rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
}
