/* ============================================================
   锦佳动力 - 主样式表
   基于华全动力风格，现代化改进
   ============================================================ */

/* ==================== 1. CSS Reset ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

ul, ol, li { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; border: none; display: block; }
button, input, select, textarea { font: inherit; border: none; outline: none; }
table { border-collapse: collapse; border-spacing: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1a5276; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #12405e; }

::selection { background: var(--brand-red); color: #fff; }
::-moz-selection { background: var(--brand-red); color: #fff; }

/* ==================== 2. CSS 变量系统 ==================== */
:root {
    --brand-red: #1a5276;
    --brand-red-dark: #12405e;
    --brand-blue: #2471a3;
    --brand-dark: #1c2833;
    --brand-gold: #d4a017;
    --brand-accent: #d4a017;
    --brand-gray: #eaecee;
    --brand-text: #2c3e50;
    --brand-light: #fdfefe;
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-light: #808b96;
    --bg-light: #eaecee;
    --bg-white: #fdfefe;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ==================== 3. 通用组件 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-primary);
    display: inline-block;
    padding-bottom: 16px;
    position: relative;
    letter-spacing: 2px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 2px;
}

.section-title p {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 12px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--brand-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 82, 118, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: #fff;
    color: var(--brand-red);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-red {
    display: inline-block;
    padding: 10px 28px;
    background: transparent;
    color: var(--brand-red);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--brand-red);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-red:hover {
    background: var(--brand-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.25);
}

/* ==================== 4. 顶部信息条 ==================== */
.top-bar {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-red);
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-red);
    flex-shrink: 0;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
}

.top-bar a:hover {
    color: var(--brand-red);
}

.top-bar .phone-number {
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

/* ==================== 5. 导航栏 ==================== */
.navbar {
    height: 70px;
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: none;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-brand .brand-cn {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 2px;
}

.navbar-brand .brand-en {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-brand img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-links > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: width 0.3s ease;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
    color: var(--brand-red);
}

.nav-links > li > a:hover::after,
.nav-links > li.active > a::after {
    width: calc(100% - 40px);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-white);
}

.nav-links > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    color: var(--brand-red);
    background: var(--bg-light);
    padding-left: 24px;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== 6. Banner 轮播 ==================== */
.hero-slider {
    width: 100%;
    height: 560px;
    position: relative;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
}

.hero-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.hero-slider .slide-content h2 {
    font-size: 48px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 4px;
}

.hero-slider .slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-slider .slide-content .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 圆点导航 */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.8);
}

.slider-dots .dot.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: scale(1.2);
}

/* 箭头按钮 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: #fff;
    font-size: 20px;
}

.slider-arrow:hover {
    background: var(--brand-red);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ==================== 7. 产品快捷导航 ==================== */
.quick-nav {
    padding: 50px 0;
    background: var(--bg-white);
}

.quick-nav .container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.quick-nav-item {
    text-align: center;
    padding: 28px 12px;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
}

.quick-nav-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    background: var(--bg-white);
}

.quick-nav-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quick-nav-item:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26, 82, 118, 0.3);
}

.quick-nav-item .icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.quick-nav-item .icon img {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.quick-nav-item h4 {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ==================== 8. 公司简介 ==================== */
.company-intro {
    background: var(--bg-light);
    padding: 70px 0;
}

.company-intro .intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.company-intro .intro-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    text-indent: 2em;
    text-align: left;
    margin-bottom: 16px;
}

.company-intro .intro-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.company-intro .stat-item {
    text-align: center;
}

.company-intro .stat-item .num {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1.2;
}

.company-intro .stat-item .num span {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.company-intro .stat-item .label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ==================== 9. 品牌中心 ==================== */
.brand-center {
    padding: 70px 0;
    background: var(--bg-white);
}

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

.brand-card {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--brand-red);
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* 不同品牌颜色 */
.brand-card.weichai { border-left-color: #1a5276; }
.brand-card.cummins { border-left-color: #1a5276; }
.brand-card.volvo { border-left-color: var(--brand-blue); }
.brand-card.perkins { border-left-color: #2e7d32; }
.brand-card.yuchai { border-left-color: #e65100; }
.brand-card.doosan { border-left-color: #1565c0; }
.brand-card.shangchai { border-left-color: #4a148c; }
.brand-card.mtu { border-left-color: #37474f; }
.brand-card.kubota { border-left-color: #bf360c; }

.brand-card .brand-img {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-card .brand-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.brand-card:hover .brand-img img {
    transform: scale(1.05);
}

.brand-card .brand-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-card .brand-info h4 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.brand-card .brand-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-card .brand-info .detail-link {
    font-size: 13px;
    color: var(--brand-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.brand-card .brand-info .detail-link:hover {
    gap: 8px;
}

/* ==================== 10. 产品分类 ==================== */
.product-types {
    padding: 70px 0;
    background: var(--bg-light);
}

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

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card .card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card .card-img .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--brand-red);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-body h4 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-card .card-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-card .card-body .power-range {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 95, 180, 0.1);
    color: var(--brand-blue);
    font-size: 13px;
    border-radius: 4px;
    font-weight: 600;
}

/* ==================== 11. 行业方案 ==================== */
.solutions {
    padding: 70px 0;
    background: var(--bg-white);
}

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

.solution-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #d5d8dc;
}

.solution-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.solution-card:hover::before {
    transform: scaleY(1);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.solution-card .card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.solution-card .card-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.solution-card h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.solution-card .power-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(26, 95, 180, 0.1);
    color: var(--brand-blue);
    font-size: 13px;
    border-radius: 20px;
    font-weight: 600;
}

/* ==================== 12. 为什么选择 ==================== */
.why-choose {
    padding: 70px 0;
    background: var(--bg-light);
}

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

.why-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.why-card .num {
    font-size: 56px;
    font-weight: 800;
    color: rgba(26, 82, 118, 0.08);
    position: absolute;
    top: 10px;
    right: 18px;
    line-height: 1;
    user-select: none;
}

.why-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.1), rgba(26, 82, 118, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card .icon svg {
    width: 26px;
    height: 26px;
    fill: var(--brand-red);
}

.why-card h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== 13. 服务流程 ==================== */
.service-flow {
    padding: 70px 0;
    background: var(--bg-white);
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 0 0 auto;
    width: 120px;
}

.flow-step .step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.flow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26, 82, 118, 0.35);
}

.flow-step .step-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.flow-step .step-arrow {
    position: absolute;
    top: 32px;
    right: -22px;
    color: #ddd;
    font-size: 18px;
    z-index: 1;
}

.flow-step:last-child .step-arrow {
    display: none;
}

.flow-step h5 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.flow-step p {
    font-size: 12px;
    color: var(--text-light);
}

/* ==================== 14. 资质荣誉 ==================== */
.certifications {
    padding: 70px 0;
    background: var(--bg-light);
}

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

.cert-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.cert-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.cert-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 16px;
    background: #fafafa;
}

.cert-card .cert-info {
    padding: 16px 20px;
    text-align: center;
}

.cert-card .cert-info h5 {
    font-size: 15px;
    color: var(--text-primary);
}

/* ==================== 15. CTA 区域 ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #16213e 50%, var(--brand-red-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 82, 118, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.cta-text h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

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

.cta-buttons .btn-cta-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--brand-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
    transition: var(--transition);
    letter-spacing: 1px;
}

.cta-buttons .btn-cta-primary:hover {
    background: #e01538;
    box-shadow: 0 4px 20px rgba(26, 82, 118, 0.4);
    transform: translateY(-2px);
}

.cta-buttons .btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta-buttons .btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ==================== 16. 页脚 ==================== */
.footer {
    background: #111;
    color: #ccc;
    padding-top: 60px;
}

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

.footer-brand .footer-logo-cn {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-brand .footer-logo-en {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: #808b96;
    margin-bottom: 16px;
}

.footer-brand .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.footer-brand .footer-contact-item svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-red);
    flex-shrink: 0;
}

.footer-brand .footer-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-red);
}

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

.footer-col ul li a {
    font-size: 14px;
    color: #808b96;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-red);
    padding-left: 4px;
}

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

.footer-qr .qr-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-qr .qr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-qr p {
    font-size: 13px;
    color: #808b96;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.footer-bottom a {
    color: #888;
}

.footer-bottom a:hover {
    color: var(--brand-red);
}

/* ==================== 17. 手机底部悬浮栏 ==================== */
.mobile-float-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: rgba(28, 40, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.mobile-float-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    flex: 1;
}

.mobile-float-bar a svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

.mobile-float-bar a:first-child {
    background: var(--brand-red);
    margin-right: 8px;
    border-radius: 28px;
}

.mobile-float-bar a:last-child {
    background: var(--brand-red);
    margin-left: 8px;
    border-radius: 28px;
}

/* ==================== 18. 右侧悬浮工具 ==================== */
.side-tools {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-tools a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    padding: 10px 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    transition: var(--transition);
    text-align: center;
    gap: 4px;
}

.side-tools a:first-child { border-radius: 8px 0 0 0; }
.side-tools a:last-child { border-radius: 0 0 0 8px; }

.side-tools a svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.side-tools a:hover {
    background: var(--brand-red);
    color: #fff;
}

.side-tools .phone-popup {
    display: none;
    position: absolute;
    right: 60px;
    top: 0;
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    text-align: left;
}

.side-tools .phone-popup .phone-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-red);
}

.side-tools .phone-popup .phone-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ==================== 19. 子页面通用样式 ==================== */

/* 子页面顶部横幅 */
.page-banner {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 40, 51, 0.85), rgba(26, 82, 118, 0.6));
}

.page-banner h1 {
    position: relative;
    z-index: 1;
    font-size: 32px;
    color: #fff;
    letter-spacing: 3px;
    text-align: center;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid #d5d8dc;
}

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

.breadcrumb a:hover {
    color: var(--brand-red);
}

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* 内容区（左侧内容+右侧边栏） */
.content-section {
    padding: 40px 0;
}

.content-section .container {
    gap: 30px;
}

.content-section .content-main {
    flex: 1;
    min-width: 0;
}

.content-section .content-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* 产品卡片（列表页用） */
.product-list-card {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid #d5d8dc;
}

.product-list-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(26, 82, 118, 0.2);
}

.product-list-card .card-img {
    width: 280px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.product-list-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-list-card:hover .card-img img {
    transform: scale(1.05);
}

.product-list-card .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list-card .card-body h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.product-list-card .card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 参数表格 */
.param-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.param-table thead th {
    background: var(--brand-dark);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.param-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #d5d8dc;
    color: var(--text-secondary);
}

.param-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.param-table tbody tr:hover {
    background: rgba(26, 82, 118, 0.04);
}

/* 侧边栏小部件 */
.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.sidebar-widget .widget-title {
    font-size: 16px;
    color: var(--text-primary);
    padding: 16px 20px;
    border-bottom: 2px solid var(--brand-red);
    font-weight: 700;
}

.sidebar-widget ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid #eaecee;
    transition: var(--transition);
}

.sidebar-widget ul li a:hover,
.sidebar-widget ul li a.active {
    color: var(--brand-red);
    background: var(--bg-light);
    padding-left: 24px;
}

.sidebar-widget .contact-box {
    padding: 20px;
    text-align: center;
}

.sidebar-widget .contact-box .phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.sidebar-widget .contact-box p {
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== 20. 动画效果 ==================== */

/* 导航栏滚动阴影 */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* 卡片浮动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 脉冲动画（用于CTA按钮） */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 82, 118, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(26, 82, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 82, 118, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ==================== 21. 响应式断点 ==================== */

/* 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero-slider { height: 420px; }
    .hero-slider .slide-content h2 { font-size: 36px; }

    .quick-nav .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links > li > a {
        padding: 0 12px;
        font-size: 14px;
    }

    .flow-step {
        width: 100px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
    .section-title { margin-bottom: 30px; }

    /* 汉堡菜单显示 */
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        overflow-y: auto;
        align-items: stretch;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        height: auto;
    }

    .nav-links > li > a {
        padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links > li > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: var(--bg-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links > li.open .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu::before { display: none; }

    /* Banner */
    .hero-slider { height: 320px; }
    .hero-slider .slide-content h2 { font-size: 26px; letter-spacing: 2px; }
    .hero-slider .slide-content p { font-size: 15px; margin-bottom: 20px; }

    /* Grid 1列 */
    .quick-nav .container { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .brand-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }

    .brand-card .brand-img { width: 140px; }

    /* CTA */
    .cta-section .container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .cta-text h3 { font-size: 22px; }

    /* 服务流程换行 */
    .flow-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .flow-step { width: 90px; }
    .flow-step .step-arrow { display: none; }

    /* 手机底部悬浮栏 */
    .mobile-float-bar { display: flex; }
    body { padding-bottom: 56px; }

    /* 隐藏侧边工具 */
    .side-tools { display: none; }

    /* 子页面内容区 */
    .content-section .container {
        flex-direction: column;
    }
    .content-section .content-sidebar {
        width: 100%;
    }

    /* 产品列表卡片 */
    .product-list-card {
        flex-direction: column;
    }
    .product-list-card .card-img {
        width: 100%;
        height: 200px;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .page-banner { height: 140px; }
    .page-banner h1 { font-size: 24px; }

    .company-intro .intro-stats { gap: 30px; }
    .company-intro .stat-item .num { font-size: 32px; }
}

/* 480px */
@media (max-width: 480px) {
    .section { padding: 30px 0; }
    .section-title h2 { font-size: 20px; }
    .container { padding: 0 12px; }

    .hero-slider { height: 260px; }
    .hero-slider .slide-content h2 { font-size: 22px; }
    .hero-slider .slide-content p { font-size: 14px; }
    .hero-slider .slide-content .btn-group { flex-direction: column; align-items: center; }

    .quick-nav .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .quick-nav-item { padding: 18px 8px; }
    .quick-nav-item .icon { width: 48px; height: 48px; }
    .quick-nav-item h4 { font-size: 13px; }

    .btn-primary, .btn-outline { padding: 10px 24px; font-size: 14px; }

    .brand-card { flex-direction: column; }
    .brand-card .brand-img { width: 100%; height: 160px; }

    .flow-step { width: 80px; }
    .flow-step .step-icon { width: 50px; height: 50px; }
    .flow-step .step-icon svg { width: 22px; height: 22px; }

    .footer-brand .footer-phone { font-size: 18px; }
    .cta-text h3 { font-size: 20px; }
    .cta-buttons { flex-direction: column; }
}

/* ==================== 22. 工具类 ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }


/* === FIX: Restore Bootstrap grid - container must be block-level === */
.content-section .container,
section > .container,
.container {
    display: block !important;
}
.navbar .container {
    display: flex !important;
    align-items: center;
}

/* ========== 统一导航栏样式 ========== */
.navbar-default {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 0;
  padding: 0;
}
.navbar-default .navbar-brand { color: #fff; font-weight: 700; font-size: 20px; padding: 15px 20px; }
.navbar-default .navbar-brand:hover { color: #ffd54f; }
.navbar-default .navbar-nav > li > a {
  color: #e8eaf6; font-size: 14px; padding: 18px 15px;
  transition: all 0.3s; font-weight: 500;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #fff; background: rgba(255,255,255,0.1);
}
.navbar-default .navbar-nav > li.active > a {
  color: #ffd54f; background: rgba(255,255,255,0.08);
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background: rgba(255,255,255,0.12); color: #fff;
}
.navbar-default .navbar-toggle { border-color: rgba(255,255,255,0.3); margin-top: 13px; }
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
.navbar-default .navbar-toggle:hover { background: rgba(255,255,255,0.1); }
.navbar-default .navbar-collapse { border-color: rgba(255,255,255,0.1); }
.navbar-right { padding: 10px 15px; }
.navbar-phone { color: #ffd54f; font-size: 16px; font-weight: 700; margin: 0; white-space: nowrap; }
.navbar-phone i { margin-right: 6px; }
.nav-cta-link { color: #ffd54f !important; font-weight: 700 !important; border: 1px solid #ffd54f; border-radius: 4px; padding: 8px 16px !important; margin: 10px 5px; }
.nav-cta-link:hover { background: #ffd54f !important; color: #1a237e !important; }

/* Mega Menu */
.mega-menu {
  min-width: 600px; padding: 15px 20px; background: #fff;
  border: 1px solid #e0e0e0; border-top: 3px solid #1a73e8;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); border-radius: 0 0 8px 8px;
}
.mega-menu-header { font-size: 13px; font-weight: 700; color: #1a237e; padding: 5px 0 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.mega-menu-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.mega-menu-grid .mega-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 8px; text-decoration: none; color: #333;
  transition: all 0.2s; flex: 0 0 calc(33.333% - 8px); min-width: 160px;
}
.mega-menu-grid .mega-item:hover { background: #f0f4ff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.mega-menu-grid .mega-item img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.mega-menu-grid .mega-item span { font-size: 14px; font-weight: 500; }
.mega-menu-footer { padding-top: 10px; margin-top: 10px; border-top: 1px solid #eee; }
.mega-menu-footer a { color: #1a73e8; font-weight: 600; text-decoration: none; font-size: 14px; }
.mega-menu-footer a:hover { text-decoration: underline; }
.navbar-default .navbar-nav .dropdown-menu > li > a {
  color: #333; padding: 8px 20px; font-size: 14px; transition: all 0.2s;
}
.navbar-default .navbar-nav .dropdown-menu > li > a:hover {
  background: #f0f4ff; color: #1a73e8;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav { margin: 0; }
  .navbar-default .navbar-nav > li > a { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .navbar-default .navbar-nav > li > a:hover { color: #ffd54f; background: rgba(255,255,255,0.05); }
  .mega-menu { min-width: auto; box-shadow: none; border: none; padding: 5px 15px; }
  .mega-menu-grid { flex-direction: column; }
  .mega-menu-grid .mega-item { flex: 1 1 100%; min-width: auto; }
  .navbar-right { padding: 10px 15px; text-align: left; }
}
