/* Pricing Page Specific Styles - Modern Design */

/* Fix header overlap issue */
body {
    padding-top: 90px !important;
}

/* Hero Section - Match About Page Design */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="pricing-hero-bg" cx="50%" cy="50%"><stop offset="0%" stop-color="%233b82f6" stop-opacity="0.02"/><stop offset="100%" stop-color="%232563eb" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23pricing-hero-bg)"/><circle cx="800" cy="400" r="120" fill="url(%23pricing-hero-bg)"/><circle cx="400" cy="800" r="100" fill="url(%23pricing-hero-bg)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

/* Remove hero image on non-index pages */
.hero-image {
    display: none;
}

/* Adjust hero content for full width */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section Text Styling */
.hero-title {
    color: black !important;
}

.hero-subtitle {
    color: black !important;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: #ffc107;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
}

/* Pricing Plans Section */
.pricing-plans-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.pricing-plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="pricing-bg" cx="50%" cy="50%"><stop offset="0%" stop-color="%23007bff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23007bff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23pricing-bg)"/><circle cx="800" cy="400" r="120" fill="url(%23pricing-bg)"/><circle cx="400" cy="800" r="100" fill="url(%23pricing-bg)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

/* Section Styling */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dc2626, #fbbf24, #000000, #dc2626, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description-enhanced {
    margin-bottom: 40px;
}

.lead-text {
    font-size: 1.1rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Modern Pricing Cards */
.modern-pricing-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.modern-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.modern-pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 123, 255, 0.2);
}

.modern-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 35px 90px rgba(0, 123, 255, 0.3);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.popular-badge .material-icons {
    font-size: 16px;
}

/* Wave Decoration */
.card-wave-decoration {
    height: 8px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.card-wave-decoration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="rgba(255,255,255,0.3)"/></svg>');
    background-size: 50px 20px;
    background-repeat: repeat-x;
}

/* Card Content */
.card-content {
    padding: 30px;
}

.plan-category {
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.plan-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Plan Features */
.plan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
}

.feature-item .material-icons {
    color: #28a745;
    font-size: 20px;
}

/* Pricing Buttons */
.pricing-btn {
    width: 100%;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.outline-btn {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.outline-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.primary-btn {
    background: #007bff;
    color: white;
}

.primary-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    color: white;
}

/* Compare Features */
.compare-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compare-link:hover {
    color: #0056b3;
    text-decoration: none;
    transform: translateY(-2px);
}

.compare-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.compare-link:hover::after {
    transform: translateX(4px);
}

/* Comparison Table */
.comparison-table-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    margin: 0;
}

.comparison-table th {
    background: #f8f9fa;
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.comparison-table .feature-column {
    text-align: left;
    background: #007bff;
    color: white;
    border-radius: 10px 0 0 0;
}

.comparison-table .plan-column {
    background: #f8f9fa;
    border-radius: 0 10px 0 0;
}

.comparison-table td {
    border: none;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.comparison-table .feature-name {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.comparison-table .text-success {
    color: #28a745 !important;
}

.comparison-table .text-danger {
    color: #dc3545 !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .pricing-plans-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .modern-pricing-card.featured {
        transform: none;
    }
    
    .modern-pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .pricing-plans-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .lead-text {
        font-size: 0.95rem;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .plan-title {
        font-size: 1.5rem;
    }
    
    .plan-price {
        font-size: 1.3rem;
    }
    
    .popular-badge {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .comparison-table-wrapper {
        padding: 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}