﻿/* ===== CSS Variables ===== */
:root {
    --primary: #003E6F;
    --primary-light: #00569E;
    --primary-lighter: #0A6FB8;
    --accent: #E16A09;
    --accent-dark: #C25806;
    --text-dark: #333333;
    --text-muted: #777777;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --footer-dark: #002B4D;
    --footer-darker: #001A30;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; }

/* ===== Buttons ===== */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 8px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 7px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}
.top-bar-inner { gap: 8px; }
.top-bar-slogan {
    color: #fff;
    font-weight: 600;
    margin-right: 12px;
    white-space: nowrap;
}
.top-bar-keywords {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-bar-keywords i { color: var(--accent); margin-right: 4px; }
.top-bar-phone {
    color: #ffd54f;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.top-bar-phone i { margin-right: 4px; color: #ffd54f; }
.btn-trial-apply {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(225,106,9,0.3);
}
.btn-trial-apply:hover {
    background: #d65505;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225,106,9,0.4);
}
.btn-trial-apply i { margin-right: 4px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 1000; }
.navbar { padding: 12px 0; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.brand-sub {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    white-space: nowrap;
}
.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::after { width: 24px; }
.mega-arrow { font-size: 11px; margin-left: 2px; transition: transform 0.3s ease; }
.mega-dropdown:hover .mega-arrow { transform: rotate(180deg); }

/* ===== Mega Menu Navigation ===== */
.mega-dropdown { position: static !important; }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,62,111,0.18);
    border-top: 3px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 24px;
}
.mega-menu-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f5;
}
.mega-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mega-menu-icon i {
    font-size: 24px;
    color: #fff;
}
.mega-menu-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
}
.mega-menu-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}
.mega-menu-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px;
}
.mega-menu-body.mega-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.mega-menu-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
    color: var(--text-dark) !important;
    font-size: 15px;
}
.mega-menu-item:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
    transform: translateX(4px);
}
.mega-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.mega-menu-item:hover .mega-item-icon {
    background: var(--primary);
}
.mega-item-icon i {
    font-size: 15px;
    color: var(--primary);
    transition: var(--transition);
}
.mega-menu-item:hover .mega-item-icon i {
    color: #fff;
}
.mega-item-text {
    flex: 1;
    font-weight: 500;
}
.mega-item-arrow {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition);
}
.mega-menu-item:hover .mega-item-arrow {
    opacity: 1;
    color: var(--primary);
}

/* ===== Banner ===== */
.banner-section { margin-bottom: 0; }
.banner-img {
    height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003E6F 0%, #00569E 40%, #0A6FB8 70%, #003E6F 100%);
    z-index: 0;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,30,60,0.35) 0%, rgba(0,30,60,0.15) 50%, rgba(0,30,60,0) 100%);
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 2;
    text-align: left;
    transform: translateY(100px);
}
.banner-title {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 16px;
}
.banner-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    margin-bottom: 24px;
}
.btn-banner {
    background: var(--accent);
    color: #fff;
    padding: 10px 32px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-banner:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
}
.carousel-indicators .active { background: #fff; }

/* ===== Notice Bar ===== */
.notice-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    overflow: hidden;
}
.notice-label {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.notice-scroll {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}
.notice-scroll .notice-item {
    display: inline-block;
    margin-right: 40px;
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
}
.notice-scroll .notice-item:hover { color: var(--primary); }

/* ===== Section Title ===== */
.section-title { margin-bottom: 30px; }
.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.section-en {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}
.title-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== Product Section ===== */
.section-products { background: #fff; }
.product-tabs .nav-link {
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    margin: 0 4px 8px;
    padding: 6px 20px !important;
    font-size: 14px;
    color: var(--text-dark) !important;
    background: #fff;
    transition: var(--transition);
}
.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary) !important;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.product-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef2 0%, #d5dde3 100%);
}
.product-img-placeholder i {
    font-size: 3rem;
    color: #b0bec5;
}
.product-img-placeholder.large i { font-size: 5rem; }
.product-info { padding: 12px 14px; text-align: center; }
.product-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 48px;
    text-align: center;
}
.product-summary {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-badge-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

/* ===== Stats Section ===== */
.section-stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
}
.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,64L48,80C96,96,192,128,288,144C384,160,480,160,576,144C672,128,768,96,864,96C960,96,1056,128,1152,144C1248,160,1344,160,1392,160L1440,160L1440,320L0,320Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
}
.stat-item { padding: 20px 10px; }
.stat-number {
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-number span {
    font-size: 22px;
    font-weight: 400;
}
.stat-label {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-top: 8px;
}

/* ===== Solutions Section ===== */
.solution-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}
.solution-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-lighter);
}
.solution-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.solution-icon i {
    font-size: 28px;
    color: #fff;
}
.solution-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.solution-summary {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.solution-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.solution-card-link { display: block; height: 100%; }
.solution-card-link .solution-card { cursor: pointer; }
.solution-icon-large {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius) var(--radius) 0 0;
}
.solution-icon-large i {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
}
.solution-card .solution-img { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.solution-card .solution-img img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.4s ease; }
.solution-card:hover .solution-img img { transform: scale(1.06); }
.solution-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,62,111,0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}
.solution-more {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    transition: var(--transition);
}
.solution-card:hover .solution-more { transform: translateX(4px); }
.solution-card .solution-info { text-align: left; }
.solution-detail-img { border-radius: var(--radius); overflow: hidden; }
.solution-category-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.solution-card { padding: 0; overflow: hidden; }
.solution-card .solution-info { padding: 12px 14px; text-align: center; }
.solution-card .solution-info .solution-tag { margin-top: 4px; }
.solution-card .solution-img { background: linear-gradient(135deg, #f0f4f8, #e8eef5); }
.solution-card .solution-img .solution-icon { margin: 30px auto; }

/* Solution Tabs */
.solution-tabs-wrapper { margin-bottom: 24px; }
.solution-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    background: #f5f7fa;
    border-radius: 30px;
}
.solution-tab {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.solution-tab:hover { color: var(--primary); }
.solution-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(225,106,9,0.3);
}

@media (max-width: 767px) {
    .solution-tab { padding: 6px 14px; font-size: 13px; }
}

/* ===== Customer Cases ===== */
.customer-logo-item {
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    max-width: 150px;
}
.customer-logo-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}
.customer-logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.customer-logo-icon i {
    font-size: 28px;
    color: var(--primary);
}
.customer-logo-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.customer-logo-item:hover .customer-logo-text { color: var(--primary); }
.customer-logo-item:hover .customer-logo-icon i { color: var(--primary); }

/* ===== Advantages ===== */
.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.advantage-card:hover .advantage-icon {
    background: var(--primary);
}
.advantage-icon i {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}
.advantage-card:hover .advantage-icon i { color: #fff; }
.advantage-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== About Section ===== */
.about-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.about-image { position: relative; padding-top: 20px; }
.about-img-main {
    height: 300px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.about-img-sub {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

/* ===== News Section ===== */
.news-featured {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    height: 100%;
    transition: var(--transition);
}
.news-featured:hover { box-shadow: var(--shadow-md); }
.news-featured-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
}
.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef2 0%, #d5dde3 100%);
}
.news-img-placeholder i { font-size: 3rem; color: #b0bec5; }
.news-featured-info { padding: 16px; }
.news-featured-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-featured-info p {
    font-size: 14px;
    color: var(--text-muted);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.news-date {
    font-size: 13px;
    color: var(--text-muted);
}
.news-tabs .nav-link {
    border: none !important;
    color: var(--text-dark) !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    padding: 8px 20px !important;
    font-size: 15px;
}
.news-tabs .nav-link:hover,
.news-tabs .nav-link.active {
    color: var(--primary) !important;
    border-bottom-color: var(--accent) !important;
}
.news-list { background: #fff; border-radius: var(--radius); overflow: hidden; }
.news-list-item {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    transition: var(--transition);
}
.news-list-item:hover {
    background: var(--bg-light);
    padding-left: 22px;
}
.news-date-box {
    text-align: center;
    min-width: 60px;
    padding-right: 16px;
}
.news-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.news-month {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.news-list-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-list-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Footer ===== */
.site-footer { background: var(--footer-dark); color: rgba(255,255,255,0.7); }
.footer-main { padding: 50px 0 30px; }
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-contact li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-contact i { color: var(--primary-lighter); margin-top: 3px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}
.footer-qr {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.qr-item { text-align: center; }
.qr-img {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.qr-img i { font-size: 32px; color: rgba(255,255,255,0.8); }
.qr-item span { font-size: 12px; }
.footer-bottom {
    background: var(--footer-darker);
    padding: 15px 0;
    font-size: 13px;
}
.footer-mini-nav { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.footer-mini-nav a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}
.footer-mini-nav a:hover { color: #fff; }
.admin-link {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.admin-link:hover { color: #fff; }

/* ===== Floating Contact ===== */
.floating-contact {
    position: fixed;
    right: 15px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.float-item:hover {
    background: var(--primary);
    color: #fff;
    width: auto;
    padding: 0 18px;
    border-radius: 28px;
}
.float-item i { font-size: 26px; z-index: 2; }
.float-label {
    white-space: nowrap;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}
.float-item:hover .float-label { opacity: 1; }
.float-consult { background: var(--accent); color: #fff; }
.float-consult:hover { background: var(--accent-dark); color: #fff; }
.float-chat { background: #07C160; color: #fff; }
.float-chat:hover { background: #06A554; color: #fff; }

/* ===== Online Chat Widget ===== */
.chat-widget {
    position: relative;
    z-index: 1001;
}
.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07C160, #06A554);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(7,193,96,0.4);
    transition: var(--transition);
    position: relative;
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-toggle .chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f00;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.chat-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 30px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-header {
    background: linear-gradient(135deg, #07C160, #06A554);
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-header-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.chat-header-text h5 { margin: 0; font-size: 16px; font-weight: 600; }
.chat-header-text p { margin: 0; font-size: 12px; opacity: 0.9; }
.chat-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 0; line-height: 1; }
.chat-body {
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.chat-message.bot {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.chat-message.user {
    background: #07C160;
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}
.chat-time { font-size: 11px; color: #999; margin-top: 4px; }
.chat-quick {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #07C160;
    border-radius: 16px;
    color: #07C160;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
    margin: 2px;
    transition: var(--transition);
}
.chat-quick:hover { background: #07C160; color: #fff; }
.chat-footer {
    padding: 12px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.chat-input:focus { border-color: #07C160; }
.chat-send {
    background: #07C160;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.chat-send:hover { background: #06A554; }

/* ===== Page Banner ===== */
.page-banner {
    padding: 40px 0;
    text-align: center;
    color: #fff;
}
.page-banner h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}
.page-banner .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== Sidebar ===== */
.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.sidebar-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 15px 20px;
}
.sidebar-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.sidebar-nav { list-style: none; padding: 8px 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--bg-light); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--accent);
    font-weight: 600;
    padding-left: 24px;
}

.page-section-header {
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.page-section-header h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}
.sidebar-contact {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.sidebar-contact h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
}
.sidebar-contact p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.sidebar-news-list {
    list-style: none;
    padding: 12px 16px;
    margin: 0;
}
.sidebar-news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}
.sidebar-news-list li:last-child { border-bottom: none; }
.sidebar-news-list a { display: block; }
.sidebar-news-title {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}
.sidebar-news-list a:hover .sidebar-news-title { color: var(--primary); }
.sidebar-news-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Sidebar Accordion (Two-Level Category) ===== */
.sidebar-title-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 18px 20px;
    text-align: center;
}
.sidebar-title-en {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.2;
}
.sidebar-title-cn {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    letter-spacing: 4px;
}
.sidebar-accordion {
    padding: 0;
    margin: 0;
    list-style: none;
}
.sidebar-accordion .sidebar-item-all > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--bg-light);
}
.sidebar-accordion .sidebar-item-all > a:hover,
.sidebar-accordion .sidebar-item-all > a.active {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--accent);
}
.sidebar-accordion .sidebar-item-all > a i {
    font-size: 16px;
}
.sidebar-parent-item {
    border-bottom: 1px solid var(--bg-light);
}
.sidebar-parent-item:last-child {
    border-bottom: none;
}
.sidebar-parent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-parent-header:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.sidebar-parent-item.expanded > .sidebar-parent-header {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--accent);
}
.sidebar-parent-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
    flex-grow: 1;
    display: block;
}
.sidebar-parent-name.active {
    color: var(--primary);
}
.sidebar-parent-header:hover .sidebar-parent-name,
.sidebar-parent-item.expanded > .sidebar-parent-header .sidebar-parent-name {
    color: var(--primary);
}
.sidebar-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    padding: 4px;
}
.sidebar-parent-item.expanded > .sidebar-parent-header .sidebar-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}
.sidebar-children {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
}
.sidebar-children.show {
    max-height: 500px;
}
.sidebar-children li {
    border-bottom: 1px solid var(--bg-light);
}
.sidebar-children li:last-child {
    border-bottom: none;
}
.sidebar-child-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px 10px 36px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-child-link:hover,
.sidebar-child-link.active {
    background: #eef3f8;
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 500;
}
.sidebar-child-link.active {
    font-weight: 600;
}
.sidebar-child-prefix {
    font-size: 10px;
    color: var(--text-muted);
    transition: var(--transition);
}
.sidebar-child-link:hover .sidebar-child-prefix,
.sidebar-child-link.active .sidebar-child-prefix {
    color: var(--primary);
}

/* ===== Category Header ===== */
.category-header { padding-bottom: 15px; border-bottom: 2px solid var(--bg-light); }
.category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}
.category-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

/* ===== Pagination ===== */
.pagination .page-link {
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    transition: var(--transition);
}
.pagination .page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}
.pagination .page-item.disabled .page-link { color: var(--text-muted); }

/* ===== Product Detail ===== */
.product-detail { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 4/3;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.product-detail-subtitle { color: var(--primary); font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.product-detail-summary {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-badge {
    background: var(--bg-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.product-detail-actions { margin-top: 16px; }
.content-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 16px;
}
.content-body { font-size: 17px; line-height: 1.8; color: var(--text-dark); }
.content-body h1 { font-size: 28px; font-weight: 700; margin: 20px 0 12px; }
.content-body h2 { font-size: 22px; font-weight: 600; margin: 18px 0 10px; }
.content-body h3 { font-size: 18px; font-weight: 600; margin: 16px 0 8px; }
.content-body h4 { font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.content-body p { margin-bottom: 12px; }
.content-body ul, .content-body ol { padding-left: 24px; margin-bottom: 12px; }
.content-body li { margin-bottom: 6px; }
.content-body a { color: var(--primary); text-decoration: underline; }
.content-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 10px 0; }
.content-body blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 16px;
    margin: 12px 0;
    color: var(--text-muted);
    font-style: italic;
}
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
.content-body table td, .content-body table th {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
}
.content-body pre {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    overflow-x: auto;
    margin: 12px 0;
}
.content-body code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ===== News Card / Detail ===== */
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 16px;
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card-img {
    width: 200px;
    min-width: 200px;
    height: 130px;
    overflow: hidden;
    background: var(--bg-light);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-info {
    padding: 12px 16px;
    flex: 1;
}
.news-card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-card-summary { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; }
.news-card-date { font-size: 14px; color: var(--text-muted); }
.news-detail { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.news-detail-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.news-detail-meta {
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-light);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.news-detail-img { border-radius: var(--radius); overflow: hidden; }
.news-detail-img img { width: 100%; }
.news-detail-content { font-size: 17px; line-height: 1.9; }

/* ===== Content Page ===== */
.content-page {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.content-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}
.content-page-body { font-size: 17px; line-height: 1.9; }
.content-page-body h3 { font-size: 18px; font-weight: 600; margin: 20px 0 10px; color: var(--primary); }
.content-page-body ul { padding-left: 20px; margin-bottom: 12px; }
.content-page-body li { margin-bottom: 6px; }
.content-page-body p { margin-bottom: 12px; }

/* ===== Contact Page ===== */
.contact-info-section {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.contact-hotline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.contact-hotline strong { color: var(--accent); font-size: 22px; }
.contact-tip { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-region-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    height: 100%;
}
.contact-region-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}
.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.contact-detail-list li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-detail-list i { color: var(--primary-lighter); }
.qr-box {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}
.qr-image {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}
.qr-image i { color: var(--primary-lighter); }
.map-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* ===== Job Cards ===== */
.job-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-lighter); }
.job-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.job-header h3 { font-size: 17px; font-weight: 600; margin: 0; }
.job-tag {
    background: var(--accent);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.job-info { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.job-info i { margin-right: 4px; }

/* ===== Honor Cards ===== */
.honor-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100%;
}
.honor-card:hover {
    border-color: var(--primary-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.honor-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.honor-card:hover .honor-icon { background: var(--primary); }
.honor-icon i { font-size: 28px; color: var(--primary); transition: var(--transition); }
.honor-card:hover .honor-icon i { color: #fff; }
.honor-card h3 { font-size: 14px; font-weight: 500; margin: 0; }

/* ===== Case Cards ===== */
.case-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-light);
}
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef2 0%, #d5dde3 100%);
}
.case-img-placeholder i { font-size: 3rem; color: #b0bec5; }
.case-industry {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(26, 82, 118, 0.85);
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}
.case-info { padding: 14px; }
.case-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.case-customer { font-size: 13px; color: var(--primary); margin-bottom: 6px; }
.case-summary { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ===== Company Images ===== */
.company-img-box {
    height: 150px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-img-box i { font-size: 3rem; color: rgba(255,255,255,0.5); }
.customer-logo-box {
    height: 60px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
    background: #fff;
}

/* ===== Error Page ===== */
.error-page { min-height: 400px; display: flex; align-items: center; }
.error-code { font-size: 80px; font-weight: 700; color: var(--primary); margin: 0; }
.error-message { font-size: 18px; color: var(--text-muted); }

/* ===== Admin Panel ===== */
.admin-body { background: var(--bg-light); }
.admin-sidebar {
    background: var(--footer-dark);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}
.admin-brand {
    padding: 20px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-brand h3 { font-size: 18px; margin: 0; font-weight: 600; }
.admin-nav { list-style: none; padding: 0; margin: 0; }
.admin-nav li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}
.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left: 3px solid var(--accent);
}
.admin-nav i { font-size: 18px; }
.admin-main {
    margin-left: 220px;
    padding: 20px;
    min-height: 100vh;
}
.admin-header {
    background: #fff;
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.admin-header h2 { font-size: 20px; margin: 0; }
.admin-content { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.admin-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); }
.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.admin-stat-icon.blue { background: var(--primary); }
.admin-stat-icon.green { background: #27ae60; }
.admin-stat-icon.orange { background: #f39c12; }
.admin-stat-icon.red { background: var(--accent); }
.admin-stat-info h3 { font-size: 24px; margin: 0; font-weight: 700; }
.admin-stat-info p { font-size: 13px; color: var(--text-muted); margin: 0; }
.admin-table { width: 100%; }
.admin-table th { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.admin-table td { font-size: 14px; vertical-align: middle; }
.admin-table .action-btns { white-space: nowrap; }
.admin-table .action-btns a,
.admin-table .action-btns button {
    font-size: 13px;
    padding: 2px 8px;
}
.admin-form .form-label { font-weight: 500; }
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.admin-login-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}
.admin-login-card h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 700;
}

/* ===== Mobile Contact Bar ===== */
.floating-contact-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.floating-contact-mobile a {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    border-right: 1px solid #eee;
}
.floating-contact-mobile a:last-child { border-right: none; }
.floating-contact-mobile i { font-size: 20px; display: block; margin-bottom: 2px; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 10px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        margin-top: 10px;
        max-height: 500px;
        overflow-y: auto;
    }
    .mega-dropdown { position: relative !important; }
    .mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .mega-dropdown.expanded .mega-menu {
        max-height: 600px;
    }
    .mega-menu-inner {
        padding: 8px 0 8px 16px;
    }
    .mega-menu-header {
        display: none;
    }
    .mega-menu-body {
        grid-template-columns: 1fr;
    }
    .mega-arrow { display: inline; }
    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        font-size: 16px;
    }
    .navbar-nav .nav-link::after { display: none; }
    .banner-img { height: 320px; }
    .banner-title { font-size: 30px; }
    .banner-subtitle { font-size: 16px; }
    .section-title h2 { font-size: 24px; }
    .stat-number { font-size: 36px; }
    .floating-contact { display: none; }
    .admin-sidebar { width: 60px; }
    .admin-brand h3 { display: none; }
    .admin-nav a span { display: none; }
    .admin-main { margin-left: 60px; }
    .news-card-img { width: 120px; min-width: 120px; height: 90px; }
    .about-img-sub { display: none; }
    .advantage-card { padding: 16px 12px; }
    .advantage-card h3 { font-size: 16px; }
    .advantage-card p { font-size: 14px; }
}

@media (max-width: 767px) {
    .top-bar-keywords { display: none !important; }
    .header-main { padding: 8px 0; }
    .navbar-brand img { height: 34px; }
    .brand-main { font-size: 20px; }
    .banner-img { height: 240px; }
    .banner-title { font-size: 22px; }
    .banner-subtitle { font-size: 13px; }
    .btn-banner { padding: 8px 20px; font-size: 14px; }
    .section-title h2 { font-size: 20px; }
    .section-en { font-size: 12px; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 13px; }
    .product-name { font-size: 14px; min-height: 40px; }
    .news-card {
        flex-direction: column !important;
    }
    .news-card-img {
        width: 100%;
        height: 160px;
    }
    .page-banner h1 { font-size: 22px; }
    .page-banner { height: 120px; }
    .footer-main { padding: 24px 0 16px; }
    .content-page { padding: 16px; }
    .product-detail { padding: 16px; }
    .news-detail { padding: 16px; }
    .admin-main { padding: 12px; }
    .admin-content { padding: 12px; }

    .advantage-card { padding: 12px 8px; }
    .advantage-card h3 { font-size: 14px; }
    .advantage-card p { font-size: 12px; }
    .solution-card { padding: 0; }
    .solution-title { font-size: 14px; }
    .solution-summary { font-size: 12px; }

    .news-tabs .nav-link { font-size: 13px; padding: 6px 12px; }
    .news-featured-info h3 { font-size: 15px; }
    .news-featured-info p { font-size: 12px; }
    .news-list-info h4 { font-size: 14px; }

    .about-text { font-size: 13px; line-height: 1.7; }
    .footer-title { font-size: 14px; margin-bottom: 12px; }
    .footer-contact li { font-size: 12px; margin-bottom: 6px; }
    .footer-links li { margin-bottom: 5px; }
    .footer-links li a { font-size: 12px; }
    .footer-about { font-size: 12px; line-height: 1.7; }
    .footer-qr { gap: 12px; margin-top: 14px; }
    .qr-img { width: 55px; height: 55px; font-size: 22px; }
    .footer-main .row > div { margin-bottom: 20px; }
}

@media (max-width: 575px) {
    .banner-img { height: 180px; }
    .banner-title { font-size: 17px; margin-bottom: 6px; }
    .banner-subtitle { font-size: 11px; margin-bottom: 10px; }
    .banner-content { padding: 0 12px; }
    .notice-label { font-size: 12px; padding: 3px 8px; }
    .notice-scroll .notice-item { font-size: 12px; }
    .product-tabs .nav-link { font-size: 12px; padding: 4px 10px !important; }
    .product-tabs .nav-item { margin-bottom: 4px; }
    .col-6 { padding-left: 6px; padding-right: 6px; }
    .product-info { padding: 8px; }
    .product-name { font-size: 13px; }
    .product-summary { font-size: 12px; }
    .product-img { height: 130px; }
    .error-code { font-size: 60px; }

    .stat-number { font-size: 24px; }
    .stat-label { font-size: 11px; }
    .stat-item { padding: 8px 4px; }

    .advantage-card { padding: 10px 6px; }
    .advantage-icon { width: 40px; height: 40px; font-size: 20px; }
    .advantage-card h3 { font-size: 13px; }
    .advantage-card p { font-size: 11px; line-height: 1.5; }

    .solution-icon { width: 36px; height: 36px; font-size: 18px; }
    .solution-title { font-size: 13px; }
    .solution-summary { display: none; }

    .news-date-box { padding: 6px; min-width: 50px; }
    .news-day { font-size: 16px; }
    .news-month { font-size: 10px; }
    .news-list-info h4 { font-size: 13px; }

    .about-text { font-size: 12px; }
    .about-image { height: 180px; }

    .footer-bottom .col-md-8, .footer-bottom .col-md-4 { text-align: center !important; }
    .footer-mini-nav { justify-content: center; gap: 8px; }

    /* 移动端底部优化 */
    .footer-main .row > div { margin-bottom: 16px; }
    .footer-main .row > div:last-child { margin-bottom: 0; }
    .footer-title { font-size: 13px; margin-bottom: 10px; padding-bottom: 6px; }
    .footer-contact li { font-size: 11px; margin-bottom: 6px; }
    .footer-links li { margin-bottom: 4px; }
    .footer-links li a { font-size: 11px; }
    .footer-about { font-size: 11px; line-height: 1.6; }
    .footer-qr { gap: 10px; margin-top: 12px; }
    .qr-img { width: 45px; height: 45px; }
    .qr-img img { width: 45px !important; height: 45px !important; }
    .qr-item span { font-size: 10px; }
    .footer-main { padding: 20px 0 10px; }
    .site-footer .col-lg-3.col-md-6:last-child { display: none; }

    .content-page-title { font-size: 18px; }
    .content-page-body { font-size: 13px; line-height: 1.8; }
    .content-page-body h3 { font-size: 15px; }

    .contact-form-card { padding: 16px; }

    .floating-contact-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        display: flex;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .floating-contact-mobile a {
        flex: 1;
        text-align: center;
        padding: 10px 4px;
        font-size: 11px;
        color: var(--primary);
        text-decoration: none;
        border-right: 1px solid #eee;
    }
    .floating-contact-mobile a:last-child { border-right: none; }
    .floating-contact-mobile i { font-size: 18px; display: block; margin-bottom: 2px; }

    body { padding-bottom: 56px; }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease forwards; }

/* ===== Utility ===== */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-accent { background: var(--accent) !important; }
.shadow-custom { box-shadow: var(--shadow-sm); }
.rounded-custom { border-radius: var(--radius); }

/* ===== Enhanced Banner ===== */
.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,62,111,0.7) 0%, rgba(0,62,111,0.3) 50%, rgba(0,62,111,0.1) 100%);
    z-index: 1;
}
.banner-line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 20px;
    border-radius: 2px;
}
.banner-decoration {
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    overflow: hidden;
    z-index: 1;
}
.banner-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
}
.banner-circle-1 {
    width: 400px; height: 400px;
    top: -100px; right: -100px;
    border-color: rgba(225,106,9,0.15);
}
.banner-circle-2 {
    width: 300px; height: 300px;
    top: 50px; right: 50px;
    border-color: rgba(255,255,255,0.08);
}
.banner-circle-3 {
    width: 200px; height: 200px;
    top: 150px; right: 150px;
    border-color: rgba(225,106,9,0.1);
}
.banner-section .carousel-item { transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out; }
.banner-section .carousel-control-prev-icon, .banner-section .carousel-control-next-icon {
    width: 3rem; height: 3rem;
    background-size: 60% 60%;
}
.banner-section .carousel-indicators { bottom: 30px; }
.banner-section .carousel-indicators button {
    width: 40px; height: 4px;
    border-radius: 2px;
    border: none;
    opacity: 0.5;
    transition: all 0.3s;
}
.banner-section .carousel-indicators button.active {
    opacity: 1; background: var(--accent);
    width: 60px;
}
/* ===== Video Cards ===== */
.video-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}
.video-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d1f33 100%);
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.video-card:hover .video-thumbnail img { transform: scale(1.06); }
.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d1f33 100%);
}
.video-placeholder i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.3);
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    transition: var(--transition);
    z-index: 2;
}
.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    color: var(--accent);
}
.video-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,62,111,0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.video-info { padding: 14px 16px; }
.video-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.video-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Rich Text Editor (wangEditor v5) ===== */
.wang-editor-wrapper { margin-bottom: 12px; }
.wang-editor-wrapper .w-e-toolbar {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-bottom: 1px solid #dee2e6 !important;
    border-radius: 6px 6px 0 0;
    flex-wrap: wrap;
}
.wang-editor-wrapper .w-e-bar-item button {
    border-radius: 4px;
    padding: 4px 8px;
}
.wang-editor-wrapper .w-e-bar-item button:hover {
    background: #e9ecef;
}
.wang-editor-wrapper .w-e-text-container {
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px;
    min-height: 300px;
    background: #fff;
}
.wang-editor-wrapper .w-e-text-placeholder {
    font-style: normal;
    color: #adb5bd;
    top: 10px;
    left: 15px;
}
.wang-editor-wrapper .w-e-text-container [data-slate-editor] {
    min-height: 280px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.8;
}
.wang-editor-wrapper .w-e-text-container h1 { font-size: 2em; font-weight: 700; margin: 0.67em 0; }
.wang-editor-wrapper .w-e-text-container h2 { font-size: 1.5em; font-weight: 600; margin: 0.83em 0; }
.wang-editor-wrapper .w-e-text-container h3 { font-size: 1.17em; font-weight: 600; margin: 1em 0; }
.wang-editor-wrapper .w-e-text-container h4 { font-size: 1em; font-weight: 600; margin: 1.33em 0; }
.wang-editor-wrapper .w-e-text-container p { margin-bottom: 10px; }
.wang-editor-wrapper .w-e-text-container ul,
.wang-editor-wrapper .w-e-text-container ol { padding-left: 24px; margin-bottom: 10px; }
.wang-editor-wrapper .w-e-text-container li { margin-bottom: 4px; }
.wang-editor-wrapper .w-e-text-container a { color: #0a6fb8; text-decoration: underline; }
.wang-editor-wrapper .w-e-text-container img { max-width: 100%; border-radius: 4px; margin: 8px 0; }
.wang-editor-wrapper .w-e-text-container blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 16px;
    margin: 10px 0;
    color: #6c757d;
    font-style: italic;
}
.wang-editor-wrapper .w-e-text-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
.wang-editor-wrapper .w-e-text-container table td,
.wang-editor-wrapper .w-e-text-container table th {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}
.wang-editor-wrapper .w-e-text-container pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px;
    overflow-x: auto;
}
.wang-editor-wrapper .w-e-text-container code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ===== View Count Display ===== */
.view-count {
    display: inline-block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.view-count i {
    font-size: 11px;
    margin-right: 2px;
}
.detail-meta {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.detail-meta .badge {
    font-weight: 400;
    padding: 5px 10px;
    font-size: 12px;
}.search-result-item { padding: 16px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; transition: box-shadow 0.2s; }
.search-result-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.search-result-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 12px; flex-shrink: 0; }
.search-result-item h5 a { color: var(--primary); text-decoration: none; }
.search-result-item h5 a:hover { color: var(--accent); }
.form-search:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(0,62,111,0.15); }

/* ==================== Section Divider ==================== */
.section-divider { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px 0; background: linear-gradient(to bottom, #fff, #f8f9fa); }
.section-divider-line { height: 1px; background: linear-gradient(to right, transparent, #ddd, transparent); flex: 1; max-width: 200px; }
.section-divider-icon { color: var(--primary); font-size: 1.2rem; opacity: 0.4; }

/* ==================== Tech Q&A Section ==================== */
.section-techqa { background: #fff; }
.techqa-carousel-wrapper { position: relative; overflow: hidden; }
.techqa-carousel { display: flex; transition: transform 0.5s ease; gap: 16px; padding: 8px 0; }
.techqa-card { flex: 0 0 calc(33.333% - 11px); max-width: calc(33.333% - 11px); background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; position: relative; transition: box-shadow 0.3s ease, transform 0.3s ease; display: flex; flex-direction: column; min-height: 280px; }
.techqa-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.techqa-card-header { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px 8px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; }
.techqa-badge-q { flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.25); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.techqa-question { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.5; }
.techqa-card-body { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; flex: 1; }
.techqa-badge-a { flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px; background: rgba(225,106,9,0.15); color: var(--accent); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.techqa-answer { font-size: 13px; color: #555; line-height: 1.7; flex: 1; max-height: 120px; overflow: hidden; position: relative; }
.techqa-answer::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.techqa-answer p { margin-bottom: 6px; }
.techqa-answer ul, .techqa-answer ol { padding-left: 16px; margin-bottom: 6px; }
.techqa-answer li { margin-bottom: 3px; }
.techqa-category { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.2); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; z-index: 1; }

.techqa-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.techqa-prev, .techqa-next { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); background: #fff; color: var(--primary); font-size: 16px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.techqa-prev:hover, .techqa-next:hover { background: var(--primary); color: #fff; }
.techqa-dots { display: flex; gap: 8px; }
.techqa-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #ccc; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.techqa-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

@media (max-width: 991px) {
    .techqa-card { flex: 0 0 calc(50% - 8px) !important; max-width: calc(50% - 8px) !important; }
}
@media (max-width: 767px) {
    .techqa-card { flex: 0 0 100% !important; max-width: 100% !important; }
    .techqa-question { font-size: 14px; }
    .techqa-answer { font-size: 12px; }
}

/* ===== Trial Apply Modal ===== */
.modal-trial { max-width: 580px; }
.modal-trial-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}
.modal-trial-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 20px 24px;
    border-bottom: none;
}
.modal-trial-header .modal-title {
    font-size: 20px;
    font-weight: 700;
}
.modal-trial-header .modal-title i { margin-right: 8px; }
.modal-trial-content .modal-body { padding: 24px; }

.trial-form-intro {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #2c5f8a;
}
.trial-form-intro i { color: var(--primary); margin-right: 6px; }

.trial-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.trial-input-group {
    border-radius: 8px;
    overflow: hidden;
}
.trial-input-group .input-group-text {
    background: #f5f7fa;
    border: 1.5px solid #e0e4ea;
    border-right: none;
    color: var(--primary);
}
.trial-input {
    border: 1.5px solid #e0e4ea !important;
    border-left: none !important;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.trial-input:focus {
    border-color: var(--primary) !important;
    border-left-color: var(--primary) !important;
    box-shadow: none;
}
.trial-input-group:focus-within .input-group-text {
    border-color: var(--primary);
}
textarea.trial-input {
    border: 1.5px solid #e0e4ea !important;
    border-radius: 8px;
    resize: vertical;
}
textarea.trial-input:focus {
    border-color: var(--primary) !important;
}

.trial-tip {
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 0;
}
.trial-tip i { color: #28a745; margin-right: 4px; }

.btn-trial-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(225,106,9,0.3);
}
.btn-trial-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225,106,9,0.4);
}
.btn-trial-submit:disabled { opacity: 0.7; }
.btn-trial-submit i { margin-right: 8px; }

.trial-result {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.trial-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.trial-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.trial-result i { margin-right: 6px; }

@media (max-width: 767px) {
    .top-bar { padding: 6px 0; font-size: 12px; }
    .top-bar-slogan { margin-right: 8px; font-size: 12px; }
    .top-bar-phone { font-size: 14px; }
    .btn-trial-apply { padding: 3px 10px; font-size: 12px; }
    .brand-logo-img { height: 34px; }
    .modal-trial-content .modal-body { padding: 16px; }
    .modal-trial-header { padding: 16px 18px; }
    .modal-trial-header .modal-title { font-size: 17px; }
    .btn-trial-submit { padding: 10px 28px; font-size: 14px; }
    .trial-form-intro { font-size: 12px; padding: 8px 10px; margin-bottom: 14px; }
}
