/*
Theme Name: Fengcai V1
Theme URI: https://www.fengcai.com/
Author: Fengcai Team
Description: 工业喷码机官网WordPress主题 — 电商风格文章详情页、全宽头部贴边、多栏目下拉导航、产品/行业/方案/视频中心完整模板体系
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: fengcai-v1
Tags: industrial, responsive, ecommerce, product-detail, cij, tij, laser, coding, marking, dropdown-menu
*/

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none; 
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

a {
    color: #0077be;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #005a8e;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: #0077be;
    color: #fff;
}

.btn-primary:hover {
    background: #005a8e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,119,190,0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #0077be;
}

.btn-outline-dark {
    background: #f5f8fc;
    color: #0b1f3a;
    border: 1px solid #dce2e9;
}

.btn-outline-dark:hover {
    background: #e8eef5;
    color: #0b1f3a;
    border-color: #b8c4d0;
}

.section-padding {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: #0b1f3a;
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
    width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

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

.top-bar-left i {
    color: #00a3ff;
    font-size: 14px;
}

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

.lang-switcher {
    position: relative;
}

.lang-switcher > a {
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border: 1px solid #2a4060;
    border-radius: 3px;
    font-size: 12px;
}

.lang-switcher > a:hover {
    color: #fff;
    border-color: #00a3ff;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 8px 14px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.lang-dropdown a:hover {
    background: #f5f8fc;
    color: #0077be;
}

/* ============================================
   HEADER / NAVIGATION (V2.1 — Full Dropdown)
   ============================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 666;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0b1f3a;
    letter-spacing: -0.5px;
    line-height: 1;
}

.site-logo .logo-sub {
    font-size: 10px;
    color: #0077be;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: block;
    margin-top: 2px;
}

/* ===== Main Nav ===== */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    align-items: center;
}

/* 一级菜单项 */
.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 24px 14px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a {
    color: #0077be;
}

/* 下拉箭头 */
.submenu-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    color: inherit;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.main-nav > ul > li:hover > a .submenu-arrow,
.main-nav > ul > li:focus-within > a .submenu-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.submenu-arrow-right {
    margin-left: auto;
    transform: rotate(0deg) !important;
}

/* ===== 二级下拉菜单 (Mega Sub Menu) ===== */
.main-nav .sub-menu {
    /* 默认隐藏 */
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.13);
    border-radius: 0 0 8px 8px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    z-index: 100;
    border-top: 3px solid #0077be;

    /* 动画：从上方淡入+下移 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* 显示下拉 */
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 二级菜单项 */
.main-nav .sub-menu li {
    position: relative;
}

.main-nav .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    color: #444;
    font-size: 13.5px;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid #f5f7fa;
    transition: all 0.2s ease;
    position: relative;
}

.main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

.main-nav .sub-menu li a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #c0cdd9;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav .sub-menu li a:hover {
    background: #f0f6fc;
    color: #0077be;
    padding-left: 28px;
}

.main-nav .sub-menu li a:hover::before {
    background: #0077be;
    transform: scale(1.3);
}

/* 菜单项描述文字 */
.submenu-desc {
    display: block;
    font-size: 11.5px;
    color: #8897aa;
    padding: 2px 22px 8px;
    line-height: 1.4;
}

/* ===== 三级下拉菜单 (嵌套) ===== */
.main-nav .sub-sub-menu {
    top: 0;
    left: 100%;
    min-width: 220px;
    border-top: none;
    border-left: 3px solid #0077be;
    border-radius: 0 8px 8px 8px;
    margin-left: 0;
}

/* 三级菜单也支持下拉箭头旋转 */
.main-nav .sub-menu li:hover > a .submenu-arrow-right {
    transform: rotate(90deg) !important;
    opacity: 1;
}

/* ===== 下拉延迟（防止鼠标快速滑过时闪烁） ===== */
.main-nav li:hover > .sub-menu {
    transition-delay: 0s;
}
.main-nav li:not(:hover) > .sub-menu {
    transition-delay: 0.1s;
}

/* ===== Header Language Switcher ===== */
.header-lang-switcher {
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    height: auto;
    display: flex;
    align-items: center;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 58px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dce2e9;
    border-radius: 19px;
    background: #fff;
    color: #0b1f3a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.lang-current:hover,
.header-lang-switcher.active .lang-current {
    border-color: #0077be;
    color: #0077be;
}

.lang-current .lang-caret {
    font-size: 10px;
    color: #8a96a8;
    transition: transform 0.2s ease;
}

.header-lang-switcher.active .lang-current .lang-caret {
    transform: rotate(180deg);
    color: #0077be;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    min-width: 150px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    list-style: none;
    padding: 6px 0;
    z-index: 100;
    /* 高度自适应，语言增多时滚动 */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.lang-menu.active,
.header-lang-switcher:hover .lang-menu {
    display: block;
    animation: fadeInDown 0.25s ease;
}

.lang-menu li a {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
}

.lang-menu li a:hover,
.lang-menu li a.is-active {
    background: #f0f6fc;
    color: #0077be;
}

.lang-menu li a.is-active {
    font-weight: 600;
}

/* ===== 搜索按钮 ===== */
.header-search {
    position: relative;
    margin-left: 10px;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dce2e9;
    border-radius: 50%;
    background: none;
    color: #0b1f3a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-toggle:hover {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    z-index: 100;
    min-width: 300px;
}

.search-dropdown.active {
    display: block;
}

.search-dropdown form {
    display: flex;
    gap: 8px;
}

.search-dropdown input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.search-dropdown input:focus {
    border-color: #0077be;
}

.search-dropdown button {
    padding: 10px 18px;
    background: #0077be;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.search-dropdown button:hover {
    background: #005a8e;
}

/* ===== Mobile Toggle Button ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: #0b1f3a;
    transition: all 0.35s ease;
    border-radius: 2px;
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0b1f3a 0%, #143a6a 50%, #1a4a80 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,163,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.hero h1 {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(15px, 1.8vw, 18px);
    opacity: 0.88;
    max-width: 800px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 55px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #00a3ff;
}

.hero-stat-label {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ============================================
   PRODUCTS MATRIX (Homepage)
   ============================================ */
.products-section {
    padding: 70px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.product-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    background: #fff;
    text-align: left;
}

.product-card:hover {
    border-color: #0077be;
    box-shadow: 0 10px 30px rgba(0,119,190,0.1);
    transform: translateY(-4px);
}

.product-card .pc-icon {
    width: 52px;
    height: 52px;
    background: #eaf4fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: #0077be;
}

.product-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
    margin-bottom: 14px;
}

.product-card .pc-link {
    font-size: 14px;
    color: #0077be;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-card .pc-link:hover {
    text-decoration: underline;
}

/* ============================================
   APPLICATIONS / INDUSTRIES
   ============================================ */
.applications-section {
    padding: 70px 0;
    background: #f5f8fc;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.industry-tag {
    background: #fff;
    border: 1px solid #dce2e9;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.25s ease;
    text-decoration: none;
}

.industry-tag:hover {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
    transform: translateY(-2px);
}

/* Application cards */
.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.app-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.app-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.app-card-img {
    width: 100%;
    height: 200px;
    background: #dde3ec;
    object-fit: cover;
}

.app-card-body {
    padding: 22px;
}

.app-card-body h3 {
    font-size: 18px;
    color: #0b1f3a;
    margin-bottom: 10px;
}

.app-card-body p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    padding: 70px 0;
    background: #fff;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.solution-card {
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: #0077be;
    box-shadow: 0 8px 25px rgba(0,119,190,0.08);
}

.solution-card h3 {
    font-size: 18px;
    color: #0b1f3a;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.55;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a4a80 100%);
    color: #fff;
    padding: 65px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.cta-section p {
    opacity: 0.85;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 28px;
}

/* ============================================
   QUOTE FORM (sidebar / inline)
   ============================================ */
.quote-form-wrapper {
    background: #f5f8fc;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

.quote-form-wrapper h3 {
    font-size: 20px;
    color: #0b1f3a;
    margin-bottom: 20px;
    text-align: center;
}

.quote-form .form-group {
    margin-bottom: 15px;
}

.quote-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #0077be;
    box-shadow: 0 0 0 3px rgba(0,119,190,0.1);
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-form .btn-submit {
    width: 100%;
    background: #0077be;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quote-form .btn-submit:hover {
    background: #005a8e;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0b1f3a;
    color: #aab8c8;
    padding: 55px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #aab8c8;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #00a3ff;
}

.footer-newsletter input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #1a3350;
    background: #143a6a;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
    font-family: inherit;
}

.footer-newsletter input::placeholder {
    color: #6a7d92;
}

.footer-newsletter button {
    width: 100%;
    padding: 10px;
    background: #0077be;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-newsletter button:hover {
    background: #005a8e;
}

.footer-bottom {
    border-top: 1px solid #1a3350;
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    color: #6a7d92;
}

.footer-bottom a {
    color: #6a7d92;
}

.footer-bottom a:hover {
    color: #00a3ff;
}

/* ============================================
   ARCHIVE / BLOG
   ============================================ */
.archive-header {
    width: 100%;
    background: #f5f8fc;
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 1px solid #e8ecf1;
    box-sizing: border-box;
}

.archive-header .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.archive-body-section {
    width: 100%;
    background: #fff;
    padding: 40px 0;
    box-sizing: border-box;
}

.archive-body-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.archive-header h1 {
    font-size: 30px;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.archive-header p {
    color: #5a6879;
    font-size: 15px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    padding: 50px 0;
}

.archive-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.archive-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.archive-card .ac-img {
    width: 100%;
    height: 200px;
    background: #dde3ec;
    object-fit: cover;
}

.archive-card .ac-body {
    padding: 20px;
}

.archive-card .ac-meta {
    font-size: 12px;
    color: #8897aa;
    margin-bottom: 8px;
}

.archive-card h3 {
    font-size: 17px;
    color: #0b1f3a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.archive-card p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
}

.ac-more {
    font-size: 13px;
    color: #0077be;
    font-weight: 500;
    text-decoration: none;
}

.ac-more:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dce2e9;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

/* ============================================
   SINGLE POST (V2.3 — 头部全宽贴边，与首页一致)
   ============================================ */

/* 全宽文章头部 —— 和首页 .hero / .top-bar 一样 width:100% 贴边 */
.single-post-header {
    width: 100%;
    background: #f5f8fc;
    border-bottom: 1px solid #e8ecf1;
    padding: 50px 0 40px;
    text-align: center;
    box-sizing: border-box;
}

/* 内部容器居中（和首页 .hero .container 同机制） */
.single-post-header .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.single-post-header .post-header {
    margin-bottom: 0;
}

.single-post-header .post-meta {
    font-size: 13px;
    color: #8897aa;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.single-post-header .post-meta .post-sep {
    color: #c0cdd9;
}

.single-post-header .post-meta a {
    color: #0077be;
    text-decoration: none;
}

.single-post-header .post-meta a:hover {
    text-decoration: underline;
}

.single-post-header h1 {
    font-size: clamp(24px, 3.5vw, 34px);
    color: #0b1f3a;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

/* 正文区域 —— 白色背景全宽，内部容器居中 */
.single-post-body {
    width: 100%;
    background: #fff;
    padding: 45px 0 0;
    box-sizing: border-box;
}

.single-post-body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 正文容器 */
.single-post {
    max-width: 820px;
    margin: 45px auto;
    padding: 0;
}

.single-post .post-content {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.single-post .post-content p {
    margin-bottom: 18px;
}

.single-post .post-content h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin: 35px 0 15px;
}

.single-post .post-content h3 {
    font-size: 20px;
    color: #0b1f3a;
    margin: 28px 0 12px;
}

.single-post .post-content ul,
.single-post .post-content ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.single-post .post-content li {
    margin-bottom: 8px;
}

/* 文章特色图 */
.post-featured {
    margin: 0 0 30px;
}

.post-featured img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 18px rgba(11,31,58,0.08);
}

/* 相关文章缩略图占位（无图时显示底色） */
.related-thumb {
    background: #eef2f7;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 上一篇/下一篇导航 */
.post-nav {
    display: flex;
    justify-content: space-between;
    margin: 35px 0;
    padding: 22px 0;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
    gap: 20px;
}

.post-nav a {
    color: #0077be;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    max-width: 45%;
    line-height: 1.4;
}

.post-nav a:hover {
    color: #005a8e;
    text-decoration: underline;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

/* 相关文章 */
.related-posts {
    margin: 35px 0 50px;
}

.related-posts h3 {
    font-size: 20px;
    color: #0b1f3a;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.related-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.related-card .related-link {
    text-decoration: none;
    color: inherit;
}

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

.related-body {
    padding: 14px;
}

.related-body h4 {
    font-size: 14px;
    color: #0b1f3a;
    margin-bottom: 5px;
    line-height: 1.35;
}

.related-body small {
    color: #8897aa;
    font-size: 12px;
}

/* ============================================
   GENERIC PAGE (page.php V2.3 — 全宽贴边)
   ============================================ */
.page-header-bar {
    width: 100%;
    background: #f5f8fc;
    border-bottom: 1px solid #e8ecf1;
    padding: 50px 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.page-header-bar .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-header-bar h1 {
    font-size: clamp(24px, 3.5vw, 34px);
    color: #0b1f3a;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.page-body-section {
    width: 100%;
    background: #fff;
    padding: 45px 0 0;
    box-sizing: border-box;
}

.page-body-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-content {
    max-width: 900px;
    margin: 45px auto;
}

.page-body {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.page-body p {
    margin-bottom: 18px;
}

.page-body h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin: 35px 0 15px;
}

.page-body h3 {
    font-size: 20px;
    color: #0b1f3a;
    margin: 28px 0 12px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.page-body li {
    margin-bottom: 8px;
}

/* Share */
.post-share {
    display: flex;
    gap: 10px;
    margin: 35px 0;
    padding: 20px 0;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
    align-items: center;
}

.post-share span {
    font-weight: 600;
    color: #0b1f3a;
    margin-right: 10px;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f8fc;
    color: #5a6879;
    font-size: 14px;
    transition: all 0.2s ease;
}

.post-share a:hover {
    background: #0077be;
    color: #fff;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-section {
    padding: 50px 0;
}

.search-form-top {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-form-top input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 15px;
}

.search-form-top button {
    padding: 12px 24px;
    background: #0077be;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #e8ecf1;
}

.search-result-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.search-result-item h3 a {
    color: #0b1f3a;
}

.search-result-item h3 a:hover {
    color: #0077be;
}

.search-result-item .sr-excerpt {
    font-size: 14px;
    color: #5a6879;
}

/* 搜索头部区域 (全宽贴边) */
.search-header-bar {
    width: 100%;
    background: #f5f8fc;
    border-bottom: 1px solid #e8ecf1;
    padding: 50px 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.search-header-bar .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.search-header-bar h1 {
    font-size: clamp(22px, 3vw, 28px);
    color: #0b1f3a;
    margin-bottom: 8px;
}

.search-header-bar p {
    color: #5a6879;
    font-size: 15px;
    margin-bottom: 20px;
}

.search-header-bar .search-form-top {
    max-width: 500px;
    margin: 0 auto;
}

/* 搜索结果主体 */
.search-body-section {
    width: 100%;
    background: #fff;
    padding: 40px 0;
    box-sizing: border-box;
}

.search-body-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.search-results-body {
    max-width: 820px;
    margin: 0 auto;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.no-results h2 {
    font-size: 22px;
    color: #0b1f3a;
    margin-bottom: 10px;
}

.no-results p {
    color: #5a6879;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 100px 15px;
}

.error-404 .error-code {
    font-size: 120px;
    font-weight: 700;
    color: #0077be;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 15px;
}

.error-404 p {
    font-size: 16px;
    color: #5a6879;
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-404 .search-form-top {
    max-width: 450px;
    margin: 0 auto 30px;
}

.error-404 .quick-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.error-404 .popular-links {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.error-404 .popular-links p {
    font-weight: 600;
    color: #0b1f3a;
    margin-bottom: 10px;
    text-align: center;
}

.error-404 .popular-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.error-404 .popular-links a {
    color: #0077be;
    font-size: 14px;
    text-decoration: none;
}

.error-404 .popular-links a:hover {
    text-decoration: underline;
}

/* ============================================
   PRODUCT DETAIL (single-product)
   ============================================ */
.product-detail {
    padding: 50px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-bottom: 50px;
}

.product-gallery .main-image {
    width: 100%;
    height: 380px;
    background: #f5f8fc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #c0cdd9;
    margin-bottom: 15px;
    object-fit: cover;
}

.product-gallery .thumb-row {
    display: flex;
    gap: 10px;
}

.product-gallery .thumb {
    width: 80px;
    height: 80px;
    background: #f5f8fc;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #c0cdd9;
}

.product-gallery .thumb.active,
.product-gallery .thumb:hover {
    border-color: #0077be;
}

.product-info h1 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 15px;
}

.product-info .product-desc {
    font-size: 15px;
    color: #5a6879;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-specs {
    margin-bottom: 25px;
}

.product-specs h3 {
    font-size: 18px;
    color: #0b1f3a;
    margin-bottom: 14px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    padding: 10px 14px;
    border: 1px solid #e8ecf1;
    text-align: left;
}

.spec-table th {
    background: #f5f8fc;
    color: #0b1f3a;
    font-weight: 600;
    width: 40%;
}

/* Product features */
.product-features {
    margin: 50px 0;
}

.product-features h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin-bottom: 25px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.feature-item {
    text-align: center;
    padding: 25px 20px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #0077be;
    box-shadow: 0 6px 20px rgba(0,119,190,0.07);
}

.feature-item .fi-icon {
    font-size: 32px;
    color: #0077be;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: #5a6879;
    line-height: 1.5;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-section {
    padding: 50px 0;
    background: #f5f8fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h2 {
    font-size: 26px;
    color: #0b1f3a;
    margin-bottom: 25px;
}

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

.contact-item .ci-icon {
    width: 42px;
    height: 42px;
    background: #0077be;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item .ci-content h4 {
    font-size: 14px;
    color: #0b1f3a;
    margin-bottom: 3px;
}

.contact-item .ci-content p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    padding: 60px 0;
}

.faq-item {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 22px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #0b1f3a;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f5f8fc;
}

.faq-question .faq-toggle {
    font-size: 18px;
    color: #0077be;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 18px;
    font-size: 14px;
    color: #5a6879;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ============================================
   VIDEO CENTER
   ============================================ */
.video-section {
    padding: 50px 0;
}

.video-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.video-filter-btn {
    padding: 8px 22px;
    border: 1px solid #dce2e9;
    border-radius: 50px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-filter-btn.active,
.video-filter-btn:hover {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    background: #0b1f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-thumb .play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0077be;
    transition: all 0.3s ease;
}

.video-card:hover .play-btn {
    background: #0077be;
    color: #fff;
    transform: scale(1.1);
}

.video-info {
    padding: 18px 20px;
    background: #fff;
}

.video-info h3 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 5px;
}

.video-info span {
    font-size: 12px;
    color: #8897aa;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
    padding: 60px 0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    padding: 50px 0;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 22px;
    background: #f5f8fc;
    border-radius: 8px;
}

.sidebar-widget h3 {
    font-size: 16px;
    color: #0b1f3a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0077be;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e6ed;
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #444;
    font-size: 14px;
}

.sidebar-widget ul li a:hover {
    color: #0077be;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .main-nav > ul > li > a {
        padding: 24px 10px;
        font-size: 12.5px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }
    .top-bar-left {
        gap: 12px;
        justify-content: center;
    }
    .site-header .container {
        flex-wrap: wrap;
        padding: 10px 15px;
        min-height: auto;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-search {
        display: none;
    }
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        max-height: 80vh;
        overflow-y: auto;
    }
    .main-nav.active {
        display: block;
        animation: slideDown 0.35s ease;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .main-nav > ul > li {
        width: 100%;
    }
    .main-nav > ul > li > a {
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
    }
    /* 移动端下拉 */
    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        padding: 0 0 0 20px;
        background: #f7f9fc;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        transition: none;
    }
    .main-nav .sub-menu.open {
        display: block;
        animation: fadeInDown 0.3s ease;
    }
    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-5px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .main-nav .sub-menu li a {
        padding: 12px 18px;
        font-size: 13px;
        border-bottom: 1px solid #eef1f5;
    }
    .main-nav .sub-menu li a:hover {
        padding-left: 22px;
    }
    /* 三级菜单 */
    .main-nav .sub-sub-menu {
        border-left: none;
        border-left: 3px solid #0077be;
        margin-left: 10px;
        border-radius: 0;
    }
    /* 移动端点击展开箭头旋转 */
    .main-nav > ul > li > a .submenu-arrow.open {
        transform: rotate(180deg);
        opacity: 1;
    }
    .hero {
        padding: 60px 0 50px;
    }
    .hero-stats {
        gap: 25px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .solution-cards {
        grid-template-columns: 1fr;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 220px;
        text-align: center;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DARK PAGE HEADERS (About / Contact / Solutions / Video)
   全宽贴边，与首页 .hero 同机制
   ============================================ */
.about-header,
.contact-header,
.solutions-header,
.video-header {
    width: 100%;
    background: linear-gradient(135deg, #0b1f3a 0%, #143a6a 50%, #1a4a80 100%);
    color: #fff;
    padding: 55px 0 45px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.about-header .container,
.contact-header .container,
.solutions-header .container,
.video-header .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.about-header h1,
.contact-header h1,
.solutions-header h1,
.video-header h1 {
    font-size: clamp(26px, 3.5vw, 34px);
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.3;
}

.about-header p,
.contact-header p,
.solutions-header p,
.video-header p {
    opacity: 0.85;
    font-size: 16px;
    margin: 0;
}

/* 各页面正文区域 — 全宽白色背景 */
.about-body,
.contact-info-section,
.solutions-body,
.video-body {
    width: 100%;
    background: #fff;
    padding: 50px 0;
    box-sizing: border-box;
}

.about-body .container,
.contact-info-section .container,
.solutions-body .container,
.video-body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* About Page Specific */
.about-grid {
    display: block;
    margin-bottom: 50px;
}

/* About page Industries We Serve block */
.about-industries-section {
    margin: 20px 0 0;
}

.about-intro h2,
.about-timeline h2,
.factory-section h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0077be;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0077be;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #0077be;
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: #0077be;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 15px;
    color: #0b1f3a;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 13px;
    color: #5a6879;
    line-height: 1.5;
}

/* Factory */
.factory-section {
    margin: 50px 0;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.factory-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}

.factory-list {
    list-style: none;
    padding: 0;
}

.factory-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

/* Contact Page Specific */
.contact-info-section {
    background: #f5f8fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h2,
.contact-form-wrapper h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin-bottom: 25px;
}

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

.contact-item .ci-icon {
    width: 42px;
    height: 42px;
    background: #0077be;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    color: #0b1f3a;
    margin-bottom: 3px;
}

.contact-item p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    width: 100%;
    background: #fff;
    padding: 60px 0;
    box-sizing: border-box;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.faq-section h2 {
    text-align: center;
    font-size: 26px;
    color: #0b1f3a;
    margin-bottom: 30px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 16px 22px;
    background: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #0b1f3a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    font-family: inherit;
}

.faq-q:hover {
    background: #f5f8fc;
}

.faq-q .faq-toggle {
    font-size: 20px;
    color: #0077be;
    transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafbfd;
}

.faq-a.active {
    max-height: 200px;
}

.faq-a p {
    padding: 14px 22px;
    font-size: 14px;
    color: #5a6879;
    line-height: 1.6;
    margin: 0;
}

/* Solutions Page Specific */
.sol-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.sol-filter-btn {
    padding: 8px 22px;
    border: 1px solid #dce2e9;
    background: #fff;
    color: #333;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.sol-filter-btn:hover,
.sol-filter-btn.active {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.sol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.sol-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.sol-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.sol-card .sol-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #dde3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #a0aec0;
}

.sol-body {
    padding: 20px;
}

.sol-body h3 {
    font-size: 17px;
    color: #0b1f3a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.sol-body p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Video Page Specific */
.video-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.video-filter-btn {
    padding: 8px 22px;
    border: 1px solid #dce2e9;
    background: #fff;
    color: #333;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.video-filter-btn:hover,
.video-filter-btn.active {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.video-card {
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.video-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.video-thumb {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #0b1f3a 0%, #1a4a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
}

.video-thumb .play-icon {
    font-size: 36px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-thumb small {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.video-info {
    padding: 16px 18px;
}

.video-info h4 {
    font-size: 15px;
    color: #0b1f3a;
    margin-bottom: 5px;
    line-height: 1.35;
}

.video-info p {
    font-size: 13px;
    color: #5a6879;
    line-height: 1.5;
}

/* YouTube CTA */
.yt-cta {
    text-align: center;
    padding: 40px;
    background: #f5f8fc;
    border-radius: 12px;
    margin-top: 20px;
}

.yt-cta h3 {
    font-size: 22px;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.yt-cta p {
    color: #5a6879;
    margin-bottom: 20px;
}

/* App Cards (archive-application) */
.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    padding: 50px 0;
}

.app-card {
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.app-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.app-card .app-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #eaf4fe 0%, #d5e8f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #a0aec0;
}

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

.app-card-body h3 {
    font-size: 17px;
    color: #0b1f3a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.app-card-body p {
    font-size: 14px;
    color: #5a6879;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .about-grid,
    .factory-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline {
        padding-left: 24px;
    }

    .yt-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .sol-grid,
    .video-grid,
    .app-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRODUCT / APP / SOLUTION DETAIL HEADERS
   全宽贴边，与首页 .hero 同机制
   ============================================ */
.product-detail-header,
.app-detail-header,
.sol-detail-header {
    width: 100%;
    background: #f5f8fc;
    border-bottom: 1px solid #e8ecf1;
    padding: 54px 0 46px;
    box-sizing: border-box;
}

.product-detail-header .container,
.app-detail-header .container,
.sol-detail-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.product-detail-header h1,
.app-detail-header h1,
.sol-detail-header .breadcrumb {
    margin-bottom: 14px;
}

.sol-single-header {
    background: #0b1f3a;
    color: #fff;
    border-bottom: none;
    padding: 52px 0 44px;
}

.sol-single-header .breadcrumb a,
.sol-single-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.72);
}

.sol-single-header .breadcrumb a:hover {
    color: #fff;
}

.sol-single-header .breadcrumb .current {
    color: #fff;
}

.sol-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sol-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.sol-tag:hover {
    background: rgba(255, 255, 255, 0.22);
}

.sol-single-header h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.25;
    margin: 14px 0 0;
}


/* Breadcrumb (shared) */
.breadcrumb {
    font-size: 13px;
    color: #8897aa;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    color: #8897aa;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0077be;
}

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

.breadcrumb .current {
    color: #0b1f3a;
}

/* Detail Body */
.product-detail-body,
.app-detail-body,
.sol-detail-body {
    width: 100%;
    background: #fff;
    padding: 40px 0;
    box-sizing: border-box;
}

.product-detail-body .container,
.app-detail-body .container,
.sol-detail-body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* App Detail */
.app-detail-content h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin: 35px 0 18px;
    text-align: center;
}

.sol-detail-content h2 {
    font-size: 24px;
    color: #0b1f3a;
    margin: 32px 0 16px;
    text-align: left;
}

.sol-detail-content h3 {
    font-size: 19px;
    color: #0b1f3a;
    margin: 24px 0 10px;
    text-align: left;
    font-weight: 600;
}

.app-challenge {
    margin-bottom: 40px;
}

/* Results Grid (shared) */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0 40px;
}

.result-card {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #0b1f3a 0%, #1a4a80 100%);
    color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
}

.result-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #00a3ff;
}

.result-label {
    font-size: 13px;
    opacity: 0.85;
}

/* Product Mini Grid */
.product-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    margin: 20px 0 40px;
}

.product-mini-card {
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #0b1f3a;
    transition: all 0.3s ease;
}

.product-mini-card:hover {
    border-color: #0077be;
    box-shadow: 0 4px 15px rgba(0,119,190,0.08);
    transform: translateY(-2px);
}

.product-mini-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-mini-card h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.35;
}

/* App/Sol CTA */
.app-cta,
.sol-cta {
    text-align: center;
    padding: 40px 30px;
    background: #f5f8fc;
    border-radius: 12px;
    margin: 40px 0;
}

.app-cta h3,
.sol-cta h3 {
    font-size: 22px;
    color: #0b1f3a;
    margin-bottom: 8px;
}

.app-cta p,
.sol-cta p {
    color: #5a6879;
    margin-bottom: 20px;
}

/* ---------- Solution detail: two-column layout (mirror FAQ) ---------- */
.sol-single-body {
    padding: 56px 0 64px;
    background: #fff;
}

.sol-single-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 44px;
    align-items: start;
}

.sol-single-content {
    min-width: 0; /* prevent grid blowout from long URLs/code */
}

/* Sidebar: related solutions */
.sol-sidebar {
    position: sticky;
    top: 24px;
}

.sol-related {
    background: #f5f8fc;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 22px 24px;
}

.sol-related h3 {
    color: #0b1f3a;
    font-size: 16px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e8f0;
}

.sol-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sol-related li {
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.sol-related li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0077be;
}

.sol-related li a {
    color: #34465e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.sol-related li a:hover {
    color: #0077be;
}

.sol-related-empty {
    color: #8897aa;
    font-size: 14px;
}

@media (max-width: 860px) {
    .sol-single-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .sol-sidebar {
        position: static;
    }
}

/* Product Detail Content */
.sol-header-text {
    max-width: 800px;
    margin: 0 auto 32px;
}

.sol-header-text .post-content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.sol-header-text .post-content > p:first-child {
    font-size: 16px;
    line-height: 1.8;
    color: #0b1f3a;
}

/* Responsive for detail pages */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-header h1,
    .app-detail-header h1,
    .sol-single-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .result-number {
        font-size: 24px;
    }

    .product-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   GLOBAL QUOTE FAB + MODAL (site-wide)
   ============================================ */
/* ===== 全局留资：悬浮客服头像 + 气泡 + 弹窗 ===== */
.quote-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.quote-bubble {
    position: relative;
    max-width: 320px;
    background: #2ecc71;
    color: #fff;
    border-radius: 16px;
    padding: 15px 44px 15px 18px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    animation: quoteBubbleIn 0.35s ease;
}

.quote-bubble p {
    margin: 0;
}

.quote-bubble::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 31px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #2ecc71;
}

.quote-bubble.is-hidden {
    display: none;
}

.quote-bubble-close {
    position: absolute;
    top: 3px;
    right: 6px;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 0;
    transition: opacity 0.2s ease;
}

.quote-bubble-close:hover {
    opacity: 1;
}

.quote-fab {
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #0077be;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 119, 190, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-fab-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-fab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 119, 190, 0.45);
}

.quote-widget.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.85);
}

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

/* Modal shell */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quote-modal[hidden] {
    display: none;
}

.quote-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,31,58,0.55);
    backdrop-filter: blur(2px);
    animation: quoteFade 0.25s ease;
}

.quote-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 14px;
    padding: 30px 28px 28px;
    box-shadow: 0 24px 60px rgba(11,31,58,0.3);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: quotePop 0.28s ease;
}

.quote-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    background: #f1f4f8;
    color: #5a6879;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.quote-modal-close:hover {
    background: #e2e8f0;
    color: #0b1f3a;
}

.quote-modal-title {
    font-size: 22px;
    color: #0b1f3a;
    margin-bottom: 6px;
    padding-right: 30px;
}

.quote-modal-sub {
    font-size: 13px;
    color: #5a6879;
    margin-bottom: 20px;
}

.quote-modal-form .qm-field {
    margin-bottom: 14px;
}

.quote-modal-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.quote-modal-form input,
.quote-modal-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dce2e9;
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-modal-form input:focus,
.quote-modal-form textarea:focus {
    outline: none;
    border-color: #0077be;
    box-shadow: 0 0 0 3px rgba(0,119,190,0.12);
}

.quote-modal-form textarea {
    resize: vertical;
    min-height: 84px;
}

.quote-modal-form .qm-submit {
    width: 100%;
    margin-top: 4px;
    background: #0077be;
    color: #fff;
    padding: 13px;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quote-modal-form .qm-submit:hover {
    background: #005a8e;
}

body.quote-modal-open {
    overflow: hidden;
}

@keyframes quoteFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes quotePop {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile: bottom drawer + compact widget */
@media (max-width: 768px) {
    .quote-widget {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .quote-bubble {
        max-width: 220px;
        font-size: 13px;
        padding: 12px 38px 12px 14px;
    }

    .quote-bubble::after {
        bottom: 22px;
    }

    .quote-fab {
        width: 64px;
        height: 64px;
        border-width: 2px;
    }

    .quote-modal {
        align-items: flex-end;
        justify-content: stretch;
        padding: 0;
    }

    .quote-modal-overlay {
        background: rgba(11,31,58,0.5);
    }

    .quote-modal-dialog {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 88vh;
        padding: 26px 20px 24px;
        animation: quoteDrawer 0.3s ease;
    }
}

@keyframes quoteDrawer {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .quote-modal-overlay,
    .quote-modal-dialog {
        animation: none;
    }
}
