/* roulang page: index */
:root {
--primary-50: #eff6ff;
--primary-100: #dbeafe;
--primary-200: #bfdbfe;
--primary-300: #93c5fd;
--primary-400: #60a5fa;
--primary-500: #3b82f6;
--primary-600: #2563eb;
--primary-700: #1d4ed8;
--primary-800: #1e40af;
--primary-900: #1e3a8a;
--secondary-500: #f97316;
--accent-500: #ef4444;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
--transition-base: all 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif; line-height: 1.6; color: var(--gray-900); background: #ffffff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-base); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 768px) { .container { padding: 0 1rem; } }
.section-padding { padding: 5rem 0; }
@media (max-width: 768px) { .section-padding { padding: 3rem 0; } }
.section-title { font-size: 2rem; font-weight: 700; line-height: 1.3; color: var(--gray-900); margin-bottom: 0.75rem; }
@media (max-width: 768px) { .section-title { font-size: 1.625rem; } }
.section-subtitle { font-size: 1.125rem; color: var(--gray-500); max-width: 640px; line-height: 1.7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; font-weight: 600; font-size: 1rem; border-radius: var(--radius-md); transition: var(--transition-base); white-space: nowrap; border: 2px solid transparent; }
.btn-primary { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }
.btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:focus-visible { outline: 2px solid var(--primary-400); outline-offset: 2px; }
.btn-secondary { background: transparent; color: var(--primary-600); border-color: var(--primary-600); }
.btn-secondary:hover { background: var(--primary-50); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary:focus-visible { outline: 2px solid var(--primary-400); outline-offset: 2px; }
.btn-accent { background: var(--accent-500); color: #fff; border-color: var(--accent-500); }
.btn-accent:hover { background: #dc2626; border-color: #dc2626; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent:focus-visible { outline: 2px solid #fca5a5; outline-offset: 2px; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; border-radius: var(--radius-lg); }
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: var(--transition-base); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.125rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.5rem; line-height: 1.4; }
.card-text { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; }
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; background: var(--primary-50); color: var(--primary-700); }
.badge-accent { background: #fef2f2; color: var(--accent-500); }
.badge-secondary { background: #fff7ed; color: var(--secondary-500); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary-600); line-height: 1.2; }
.stat-label { font-size: 0.9375rem; color: var(--gray-500); margin-top: 0.25rem; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.25rem 0; }
.faq-question { font-size: 1.0625rem; font-weight: 600; color: var(--gray-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: var(--transition-base); }
.faq-question:hover { color: var(--primary-600); }
.faq-question i { transition: transform 0.3s ease; color: var(--gray-400); font-size: 0.875rem; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding-top: 0; color: var(--gray-500); line-height: 1.7; font-size: 0.9375rem; }
.faq-answer.open { max-height: 300px; padding-top: 1rem; }
.hero-overlay { position: relative; }
.hero-overlay::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(30, 58, 138, 0.7) 50%, rgba(15, 23, 42, 0.6) 100%); z-index: 1; }
.hero-overlay > * { position: relative; z-index: 2; }
.nav-blur { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(229,231,235,0.5); }
.nav-link { position: relative; font-weight: 500; color: var(--gray-600); padding: 0.5rem 0; transition: var(--transition-base); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary-600); transition: width 0.3s ease; border-radius: 1px; }
.nav-link:hover { color: var(--primary-600); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--primary-600); }
.nav-link.active::after { width: 100%; }
.mega-panel { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow-xl); padding: 2rem 0; z-index: 50; }
.mega-trigger:hover .mega-panel { display: block; }
.mega-panel.show { display: block; }
@media (max-width: 1023px) { .mega-panel { position: static; box-shadow: none; padding: 1rem 0; background: transparent; } }
.mobile-nav { display: none; }
@media (max-width: 1023px) { .mobile-nav { display: flex; } .desktop-nav { display: none; } }
.mobile-menu { display: none; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-100); }
.mobile-menu.open { max-height: 500px; }
.mobile-menu a { display: block; padding: 0.75rem 1.5rem; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-50); transition: var(--transition-base); }
.mobile-menu a:hover { background: var(--primary-50); color: var(--primary-600); }
.mobile-menu a.active { color: var(--primary-600); background: var(--primary-50); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
@media (max-width: 640px) { .grid-auto { grid-template-columns: 1fr; } }
.footer-link { color: var(--gray-400); transition: var(--transition-base); font-size: 0.9375rem; }
.footer-link:hover { color: #fff; }
.footer-heading { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.cta-section { background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 50%, var(--primary-700) 100%); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; padding: 0.375rem 1rem; font-size: 0.8125rem; font-weight: 500; color: var(--gray-600); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 9999px; transition: var(--transition-base); }
.tag:hover { background: var(--primary-50); color: var(--primary-600); border-color: var(--primary-200); }
.cover-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.text-balance { text-wrap: balance; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* roulang page: category1 */
:root {
            --primary-50: #eef2ff;
            --primary-100: #e0e7ff;
            --primary-200: #c7d2fe;
            --primary-300: #a5b4fc;
            --primary-400: #818cf8;
            --primary-500: #6366f1;
            --primary-600: #4f46e5;
            --primary-700: #4338ca;
            --primary-800: #3730a3;
            --primary-900: #312e81;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            line-height: 1.6;
            color: var(--gray-800);
            background: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .container {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        @media (max-width: 640px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        .nav-blur {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(229, 231, 235, 0.6);
            transition: all 0.3s ease;
        }
        .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--gray-700);
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.2s ease;
            text-decoration: none;
        }
        .nav-link:hover {
            color: var(--primary-600);
        }
        .nav-link.active {
            color: var(--primary-600);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2.5px;
            background: var(--primary-500);
            border-radius: 2px;
        }
        .mega-trigger {
            position: relative;
        }
        .mega-panel {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            background: #fff;
            border-radius: 1rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
            padding: 1.75rem 1.5rem;
            min-width: 520px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid var(--gray-100);
            z-index: 100;
        }
        .mega-trigger:hover .mega-panel {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(4px);
        }
        @media (max-width: 768px) {
            .mega-panel {
                position: static;
                transform: none;
                min-width: unset;
                box-shadow: none;
                padding: 1rem 0.5rem;
                border: none;
                opacity: 1;
                visibility: visible;
                display: none;
            }
            .mega-trigger:hover .mega-panel {
                transform: none;
                display: block;
            }
            .desktop-nav {
                display: none;
            }
            .mobile-nav-open .desktop-nav {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                padding: 1rem 1.5rem;
                border-bottom: 1px solid var(--gray-200);
                box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
                gap: 0.75rem;
                align-items: stretch;
            }
            .mobile-nav-open .desktop-nav .nav-link {
                padding: 0.6rem 0;
            }
            .mobile-nav-open .mega-panel {
                display: none;
            }
            .mobile-nav-open .mega-trigger:hover .mega-panel {
                display: block;
                position: static;
                transform: none;
                min-width: unset;
                box-shadow: none;
                padding: 0.75rem 0 0.75rem 0.75rem;
                border: none;
            }
            .mobile-menu-btn {
                display: flex !important;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu-btn {
                display: none !important;
            }
            .desktop-nav {
                display: flex !important;
            }
        }
        .hero-section {
            position: relative;
            min-height: 70vh;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
            filter: brightness(0.45) saturate(0.9);
            z-index: 0;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 27, 75, 0.5) 50%, rgba(15, 23, 42, 0.6) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            width: 100%;
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.25;
            color: var(--gray-900);
            letter-spacing: -0.02em;
        }
        .section-subtitle {
            font-size: 1.05rem;
            color: var(--gray-500);
            max-width: 640px;
            line-height: 1.7;
        }
        @media (max-width: 640px) {
            .section-title {
                font-size: 1.6rem;
            }
            .section-subtitle {
                font-size: 0.95rem;
            }
        }
        .card-base {
            background: #fff;
            border-radius: 1rem;
            padding: 1.75rem;
            border: 1px solid var(--gray-100);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .card-base:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
            transform: translateY(-4px);
            border-color: var(--primary-200);
        }
        .stat-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 1.25rem;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            background: rgba(255, 255, 255, 0.14);
            transform: translateY(-2px);
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--primary-600);
            color: #fff;
            font-weight: 600;
            padding: 0.85rem 2rem;
            border-radius: 0.75rem;
            border: none;
            cursor: pointer;
            transition: all 0.25s ease;
            text-decoration: none;
            font-size: 1rem;
        }
        .btn-primary:hover {
            background: var(--primary-700);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
        }
        .btn-primary:focus-visible {
            outline: 3px solid var(--primary-300);
            outline-offset: 2px;
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: transparent;
            color: var(--gray-700);
            font-weight: 600;
            padding: 0.8rem 1.8rem;
            border-radius: 0.75rem;
            border: 2px solid var(--gray-200);
            cursor: pointer;
            transition: all 0.25s ease;
            text-decoration: none;
            font-size: 1rem;
        }
        .btn-outline:hover {
            border-color: var(--primary-400);
            color: var(--primary-600);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
        }
        .btn-outline:focus-visible {
            outline: 3px solid var(--primary-300);
            outline-offset: 2px;
        }
        .badge {
            display: inline-block;
            background: var(--primary-50);
            color: var(--primary-700);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.3rem 0.9rem;
            border-radius: 2rem;
            letter-spacing: 0.01em;
        }
        .badge-light {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            backdrop-filter: blur(4px);
        }
        .step-line {
            position: relative;
        }
        .step-line::before {
            content: '';
            position: absolute;
            top: 2.5rem;
            left: 1.25rem;
            bottom: 2.5rem;
            width: 2px;
            background: var(--primary-200);
            border-radius: 2px;
        }
        .step-line .step-item:last-child::before {
            display: none;
        }
        .faq-item {
            border-bottom: 1px solid var(--gray-200);
            padding: 1.25rem 0;
            transition: background 0.2s ease;
        }
        .faq-item:first-child {
            border-top: 1px solid var(--gray-200);
        }
        .faq-question {
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--gray-800);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            user-select: none;
            padding: 0.25rem 0;
        }
        .faq-question:hover {
            color: var(--primary-600);
        }
        .faq-question i {
            font-size: 1.1rem;
            color: var(--gray-400);
            transition: transform 0.3s ease;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.3s ease;
            color: var(--gray-500);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.active .faq-answer {
            max-height: 300px;
            padding-top: 0.75rem;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--primary-500);
        }
        .footer-link {
            color: var(--gray-400);
            font-size: 0.9rem;
            text-decoration: none;
            transition: color 0.2s ease;
            display: inline-block;
            padding: 0.15rem 0;
        }
        .footer-link:hover {
            color: #fff;
        }
        .footer-heading {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1.25rem;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }
        .cover-img {
            border-radius: 0.75rem;
            object-fit: cover;
            width: 100%;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .cover-img-wrapper {
            overflow: hidden;
            border-radius: 0.75rem;
        }
        .cover-img-wrapper:hover .cover-img {
            transform: scale(1.05);
        }
        .backdrop-blur {
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        @media (max-width: 640px) {
            .hero-section {
                min-height: 60vh;
            }
            .stat-card {
                padding: 1.25rem 1rem;
            }
            .card-base {
                padding: 1.25rem;
            }
        }
        .grid-gap {
            gap: 1.75rem;
        }
        @media (min-width: 1024px) {
            .grid-gap {
                gap: 2rem;
            }
        }
        .shadow-soft {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        }
        .shadow-hover:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
        }
        .bg-grid-pattern {
            background-image: radial-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px);
            background-size: 24px 24px;
        }
        .scroll-mt {
            scroll-margin-top: 5rem;
        }

/* roulang page: article */
:root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --primary-dark: #1e3a8a;
            --primary-bg: #eff6ff;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --text-dark: #111827;
            --text-body: #374151;
            --text-muted: #6b7280;
            --bg-white: #ffffff;
            --bg-light: #f9fafb;
            --bg-gray: #f3f4f6;
            --border-light: #e5e7eb;
            --border-medium: #d1d5db;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            color: var(--text-body);
            background: var(--bg-white);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        button,
        input,
        textarea {
            font-family: inherit;
            transition: var(--transition);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        @media (min-width: 768px) {
            .container {
                padding: 0 32px;
            }
        }

        @media (min-width: 1024px) {
            .container {
                padding: 0 40px;
            }
        }

        /* ===== Navigation ===== */
        .nav-blur {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(229, 231, 235, 0.6);
            transition: var(--transition);
        }

        .nav-blur.scrolled {
            box-shadow: var(--shadow-md);
        }

        .nav-link {
            font-size: 0.925rem;
            font-weight: 500;
            color: var(--text-body);
            padding: 0.5rem 0;
            position: relative;
            letter-spacing: 0.01em;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2.5px;
            background: var(--primary-light);
            border-radius: 2px;
            transition: var(--transition);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link.active {
            color: var(--primary-dark);
            font-weight: 600;
        }

        .mega-trigger {
            position: relative;
        }

        .mega-panel {
            position: absolute;
            top: calc(100% + 12px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-xl);
            padding: 1.75rem 2rem;
            min-width: 520px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: var(--transition);
            border: 1px solid var(--border-light);
            z-index: 100;
        }

        .mega-trigger:hover .mega-panel {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        .mega-panel h4 {
            font-size: 0.8rem;
            letter-spacing: 0.06em;
            color: var(--text-muted);
        }

        .mega-panel ul li a {
            padding: 0.35rem 0;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

        .mega-panel ul li a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }

        /* Mobile menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-dark);
            cursor: pointer;
            padding: 0.25rem;
        }

        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            z-index: 200;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            padding: 2rem;
        }

        .mobile-nav.open {
            display: flex;
        }

        .mobile-nav .close-btn {
            position: absolute;
            top: 1.25rem;
            right: 1.5rem;
            font-size: 2rem;
            background: none;
            border: none;
            color: var(--text-dark);
            cursor: pointer;
        }

        .mobile-nav a {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .mobile-nav a:hover {
            color: var(--primary);
        }

        @media (max-width: 1023px) {
            .desktop-nav {
                display: none !important;
            }
            .mobile-menu-btn {
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }
        }

        @media (min-width: 1024px) {
            .mobile-menu-btn {
                display: none !important;
            }
            .mobile-nav {
                display: none !important;
            }
        }

        /* ===== Hero / Article Banner ===== */
        .article-banner {
            position: relative;
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
        }

        .article-banner-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.25;
            z-index: 0;
        }

        .article-banner .overlay-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
            z-index: 1;
        }

        .article-banner .banner-content {
            position: relative;
            z-index: 2;
            padding: 3rem 1.5rem;
            max-width: 800px;
        }

        .article-banner .category-badge {
            display: inline-block;
            padding: 0.35rem 1.2rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            background: rgba(59, 130, 246, 0.2);
            color: #93c5fd;
            border: 1px solid rgba(59, 130, 246, 0.3);
            margin-bottom: 1.25rem;
            text-transform: uppercase;
        }

        .article-banner h1 {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.25;
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .article-banner .meta-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem 1.5rem;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: #94a3b8;
        }

        .article-banner .meta-info i {
            margin-right: 0.35rem;
        }

        @media (min-width: 640px) {
            .article-banner {
                min-height: 380px;
            }
            .article-banner h1 {
                font-size: 2.5rem;
            }
        }

        @media (min-width: 1024px) {
            .article-banner h1 {
                font-size: 3rem;
            }
        }

        /* ===== Article Content ===== */
        .article-body {
            max-width: 780px;
            margin: 0 auto;
            padding: 2.5rem 1.25rem 3rem;
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text-body);
        }

        .article-body h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-light);
        }

        .article-body h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-top: 2rem;
            margin-bottom: 0.75rem;
        }

        .article-body h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .article-body p {
            margin-bottom: 1.25rem;
        }

        .article-body ul,
        .article-body ol {
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
        }

        .article-body li {
            margin-bottom: 0.5rem;
        }

        .article-body blockquote {
            border-left: 4px solid var(--primary-light);
            padding: 0.75rem 1.25rem;
            margin: 1.5rem 0;
            background: var(--primary-bg);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic;
            color: var(--text-body);
        }

        .article-body code {
            background: var(--bg-gray);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9em;
            font-family: 'Fira Code', monospace;
        }

        .article-body pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 1.25rem 1.5rem;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 1.5rem 0;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .article-body pre code {
            background: none;
            padding: 0;
            color: inherit;
            font-size: inherit;
        }

        .article-body img {
            border-radius: var(--radius-md);
            margin: 1.5rem auto;
            box-shadow: var(--shadow-md);
        }

        .article-body a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .article-body a:hover {
            color: var(--primary-dark);
        }

        .article-body table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
        }

        .article-body th,
        .article-body td {
            border: 1px solid var(--border-light);
            padding: 0.6rem 1rem;
            text-align: left;
        }

        .article-body th {
            background: var(--bg-light);
            font-weight: 600;
            color: var(--text-dark);
        }

        .not-found-box {
            text-align: center;
            padding: 4rem 2rem;
            background: var(--bg-light);
            border-radius: var(--radius-lg);
            border: 1px dashed var(--border-medium);
        }

        .not-found-box i {
            font-size: 3rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .not-found-box h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
            border: none;
        }

        .not-found-box p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        /* ===== Share Section ===== */
        .share-section {
            background: var(--bg-light);
            padding: 2rem 1.25rem;
            text-align: center;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }

        .share-section .share-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 1rem;
            letter-spacing: 0.03em;
        }

        .share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--bg-white);
            color: var(--text-body);
            border: 1px solid var(--border-light);
            margin: 0 0.4rem;
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .share-btn:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* ===== Related Cards ===== */
        .related-section {
            padding: 3.5rem 1.25rem;
            background: var(--bg-white);
        }

        .related-section .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-dark);
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .related-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            max-width: 900px;
            margin: 0 auto;
        }

        @media (min-width: 640px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 900px) {
            .related-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .related-card {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: var(--transition);
        }

        .related-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
            border-color: var(--primary-light);
        }

        .related-card .card-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: var(--bg-gray);
        }

        .related-card .card-body {
            padding: 1.25rem 1.25rem 1.5rem;
        }

        .related-card .card-body h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .related-card .card-body p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0;
            line-height: 1.6;
        }

        /* ===== FAQ ===== */
        .faq-section {
            padding: 3.5rem 1.25rem;
            background: var(--bg-light);
        }

        .faq-section .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-dark);
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .faq-list {
            max-width: 720px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .faq-item {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--border-medium);
        }

        .faq-question {
            padding: 1.15rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }

        .faq-question i {
            font-size: 0.85rem;
            color: var(--text-muted);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .faq-answer {
            padding: 0 1.5rem 1.15rem;
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.7;
            display: none;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 3.5rem 1.25rem;
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            text-align: center;
            color: #ffffff;
        }

        .cta-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }

        .cta-section p {
            font-size: 1.05rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto 1.75rem;
        }

        .cta-btn {
            display: inline-block;
            padding: 0.9rem 2.5rem;
            background: #ffffff;
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 1.05rem;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-lg);
        }

        .cta-btn:hover {
            background: var(--accent-light);
            color: var(--text-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .cta-btn-outline {
            display: inline-block;
            padding: 0.85rem 2.5rem;
            background: transparent;
            color: #ffffff;
            font-weight: 600;
            font-size: 1rem;
            border-radius: 50px;
            border: 2px solid rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: var(--transition);
            margin-left: 0.75rem;
        }

        .cta-btn-outline:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: #ffffff;
        }

        @media (max-width: 480px) {
            .cta-btn,
            .cta-btn-outline {
                display: block;
                width: 100%;
                margin: 0.5rem 0;
            }
        }

        /* ===== Footer ===== */
        .footer-heading {
            font-size: 0.95rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.25rem;
            letter-spacing: 0.02em;
            position: relative;
            padding-bottom: 0.6rem;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 36px;
            height: 2.5px;
            background: var(--primary-light);
            border-radius: 2px;
        }

        .footer-link {
            font-size: 0.9rem;
            color: #9ca3af;
            transition: var(--transition);
            display: inline-block;
        }

        .footer-link:hover {
            color: #ffffff;
            padding-left: 4px;
        }

        footer .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 1.75rem;
            margin-top: 2.5rem;
            text-align: center;
            font-size: 0.85rem;
            color: #6b7280;
        }

        /* ===== Responsive tweaks ===== */
        @media (max-width: 640px) {
            .article-body {
                font-size: 0.98rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .article-banner h1 {
                font-size: 1.6rem;
            }
            .article-banner .meta-info {
                font-size: 0.8rem;
                gap: 0.5rem 1rem;
            }
            .related-section .section-title,
            .faq-section .section-title {
                font-size: 1.3rem;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
        }

        @media (max-width: 480px) {
            .article-banner {
                min-height: 240px;
            }
            .article-banner h1 {
                font-size: 1.35rem;
            }
            .mega-panel {
                min-width: auto;
                width: 90vw;
                left: 5vw;
                transform: translateY(8px);
            }
            .mega-trigger:hover .mega-panel {
                transform: translateY(0);
            }
        }

        /* ===== Breadcrumb (optional) ===== */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            color: #94a3b8;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .breadcrumb a {
            color: #94a3b8;
        }

        .breadcrumb a:hover {
            color: #ffffff;
        }

        .breadcrumb .sep {
            color: #475569;
        }

        /* ===== Loading / fallback ===== */
        .cms-loading {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-muted);
        }
