/**
 * Subscription Management Styles - Sitelead Brand
 * Primary: #f5235e (Vibrant Pink)
 * Secondary: #333333 (Dark Gray)
 */

 .sitelead-subscription-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
}

/* ===== CURRENT PLAN CARD ===== */
.current-plan-section {
    margin-bottom: 70px;
}

.current-plan-card {
    background: linear-gradient(135deg, #f5235e 0%, #d91d4f 100%);
    border-radius: 24px;
    padding: 45px;
    color: white;
    box-shadow: 0 12px 48px rgba(245, 35, 94, 0.25);
    position: relative;
    overflow: hidden;
}

.current-plan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.plan-name-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.plan-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.plan-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.plan-status {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.trial-badge {
    background: #fbbf24;
    color: #78350f;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* ===== PLAN DETAILS GRID ===== */
.plan-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.plan-stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.stat-subtext {
    font-size: 14px;
    opacity: 0.85;
}

/* ===== USAGE BAR ===== */
.usage-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usage-bar {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.usage-fill {
    height: 100%;
    background: white;
    border-radius: 12px;
    transition: width 0.5s ease;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.usage-text {
    font-size: 15px;
    font-weight: 600;
}

/* ===== FEATURES LIST ===== */
.plan-features {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
}

.plan-features h4 {
    font-size: 19px;
    margin-bottom: 20px;
    font-weight: 700;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.feature-checkmark {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

/* ===== PLANS GRID ===== */
.available-plans-section {
    margin-bottom: 70px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
    border-color: #f5235e;
    box-shadow: 0 16px 48px rgba(245, 35, 94, 0.15);
    transform: translateY(-6px);
}

.plan-card.current-plan {
    border-color: #f5235e;
    border-width: 3px;
    box-shadow: 0 12px 40px rgba(245, 35, 94, 0.2);
}

.current-plan-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f5235e 0%, #d91d4f 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(245, 35, 94, 0.3);
}

/* ===== PLAN CARD HEADER ===== */
.plan-card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.plan-card-name {
    font-size: 26px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

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

.price-amount {
    font-size: 52px;
    font-weight: 700;
    color: #f5235e;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: #666666;
    font-weight: 500;
}

.plan-price-yearly {
    font-size: 15px;
    color: #666666;
    margin-top: 10px;
    font-weight: 500;
}

/* ===== PLAN CARD BODY ===== */
.plan-card-body {
    flex-grow: 1;
    margin-bottom: 28px;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
    border-bottom: 1px solid #f3f4f6;
}

.plan-features-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    color: #f5235e;
    margin-top: 2px;
}

/* ===== PLAN CARD FOOTER ===== */
.plan-card-footer {
    margin-top: auto;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #f5235e 0%, #d91d4f 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 35, 94, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(245, 35, 94, 0.4);
    background: linear-gradient(135deg, #d91d4f 0%, #f5235e 100%);
}

.btn-plan.current {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-plan.current:hover {
    transform: none;
}

/* ===== BILLING CYCLE NOTE ===== */
.billing-cycle-note {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 100%);
    border-radius: 16px;
    padding: 28px 36px;
    text-align: center;
    margin-top: 50px;
    border: 2px solid #ffd6e0;
}

.billing-cycle-note p {
    margin: 0;
    font-size: 17px;
    color: #333333;
    font-weight: 500;
}

.billing-cycle-note a {
    color: #f5235e;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.billing-cycle-note a:hover {
    color: #d91d4f;
    border-bottom-color: #d91d4f;
}

/* ===== ADDITIONAL ENHANCEMENTS ===== */

/* Popular badge for recommended plan */
.plan-card.recommended {
    transform: scale(1.05);
    z-index: 2;
}

.plan-card.recommended::before {
    content: '⭐ Meest Gekozen';
    position: absolute;
    top: -14px;
    right: 20px;
    background: #fbbf24;
    color: #78350f;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .plan-card.recommended {
        transform: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .current-plan-card {
        padding: 28px;
    }
    
    .plan-header {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    
    .plan-name {
        font-size: 26px;
    }
    
    .plan-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 42px;
    }
}

/* ===== LOADING STATES ===== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .btn-plan,
    .billing-cycle-note {
        display: none;
    }
    
    .current-plan-card {
        background: white !important;
        color: #333333 !important;
        border: 2px solid #f5235e;
    }
    
    .plan-card {
        page-break-inside: avoid;
    }
}
/* ===== NO SUBSCRIPTION CARD ===== */
.no-subscription-card {
    background: linear-gradient(135deg, #f5235e 0%, #d91d4f 100%);
    border-radius: 24px;
    padding: 50px 45px;
    color: white;
    box-shadow: 0 12px 48px rgba(245, 35, 94, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.no-subscription-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.no-subscription-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.no-subscription-icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
}

.no-subscription-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.no-subscription-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ===== NO SUBSCRIPTION BENEFITS ===== */
.no-subscription-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

/* ===== NO SUBSCRIPTION CTA ===== */
.no-subscription-cta {
    position: relative;
    z-index: 1;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: white;
    color: #f5235e;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.btn-primary-large svg {
    transition: transform 0.3s ease;
}

.btn-primary-large:hover svg {
    transform: translateY(3px);
}

.cta-subtext {
    margin-top: 20px;
    font-size: 15px;
}

.trial-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease;
}

.trial-link:hover {
    border-bottom-color: white;
}

/* ===== NO ACCESS STATE ===== */
.sitelead-no-access {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 40px;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
}

.sitelead-no-access h2 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 16px;
}

.sitelead-no-access p {
    font-size: 17px;
    color: #666666;
    margin: 0;
}

.sitelead-no-access a {
    color: #f5235e;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.sitelead-no-access a:hover {
    border-bottom-color: #f5235e;
}

/* ===== RESPONSIVE - NO SUBSCRIPTION ===== */
@media (max-width: 768px) {
    .no-subscription-card {
        padding: 35px 25px;
    }
    
    .no-subscription-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .no-subscription-title {
        font-size: 26px;
    }
    
    .no-subscription-text {
        font-size: 16px;
    }
    
    .no-subscription-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn-primary-large {
        font-size: 16px;
        padding: 16px 32px;
    }
}