/* Pricing Page Specific Styles */

/* Hero Section */
.pricing-hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.pricing-hero-section::before {
    position: absolute;
    content: '';
    width: 200px;
    height: 200px;
    top: 20px;
    right: 10%;
    background: radial-gradient(circle, rgba(90, 92, 230, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.pricing-hero-section::after {
    position: absolute;
    content: '';
    width: 150px;
    height: 150px;
    bottom: 20px;
    left: 10%;
    background: radial-gradient(circle, rgba(90, 92, 230, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.pricing-hero-section .container {
    position: relative;
    z-index: 1;
}

/* Pricing Cards */
.pricing-cards-section {
    background-color: var(--light-bg);
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    overflow: visible;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

/* NO transform on hover - keeps button in same position */
.pricing-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.pricing-card.featured:hover {
    box-shadow: 0 12px 32px rgba(90, 92, 230, 0.2);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(90, 92, 230, 0.3);
    z-index: 2;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f2ff;
    margin-bottom: 30px;
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    border-radius: 16px;
    padding: 10px;
}

.plan-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plan-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.plan-subtitle {
    font-size: 15px;
    color: var(--gray-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.plan-price {
    margin-top: 15px;
}

.plan-price .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.plan-price .price-period {
    font-size: 16px;
    color: var(--gray-text);
    margin-left: 8px;
    font-weight: 500;
}

/* Pricing Body */
.pricing-body {
    flex: 1;
    padding-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.feature-item i.fa-check-circle,
.feature-item i.fa-times-circle {
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item.included i.fa-check-circle {
    color: #22c55e;
}

.feature-item.not-included i.fa-times-circle {
    color: #ef4444;
}

.feature-item.included span {
    color: var(--text-color);
    font-weight: 500;
}

.feature-item.not-included span {
    color: var(--gray-text);
}

/* Info Icon Styles - FIXED */
.info-icon {
    font-size: 15px;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    vertical-align: middle;
    padding: 2px;
}

.info-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
    background-color: rgba(90, 92, 230, 0.1);
    border-radius: 50%;
}

.info-icon:active {
    transform: scale(1.1);
}

/* Pricing Footer */
.pricing-footer {
    padding-top: 20px;
}

.btn-pricing {
    width: 100%;
    padding: 14px 30px;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-pricing:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(90, 92, 230, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-pricing:active {
    transform: translateY(0);
}

.btn-pricing-featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
}

.btn-pricing-featured:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 24px rgba(90, 92, 230, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* Image Preview Modal */
#imagePreviewModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#imagePreviewModal .modal-header {
    border-bottom: 2px solid #f0f2ff;
    padding: 20px 30px;
}

#imagePreviewModal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

#imagePreviewModal .modal-body {
    padding: 30px;
    background-color: #f8f9ff;
}

#imagePreviewModal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background-color: #ffffff;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    padding: 18px 24px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9ff;
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235a5ce6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 20px 24px;
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .plan-name {
        font-size: 24px;
    }
    
    .plan-price .price {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 30px 20px;
    }
    
    .plan-icon {
        width: 70px;
        height: 70px;
    }
    
    .plan-name {
        font-size: 22px;
    }
    
    .plan-price .price {
        font-size: 36px;
    }
    
    .feature-item {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .btn-pricing {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .accordion-button {
        font-size: 15px;
        padding: 15px 18px;
    }
}

@media (max-width: 576px) {
    .pricing-hero-section {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }
    
    .hero-title-small {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .popular-badge {
        font-size: 12px;
        padding: 5px 15px;
        top: -10px;
        right: 20px;
    }
    
    .plan-price .price {
        font-size: 32px;
    }
    
    .feature-item i {
        font-size: 16px;
    }
    
    .info-icon {
        font-size: 13px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Ensure proper z-index layering */
.pricing-card {
    z-index: 1;
}

.pricing-card:hover {
    z-index: 2;
}
.info-icon {
    position: relative;
}

.info-icon:hover::after {
    content: 'Click for example';
    position: fixed;
    background-color: #2d2e4a;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 9999;
    margin-left: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Image Preview Modal - No header/close button */
#imagePreviewModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: transparent;
}

#imagePreviewModal .modal-body {
    padding: 0;
    background: transparent;
}

#imagePreviewModal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}