/* Pricing Page Styles */
:root {
    --primary-bg: #f8f7ff;
    --card-bg: #ffffff;
    --free-color: #4dabf7;
    --popular-color: #f06595;
    --premium-color: #9775fa;
    --text-dark: #343a40;
    --text-light: #868e96;
    --border-radius: 20px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Page Container */
.pricing-page-container {
    background-color: var(--primary-bg);
    padding-bottom: 3rem;
    overflow: hidden;
}

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #a5d8ff 0%, #748ffc 100%);
    padding: 6rem 2rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pricing-pattern.svg');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.pricing-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-hero p {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(to right, #ffe066, #ffec99);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin: -2rem auto 2rem;
    max-width: 900px;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border: 2px dashed #f08c00;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.promo-icon {
    background: #f08c00;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(240, 140, 0, 0.3);
}

.promo-content {
    flex: 1;
    text-align: right;
}

.promo-content h2 {
    color: #e67700;
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
}

.promo-content p {
    color: #664d03;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.promo-btn {
    background-color: #f08c00;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.promo-btn:hover {
    background-color: #e67700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 140, 0, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 140, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(240, 140, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 140, 0, 0);
    }
}

@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        margin: -1rem 1rem 2rem;
    }
    
    .promo-content {
        text-align: center;
    }
    
    .promo-content h2 {
        font-size: 1.4rem;
    }
    
    .promo-content p {
        font-size: 1.1rem;
    }
    
    .promo-btn {
        width: 100%;
        text-align: center;
    }
}

/* Pricing Container */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Pricing Plans */
.pricing-plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 320px;
    min-height: 500px;
    flex: 1 0 320px;
    max-width: 320px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Free Plan */
.free-plan .card-header {
    background: var(--free-color);
}

.free-plan .btn-start {
    background: var(--free-color);
}

/* Popular Plan */
.popular-plan {
    /* Removing the scale transform to make all cards the same size */
}

.popular-plan .card-header {
    background: var(--popular-color);
}

.popular-plan .btn-join {
    background: var(--popular-color);
}

.recommendation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffd43b;
    color: #e67700;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 3;
}

/* Premium Plan */
.premium-plan .card-header {
    background: var(--premium-color);
}

.premium-plan .btn-join {
    background: var(--premium-color);
}

/* Card Elements */
.card-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
}

.plan-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.plan-icon i {
    font-size: 2rem;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.8;
}

.plan-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.card-body {
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

.features-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li i {
    color: #51cf66;
    margin-left: 0.8rem;
    font-size: 1.1rem;
    min-width: 1.1rem;
    margin-top: 0.2rem;
}

.features-list li i.fa-times {
    color: #ff6b6b;
}

.features-list li span {
    flex: 1;
}

.card-footer {
    padding: 1.5rem;
    text-align: center;
    background: #f8f9fa;
}

.btn-start, 
.btn-join {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-start:hover, 
.btn-join:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Plan Comparison */
.plan-comparison {
    margin: 4rem 0;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.plan-comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.comparison-table-container {
    overflow-x: auto;
}

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

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    font-weight: bold;
    color: var(--text-dark);
    background: #f8f9fa;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: right;
    font-weight: 600;
}

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

.comparison-table .fa-check {
    color: #51cf66;
}

.comparison-table .fa-times {
    color: #ff6b6b;
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* CTA Section */
.pricing-cta {
    background: linear-gradient(135deg, #b197fc 0%, #9775fa 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pricing-pattern.svg');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.cta-content {
    color: white;
    z-index: 2;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--premium-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 5rem 1.5rem;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    .pricing-plans-container {
        gap: 1.5rem;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 320px;
        min-height: unset;
        flex: 1 1 320px;
    }
    
    .plan-comparison {
        padding: 1.5rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 4rem 1rem;
    }
    
    .pricing-hero h1 {
        font-size: 1.8rem;
    }
    
    .card-header {
        padding: 1.5rem 1rem;
    }
    
    .card-body {
        padding: 1.5rem 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .pricing-cta {
        padding: 2rem 1rem;
    }
    
    .btn-cta {
        width: 100%;
        padding: 0.8rem 1rem;
    }
} 