/**
 * Tarieven (Pricing) Page Styles
 * Enhanced design with Clevertech brand colors
 * Mobile-first responsive design
 */

/* Hero Section - Gradient Background */
.pricing-hero {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%) !important;
    color: #FFFFFF !important;
    padding: 80px 20px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero h1 {
    color: #FFFFFF !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.pricing-hero p {
    color: #FFFFFF !important;
    opacity: 0.95;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 60px 20px !important;
    }

    .pricing-hero h1 {
        font-size: 32px !important;
    }
}

/* Pricing Cards Container */
.pricing-tables.section {
    padding: 80px 20px;
}

.pricing-columns {
    gap: 30px !important;
    margin-top: 40px;
}

/* Individual Pricing Cards */
.pricing-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 40px 30px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid transparent !important;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    border-color: #F39C12 !important;
}

/* Featured Card (Professional) */
.pricing-card.featured {
    border: 3px solid #F39C12 !important;
    transform: scale(1.05);
    background: linear-gradient(135deg, #FFF 0%, #FFF9F0 100%) !important;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px) !important;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Price Typography */
.pricing-card .price {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #2C3E50 !important;
    margin: 20px 0 !important;
}

.pricing-card .price .period {
    font-size: 18px;
    font-weight: 400;
    color: #5A6C7D;
}

/* Pricing Description */
.pricing-description {
    min-height: 60px;
    color: #5A6C7D !important;
    margin-bottom: 20px;
}

/* Features List */
.features-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    color: #2C3E50;
    font-size: 16px;
    line-height: 1.6;
}

.features-list li::before {
    content: '✓ ';
    color: #27AE60;
    font-weight: 700;
    margin-right: 8px;
}

/* Trust Section */
.trust-section {
    background: #F8F9FA !important;
    padding: 80px 20px !important;
}

.stats-grid {
    margin: 40px 0;
    text-align: center;
}

.stats-grid h3 {
    color: #F39C12 !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    margin-bottom: 10px;
}

.stats-grid p {
    color: #5A6C7D;
    font-size: 18px;
}

/* Testimonial Highlight */
.testimonial-highlight {
    background: white !important;
    border-radius: 12px !important;
    padding: 30px 40px !important;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-highlight p {
    font-style: italic;
    color: #2C3E50 !important;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 20px;
}

.pricing-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-comparison-table th {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 700;
}

.pricing-comparison-table th:nth-child(3) {
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%);
}

.pricing-comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #E1E8ED;
}

.pricing-comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #2C3E50;
}

.pricing-comparison-table tbody tr:hover {
    background: #F8F9FA;
}

/* Mobile table responsive */
@media (max-width: 768px) {
    .pricing-comparison-table {
        font-size: 14px;
    }

    .pricing-comparison-table th,
    .pricing-comparison-table td {
        padding: 10px 8px;
    }
}

/* Service Packages */
.service-packages.section {
    background: #F8F9FA !important;
    padding: 80px 20px !important;
}

.service-package {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%) !important;
    border-left: 5px solid #F39C12 !important;
    padding: 35px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.service-package:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-package h3 {
    font-size: 28px !important;
    margin-bottom: 15px;
    color: #2C3E50 !important;
}

.package-price {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #F39C12 !important;
    margin: 15px 0 !important;
}

.popular-badge-small {
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%);
    color: white !important;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

/* Guarantees Section */
.guarantees.section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%) !important;
    color: white !important;
    padding: 80px 20px !important;
}

.guarantees h2,
.guarantees h3,
.guarantees p {
    color: #FFFFFF !important;
}

.guarantee-item {
    text-align: center;
    padding: 30px 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #E74C3C, #F39C12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

/* FAQ Section */
.faq-pricing.section {
    background: #F8F9FA !important;
    padding: 80px 20px !important;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-item h3 {
    color: #2C3E50 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.faq-item h3::before {
    content: '❓';
    position: absolute;
    left: 0;
    font-size: 20px;
}

.faq-item p {
    color: #5A6C7D !important;
    line-height: 1.8;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #E74C3C 0%, #F39C12 100%) !important;
    padding: 80px 20px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2,
.cta-section p {
    color: #FFFFFF !important;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
}

.cta-section .wp-block-buttons {
    margin-top: 30px;
}

.cta-section .wp-block-button__link {
    background: #FFFFFF !important;
    color: #E74C3C !important;
    padding: 15px 40px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.cta-section .wp-block-button__link:hover {
    background: #F8F9FA !important;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile CTA adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px !important;
    }

    .cta-section h2 {
        font-size: 28px !important;
    }
}

/* Mobile Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta span {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.sticky-cta .btn-white {
    background: white;
    color: #E74C3C;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sticky-cta .btn-white:hover {
    background: #F8F9FA;
    transform: scale(1.05);
}

/* Hide sticky CTA on desktop */
@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .pricing-columns {
        gap: 30px !important;
    }

    .pricing-card {
        padding: 30px 20px !important;
        margin-bottom: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-12px) !important;
    }

    .pricing-card .price {
        font-size: 40px !important;
    }

    .wp-block-button__link {
        min-height: 48px;
        padding: 15px 30px !important;
        font-size: 16px !important;
    }

    .stats-grid h3 {
        font-size: 36px !important;
    }

    .service-package {
        padding: 25px 20px !important;
        margin-bottom: 20px;
    }

    .package-price {
        font-size: 28px !important;
    }

    .faq-item {
        padding: 20px;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-card {
        padding: 35px 25px !important;
    }

    .pricing-card .price {
        font-size: 42px !important;
    }
}

/* Desktop Polish */
@media (min-width: 1025px) {
    .pricing-hero h1 {
        font-size: 48px !important;
    }

    .pricing-columns {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .comparison-section .wp-block-table {
        max-width: 1000px;
        margin: 20px auto;
    }
}

/* Animation for scroll-in effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card,
.faq-item,
.service-package {
    animation: fadeInUp 0.6s ease-out backwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Ensure buttons are properly styled */
.wp-block-button__link {
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%) !important;
    color: white !important;
    padding: 15px 35px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid #F39C12 !important;
    color: #F39C12 !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #F39C12 !important;
    color: white !important;
}
