/* ==========================================
   Pricing Table Widget - Main Styles
   ========================================== */

.ptw-pricing-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ptw-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

/* ==========================================
   Badge
   ========================================== */
.ptw-badge {
    position: absolute;
    top: 18px;
    right: -28px;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg);
    width: 130px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ==========================================
   Header
   ========================================== */
.ptw-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 36px 32px 28px;
    text-align: center;
}

.ptw-plan-name {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ptw-plan-description {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ==========================================
   Price Section
   ========================================== */
.ptw-price-section {
    padding: 28px 32px 24px;
    text-align: center;
    background: #f9fafb;
}

.ptw-original-price {
    margin-bottom: 4px;
    opacity: 0.6;
}

.ptw-strike {
    text-decoration: line-through;
    font-size: 16px;
    color: #9ca3af;
}

.ptw-original-price .ptw-currency {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.ptw-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.ptw-currency {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-top: 6px;
}

.ptw-price-amount {
    font-size: 56px;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ptw-price-period {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
    align-self: flex-end;
    padding-bottom: 8px;
}

/* ==========================================
   Divider
   ========================================== */
.ptw-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 0 24px;
}

/* ==========================================
   Features List
   ========================================== */
.ptw-features-list {
    list-style: none;
    margin: 0;
    padding: 24px 32px;
    flex-grow: 1;
}

.ptw-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.ptw-feature:last-child {
    border-bottom: none;
}

.ptw-feature-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 11px;
}

.ptw-feature.included .ptw-feature-icon {
    color: #10b981;
    background-color: #d1fae5;
}

.ptw-feature.excluded .ptw-feature-icon {
    color: #d1d5db;
    background-color: #f3f4f6;
}

.ptw-feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    flex-grow: 1;
    line-height: 1.4;
}

.ptw-feature.excluded .ptw-feature-text {
    color: #9ca3af;
}

.ptw-tooltip-icon {
    color: #9ca3af;
    font-size: 12px;
    cursor: help;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.ptw-tooltip-icon:hover {
    color: #6b7280;
}

/* ==========================================
   CTA Button
   ========================================== */
.ptw-button-wrap {
    padding: 8px 32px 32px;
    text-align: center;
}

.ptw-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 32px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    position: relative;
    overflow: hidden;
}

.ptw-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.ptw-cta-button:hover::before {
    left: 100%;
}

.ptw-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
    color: #ffffff;
    text-decoration: none;
}

.ptw-btn-icon {
    display: flex;
    align-items: center;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .ptw-header {
        padding: 28px 24px 22px;
    }

    .ptw-plan-name {
        font-size: 20px;
    }

    .ptw-price-section {
        padding: 22px 24px 18px;
    }

    .ptw-price-amount {
        font-size: 44px;
    }

    .ptw-features-list {
        padding: 18px 24px;
    }

    .ptw-button-wrap {
        padding: 8px 24px 24px;
    }
}
