/* Cheetah Tool — Buy License page (pricing cards match index) */
.ct-buy {
    --ct-navy: #05122d;
    --ct-gold: #fed200;
    --ct-text: #1e293b;
    --ct-muted: #64748b;
    --ct-bg: #f8fafc;
    --ct-white: #ffffff;
    --ct-radius: 14px;
    --ct-shadow: 0 10px 40px rgba(5, 18, 45, 0.08);
    font-family: 'Cheetah Graphik', 'Montserrat', system-ui, sans-serif;
    color: var(--ct-text);
    background: var(--ct-bg);
    padding: 52px 0 72px;
}

.ct-buy *,
.ct-buy *::before,
.ct-buy *::after {
    box-sizing: border-box;
}

body.page-buy-license .pusher > br {
    display: none !important;
}

.ct-buy .ct-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.ct-buy .ct-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.ct-buy .ct-head h1 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--ct-navy);
    line-height: 1.25;
}

.ct-buy .ct-head p {
    margin: 0;
    color: var(--ct-muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

.ct-buy .ct-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(254, 210, 0, 0.15);
    color: #92680a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ct-buy .ct-how-to {
    background: var(--ct-white);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--ct-gold);
    border-radius: var(--ct-radius);
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: var(--ct-shadow);
}

.ct-buy .ct-how-to h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--ct-navy);
}

.ct-buy .ct-how-to ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--ct-muted);
    line-height: 1.75;
}

.ct-buy .ct-how-to a {
    color: var(--ct-navy);
    font-weight: 700;
}

.ct-buy .ct-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.ct-buy .ct-price-card {
    background: var(--ct-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--ct-radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.ct-buy .ct-price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ct-shadow);
}

.ct-buy .ct-price-card--featured {
    border: 2px solid var(--ct-gold);
    box-shadow: 0 12px 40px rgba(254, 210, 0, 0.2);
}

.ct-buy .ct-price-card--featured::before {
    content: "Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ct-gold);
    color: var(--ct-navy);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
}

.ct-buy .ct-price-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--ct-navy);
}

.ct-buy .ct-price-card__duration {
    color: var(--ct-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.ct-buy .ct-price-card .ct-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ct-navy);
    margin: 16px 0;
}

.ct-buy .ct-price-card .ct-price small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ct-muted);
}

.ct-buy .ct-price-card__payments {
    font-size: 0.78rem;
    color: var(--ct-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.ct-buy .ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.ct-buy .ct-btn--gold {
    background: var(--ct-gold);
    color: var(--ct-navy);
    box-shadow: 0 6px 20px rgba(254, 210, 0, 0.35);
}

.ct-buy .ct-btn--outline {
    background: transparent;
    color: var(--ct-navy);
    border: 2px solid #cbd5e1;
    margin-top: 10px;
}

.ct-buy .ct-btn--green {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
    margin-top: 8px;
    font-size: 0.85rem;
    padding: 10px 16px;
}

.ct-buy .ct-btn:hover {
    transform: translateY(-2px);
    color: inherit;
}

.ct-buy .ct-btn--gold:hover {
    color: var(--ct-navy);
}

.ct-buy .ct-price-card--credit {
    background: linear-gradient(160deg, var(--ct-navy), #0a2a52);
    color: #fff;
    border: none;
}

.ct-buy .ct-price-card--credit h3,
.ct-buy .ct-price-card--credit .ct-price {
    color: #fff;
}

.ct-buy .ct-price-card--credit .ct-price-card__payments {
    color: rgba(255, 255, 255, 0.75);
    border-top-color: rgba(255, 255, 255, 0.15);
}

.ct-buy .ct-price-card--credit .ct-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .ct-buy {
        padding: 48px 0 56px;
    }

    .ct-buy .ct-pricing-grid {
        grid-template-columns: 1fr;
    }
}
