/* ============================================================
   STYLE.CSS - Phần mềm quản lý Bán hàng POS
   Màu chủ đạo: Xanh đậm #145884 | Xanh ngọc #15A0A0
   Font: Be Vietnam Pro (tiêu đề) | Inter (nội dung)
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #145884;
    --primary-dark: #0e3f62;
    --primary-light: #1a6da3;
    --accent: #15A0A0;
    --accent-dark: #0e7a7a;
    --accent-light: #1bc4c4;
    --white: #ffffff;
    --light-bg: #f4f8fb;
    --light-gray: #e8eef3;
    --dark-text: #1a2332;
    --body-text: #4a5568;
    --muted-text: #718096;
    --border-color: #d6e0ea;
    --shadow-sm: 0 2px 8px rgba(20, 88, 132, 0.08);
    --shadow-md: 0 4px 20px rgba(20, 88, 132, 0.12);
    --shadow-lg: 0 8px 40px rgba(20, 88, 132, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --section-padding: 80px 0;
    --font-heading: 'Be Vietnam Pro', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* --- Utility --- */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header {
    margin-bottom: 48px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

/* --- Buttons --- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent-custom {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accent-custom:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

#header .navbar {
    padding: 16px 0;
    transition: var(--transition);
}

#header.scrolled .navbar {
    padding: 10px 0;
}

#header .navbar-brand img {
    height: 42px;
    transition: var(--transition);
}

#header.scrolled .navbar-brand img {
    height: 36px;
}

#header .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

#header.scrolled .nav-link {
    color: var(--dark-text);
}

#header .nav-link:hover,
#header .nav-link.active {
    color: var(--accent-light);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--accent);
    background: rgba(21, 160, 160, 0.08);
}

#header .btn-login {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

#header.scrolled .btn-login {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

#header .btn-login:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-1px);
}

#header .navbar-toggler {
    border: none;
    padding: 4px 8px;
}

#header .navbar-toggler .fa-bars {
    color: var(--white);
    font-size: 1.4rem;
}

#header.scrolled .navbar-toggler .fa-bars {
    color: var(--primary);
}

/* ============================================================
   HERO / BANNER SLIDESHOW
   ============================================================ */
#hero {
    position: relative;
    overflow: hidden;
}

#hero .swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

#hero .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 88, 132, 0.85) 0%, rgba(21, 160, 160, 0.65) 100%);
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

#hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

#hero .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

#hero .hero-title span {
    color: var(--accent-light);
}

#hero .hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

#hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

#hero .swiper-pagination {
    bottom: 30px;
}

#hero .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

#hero .swiper-pagination-bullet-active {
    background: var(--accent-light);
    width: 36px;
    border-radius: 6px;
}

/* Hero stats bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    padding: 20px 0;
}

.hero-stats .stat-item {
    text-align: center;
    color: var(--white);
}

.hero-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================================
   SECTION: GIỚI THIỆU
   ============================================================ */
#intro .intro-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

#intro .intro-content p {
    margin-bottom: 16px;
}

#intro .intro-features {
    margin-top: 24px;
}

#intro .intro-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

#intro .intro-features li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

#intro .video-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

#intro .video-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

#intro .video-wrapper:hover img {
    transform: scale(1.03);
}

#intro .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 12px rgba(21, 160, 160, 0.25);
    transition: var(--transition);
    z-index: 2;
}

#intro .video-play-btn:hover {
    background: var(--primary);
    box-shadow: 0 0 0 16px rgba(20, 88, 132, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================================
   SECTION: DỊCH VỤ / MÔ-ĐUN
   ============================================================ */
#services .service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

#services .service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

#services .service-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(20, 88, 132, 0.08), rgba(21, 160, 160, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

#services .service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

#services .service-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

#services .service-card:hover .service-icon i {
    color: var(--white);
}

#services .service-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#services .service-card p {
    font-size: 0.88rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

/* ============================================================
   SECTION: DEMO POS
   ============================================================ */
#pos-demo {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

#pos-demo .demo-feature-list {
    margin-top: 24px;
}

#pos-demo .demo-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

#pos-demo .demo-feature-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

#pos-demo .demo-feature-item .feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

#pos-demo .demo-feature-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

#pos-demo .demo-feature-item p {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

#pos-demo .demo-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

/* ============================================================
   SECTION: TỒN KHO & BÁO CÁO
   ============================================================ */
#inventory-report .feature-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

#inventory-report .feature-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

#inventory-report .highlight-box {
    background: linear-gradient(135deg, rgba(20, 88, 132, 0.04), rgba(21, 160, 160, 0.04));
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#inventory-report .highlight-box h6 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

#inventory-report .highlight-box p {
    font-size: 0.9rem;
    color: var(--body-text);
    margin-bottom: 0;
}

/* ============================================================
   SECTION: LÝ DO CHỌN CHÚNG TÔI
   ============================================================ */
#why-us {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(21, 160, 160, 0.1);
    border-radius: 50%;
}

#why-us::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(21, 160, 160, 0.08);
    border-radius: 50%;
}

#why-us .section-title {
    color: var(--white);
}

#why-us .accent-line {
    background: linear-gradient(90deg, var(--accent-light), rgba(255, 255, 255, 0.5));
}

#why-us .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

#why-us .why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

#why-us .why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
}

#why-us .why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    color: var(--white);
}

#why-us .why-card h5 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#why-us .why-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/* ============================================================
   SECTION: CẢM NHẬN KHÁCH HÀNG
   ============================================================ */
#testimonials .testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

#testimonials .testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

#testimonials .testimonial-card .demo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(21, 160, 160, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

#testimonials .quote-icon {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 14px;
    opacity: 0.4;
}

#testimonials .testimonial-text {
    font-size: 0.93rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

#testimonials .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

#testimonials .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-gray);
}

#testimonials .testimonial-author h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

#testimonials .testimonial-author span {
    font-size: 0.8rem;
    color: var(--muted-text);
}

#testimonials .testimonial-stars {
    color: #f5a623;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

#testimonials .swiper-pagination {
    position: relative;
    margin-top: 36px;
}

#testimonials .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
}

#testimonials .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* ============================================================
   SECTION: TIN TỨC / CẨM NANG
   ============================================================ */
#news .news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

#news .news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

#news .news-card .news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

#news .news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

#news .news-card:hover .news-image img {
    transform: scale(1.05);
}

#news .news-card .news-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
}

#news .news-card .news-body {
    padding: 24px;
}

#news .news-card .news-date {
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 8px;
}

#news .news-card .news-date i {
    margin-right: 6px;
    color: var(--accent);
}

#news .news-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

#news .news-card h5 a {
    color: var(--dark-text);
}

#news .news-card h5 a:hover {
    color: var(--accent);
}

#news .news-card p {
    font-size: 0.87rem;
    color: var(--muted-text);
    margin-bottom: 16px;
}

#news .news-card .read-more {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#news .news-card .read-more:hover {
    color: var(--accent);
    gap: 10px;
}

/* ============================================================
   SECTION: LIÊN HỆ / ĐĂNG KÝ DEMO
   ============================================================ */
#contact {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

#contact .contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: var(--white);
    height: 100%;
    position: relative;
    overflow: hidden;
}

#contact .contact-info-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(21, 160, 160, 0.15);
    border-radius: 50%;
}

#contact .contact-info-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

#contact .contact-info-card > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.93rem;
    margin-bottom: 30px;
}

#contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

#contact .contact-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-light);
}

#contact .contact-item h6 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#contact .contact-item p,
#contact .contact-item a {
    color: var(--white);
    font-size: 0.93rem;
    margin-bottom: 0;
}

#contact .contact-item a:hover {
    color: var(--accent-light);
}

#contact .contact-social {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#contact .contact-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

#contact .contact-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

#contact .contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
}

#contact .contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

#contact .contact-form-card > p {
    color: var(--muted-text);
    font-size: 0.93rem;
    margin-bottom: 28px;
}

#contact .form-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--dark-text);
    margin-bottom: 6px;
}

#contact .form-control,
#contact .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--body-text);
    transition: var(--transition);
}

#contact .form-control:focus,
#contact .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(21, 160, 160, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--dark-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

#footer h5 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
}

#footer p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

#footer .footer-brand img {
    height: 36px;
    margin-bottom: 16px;
}

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

#footer .footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#footer .footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

#footer .footer-links a i {
    font-size: 0.6rem;
    color: var(--accent);
}

#footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

#footer .footer-contact li i {
    color: var(--accent-light);
    margin-top: 3px;
    min-width: 16px;
}

#footer .footer-devices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

#footer .footer-devices .device-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

#footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.82rem;
}

#footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

#footer .footer-bottom a:hover {
    color: var(--accent-light);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px 0;
    }

    #header .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
    }

    #header .nav-link {
        color: var(--dark-text);
        padding: 10px 16px;
    }

    #header .nav-link:hover,
    #header .nav-link.active {
        color: var(--accent);
        background: rgba(21, 160, 160, 0.06);
    }

    #header .btn-login {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
        display: inline-block;
        margin-top: 8px;
    }

    #hero .swiper {
        height: auto;
        min-height: 500px;
        padding-bottom: 60px;
    }

    #hero .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        position: relative;
    }

    .section-title {
        font-size: 1.6rem;
    }

    #contact .contact-info-card,
    #contact .contact-form-card {
        padding: 30px 24px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 48px 0;
    }

    #hero .swiper {
        min-height: 440px;
    }

    #hero .hero-title {
        font-size: 1.6rem;
    }

    #hero .hero-desc {
        font-size: 0.95rem;
    }

    #hero .hero-buttons {
        flex-direction: column;
    }

    #hero .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats .stat-number {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    #services .service-card {
        padding: 24px 20px;
    }

    #testimonials .testimonial-card {
        padding: 24px 20px;
    }

    #footer {
        padding: 40px 0 0;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    #hero .hero-badge {
        font-size: 0.75rem;
    }

    .btn-primary-custom,
    .btn-accent-custom,
    .btn-outline-custom {
        padding: 10px 24px;
        font-size: 0.88rem;
    }

    #pos-demo .demo-feature-item {
        padding: 14px 16px;
    }
}


/* ============================================================
   SUBPAGE GENERAL & BREADCRUMB
   ============================================================ */
.page-header-banner {
    position: relative;
    padding: 130px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    overflow: hidden;
}
.page-header-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(21, 160, 160, 0.15);
    z-index: 1;
}
.page-header-banner .container {
    position: relative;
    z-index: 2;
}
.page-header-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.page-header-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin-bottom: 16px;
}
.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
}
.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
}
.breadcrumb-custom a:hover {
    color: var(--accent-light);
}
.breadcrumb-custom .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}
.breadcrumb-custom .active {
    color: var(--accent-light);
    font-weight: 600;
}

/* Common Badges */
.badge-demo {
    display: inline-block;
    background: rgba(21, 160, 160, 0.15);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px dashed var(--accent);
    letter-spacing: 0.5px;
}
.badge-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.badge-status.new { background: #e0f2fe; color: #0369a1; }
.badge-status.in-progress { background: #fef3c7; color: #b45309; }
.badge-status.won { background: #dcfce7; color: #15803d; }
.badge-status.lost { background: #fee2e2; color: #b91c1c; }
.badge-status.urgent { background: #ffe4e6; color: #e11d48; }

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.about-mission-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.about-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.about-mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}
.about-mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 88, 132, 0.1), rgba(21, 160, 160, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.about-team-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.about-team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.about-team-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}
.about-team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.about-team-card:hover .about-team-img-wrapper img {
    transform: scale(1.05);
}
.about-team-info {
    padding: 20px;
    text-align: center;
}
.about-team-info h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.about-team-info .role {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.metric-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.metric-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.metric-label {
    font-size: 0.9rem;
    color: var(--body-text);
    margin-top: 6px;
    margin-bottom: 0;
}

/* ============================================================
   SIDEBAR & FILTER (LEAD, KANBAN, BLOG)
   ============================================================ */
.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filter-group {
    margin-bottom: 16px;
}
.filter-group:last-child {
    margin-bottom: 0;
}
.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
    display: block;
}
.filter-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--body-text);
}
.filter-check-item input[type="checkbox"],
.filter-check-item input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--accent);
}
.filter-check-item .count {
    color: var(--muted-text);
    font-size: 0.8rem;
    background: var(--light-bg);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Top toolbar */
.list-toolbar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.search-input-group {
    position: relative;
    max-width: 320px;
    width: 100%;
}
.search-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-text);
}
.search-input-group input {
    padding-left: 38px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 0.88rem;
}

/* Lead Card (Matching style card from homepage) */
.lead-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
    position: relative;
}
.lead-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.lead-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}
.lead-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.lead-title a {
    color: var(--dark-text);
}
.lead-title a:hover {
    color: var(--accent);
}
.lead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--body-text);
    margin-bottom: 12px;
}
.lead-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lead-meta i {
    color: var(--accent);
}
.lead-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--light-gray);
    padding-top: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 10px;
}
.deal-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}
.assignee-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
}

/* Pagination */
.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}
.pagination-custom .page-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--white);
    transition: var(--transition);
}
.pagination-custom .page-link:hover,
.pagination-custom .page-item.active .page-link {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ============================================================
   DETAIL PAGE (LEAD DETAIL, TASK DETAIL)
   ============================================================ */
.detail-header-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.nav-tabs-custom {
    border-bottom: 2px solid var(--light-gray);
    gap: 8px;
    margin-bottom: 24px;
}
.nav-tabs-custom .nav-link {
    color: var(--body-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    transition: var(--transition);
}
.nav-tabs-custom .nav-link:hover {
    color: var(--accent);
}
.nav-tabs-custom .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}
.timeline-list {
    position: relative;
    padding-left: 28px;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--light-gray);
}
.timeline-item {
    position: relative;
    margin-bottom: 24px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent);
}
.timeline-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
}

/* Image gallery / lightbox preview */
.gallery-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.gallery-thumbnail-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.gallery-thumbnail-item.active,
.gallery-thumbnail-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}
.gallery-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   KANBAN BOARD STYLES
   ============================================================ */
.kanban-board {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}
.kanban-column {
    flex: 0 0 300px;
    min-width: 300px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(20, 88, 132, 0.1);
}
.kanban-column-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kanban-count {
    background: var(--white);
    color: var(--dark-text);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.kanban-card-list {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kanban-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: var(--transition);
}
.kanban-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.kanban-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.kanban-card-title a {
    color: var(--dark-text);
}
.kanban-card-title a:hover {
    color: var(--accent);
}

/* ============================================================
   HR & CHECKIN BOX
   ============================================================ */
.checkin-box {
    background: linear-gradient(135deg, rgba(20, 88, 132, 0.05), rgba(21, 160, 160, 0.08));
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}
.checkin-status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.kpi-meter {
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 6px;
}
.kpi-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 5px;
}

/* UI States (Empty / Loading / Error) */
.state-box {
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}
.state-icon {
    font-size: 2.8rem;
    color: var(--muted-text);
    margin-bottom: 16px;
}

/* ============================================================
   BLOG DETAIL STYLES
   ============================================================ */
.article-content {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #2d3748;
}
.article-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.article-content h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--dark-text);
}
.article-content p {
    margin-bottom: 18px;
}
.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.article-content li {
    margin-bottom: 8px;
}
.article-toc {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.article-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.article-toc ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.article-toc li {
    margin-bottom: 8px;
}
.article-toc a {
    color: var(--body-text);
    font-size: 0.92rem;
}
.article-toc a:hover {
    color: var(--accent);
}
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.btn-share {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-share-fb { background: #1877f2; color: #fff; }
.btn-share-zalo { background: #0068ff; color: #fff; }
.btn-share-copy { background: var(--light-gray); color: var(--dark-text); }

