:root {
    --primary: #014aad;
    --secondary: #049ee0;
    --accent: #5BC0EB;
    --dark: #1a1a1a;
    --gray-50: #fafbfc;
    --gray-100: #f5f7fa;
    --gray-200: #e4e7eb;
    --gray-300: #cbd2d9;
    --gray-400: #9aa5b1;
    --gray-600: #52606d;
    --gray-700: #3e4c59;
    --gray-800: #323f4b;
    --gray-900: #1f2933;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Top Bar */
.top-bar {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.top-bar .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 14px;
    color: var(--gray-700);
}

.contact-info a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--secondary);
}

.top-bar-admin {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--gray-700);
}

.top-bar-admin .dropdown-toggle {
    color: var(--secondary);
    cursor: pointer;
}

.top-bar-admin .dropdown-menu {
    right: 0;
    left: auto;
    z-index: 1100;
}

/* Header */
.header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.logo-text .tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav > ul > li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a:not(.btn-contact):hover {
    color: var(--secondary);
}

nav a.active {
    color: var(--secondary);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    display: block;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--gray-800);
    font-size: 14px;
    white-space: nowrap;
    display: block;
    font-weight: 500;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--secondary);
}

.btn-contact {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--white);
    padding: 50px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/banner-htl.svg') no-repeat center;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

.hero-tag {
    display: inline-block;
    background: rgba(4, 158, 224, 0.1);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

    .hero h1 .highlight {
        font-size: 38px;
        color: var(--secondary);
    }

.hero p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 32px;
}

.hero-cta {
    margin-top: 32px;
}

.btn-primary {
    background: #52b788;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #40916c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.3);
}

.hero-image {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 400px;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--gray-100);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/images/dashboard.svg') no-repeat center;
    background-size: cover;
    opacity: 0.7;
}

.hero-image > img,
.hero-image > .hero-icons {
    position: relative;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(1, 74, 173, 0.08), rgba(4, 158, 224, 0.08));
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-icons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    z-index: 1;
}

.hero-icon-item {
    background: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.8s ease-out backwards;
}

.hero-icon-item:nth-child(1) { animation-delay: 0.2s; }
.hero-icon-item:nth-child(2) { animation-delay: 0.4s; }
.hero-icon-item:nth-child(3) { animation-delay: 0.6s; }
.hero-icon-item:nth-child(4) { animation-delay: 0.8s; }

.hero-icon-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 40px rgba(4, 158, 224, 0.2);
}

.hero-icon-item .icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.hero-icon-item .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    line-height: 1.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.services {
    padding: 50px 0;
    background: var(--gray-50);
}

.services .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: stretch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.services-side {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-side h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.services-side p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.services-side p:last-child {
    margin-bottom: 0;
}

.services-side ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.services-side ul li {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

.services-side ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
}

.services-side .btn-primary {
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 992px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-side {
        order: -1;
    }
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card.large {
    background: var(--secondary);
    color: var(--white);
    min-height: 0;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: rgba(4, 158, 224, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card.large .service-icon {
    background: rgba(255, 255, 255, 0.15);
}

.service-number {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-700);
}

.service-card.large p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.large .service-number {
    color: var(--white);
}

.service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: gap 0.3s;
}

.service-card.large .service-link {
    color: var(--white);
}

.service-link:hover {
    gap: 10px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background: rgba(4, 158, 224, 0.1);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.section-header h2 .highlight {
    color: var(--secondary);
}

.section-header p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
}

/* Platform Section */
.platform {
    padding: 50px 0;
    background: var(--white);
}

.platform .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(4, 158, 224, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(4, 158, 224, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.platform-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Challenges */
.challenges {
    padding: 50px 0;
    background: var(--gray-50);
}

.challenges .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.challenge-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.challenge-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 16px rgba(4, 158, 224, 0.08);
}

.challenge-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.challenge-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.challenge-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-700);
}

.highlight-box {
    background: var(--secondary);
    padding: 24px;
    border-radius: 12px;
    color: var(--white);
    text-align: center;
    margin-top: 24px;
}

.highlight-box p {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

/* Products Slider */
.products {
    padding: 50px 0;
    background: var(--white);
}

.products .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.products-slider-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.products-slider {
    overflow: hidden;
    position: relative;
}

.products-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.product-slide {
    min-width: calc((100% - 72px) / 4);
    flex-shrink: 0;
}

.product-card {
    background: rgba(4, 158, 224, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    background: rgba(4, 158, 224, 0.12);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 160px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 12px 12px 0 12px;
}

.product-content {
    padding: 16px;
}

.product-location {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 6px;
}

.product-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--gray-200);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    font-size: 18px;
    color: var(--gray-700);
}

.slider-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(4, 158, 224, 0.2);
}

.slider-btn.prev {
    left: -20px;
}

.slider-btn.next {
    right: -20px;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.slider-dot {
    width: 32px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: all 0.3s;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--secondary);
    width: 48px;
}

.text-center {
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    padding: 12px 32px;
    border-radius: 6px;
    border: 2px solid var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin: 0 auto;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Process/Team Section */
.team {
    padding: 50px 0;
    background: var(--gray-50);
}

.team .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.team-grid {
    display: grid;
    gap: 24px;
}

.team-card {
    background: rgba(4, 158, 224, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.team-card:hover {
    background: rgba(4, 158, 224, 0.1);
    transform: translateY(-4px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 16px;
    font-size: 48px;
}

.team-content {
    padding: 0 16px 20px;
    text-align: center;
}

.team-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-content p {
    font-size: 12px;
    color: var(--gray-700);
}

/* News Section */
.news {
    padding: 50px 0;
    background: var(--white);
}

.news .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(4, 158, 224, 0.1);
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 150px;
    background: var(--gray-200);
    position: relative;
}

.news-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.news-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 16px;
}

.news-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--gray-900);
}

.news-category {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Newsletter */
.newsletter {
    padding: 50px 0;
    background: var(--secondary);
    color: var(--white);
}

.newsletter .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 24px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    font-family: 'Lexend', sans-serif;
}

.newsletter-form button {
    background: #fbbf24;
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lexend', sans-serif;
}

.newsletter-form button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.newsletter-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* Admin pages */
.admin-page-center {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-page-center.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
}

.admin-page {
    padding: 40px 0;
}

/* Container admin cùng max-width và căn giữa như FE (1280px) */
.admin-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.admin-surface {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 0;
}

.admin-actions.admin-actions-with-back {
    justify-content: space-between;
}

.admin-actions-left {
    justify-content: flex-start;
}

.admin-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.admin-btn-primary:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.admin-btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.admin-btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

.admin-btn-danger {
    background: #e03131;
    color: var(--white);
}

.admin-btn-danger:hover {
    background: #c92a2a;
    transform: translateY(-1px);
}

.admin-form {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.admin-form.two-col {
    max-width: 1000px;
}

@media (min-width: 920px) {
    .admin-form.two-col {
        grid-template-columns: 1fr 1fr;
    }

    .admin-form .full {
        grid-column: 1 / -1;
    }
}

.admin-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.admin-input,
.admin-select,
.admin-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-size: 14px;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.admin-textarea {
    min-height: 140px;
    resize: vertical;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(4, 158, 224, 0.15);
}

.admin-richtext-editor {
    margin-top: 4px;
    width: 100%;
}

.admin-richtext-editor .tox-tinymce {
    border-radius: 10px;
    border-color: var(--gray-300);
}

.admin-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-600);
}

.admin-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-800);
}

.admin-check-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.admin-table-wrap {
    margin-top: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: auto;
    background: var(--white);
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
}

.admin-table thead th {
    text-align: left;
    font-size: 12px;
    color: var(--gray-700);
    font-weight: 800;
    padding: 12px 14px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-900);
    vertical-align: top;
}

.admin-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.admin-table tbody tr:hover td {
    background: rgba(4, 158, 224, 0.06);
}

.admin-table .center {
    text-align: center;
}

.admin-table .right {
    text-align: right;
    white-space: nowrap;
}

.admin-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 4px;
    margin-top: 4px;
}

.admin-icon-option {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 4px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    font-size: 0;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.admin-icon-option i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

.admin-icon-option.selected {
    border-color: var(--secondary);
    background: rgba(4, 158, 224, 0.06);
    box-shadow: 0 0 0 2px rgba(4, 158, 224, 0.18);
}

.admin-icon-option:hover {
    border-color: var(--secondary);
    transform: translateY(-1px);
}

.admin-icon-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.admin-btn.admin-btn-xs {
    padding: 6px 10px;
    font-size: 12px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.admin-badge.ok {
    background: rgba(82, 183, 136, 0.14);
    color: #2b8a3e;
}

.admin-badge.no {
    background: rgba(224, 49, 49, 0.12);
    color: #c92a2a;
}

/* News & Solutions list */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

.filter-section {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.filter-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 18px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
}

.filter-tab:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-tab.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.content-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.content-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.content-grid-animate.slide-next .content-card {
    animation: contentSlideNext 0.35s ease;
}

.content-grid-animate.slide-prev .content-card {
    animation: contentSlidePrev 0.35s ease;
}

@keyframes contentSlideNext {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes contentSlidePrev {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

.content-slider {
    position: relative;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--gray-300);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-700);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transition: all 0.2s;
}

.slider-nav:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.slider-nav-prev {
    left: -18px;
}

.slider-nav-next {
    right: -18px;
}

.content-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 32px rgba(4, 158, 224, 0.15);
    transform: translateY(-4px);
}

.content-image {
    width: 100%;
    height: 190px;
    background: var(--gray-100);
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-600);
}

.content-category {
    font-weight: 600;
    color: var(--secondary);
}

.content-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.content-excerpt {
    font-size: 14px;
    color: var(--gray-700);
}

.content-link {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.content-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .slider-nav {
        display: none;
    }
}

/* Article detail */
.breadcrumb {
    background: var(--gray-50);
    padding: 20px 0;
}

.breadcrumb .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.breadcrumb-list {
    display: flex;
    gap: 12px;
    align-items: center;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-list a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--secondary);
}

.breadcrumb-list .separator {
    color: var(--gray-400);
}

.breadcrumb-list .current {
    color: var(--gray-900);
    font-weight: 600;
}

.article-header {
    padding: 50px 0;
    background: var(--white);
}

.article-header .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.article-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.article-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-700);
    font-weight: 500;
}

.featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 32px;
}

.featured-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.article-content {
    padding: 0 0 60px;
}

.article-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-800);
}

.article-body h2,
.article-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 14px;
}

/* CTA dưới bài viết */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 28px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: #52b788;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-section .btn-primary:hover {
    background: #40916c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.3);
}

/* Bài viết / dịch vụ liên quan */
.related-content {
    padding: 60px 0;
    background: var(--gray-50);
}

.related-content .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.related-content h2 {
    font-size: 28px;
    margin-bottom: 28px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(4, 158, 224, 0.15);
    transform: translateY(-4px);
}

.related-image {
    width: 100%;
    height: 180px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-body {
    padding: 18px 18px 16px;
}

.related-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-body p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.admin-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(4, 158, 224, 0.12);
    transform: translateY(-2px);
}

.admin-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.admin-card-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-card-content p {
    font-size: 13px;
    color: var(--gray-700);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 60px 0 24px;
    border-top: 1px solid var(--gray-200);
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-900);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-900);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-600);
}

/* Error pages (404, 500, 501, 403) - FE & Admin */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.error-page .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.error-page-inner {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 48px 32px;
}

.error-code {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.error-title {
    font-size: 22px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.error-message {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 28px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.error-actions .admin-btn {
    min-width: 140px;
}