.nav-pc {
    background-image: none;
    background-color: #002980;
}

.nav-pc.scrolled {
    background-image: linear-gradient(to bottom,
            color-mix(in oklab, #040509 100%, transparent) 0%,
            color-mix(in oklab, #020204 90%, transparent) 40%,
            color-mix(in oklab, #04090d 60%, transparent) 100%);
    background-color: #00298000;
}

.video-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    cursor: pointer;
}

.video-container:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.video-container video {
    object-fit: cover;
}

/* Typography Responsive Classes */
.text-size-xl {
    font-size: 1.5rem;
    line-height: 1.33333;
}

.text-size-sm {
    font-size: 1rem;
    line-height: 1.5;
}

.section_info {
    padding: 5rem 0 3rem 0;
}

.owl-carousel .owl-stage-outer {
    padding: 12px 0;
}

.px_16 {
    padding-left: 64px;
    padding-right: 64px;
}

.py_10 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.pt-4 {
    padding-top: 1rem !important;
}

.text-size-lg {
    font-size: 1.5rem;
}

.text-size-xl {
    font-size: 1.5rem;
}

.px-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Responsive Text Sizes - SMALL (576px+) */
@media (min-width: 576px) {
    .px-3 {
        padding-left: var(--spacer-3) !important;
        padding-right: var(--spacer-3) !important;
    }

    .section_info {
        padding: 90px 0 1.5rem 0;
    }

    .text-size-sm-2xl {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
    }

    .text-size-sm-base {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }


    .pricing-table {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .pricing-table-header {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .pricing-table-category {
        white-space: nowrap;
    }

    .pt-4 {
        padding-top: 1.5rem !important;
    }
}

/* Responsive Text Sizes - MEDIUM (768px+) */
@media (min-width: 768px) {
    .text-size-md-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

/* Responsive Overflow - SMALL (576px+) */
@media (min-width: 576px) {
    .overflow-x-sm-auto {
        overflow-x: auto;
    }
}

/* Responsive Table Constraints */
@media (min-width: 576px) {
    .pricing-table-th-category {
        min-width: 200px;
    }
}

/* Shadow Enhancement */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Rounded Enhancement */
.rounded {
    border-radius: 0.5rem;
}

/* Additional Table Spacing for Better UX */
.pricing-table td,
.pricing-table th {
    vertical-align: middle;
}

/* Mobile Optimization */
@media (max-width: 575.98px) {
    .pricing-table-category {
        white-space: normal;
        word-wrap: break-word;
    }

    .pricing-table-description {
        hyphens: auto;
        word-break: break-word;
    }

    /* Ensure minimum readable text size on mobile */
    .pricing-table {
        font-size: 0.8125rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .pricing-table-border {
        border-width: 2px;
    }

    .pricing-table-row:hover {
        background-color: #e5e7eb !important;
        border-color: #374151 !important;
    }

    .pricing-table-highlight {
        color: #dc2626;
        font-weight: 700;
    }
}

/* Print Styles */
@media print {
    .pricing-table-border {
        border: 2px solid #000 !important;
    }

    .pricing-table-row:hover {
        background-color: white !important;
    }

    .transition-colors,
    .duration-300 {
        transition: none;
    }
}

/* Accessibility Enhancements */
.pricing-table:focus-within {
    outline: 2px solid #002980;
    outline-offset: 2px;
}

/* Loading State (if needed) */
.pricing-table.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pricing-table.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Table Behavior */
@media (max-width: 767.98px) {
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #002980 #f1f5f9;
    }

    .overflow-x-auto::-webkit-scrollbar {
        height: 6px;
    }

    .overflow-x-auto::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }

    .overflow-x-auto::-webkit-scrollbar-thumb {
        background: #002980;
        border-radius: 3px;
    }

    .overflow-x-auto::-webkit-scrollbar-thumb:hover {
        background: #001952;
    }
}

/* Table Animation on Load */
.pricing-table {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effect for Interactive Elements */
.pricing-table-row {
    position: relative;
}

.pricing-table-row th::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #002980;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.pricing-table-row:hover th::before {
    transform: scaleY(1);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .pricing-table-border,
    .pricing-table-row,
    .transition-colors,
    .duration-300 {
        transition: none;
    }

    .pricing-table {
        animation: none;
    }

    .pricing-table-row::before {
        transition: none;
    }
}