/* Base & Reset */
*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: 'Inter', sans-serif;
    color: #374151;
    line-height: 1.5;
    background: #f9fafb
}

a {
    text-decoration: none;
    color: inherit
}

img,
svg {
    display: block;
    vertical-align: middle
}

ul {
    list-style: none
}

/* Utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

@media(min-width:640px) {
    .container {
        max-width: 640px
    }
}

@media(min-width:768px) {
    .container {
        max-width: 768px
    }
}

@media(min-width:1024px) {
    .container {
        max-width: 1024px
    }
}

@media(min-width:1280px) {
    .container {
        max-width: 1280px
    }
}

.block {
    display: block !important
}

.hidden,
.lg\:hidden {
    display: none !important
}

.flex {
    display: flex !important
}

.grid {
    display: grid !important
}

.inline-block {
    display: inline-block !important
}

.flex-col {
    flex-direction: column !important
}

.flex-wrap {
    flex-wrap: wrap !important
}

.items-center {
    align-items: center !important
}

.justify-center {
    justify-content: center !important
}

.justify-between {
    justify-content: space-between !important
}

.sticky {
    position: sticky;
    top: 0
}

.z-50 {
    z-index: 50 !important
}

.w-full {
    width: 100%
}

.h-full {
    height: 100%
}

.min-h-screen {
    min-height: 100vh
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important
}

.m-0 {
    margin: 0 !important
}

.mt-1 {
    margin-top: .25rem !important
}

.mt-2 {
    margin-top: .5rem !important
}

.mt-4 {
    margin-top: 1rem !important
}

.mt-8 {
    margin-top: 2rem !important
}

.mb-2 {
    margin-bottom: .5rem !important
}

.mb-3 {
    margin-bottom: .75rem !important
}

.mb-4 {
    margin-bottom: 1rem !important
}

.mb-6 {
    margin-bottom: 1.5rem !important
}

.mb-8 {
    margin-bottom: 2rem !important
}

.mb-10 {
    margin-bottom: 2.5rem !important
}

.mb-12 {
    margin-bottom: 3rem !important
}

.mr-2 {
    margin-right: .5rem !important
}

.mr-4 {
    margin-right: 1rem !important
}

.p-2 {
    padding: .5rem !important
}

.p-3 {
    padding: .75rem !important
}

.p-4 {
    padding: 1rem !important
}

.p-6 {
    padding: 1.5rem !important
}

.p-8 {
    padding: 2rem !important
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important
}

.px-10 {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important
}

.py-3 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important
}

.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important
}

.py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important
}

.pt-4 {
    padding-top: 1rem !important
}

.pt-8 {
    padding-top: 2rem !important
}

.pb-2 {
    padding-bottom: .5rem !important
}

.pb-4 {
    padding-bottom: 1rem !important
}

.gap-2 {
    gap: .5rem
}

.gap-4 {
    gap: 1rem
}

.gap-6 {
    gap: 1.5rem
}

.gap-12 {
    gap: 3rem
}

.space-x-3>:not([hidden])~:not([hidden]) {
    margin-left: .75rem
}

.space-x-4>:not([hidden])~:not([hidden]) {
    margin-left: 1rem
}

.space-x-6>:not([hidden])~:not([hidden]) {
    margin-left: 1.5rem
}

.space-y-1>:not([hidden])~:not([hidden]) {
    margin-top: .25rem
}

.space-y-2>:not([hidden])~:not([hidden]) {
    margin-top: .5rem
}

.space-y-4>:not([hidden])~:not([hidden]) {
    margin-top: 1rem
}

.w-10 {
    width: 2.5rem
}

.w-12 {
    width: 3rem
}

.h-10 {
    height: 2.5rem
}

.h-12 {
    height: 3rem
}

.max-w-3xl {
    max-width: 48rem
}

.max-w-4xl {
    max-width: 56rem
}

.font-bold {
    font-weight: 700 !important
}

.font-semibold {
    font-weight: 600 !important
}

.font-medium {
    font-weight: 500 !important
}

.text-center {
    text-align: center !important
}

.text-right {
    text-align: right !important
}

.text-justify {
    text-align: justify !important
}

.uppercase {
    text-transform: uppercase !important
}

.text-\[10px\] {
    font-size: 10px !important
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem
}

.text-5xl {
    font-size: 3rem;
    line-height: 1
}

.text-white {
    color: #fff !important
}

.text-gray-300 {
    color: #d1d5db !important
}

.text-gray-500 {
    color: #6b7280 !important
}

.text-gray-600 {
    color: #4b5563 !important
}

.text-gray-700 {
    color: #374151 !important
}

.text-gray-800 {
    color: #1f2937 !important
}

.text-blue-100 {
    color: #dbeafe !important
}

.text-green-700 {
    color: #15803d !important
}

.text-red-700 {
    color: #b91c1c !important
}

.text-vnpt-blue {
    color: #0066b3 !important
}

.text-vnpt-navy {
    color: #003d7a !important
}

.text-vnpt-orange {
    color: #f26522 !important
}

.bg-white {
    background-color: #fff !important
}

.bg-gray-50 {
    background-color: #f9fafb !important
}

.bg-gray-100 {
    background-color: #f3f4f6 !important
}

.bg-gray-200 {
    background-color: #e5e7eb !important
}

.bg-gray-800 {
    background-color: #1f2937 !important
}

.bg-gray-900 {
    background-color: #111827 !important
}

.bg-blue-50 {
    background-color: #eff6ff !important
}

.bg-blue-700 {
    background-color: #1d4ed8 !important
}

.bg-vnpt-blue {
    background-color: #0066b3 !important
}

.bg-vnpt-navy {
    background-color: #003d7a !important
}

.bg-vnpt-orange {
    background-color: #f26522 !important
}

.bg-green-50 {
    background-color: #f0fdf4 !important
}

.bg-red-50 {
    background-color: #fef2f2 !important
}

.border {
    border-width: 1px
}

.border-2 {
    border-width: 2px
}

.border-t {
    border-top-width: 1px
}

.border-b {
    border-bottom-width: 1px
}

.border-gray-200 {
    border-color: #e5e7eb
}

.border-gray-300 {
    border-color: #d1d5db
}

.border-gray-800 {
    border-color: #1f2937
}

.border-blue-100 {
    border-color: #dbeafe
}

.border-vnpt-blue {
    border-color: #0066b3
}

.rounded-lg {
    border-radius: .5rem
}

.rounded-xl {
    border-radius: .75rem
}

.rounded-2xl {
    border-radius: 1rem
}

.rounded-full {
    border-radius: 9999px
}

.rounded-t-lg {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05)
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05)
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04)
}

.transition {
    transition: all 150ms cubic-bezier(.4, 0, .2, 1)
}

/* Responsive */
@media(min-width:768px) {
    .md\:flex {
        display: flex !important
    }

    .md\:flex-row {
        flex-direction: row !important
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important
    }

    .md\:w-16 {
        width: 4rem !important
    }

    .md\:h-16 {
        height: 4rem !important
    }

    .md\:text-6xl {
        font-size: 3.75rem !important;
        line-height: 1 !important
    }

    .md\:text-2xl {
        font-size: 1.5rem !important;
        line-height: 2rem !important
    }

    .md\:text-3xl {
        font-size: 1.875rem !important;
        line-height: 2.25rem !important
    }

    .md\:px-6 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important
    }

    .md\:py-3 {
        padding-top: .75rem !important;
        padding-bottom: .75rem !important
    }

    .md\:p-8 {
        padding: 2rem !important
    }
}

@media(min-width:1024px) {
    .lg\:flex {
        display: flex !important
    }

    .lg\:hidden {
        display: none !important
    }
}

/* Pseudo & Custom */
.hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6 !important
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb !important
}

.hover\:bg-vnpt-blue:hover {
    background-color: #0066b3 !important
}

.hover\:bg-vnpt-navy:hover {
    background-color: #003d7a !important
}

.hover\:bg-orange-600:hover {
    background-color: #ea580c !important
}

.hover\:text-white:hover {
    color: #fff !important
}

.hover\:text-gray-700:hover {
    color: #374151 !important
}

.hover\:text-vnpt-blue:hover {
    color: #0066b3 !important
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.focus\:border-vnpt-blue:focus {
    border-color: #0066b3 !important
}

.from-vnpt-blue {
    --tw-gradient-from: #0066b3;
    --tw-gradient-to: rgb(0 102 179 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)
}

.to-vnpt-navy {
    --tw-gradient-to: #003d7a
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops))
}

.gradient-vnpt {
    background: linear-gradient(135deg, #003d7a 0%, #0066b3 100%)
}

.tab-button {
    transition: all .3s ease
}

.tab-button.active {
    background: #0066b3;
    color: #fff
}

.pricing-table {
    overflow-x: auto
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px
}

.pricing-table th {
    background: #003d7a;
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 600
}

.pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb
}

.pricing-table tr:hover {
    background: #f9fafb
}

.price-highlight {
    color: #0066b3;
    font-weight: 700;
    font-size: 1.1rem
}

.recommended-row {
    background: #fef3c7
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .5)
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto
}

/* Knowledge Base Styles */
.kb-category {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.kb-category h3 {
    color: #003d7a;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.kb-category ul li {
    margin-bottom: 0.75rem;
}

.kb-category ul li a {
    color: #4b5563;
    transition: color 0.2s;
    display: block;
}

.kb-category ul li a:hover {
    color: #0066b3;
    text-decoration: none;
}

.kb-category ul li a::before {
    content: "•";
    color: #f26522;
    margin-right: 0.5rem;
    font-weight: bold;
}

.kb-search-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.kb-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.kb-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 9999px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 1rem;
}

.kb-search-input:focus {
    border-color: #0066b3;
}

.section-title {
    color: #333;
    margin: 20px 0;
    padding-left: 10px;
    border-left: 4px solid #0056b3;
    font-size: 1.5rem;
    font-weight: 700
}

.rss-item {
    border-top: 3px solid #ff9800 !important
}

.badge {
    background: #ff9800;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem
}

.rss-date {
    font-size: 12px;
    color: #888;
    margin: 5px 0
}

.rss-snippet {
    font-size: 13px;
    color: #666;
    line-height: 1.4
}

.rss-item h4 a {
    color: #d32f2f;
    font-weight: 700
}

.kb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

@media(min-width:768px) {
    .kb-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}