/* ============================================
   PRICING PAGE - ALL COMMON STYLES
   ============================================ */

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .pricing-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #333;
    }

    .pricing-header p {
        font-size: 1.25rem;
        color: #666;
    }

    .pricing-header p.subtitle {
        font-size: 1.125rem;
        color: #666;
        margin-top: 0.5rem;
    }

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background-color: #f0f0f0;
    padding: 0.5rem;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .toggle-btn.active {
        background-color: white;
        color: #0066cc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .toggle-btn .badge {
        background-color: #4caf50;
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.75rem;
    }

/* ============================================
   PRICING GRID & CARDS
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
    min-width: 0;
}

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

    .pricing-card.popular {
        border-color: #0066cc;
        box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-header {
    text-align: center;
    padding: 1.5rem 1.5rem 1rem;
    margin-bottom: 2rem;
}

    .card-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        color: #333;
    }

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 0.75rem 0;
}

.currency {
    font-size: 1.5rem;
    color: #666;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 1rem;
    color: #666;
    margin-left: 0.25rem;
}

.description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card-body {
    flex: 1;
    margin-bottom: 2rem;
}

/* ============================================
   FEATURES LIST
   ============================================ */

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

    .features-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 0.4rem;
    }

        .features-list li:last-child {
            border-bottom: none;
        }

.checkmark {
    color: #4caf50;
    font-weight: bold;you're not chaning anything'
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   EXPANDABLE FEATURES
   ============================================ */

/* Keep flex like normal items - checkmark on same line */
.features-list li.expandable-feature {
    display: flex !important;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.4rem; /* Remove the duplicate line above this */
}

/* Header takes remaining space on first line */
.expandable-feature-header {
    display: inline-flex;
    align-items: center;
    flex: 1;
    gap: 0.75rem;
}

/* Text and button inline */
.expandable-feature-header > span {
    white-space: nowrap;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--pricing-primary, #0066cc);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0 0 0 4px;
    margin: 0;
    transition: transform 0.2s;
    line-height: 1;
}

    .expand-btn:hover {
        transform: scale(1.15);
    }

/* Details appear on next line, full width */
.feature-details {
    flex-basis: 100%; /* Force new line */
    margin-top: 10px;
    margin-left: calc(1.25rem + 0.75rem); /* Align with text */
    padding-left: 8px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   CARD FOOTER & BUTTONS
   ============================================ */

.card-footer {
    text-align: center;
    padding: 1rem 1.5rem 1.5rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pricing-primary), var(--pricing-primary-dark));
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--pricing-primary-dark), var(--pricing-primary-darker));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

.btn-outline {
    background: white;
    border: 2px solid #0066cc;
    color: #0066cc;
}

    .btn-outline:hover {
        background: #0066cc;
        color: white;
    }

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background-color: #545b62;
    }

/* ============================================
   ENTERPRISE SECTION
   ============================================ */

.enterprise-section {
    margin-bottom: 4rem;
}

.enterprise-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

    .enterprise-card h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .enterprise-card p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .enterprise-card ul {
        list-style: none;
        padding: 0;
        margin: 2rem auto;
        max-width: 600px;
        text-align: left;
    }

    .enterprise-card li {
        padding: 0.5rem 0;
        padding-left: 2rem;
        position: relative;
    }

        .enterprise-card li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #4caf50;
            font-weight: bold;
        }

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    margin-top: 4rem;
}

    .faq-section h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #333;
    }

.faq-grid {
    display: flex;
    flex-wrap: wrap; /* Add this */
    gap: 2rem;
    justify-content: flex-start; /* Change from space-between */
}

.faq-item {
    flex: 0 1 calc(33.333% - 1.5rem); /* Allow wrapping with ~3 items per row */
    min-width: 280px; /* Minimum width before wrapping */
}

    .faq-item h3 {
        color: #333;
        margin-bottom: 0.5rem;
        font-size: 1.125rem;
        line-height: 1.4;
        white-space: normal; /* Change from nowrap */
    }

    .faq-item p {
        color: #666;
        line-height: 1.6;
        white-space: normal;
        max-width: 100%; /* Allow full width within the item */
    }

/* ============================================
   COMPARISON SECTION
   ============================================ */

.comparison-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

    .comparison-section h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 3rem;
        color: #333;
    }

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

    .comparison-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .comparison-card h3 {
        color: #333;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

.comparison-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 0.5rem;
}

    .comparison-price .small {
        font-size: 0.875rem;
        font-weight: 400;
        color: #999;
    }

.comparison-desc {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.comparison-card li {
    padding: 0.5rem 0;
    color: #666;
}

    .comparison-card li.con {
        color: #dc3545;
    }

.comparison-highlight {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e3f2fd;
    border-left: 4px solid #0066cc;
    color: #0066cc;
    font-weight: 600;
    border-radius: 4px;
}

/* ============================================
   LOADING & ERROR STATES
   ============================================ */

.loading-state {
    text-align: center;
    padding: 3rem;
}

.spinner-border {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    --pricing-primary: #0066cc;
    --pricing-primary-dark: #0052a3;
    --pricing-primary-darker: #004080;
}

/* ============================================
   RESPONSIVE STYLES - MOBILE FRIENDLY
   ============================================ */

/* Tablet and below (1200px) */
@media (max-width: 1200px) {
    .pricing-container {
        padding: 3rem 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .faq-item {
        flex: 1 1 45%;
        min-width: 280px;
    }

        .faq-item h3 {
            white-space: normal;
        }
}

/* Mobile landscape (992px) */
@media (max-width: 992px) {
    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-header p {
        font-size: 1.125rem;
    }

    .comparison-section {
        padding: 2rem 1rem;
    }

        .comparison-section h2 {
            font-size: 1.75rem;
            margin-bottom: 2rem;
        }

    .comparison-card {
        padding: 1.5rem;
    }
}

/* Mobile portrait (768px) */
@media (max-width: 768px) {
    .pricing-container {
        padding: 2rem 1rem;
    }

    .pricing-header {
        margin-bottom: 2rem;
    }

        .pricing-header h1 {
            font-size: 1.75rem;
        }

        .pricing-header p {
            font-size: 1rem;
        }

    .pricing-toggle {
        margin-bottom: 2rem;
    }

    .toggle-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }

    .pricing-grid {
        margin-bottom: 3rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .currency {
        font-size: 1.25rem;
    }

    .period {
        font-size: 0.875rem;
    }

    .popular-badge {
        font-size: 0.8125rem;
        padding: 0.3125rem 0.875rem;
    }

    .faq-section {
        margin-top: 3rem;
    }

        .faq-section h2 {
            font-size: 1.75rem;
        }

    .faq-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .faq-item {
        flex: 1 1 100%;
    }

        .faq-item p {
            max-width: 100%;
        }

    .comparison-section {
        margin: 3rem 0;
    }

    .comparison-card h3 {
        font-size: 1.25rem;
    }

    .comparison-price {
        font-size: 1.5rem;
    }

    .comparison-highlight {
        font-size: 0.9375rem;
    }
}

/* Small mobile (576px) */
@media (max-width: 576px) {
    .pricing-container {
        padding: 1.5rem 0.75rem;
    }

    .pricing-header h1 {
        font-size: 1.5rem;
    }

    .pricing-toggle {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .toggle-btn {
        flex: 1;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

        .toggle-btn .badge {
            font-size: 0.6875rem;
            padding: 0.1875rem 0.375rem;
        }

    .pricing-card {
        padding: 1.25rem;
    }

    .amount {
        font-size: 2rem;
    }

    .currency {
        font-size: 1rem;
    }

    .features-list li {
        font-size: 0.9375rem;
        padding: 0.625rem 0;
    }

    .checkmark {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .faq-section h2,
    .comparison-section h2 {
        font-size: 1.5rem;
    }

    .comparison-card {
        padding: 1.25rem;
    }

        .comparison-card h3 {
            font-size: 1.125rem;
        }

    .comparison-price {
        font-size: 1.25rem;
    }

    .comparison-desc {
        font-size: 0.8125rem;
    }

    .comparison-card li {
        font-size: 0.875rem;
    }

    .comparison-highlight {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* Extra small mobile (480px) */
@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.375rem;
    }

    .amount {
        font-size: 1.75rem;
    }

    .card-header h2 {
        font-size: 1.375rem;
    }
}

/* Add this at the end of your pricing-shared.css or in a new purchase-success.css */

.success-message ul {
    text-align: left;
    list-style-position: inside;
    padding-left: 0;
}

.success-message li {
    margin-bottom: 0.5rem;
}