.visible-lead {
    display: block !important;
}

.pricing-cards {
    align-items: stretch;
}

.pricing-card {
    display: flex;
    min-height: 520px;
    flex-direction: column;
}

.pricing-card .button {
    margin-top: auto;
}

.highlighted-card {
    border-color: rgba(66, 183, 255, 0.58) !important;
    background: linear-gradient(180deg, #14222d 0%, #101820 100%) !important;
}

.license-pricing-section {
    padding-top: 28px;
}

.pricing-section-lead {
    max-width: 720px;
    margin: 12px 0 24px;
    color: var(--dark-muted);
}

.license-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.license-pricing-card {
    position: relative;
    min-height: 300px;
    padding-top: 26px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.license-pricing-card:hover {
    border-color: rgba(66, 183, 255, 0.46);
    box-shadow:
        var(--shadow),
        0 18px 38px rgba(0, 0, 0, 0.24);
    transform: translateY(-2px);
}

.license-pricing-card h3 {
    margin: 0;
}

.license-price-line {
    margin: 18px 0;
    color: #ffffff !important;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.license-pricing-meta {
    margin-top: auto;
}

.license-checkout-button {
    width: 100%;
    margin-top: 18px;
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.license-checkout-button:not(:disabled) {
    cursor: pointer;
}

.license-checkout-button:disabled,
.license-checkout-button[aria-disabled="true"] {
    cursor: default;
    filter: saturate(0.62);
    opacity: 0.64;
    box-shadow: none;
}

.license-checkout-button:active,
.license-checkout-button.is-clicked {
    filter: brightness(1.14);
    transform: translateY(1px) scale(0.985);
}

.license-pricing-note {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--dark-muted);
}

.checkout-status {
    max-width: 760px;
    margin: 12px 0 0;
    color: #d7fff0;
    font-weight: 800;
}

.license-pricing-meta div {
    grid-template-columns: 1fr;
}

.pricing-plan-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 0 12px;
    border: 1px solid rgba(154, 178, 205, 0.38);
    border-radius: 999px;
    background: rgba(154, 178, 205, 0.09);
    color: #d8e5f5;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.pricing-plan-status-badge {
    border-color: rgba(52, 211, 153, 0.56);
    background: rgba(52, 211, 153, 0.13);
    color: #d7fff0;
}

.recommended-pricing-card {
    border-color: rgba(52, 211, 153, 0.68);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.12), rgba(66, 183, 255, 0.07)),
        var(--surface);
    box-shadow:
        var(--shadow),
        0 18px 42px rgba(52, 211, 153, 0.14);
}

.value-pricing-card {
    border-color: rgba(52, 211, 153, 0.42);
}

.price-line {
    margin: 12px 0 14px;
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
}

.price-line span {
    color: var(--dark-muted);
    font-size: 1rem;
    font-weight: 700;
}

.check-list,
.ordered-list {
    margin: 22px 0;
    padding-left: 22px;
    color: var(--dark-muted);
}

.check-list li,
.ordered-list li {
    margin: 10px 0;
}

.text-block {
    color: var(--dark-muted);
}

.code-panel {
    display: grid;
    gap: 12px;
}

.code-panel code {
    display: block;
    padding: 14px 16px;
    overflow-wrap: anywhere;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: #101820;
    color: #d9f3ff;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.compact-actions {
    margin-top: 0;
}

@media (max-width: 860px) {
    .license-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card {
        min-height: 0;
    }

    .compact-actions {
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .license-pricing-grid {
        grid-template-columns: 1fr;
    }

    .license-pricing-card {
        min-height: 0;
    }
}
