/* ======================================================
   PlaylistToday -- Pricing Page CSS
   Brief 4: /Pricing/Index
   Inherits tokens from playlisttoday-site.css
   ====================================================== */

/* ---- Toggle input: visually hidden ---- */
.plt-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ---- VAT global note ---- */
.plt-vat-note {
    font-size: 13px;
    color: var(--plt-muted);
    text-align: center;
    margin-bottom: 24px;
}

/* ---- Billing toggle ---- */
.plt-billing-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}
.plt-toggle-label {
    background: var(--plt-purple-lt);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}
.plt-toggle-opt {
    padding: 8px 20px;
    border-radius: 46px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    color: var(--plt-muted);
    background: transparent;
    white-space: nowrap;
}

/* Default (unchecked) = Annual active */
.plt-toggle-opt--annual  { background: var(--plt-purple); color: #fff; }
.plt-toggle-opt--monthly { background: transparent; color: var(--plt-muted); }

/* Checked = Monthly active */
.plt-toggle-input:checked ~ .plt-billing-toggle .plt-toggle-opt--annual  { background: transparent; color: var(--plt-muted); }
.plt-toggle-input:checked ~ .plt-billing-toggle .plt-toggle-opt--monthly { background: var(--plt-purple); color: #fff; }

.plt-toggle-save-note {
    font-size: 13px;
    color: var(--plt-purple);
    font-weight: 700;
    margin-top: 10px;
    transition: opacity 0.2s;
}
.plt-toggle-input:checked ~ .plt-billing-toggle .plt-toggle-save-note { opacity: 0; pointer-events: none; }

/* ---- Price show / hide ---- */
.plt-pricing-cards .plt-price-monthly { display: none; }
.plt-pricing-cards .plt-price-annual  { display: block; }

.plt-toggle-input:checked ~ .plt-pricing-cards .plt-price-monthly { display: block; }
.plt-toggle-input:checked ~ .plt-pricing-cards .plt-price-annual  { display: none; }

/* ---- Pricing card grid ---- */
.plt-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* ---- Card styles (override/extend services.css for pricing grid context) ---- */
.plt-pricing-cards .plt-price-card {
    background: #fff;
    border: 0.5px solid var(--plt-border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.plt-pricing-cards .plt-price-card--featured {
    border: 1.5px solid var(--plt-purple);
    box-shadow: 0 4px 24px rgba(107,63,160,0.12);
}
.plt-pricing-cards .plt-price-card .plt-btn { margin-top: auto; width: 100%; text-align: center; }

/* ---- Card typography ---- */
.plt-card-service-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--plt-purple);
    margin-bottom: 8px;
}
.plt-card-plan-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--plt-purple-dark);
    margin: 0 0 6px;
    line-height: 1.2;
}
.plt-card-plan-tagline {
    font-size: 14px;
    color: var(--plt-muted);
    margin: 0 0 16px;
}
.plt-card-no-prs {
    font-size: 13px;
    color: var(--plt-purple);
    font-weight: 700;
    margin: 0 0 20px;
}

/* ---- Price amounts ---- */
.plt-price-main-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    margin-bottom: 4px;
}
.plt-price-main-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--plt-purple-dark);
}
.plt-price-main-period {
    font-size: 16px;
    color: var(--plt-muted);
    font-weight: 400;
}
.plt-price-sub-note {
    font-size: 13px;
    color: var(--plt-muted);
    margin-bottom: 12px;
}

/* ---- Badges ---- */
.plt-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 4px;
}
.plt-badge-save {
    display: inline-block;
    background: #E1F5EE;
    color: #0F6E56;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
}
.plt-badge-trial {
    display: inline-block;
    background: var(--plt-purple-lt);
    color: var(--plt-purple);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
}

/* ---- Screen Media: monthly toggle note ---- */
.plt-screen-monthly-note {
    font-size: 13px;
    color: var(--plt-purple);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
}
.plt-card-standalone-note {
    font-size: 12px;
    color: var(--plt-muted);
    font-style: italic;
    margin-top: 12px;
}

/* ---- Feature list inside cards: single column ---- */
.plt-pricing-cards .plt-check-list {
    grid-template-columns: 1fr;
    margin-top: 16px;
}

/* ---- Hardware intro strip ---- */
.plt-hardware-intro {
    padding: 40px 36px 0;
    text-align: center;
}
.plt-hardware-intro-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--plt-purple-dark);
    margin: 0;
}

/* ---- Multi-site discount callout ---- */
.plt-multisite-callout {
    background: var(--plt-purple-dark);
    padding: 44px 36px;
}
.plt-multisite-callout-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.plt-multisite-left { flex: 1; }
.plt-multisite-h {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.25;
}
.plt-multisite-body {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

/* ---- PRS/PPL licensing notice ---- */
.plt-licensing-note {
    background: #FBF5E0;
    border-left: 3px solid var(--plt-gold);
    border-radius: var(--plt-radius-md);
    padding: 20px 24px;
    margin: 0 0 32px;
}
.plt-licensing-note h3 {
    font-size: 15px;
    font-weight: 700;
    color: #8A6A10;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.plt-licensing-note h3 .ti { font-size: 20px; flex-shrink: 0; }
.plt-licensing-note p {
    font-size: 13px;
    color: #5C4A1A;
    line-height: 1.6;
    margin: 0 0 6px;
}
.plt-licensing-note p:last-child { margin-bottom: 0; }
.plt-licensing-note a { color: #5C4A1A; text-decoration: underline; }
.plt-licensing-note a:hover { color: #3A2E0C; }

/* ---- Key contract terms grid ---- */
.plt-terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.plt-terms-card {
    background: var(--plt-bg-alt);
    border-radius: var(--plt-radius-md);
    padding: 18px 16px;
}
.plt-terms-card i {
    font-size: 20px;
    color: var(--plt-purple);
    margin-bottom: 8px;
    display: block;
}
.plt-terms-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--plt-purple-dark);
    margin: 0 0 4px;
}
.plt-terms-card p {
    font-size: 12px;
    color: var(--plt-muted);
    line-height: 1.55;
    margin: 0;
}

/* ---- T&C acceptance note ---- */
.plt-tc-note {
    font-size: 12px;
    color: var(--plt-muted);
    text-align: center;
    padding: 16px 24px 24px;
    line-height: 1.6;
}
.plt-tc-note a { color: var(--plt-muted); text-decoration: underline; }
.plt-tc-note a:hover { color: var(--plt-purple); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 900px) {
    .plt-pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .plt-pricing-cards .plt-price-card:last-child { grid-column: 1 / -1; }
    .plt-terms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .plt-multisite-callout { padding: 32px 24px; }
    .plt-multisite-callout-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .plt-hardware-intro { padding: 32px 24px 0; }
}
@media (max-width: 600px) {
    .plt-pricing-cards { grid-template-columns: 1fr; }
    .plt-pricing-cards .plt-price-card:last-child { grid-column: auto; }
    .plt-terms-grid { grid-template-columns: repeat(2, 1fr); }
    .plt-toggle-opt { padding: 8px 14px; font-size: 13px; }
}
