/**
 * RepararPC Pricing Tables Styles
 * Version: 1.0.1
 */

.rppt-wrapper {
    --rppt-primary: #7c3aed;
    --rppt-radius: 12px;
    margin: 40px 0;
}

.rppt-grid {
    display: grid;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.rppt-cols-1 { grid-template-columns: 1fr; }
.rppt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rppt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rppt-cols-4 { grid-template-columns: repeat(4, 1fr); }

.rppt-column {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: var(--rppt-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.rppt-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rppt-column.rppt-highlighted {
    border-color: var(--rppt-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    transform: scale(1.05);
}

.rppt-column.rppt-highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

.rppt-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rppt-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rppt-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1f2937;
}

.rppt-price {
    margin: 0 0 30px 0;
}

.rppt-amount {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--rppt-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.rppt-period {
    display: block;
    font-size: 14px;
    color: #6b7280;
    text-transform: lowercase;
}

.rppt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.rppt-features li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    border-bottom: 1px solid #f3f4f6;
}

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

.rppt-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rppt-primary);
    font-weight: 700;
    font-size: 18px;
}

.rppt-button {
    display: inline-block;
    background: var(--rppt-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.rppt-button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    color: white;
    text-decoration: none;
}

.rppt-column.rppt-highlighted .rppt-button {
    background: #6d28d9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Template: Boxed */
.rppt-template-boxed .rppt-column {
    background: #f9fafb;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rppt-template-boxed .rppt-column.rppt-highlighted {
    background: var(--rppt-primary);
    color: white;
}

.rppt-template-boxed .rppt-column.rppt-highlighted .rppt-title,
.rppt-template-boxed .rppt-column.rppt-highlighted .rppt-amount {
    color: white;
}

.rppt-template-boxed .rppt-column.rppt-highlighted .rppt-features li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.rppt-template-boxed .rppt-column.rppt-highlighted .rppt-features li:before {
    color: white;
}

.rppt-template-boxed .rppt-column.rppt-highlighted .rppt-button {
    background: white;
    color: var(--rppt-primary);
}

/* Template: Minimal */
.rppt-template-minimal .rppt-column {
    border: none;
    border-bottom: 3px solid #e5e7eb;
    border-radius: 0;
    padding: 30px 20px;
}

.rppt-template-minimal .rppt-column.rppt-highlighted {
    border-bottom-color: var(--rppt-primary);
}

/* Template: Elegant */
.rppt-template-elegant .rppt-column {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.rppt-template-elegant .rppt-column.rppt-highlighted {
    background: linear-gradient(135deg, var(--rppt-primary) 0%, #6d28d9 100%);
    color: white;
}

.rppt-template-elegant .rppt-column.rppt-highlighted .rppt-title,
.rppt-template-elegant .rppt-column.rppt-highlighted .rppt-amount {
    color: white;
}

.rppt-template-elegant .rppt-column.rppt-highlighted .rppt-features li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.rppt-template-elegant .rppt-column.rppt-highlighted .rppt-features li:before {
    color: white;
}

.rppt-template-elegant .rppt-column.rppt-highlighted .rppt-button {
    background: white;
    color: var(--rppt-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .rppt-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rppt-column.rppt-highlighted {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .rppt-cols-2,
    .rppt-cols-3,
    .rppt-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .rppt-grid {
        gap: 20px;
    }
    
    .rppt-column {
        padding: 30px 20px;
    }
    
    .rppt-amount {
        font-size: 36px;
    }
    
    .rppt-title {
        font-size: 20px;
    }
}
