/* Pricing Page Specific Styles */

.pricing-page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
}

.pricing-page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.pricing-page-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Product Tabs */
.pricing-tabs-section {
    padding: 40px 0;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 73px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.pricing-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.pricing-tabs::-webkit-scrollbar {
    height: 4px;
}

.pricing-tabs::-webkit-scrollbar-track {
    background: var(--background-alt);
}

.pricing-tabs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.pricing-tab {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: var(--text-primary);
}

.pricing-tab:hover {
    border-color: var(--primary-color);
    background: var(--background-alt);
}

.pricing-tab.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: var(--primary-color);
}

/* Country Selector */
.country-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.country-selector label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.country-dropdown {
    padding: 10px 40px 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    min-width: 200px;
}

.country-dropdown:hover,
.country-dropdown:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Pricing Content */
.pricing-content {
    display: none;
    padding: 60px 0;
    animation: fadeIn 0.4s ease-in-out;
}

.pricing-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-section {
    margin-bottom: 80px;
}

.pricing-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Pricing Tables */
.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table thead tr {
    background: var(--background-alt);
}

.pricing-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--background-alt);
}

.pricing-table tbody tr.highlighted-row {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 194, 255, 0.05));
    border-left: 3px solid var(--primary-color);
}

.pricing-table tbody tr.highlighted-row:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 194, 255, 0.08));
}

.pricing-table td {
    padding: 18px 24px;
    font-size: 15px;
    color: var(--text-primary);
}

.pricing-table td strong {
    font-weight: 600;
}

.pricing-table td.contact-sales {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Features Included */
.features-included {
    margin-top: 40px;
    padding: 32px;
    background: var(--background-alt);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.features-included h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.features-included ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.features-included li {
    font-size: 15px;
    color: var(--text-primary);
    padding: 8px 0;
}

/* Pricing CTA */
.pricing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), #2a2a2a);
    color: white;
    text-align: center;
}

.pricing-cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Logo Link */
.logo-text {
    text-decoration: none;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-page-header {
        padding: 120px 0 40px;
    }

    .pricing-page-header h1 {
        font-size: 36px;
    }

    .pricing-page-header p {
        font-size: 16px;
    }

    .pricing-tabs-section {
        top: 60px;
        padding: 20px 0;
    }

    .pricing-tabs {
        margin-bottom: 20px;
    }

    .pricing-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .country-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .country-dropdown {
        min-width: 100%;
    }

    .pricing-content {
        padding: 40px 0;
    }

    .pricing-section {
        margin-bottom: 60px;
    }

    .pricing-section h2 {
        font-size: 26px;
    }

    .pricing-subtitle {
        font-size: 15px;
    }

    .pricing-table {
        min-width: 100%;
        font-size: 14px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 16px;
        font-size: 13px;
    }

    .features-included {
        padding: 24px 20px;
    }

    .features-included ul {
        grid-template-columns: 1fr;
    }

    .pricing-cta {
        padding: 60px 0;
    }

    .pricing-cta h2 {
        font-size: 32px;
    }

    .pricing-cta p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons button {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .pricing-tabs-section,
    .pricing-cta,
    .footer {
        display: none;
    }

    .pricing-content {
        display: block !important;
    }

    .pricing-table-wrapper {
        border: 1px solid #000;
    }
}