/* Pricing Page Styles */

/* Header and Main Layout */
.pricing-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: white;
    margin-bottom: 40px;
}

.pricing-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.pricing-header .subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin-top: 10px;
}

/* Plan Type Toggle */
.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4299e1;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Tables */
.pricing-tables {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-table {
    display: flex;
    gap: 30px;
    width: 100%;
}

.pricing-plan {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-5px);
}

.pricing-plan.trial {
    border: 2px solid #48bb78;
}

.pricing-plan.pro {
    border: 2px solid #4299e1;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4299e1;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

.pricing-plan h3 {
    font-size: 1.8em;
    color: #2d3748;
    margin-bottom: 20px;
}

.price {
    font-size: 3em;
    color: #2d3748;
    margin-bottom: 30px;
}

.price span {
    font-size: 0.4em;
    color: #718096;
}

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

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
}

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

.select-plan {
    background: #4299e1;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.select-plan:hover {
    background: #2b6cb0;
}

.select-plan[disabled] {
    background: #718096;
    cursor: not-allowed;
}

.pricing-footer {
    text-align: center;
    padding: 40px 20px;
    background: #f7fafc;
    margin-top: 40px;
}

.pricing-footer ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.pricing-footer li {
    color: #4a5568;
}

.included-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.included-features li {
    color: #2d3748;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    min-width: 180px;
}

.pricing-footer {
    text-align: center;
    margin: 40px auto;
    padding: 40px 20px;
    background: #f7fafc;
    border-radius: 10px;
    max-width: 1200px;
}

.trial-note {
    margin-top: 30px;
    font-size: 1.2em;
    color: #48bb78;
    font-weight: 600;
}

/* Features Comparison */
.features-comparison {
    padding: 60px 20px;
    background: #f7fafc;
}

.features-comparison h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.comparison-table th {
    background: #2d3748;
    color: white;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Section */
.pricing-faq {
    padding: 60px 20px;
}

.pricing-faq h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #2a4365 0%, #1a365d 100%);
    color: white;
}

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

.cta-button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 30px;
}

.cta-button:hover {
    background: #2b6cb0;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #2d3748;
    margin-bottom: 20px;
}

.footer-section a {
    display: block;
    color: #4a5568;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #2b6cb0;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background: #2d3748;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-table {
        flex-direction: column;
    }
    
    .pricing-plan {
        margin-bottom: 20px;
    }
    
    .comparison-table {
        margin: 0 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 