html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   导航栏  64px高度 + 二级下拉菜单
   ======================================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;         /* 导航高度 64px */
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-brand img {
    height: 36px;
    width: auto;
}
.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* 一级菜单容器 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

/* 一级菜单项 */
.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 0 18px;
    height: 64px;
    transition: color 0.25s, background 0.25s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-color);
}

/* 下拉箭头 */
.nav-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.nav-menu > li:hover > a .nav-arrow,
.nav-menu > li.open > a .nav-arrow {
    transform: rotate(180deg);
}

/* ----------------------------------------
   二级 Mega Menu（全宽分组面板）
   ---------------------------------------- */
.dropdown-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 2001;
    border-top: 2px solid var(--primary-color);
    padding: 0;
    overflow: hidden;
}

.nav-menu > li:hover > .dropdown-panel,
.nav-menu > li.open > .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 点击子菜单链接后强制收起（覆盖 :hover） */
.nav-menu > li.panel-closed > .dropdown-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
}

/* Mega Menu 内部布局 */
.mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mega Menu 头部：带标题 */
.mega-menu-header {
    padding: 16px 20px 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.mega-menu-header .dropdown-category {
    padding: 0;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0;
}

.mega-menu-header .mega-menu-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* Mega Menu 列容器 */
.mega-menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

/* 单列 */
.mega-column {
    padding: 16px 16px 20px;
    border-right: 1px solid #f0f0f0;
}

.mega-column:last-child {
    border-right: none;
}

/* 列标题 */
.mega-column-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: none;
}

/* 列内的菜单项 */
.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
}

.mega-column ul li a:hover {
    background: #f0f7fa;
    color: var(--primary-color);
}

.mega-column ul li a .item-icon {
    display: none;
    width: 28px;
    height: 28px;
    background: var(--bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.15s;
}

.mega-column ul li a:hover .item-icon {
    background: #e0efff;
}

.mega-column ul li a .item-text {
    display: flex;
    flex-direction: column;
}

.mega-column ul li a .item-name {
    font-weight: 500;
    font-size: 14px;
}

.mega-column ul li a .item-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 1px;
}

/* AI / 设备 特殊区块 */
.mega-highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #f0f0f0;
    background: #fafbff;
}

.mega-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    transition: background 0.15s;
    border-right: 1px solid #f0f0f0;
}

.mega-highlight-item:last-child {
    border-right: none;
}

.mega-highlight-item:hover {
    background: #f0f7fa;
}

.mega-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.mega-highlight-icon.ai {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mega-highlight-icon.device {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.mega-highlight-text {
    display: flex;
    flex-direction: column;
}

.mega-highlight-text .highlight-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.mega-highlight-text .highlight-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* 移动端下拉面板（保留移动端兼容） */
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 999; }
    .nav-menu.open { display: flex; }
    .navbar .container { flex-wrap: wrap; }
    .dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu > li.open > .dropdown-panel {
        max-height: 800px;
    }

    .mega-menu-inner { padding: 0; }
    .mega-menu-columns { grid-template-columns: 1fr; }
    .mega-highlight-row { grid-template-columns: 1fr; }
    .mega-column { border-right: none; border-bottom: 1px solid #eee; padding: 10px 20px; }
    .mega-menu-header { padding: 10px 20px 0; }
    .mega-highlight-item { border-right: none; border-bottom: 1px solid #eee; padding: 12px 20px; }
    .ai-content { flex-direction: column; text-align: center; }
    .ai-image { flex: 0 0 auto; width: 100%; max-width: 580px; }
}

/* ----------------------------------------
   登录 / 试用 按钮（保持右侧）
   ---------------------------------------- */
.nav-menu .nav-login,
.nav-menu .nav-cta {
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 6px;
}

.nav-menu .nav-login {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.nav-menu .nav-login:hover {
    background: var(--primary-color);
    color: white !important;
}

.nav-menu .nav-cta {
    background: var(--primary-color);
    color: white !important;
}

.nav-menu .nav-cta:hover {
    background: var(--secondary-color);
}

/* ========================================
   轮播图 - 3D翻滚进入 + Ken Burns缩放
   ======================================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    perspective: 1200px;
}
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: rotateY(90deg) scale(0.9);
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    pointer-events: none;
    backface-visibility: hidden;
    z-index: 1;
}
.carousel-slide.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1.05);
    pointer-events: auto;
    z-index: 2;
    animation: kenburnsFlip 6s ease-out forwards;
}
/* Ken Burns缩放 + 翻滚进入 */
@keyframes kenburnsFlip {
    0% { transform: rotateY(90deg) scale(1.05); opacity: 0; }
    15% { transform: rotateY(0deg) scale(1.05); opacity: 1; }
    100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}
/* 内容元素翻滚进入动画 */
.carousel-slide.active .slide-content {
    animation: rollInContent 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
.carousel-slide.active .slide-title {
    animation: rollInContent 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
.carousel-slide.active .slide-desc {
    animation: rollInContent 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s both;
}
.carousel-slide.active .slide-btns {
    animation: rollInContent 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
@keyframes rollInContent {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}
.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 40, 70, 0.75) 0%,
        rgba(20, 60, 90, 0.6) 50%,
        rgba(0, 20, 40, 0.7) 100%
    );
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    color: white;
}
.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.25;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}
.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.slide-btns {
    display: flex;
    gap: 1rem;
}
.carousel-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}
.dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}
.dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}
.dot.active {
    background: white;
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.5);
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.prev { left: 30px; }
.carousel-arrow.next { right: 30px; }

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-color);
    color: white;
}
.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   通用 Section 样式
   ======================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.text-center { text-align: center; }

/* 核心价值 */
.core-values { padding: 80px 0; background: var(--bg-light); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); }
.value-icon { margin-bottom: 1rem; }
.value-icon img { width: 48px; height: 48px; color: var(--primary-color); }
.value-card h3 { margin-bottom: 0.5rem; color: var(--primary-color); }

/* 产品矩阵概览 */
.products-overview { padding: 80px 0; background: var(--bg-light); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.product-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.product-card h3 { color: var(--primary-color); margin-bottom: 1rem; }
.product-icon { margin-bottom: 1rem; }
.product-icon img { width: 48px; height: 48px; color: var(--primary-color); }

/* AI核心 */
.ai-core {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 27, 75, 0.92) 50%, rgba(102, 126, 234, 0.85) 100%),
               url('images/ai-core.jpg') center/cover no-repeat;
    color: white;
    position: relative;
}

.ai-content { display: flex; align-items: center; gap: 4rem; }
.ai-image {
    flex: 0 0 560px;
}
.ai-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.ai-image img:hover {
    transform: scale(1.02);
}

.ai-text h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.ai-text h3 { font-size: 1.5rem; margin-bottom: 1.5rem; opacity: 0.9; }
.ai-text ul { list-style: none; margin-top: 1.5rem; }
.ai-text li { margin-bottom: 0.75rem; font-size: 1.1rem; }

/* 经典案例 */
.case-block {
    display: flex;
    align-items: stretch;
    gap: 3rem;
}
.case-layout-right { flex-direction: row; }
.case-layout-left { flex-direction: row-reverse; }
.case-text {
    width: 556px;
    text-align: justify;
}
.case-img {
    width: 556px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
/* 案例实施效果 */
.case-effect {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}
.case-effect h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.case-effect ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-effect li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}
@media (max-width: 960px) {
    .case-block, .case-layout-left { flex-direction: column; }
    .case-text, .case-img { width: 100%; }
    .case-img { height: 260px; }
}
@media (max-width: 768px) {
    .case-img { height: 220px; }
}

/* 经典案例首页卡片 */
.cases-preview { padding: 80px 0; background: var(--bg-light); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.case-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.case-card:hover { transform: translateY(-5px); }
.case-card h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.5rem; }
.case-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.case-card:hover .case-image {
    transform: scale(1.03);
}

/* 联系我们 */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.contact-info h3 { margin-bottom: 1rem; color: var(--primary-color); }
.contact-info { text-align: left; }
.contact-item { margin-top: 1rem; }
.contact-item p { margin-top: 0; color: var(--text-light); }
/* 联系我们 - 微信二维码 */
.contact-wechat { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.contact-wechat img { width: 120px; height: 120px; border: 2px solid #e0e0e0; border-radius: 8px; object-fit: contain; background: #fff; }
/* 页脚微信二维码 */
.wechat-qrcode { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.wechat-qrcode img { width: 120px; height: 120px; border: 2px solid #e0e0e0; border-radius: 8px; object-fit: contain; background: #fff; flex-shrink: 0; }
.contact-form form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form button { align-self: flex-start; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section h4 { margin-bottom: 1.5rem; color: var(--accent-color); }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.75rem; }
.footer-section a { color: white; text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: var(--accent-color); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* ========================================
   页面头部（内页）
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 64px;
    text-align: center;
}
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.25rem; opacity: 0.9; }

/* 产品详情页 */
.product-detail { padding: 80px 0; }
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.product-content.reverse { direction: rtl; }
.product-content.reverse > * { direction: ltr; }
.product-text h2 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 2rem; }
.product-text p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.8; }
.product-text ul { list-style: none; margin-top: 1.5rem; }
.product-text li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.product-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
/* 产品详情页图片轮播 */
.product-image {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.product-image .qcarousel { position: relative; width: 100%; overflow: hidden; border-radius: 8px; }
.product-image .qcarousel-img {
    width: 100%; height: 320px; object-fit: cover; display: block; border-radius: 8px;
    opacity: 0; transition: opacity 0.6s ease; position: absolute; top: 0; left: 0;
}
.product-image .qcarousel-img.active { opacity: 1; position: relative; }
.product-image .qcarousel-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.product-image .qcarousel-dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer;
}
.product-image .qcarousel-dot.active { background: #fff; }
@media (max-width: 960px) { .product-image .qcarousel-img { height: 240px; } }

/* 产品详情页文字+图片布局 */
.product-detail .product-content { display: flex; gap: 4rem; align-items: center; }
.product-detail .product-content.reverse { flex-direction: row-reverse; }
.product-detail .product-text { flex: 1; max-width: 50%; }
.product-detail .product-image-wrap { flex: 1; max-width: 50%; }
@media (max-width: 960px) {
    .product-detail .product-content { flex-direction: column !important; }
    .product-detail .product-image-wrap { width: 100%; }
}

/* 关于我们 */
.about-section { padding: 80px 0; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-text { margin-bottom: 3rem; }
.about-text h2 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 2rem; }
.about-text p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-light); }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.advantage-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}
.advantage-card h3 { color: var(--primary-color); margin-bottom: 1rem; }
.partners { background: var(--bg-light); }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.partner-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-align: left;
    min-height: 80px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.partner-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}
.partner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
    border: 1px solid var(--primary-light);
}

/* 企业资质 */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.certificate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.certificate-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.certificate-item .certificate-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.certificate-item .certificate-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.certificate-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* 版本与收费 - 定价表格 */
.pricing-section { padding: 80px 0; background: var(--bg-light); }
.pricing-table-wrapper { overflow-x: auto; margin-bottom: 4rem; }
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}
.pricing-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}
.pricing-table th:first-child { width: 15%; background: rgba(255,255,255,0.15); }
.pricing-table td { padding: 1rem; text-align: center; border-bottom: 1px solid #eee; color: var(--text-dark); }
.pricing-table tbody tr:hover { background: #f8f9fa; }
.pricing-table .feature-name {
    font-weight: 600;
    background: #f8f9fa;
    text-align: left;
    padding-left: 1.5rem;
    color: var(--primary-color);
}
.pricing-table .price-cell { font-weight: 500; line-height: 1.8; }
.pricing-table .price-cell strong { color: var(--primary-color); font-size: 1.05em; }
.check-icon { color: #28a745; font-size: 1.5rem; font-weight: bold; }
.cross-icon { color: #dc3545; font-size: 1.5rem; font-weight: bold; }

/* 版本与收费 - 定价卡片 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.pricing-card.featured { border: 3px solid var(--primary-color); transform: scale(1.05); z-index: 1; }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.pricing-card h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 1rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
.pricing-card .price small { font-size: 1rem; color: var(--text-light); }
.pricing-card .period { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; padding: 0; margin-bottom: 2rem; text-align: left; }
.pricing-card ul li { padding: 0.6rem 0; border-bottom: 1px solid #f0f0f0; color: var(--text-dark); font-size: 0.95rem; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card.free .price { color: #6c757d; }
.pricing-card.pro .price { color: var(--secondary-color); }
.pricing-card.pro .btn-secondary {
    background: #f5f5f5;
    color: var(--secondary-color);
    border: 2px solid transparent;
}
.pricing-card.pro .btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

/* 移动端 hamburger 按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-features { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-content { grid-template-columns: 1fr; }
    .product-content.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }
    .pricing-table { font-size: 0.85rem; }
    .pricing-table th, .pricing-table td { padding: 0.6rem 0.4rem; }
    .carousel-container { height: 420px; }
    .slide-content { padding: 0 20px; }
    .slide-title { font-size: 1.9rem; }
    .slide-desc { font-size: 1rem; }
    .certificates-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 解决方案页面图片尺寸限制 */
.product-image {
    flex: 0 0 520px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 960px) {
    .product-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 520px;
        height: 280px;
    }
}
@media (max-width: 768px) {
    .product-image {
        max-width: 100%;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .certificates-grid { grid-template-columns: 1fr; }
    .certificate-item .certificate-img { height: 120px; }
}