/* Pricing Page Styles */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
                url('/static/images/hero-bg.jpg') center/cover;
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.pricing-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.pricing-hero .subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Plans Section */
.pricing-plans {
    padding: 100px 20px;
    background: #f8f9fa;
}

.plans-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.plan-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f2f6;
}

.plan-name {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.plan-description {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5em;
    font-weight: 600;
    color: #3498db;
}

.amount {
    font-size: 3.5em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 5px;
}

.period {
    font-size: 1.2em;
    color: #7f8c8d;
}

.additional-cost {
    color: #2c3e50;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
}

.plan-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.feature-section {
    margin-bottom: 30px;
}

.feature-section h4 {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #34495e;
    font-size: 1em;
    line-height: 1.5;
}

.features-list li i {
    color: #3498db;
    margin-right: 12px;
    width: 20px;
    font-size: 1.1em;
}

.plan-action {
    text-align: center;
}

.plan-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.plan-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    color: white;
    text-decoration: none;
}

.plan-btn.featured {
    background: linear-gradient(45deg, #3498db, #2980b9);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.plan-btn.featured:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
}

/* Features Comparison Section */
.features-comparison {
    padding: 100px 20px;
    background: white;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #3498db;
    color: white;
    font-weight: 600;
}

.comparison-header > div {
    padding: 20px;
    text-align: center;
}

.comparison-header .feature-column {
    text-align: left;
}

.comparison-header .plan-column.featured {
    background: #2980b9;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #ecf0f1;
}

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

.comparison-row > div {
    padding: 20px;
    display: flex;
    align-items: center;
}

.feature-name {
    font-weight: 500;
    color: #2c3e50;
}

.feature-value {
    justify-content: center;
    text-align: center;
    font-weight: 500;
    color: #34495e;
}

.feature-value i.fa-check {
    color: #27ae60;
    font-size: 1.2em;
}

/* FAQ Section */
.faq-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

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

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-button.primary {
    background: white;
    color: #3498db;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #2980b9;
    text-decoration: none;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #3498db;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .plans-container {
        max-width: 1000px;
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .plans-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 30px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5em;
    }

    .pricing-hero .subtitle {
        font-size: 1.2em;
    }



    .comparison-table {
        font-size: 0.9em;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2em;
    }

    .plan-name {
        font-size: 1.8em;
    }

    .amount {
        font-size: 2.8em;
    }
}
