/* =============================================
   Premium Upgrade Page Styles
   ============================================= */

/* --- Success Page --- */
.pro-success-container {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}

.pro-success-card {
    background: #fff;
    border: 1px solid rgba(42, 182, 103, 0.2);
    box-shadow: 0 12px 32px rgba(42, 182, 103, 0.1);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.success-icon {
    color: #2ab667;
    margin-bottom: 16px;
}

.success-icon span {
    font-size: 64px;
    padding: 16px;
    border-radius: 50%;
}

.pro-success-card h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #2ab667;
}

.pro-success-card .main-msg {
    font-size: 16px;
    color: var(--body-deep);
    margin: 0 0 12px 0;
}

.pro-success-card .sub-msg {
    font-size: 13px;
    color: var(--body-gray);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.pro-btn {
    display: inline-block;
    background: #2ab667;
    color: white !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s;
}

.pro-btn:hover {
    transform: translateY(-2px);
    color: white !important;
}

.btn-dashboard {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: #2ab667;
    color: white !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

body.dark-theme .pro-success-card {
    background: rgba(42, 182, 103, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .pro-success-card h2 {
    color: #e4e6eb;
}

body.dark-theme .pro-success-card p {
    color: #b0b3b8;
}

/* --- Trial Banner --- */
.pp-trial-banner {
    background: rgba(42, 182, 103, 0.08);
    border: 1px dashed rgba(42, 182, 103, 0.4);
    color: var(--body-deep, #333);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
    user-select: none;
}

/* --- PayPal Spinner --- */
@keyframes pp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Main Upgrade Page --- */
.pro-upgrade-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    margin-top: 30px;
}

.qa-main {
    width: 100% !important;
    max-width: unset !important;
}

.qa-sidepanel {
    display: none;
}

.qa-main-heading {
    display: none;
}

/* Hero Section */






.pro-hero-subtitle {
    font-size: 15px;
    color: var(--body-gray);
    margin: 0 0 24px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.pro-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 16px;
    color: var(--body-gray);
}

/* Features Grid */
.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pro-feature-card {
    background: rgba(155, 155, 155, 0.06);
    border: 1px solid rgba(155, 155, 155, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pro-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-icon .material-symbols-rounded {
    font-size: 36px;
}

.pro-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--body-deep);
}

.pro-feature-card p {
    font-size: 13px;
    color: var(--body-gray);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.pro-cta-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 32px 24px;
    background: rgba(155, 155, 155, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(155, 155, 155, 0.15);
}

.pro-subscribe-btn {
    display: inline-block;
    background: var(--primary-button-bg);
    color: var(--on-primary-btn) !important;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pro-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 152, 238, 0.3);
}

.pro-guarantee {
    margin-top: 24px;
}

.guarantee-badge {
    display: inline-block;
    background: rgba(42, 182, 103, 0.15);
    color: #2ab667;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pro-guarantee p {
    font-size: 13px;
    color: var(--body-gray);
    margin: 8px 0 0 0;
}

.pro-secure-note {
    font-size: 12px;
    color: var(--body-gray);
    margin: 20px 0 0 0;
}

.striked-price {
    position: relative;
    display: inline-block;
    margin-right: 12px;
    font-size: 24px;
    padding: 0 5px;
}

.striked-price::before,
.striked-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dc2626;
    border-radius: 4px;
    pointer-events: none;
}

.striked-price::before {
    transform: rotate(45deg);
}

.striked-price::after {
    transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 600px) {


    .pro-hero-subtitle {
        font-size: 14px;
    }

    .price-amount {
        font-size: 36px;
    }

    .pro-feature-card {
        padding: 20px;
    }

    .pro-subscribe-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* --- Split Hero Layout --- */
.pro-hero-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas:
        "info card"
        "features card";
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
    margin-top: 30px;
}

.pro-hero-info {
    grid-area: info;
}

.pro-checkout-card-wrapper {
    grid-area: card;
}

.pro-feature-checklist-wrapper {
    grid-area: features;
}

.pro-hero-info h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: var(--body-deep);
}

.pro-hero-subtitle {
    font-size: 16px;
    color: var(--body-gray);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

/* Billing Toggle */
.billing-cycle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--body-gray);
    margin-bottom: 12px;
}

.billing-cycle-toggle {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* margin-bottom: 32px; */
    font-size: 14px;
}

.cycle-option {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(155, 155, 155, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(155, 155, 155, 0.05);
}

.cycle-option:hover {
    background: rgba(155, 155, 155, 0.1);
}

.cycle-option.active {
    border-color: #2ab667;
    background: rgba(42, 182, 103, 0.05);
}

.cycle-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--body-gray);
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cycle-option.active .cycle-radio {
    border-color: #2ab667;
}

.cycle-option.active .radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ab667;
}

.cycle-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cycle-name {
    font-weight: 600;
    color: var(--body-deep);
    display: flex;
    align-items: center;
    gap: 12px;
}

.save-badge {
    background: rgba(42, 182, 103, 0.15);
    color: #2ab667;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.cycle-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--body-deep);
}

.cycle-period {
    font-weight: 400;
    font-size: 14px;
    color: var(--body-gray);
}

/* Feature Checklist */
.pro-feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pro-feature-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--body-deep);
}

.check-icon {
    color: var(--accent);
    font-size: 20px;
}

/* Checkout Card Right */
.pro-checkout-card {
    background: #111827;
    /* Dark background from screenshot */
    border-radius: 16px;
    padding: 32px 24px;
    margin-top: 96px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pro-checkout-card h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 19px;
}

.pro-checkout-card p {
    color: #9ca3af;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.5;
}

.pro-checkout-card .pro-subscribe-btn {
    background: var(--accent);
    color: #fff !important;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
    white-space: nowrap;
    padding-left: 20px;
    padding-right: 20px;
}

.pro-checkout-card .pro-secure-note {
    color: #6b7280;
    font-size: 12px;
    margin-top: 24px;
}

@media (max-width: 530px) {
    .pro-hero-info h1 {
        font-size: 24px;
    }

    .cycle-option {
        font-size: 12px;
    }

    .cycle-price {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .pro-hero-split {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "card"
            "features";
    }
}

@media (max-width: 900px) {
    .pro-checkout-card {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 16px !important;
        margin-bottom: 24px;
    }

    .card-hide-mobile {
        display: none !important;
    }
}