/* ============================================
   PRICING TABLE - CLEAN COMPARISON DESIGN
   ============================================ */

/* Container */
.pt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.pt-header {
    text-align: center;
    margin-bottom: 40px;
}

.pt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.15), rgba(14, 116, 144, 0.05));
    color: var(--primary-text, #22b8cf);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(14, 116, 144, 0.3);
}

.pt-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text, #fff);
    margin-bottom: 12px;
    line-height: 1.2;
}

.pt-subtitle {
    color: var(--text-secondary, #b3c1d9);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Trust Badges - Simplified */
.pt-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pt-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary, #b3c1d9);
    font-size: 0.9rem;
}

.pt-trust-icon {
    font-size: 1.1rem;
}

/* Comparison Table */
.pt-table-wrapper {
    background: var(--surface, #152238);
    border-radius: 24px;
    border: 1px solid var(--border, #24324a);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Table Header */
.pt-table-header {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.1), rgba(14, 116, 144, 0.05));
    border-bottom: 1px solid var(--border, #24324a);
}

.pt-header-cell {
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid var(--border, #24324a);
}

.pt-header-cell:last-child {
    border-right: none;
}

.pt-header-cell:first-child {
    text-align: left;
    padding-left: 32px;
}

.pt-plan-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text, #fff);
    margin-bottom: 4px;
}

.pt-plan-price {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text, #fff);
    line-height: 1;
}

.pt-plan-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #b3c1d9);
}

.pt-price-original {
    text-decoration: line-through;
    color: var(--text-muted, #6b7280);
    font-size: 0.875rem;
    margin-left: 4px;
}

.pt-popular-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Table Body */
.pt-table-body {
    background: var(--bg, #0b1220);
}

.pt-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    border-bottom: 1px solid var(--border, #24324a);
    transition: background 0.2s;
}

.pt-row:hover {
    background: rgba(14, 116, 144, 0.03);
}

.pt-row:last-child {
    border-bottom: none;
}

.pt-cell {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid var(--border, #24324a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-cell:last-child {
    border-right: none;
}

.pt-cell:first-child {
    text-align: left;
    justify-content: flex-start;
    padding-left: 32px;
    color: var(--text-secondary, #b3c1d9);
    font-size: 0.9375rem;
}

.pt-check {
    color: #22c55e;
    font-size: 1.25rem;
}

.pt-dash {
    color: var(--text-muted, #6b7280);
    font-size: 1rem;
}

.pt-value {
    color: var(--text, #fff);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Designs Count Row - Highlighted */
.pt-row-designs {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.08), rgba(14, 116, 144, 0.02));
}

.pt-row-designs .pt-cell:first-child {
    color: var(--text, #fff);
    font-weight: 600;
}

.pt-designs-count {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text, #22b8cf);
}

.pt-popular-col .pt-designs-count {
    color: #f97316;
}

/* CTA Row */
.pt-row-cta {
    background: var(--surface, #152238);
    padding: 24px 0;
}

.pt-cta-cell {
    padding: 16px;
    text-align: center;
    border-right: 1px solid var(--border, #24324a);
}

.pt-cta-cell:last-child {
    border-right: none;
}

.pt-cta-cell:first-child {
    padding-left: 32px;
    text-align: left;
}

.pt-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.pt-btn-outline {
    background: transparent;
    border: 2px solid var(--border, #24324a);
    color: var(--text, #fff);
}

.pt-btn-outline:hover {
    border-color: var(--primary, #0e7490);
    background: rgba(14, 116, 144, 0.1);
}

.pt-btn-primary {
    background: linear-gradient(135deg, var(--primary, #0e7490), var(--primary-hover, #0b6077));
    color: white;
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.4);
}

.pt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.5);
}

/* Per Design Price */
.pt-per-design {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    margin-top: 4px;
}

/* Promo Code Section */
.pt-promo {
    margin-top: 32px;
    text-align: center;
}

.pt-promo-label {
    color: var(--text-secondary, #b3c1d9);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.pt-promo-input-group {
    display: inline-flex;
    gap: 8px;
    background: var(--surface, #152238);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border, #24324a);
}

.pt-promo-input {
    background: transparent;
    border: none;
    padding: 10px 16px;
    color: var(--text, #fff);
    font-size: 0.9375rem;
    width: 150px;
    outline: none;
    text-transform: uppercase;
}

.pt-promo-input::placeholder {
    color: var(--text-muted, #6b7280);
    text-transform: none;
}

.pt-promo-btn {
    background: var(--primary, #0e7490);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pt-promo-btn:hover {
    background: var(--primary-hover, #0b6077);
}

.pt-promo-applied {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    color: #22c55e;
    font-weight: 600;
}

.pt-promo-remove {
    background: none;
    border: none;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 4px;
}

.pt-promo-remove:hover {
    color: #ef4444;
}

/* Mobile Cards (for small screens) */
.pt-mobile-cards {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.pt-mobile-card {
    background: var(--surface, #152238);
    border: 1px solid var(--border, #24324a);
    border-radius: 20px;
    padding: 24px;
    position: relative;
}

.pt-mobile-card.popular {
    border-color: #f97316;
    background: linear-gradient(135deg, var(--surface, #152238), rgba(249, 115, 22, 0.05));
}

.pt-mobile-header {
    text-align: center;
    margin-bottom: 20px;
}

.pt-mobile-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text, #fff);
    margin-bottom: 8px;
}

.pt-mobile-price {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text, #fff);
    line-height: 1;
}

.pt-mobile-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary, #b3c1d9);
}

.pt-mobile-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.5px;
}

.pt-mobile-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pt-mobile-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border, #24324a);
    font-size: 0.9375rem;
    color: var(--text-secondary, #b3c1d9);
}

.pt-mobile-features li:last-child {
    border-bottom: none;
}

.pt-mobile-features li strong {
    color: var(--text, #fff);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.125rem;
}

.pt-mobile-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.pt-mobile-btn-outline {
    background: transparent;
    border: 2px solid var(--border, #24324a);
    color: var(--text, #fff);
}

.pt-mobile-btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.pt-mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

/* Guarantee */
.pt-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    color: #22c55e;
    font-size: 0.9375rem;
}

.pt-guarantee-icon {
    font-size: 1.5rem;
}

/* Modal Specific Styles */
.pt-modal-box {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.pt-modal-header {
    text-align: center;
    padding: 24px 24px 0;
    margin-bottom: 24px;
}

.pt-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary, #b3c1d9);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.pt-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text, #fff);
}

/* Responsive */
@media (max-width: 1024px) {
    .pt-table-wrapper {
        display: none;
    }
    
    .pt-mobile-cards {
        display: flex;
    }
    
    .pt-title {
        font-size: 2rem;
    }
    
    .pt-trust {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .pt-container {
        padding: 0 16px;
    }
    
    .pt-title {
        font-size: 1.75rem;
    }
    
    .pt-subtitle {
        font-size: 1rem;
    }
    
    .pt-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .pt-promo-input-group {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .pt-promo-input {
        width: 100%;
        text-align: center;
    }
    
    .pt-mobile-card {
        padding: 20px;
    }
    
    .pt-mobile-price {
        font-size: 2rem;
    }
}

/* Discount Applied State */
.pt-discount-active .pt-plan-price {
    color: #22c55e;
}

.pt-discount-active .pt-price-original {
    display: inline;
}

.pt-save-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Animations */
@keyframes pt-popular-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
    }
}

.pt-mobile-card.popular {
    animation: pt-popular-pulse 3s infinite;
}

/* Focus States */
.pt-btn:focus-visible,
.pt-promo-btn:focus-visible {
    outline: 2px solid var(--primary, #0e7490);
    outline-offset: 2px;
}

/* Hidden State */
.hidden {
    display: none !important;
}
