/* ===================================
   SmartImporter - Pricing Page Styles
   =================================== */

/* Pricing Page Specific */
.pricing-page {
    background: var(--gray-50);
}

/* Pricing Hero */
.pricing-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    text-align: center;
}

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

.pricing-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.pricing-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.pricing-hero .guarantee-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.2);
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(20, 184, 166, 0.3);
    font-size: 0.95rem;
}

.pricing-hero .guarantee-text svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-item.guarantee {
    background: rgba(20, 184, 166, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.trust-item.guarantee svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.trust-stars {
    display: flex;
    gap: 2px;
}

.trust-stars svg {
    width: 16px;
    height: 16px;
}

/* Pricing Cards Section */
.pricing-section {
    padding: 80px 0;
    margin-top: -40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
    z-index: 1;
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.pricing-card.featured .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-card.featured .pricing-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
}

.price-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.pricing-card.featured .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.savings-badge {
    display: inline-block;
    background: rgba(20, 184, 166, 0.15);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card.featured .savings-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card-body {
    flex: 1;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card.featured .pricing-features svg {
    color: var(--white);
}

.pricing-features .included svg {
    color: var(--secondary);
}

.pricing-card.featured .pricing-features .included svg {
    color: var(--white);
}

.pricing-features .not-included {
    color: var(--text-light);
}

.pricing-features .not-included svg {
    color: var(--gray-300);
}

.pricing-card.featured .pricing-features .not-included {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card.featured .pricing-features .not-included svg {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-card-footer {
    margin-top: auto;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-card.featured .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.pricing-card.featured .btn-primary:hover {
    background: var(--gray-100);
}

.pricing-card .btn-outline {
    border-color: var(--gray-300);
    color: var(--text);
}

.pricing-card .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pricing-card .btn-secondary {
    background: var(--gray-100);
    color: var(--text);
    border: 2px solid var(--gray-200);
}

.pricing-card .btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

/* Comparison Table Section */
.comparison-section {
    padding: 80px 0;
    background: var(--white);
}

.comparison-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.comparison-section .section-header h2 {
    margin-bottom: 12px;
}

.comparison-section .section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table thead th {
    padding: 20px 24px;
    text-align: center;
    font-weight: 600;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table thead th.featured-col {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.comparison-table tbody td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tbody td.featured-col {
    background: rgba(139, 92, 246, 0.05);
}

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

.comparison-table .check {
    color: var(--secondary);
}

.comparison-table .cross {
    color: var(--gray-300);
}

.comparison-table svg {
    width: 22px;
    height: 22px;
}

/* Add-ons Section */
.addons-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.addons-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.addons-section .section-header h2 {
    margin-bottom: 12px;
}

.addons-section .section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.addon-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.addon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.addon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius);
    margin: 0 auto 16px;
}

.addon-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.addon-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.addon-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.addon-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-section .section-header h2 {
    margin-bottom: 12px;
}

.faq-section .section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    background: transparent;
    border: none;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

.cta-section .btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

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

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 50px;
    }

    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 24px;
    }

    .price .amount {
        font-size: 2.75rem;
    }

    .comparison-section,
    .addons-section,
    .faq-section {
        padding: 60px 0;
    }

    .addons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .addon-card {
        padding: 20px 16px;
    }

    .addon-icon {
        width: 48px;
        height: 48px;
    }

    .addon-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }
}

/* Pricing Preview Section (Homepage) */
.pricing-preview {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-preview .pricing-grid {
    margin-bottom: 40px;
}

.pricing-cta {
    text-align: center;
}
