/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #1A2B4A;
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 主导航 ========== */
.header {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(31,78,140,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img-box {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1F4E8C, #25B6D2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: bold;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .cn { font-size: 20px; font-weight: bold; color: #1A2B4A; letter-spacing: 2px; }
.logo-text .en { font-size: 10px; color: #8a99ab; letter-spacing: 1px; text-transform: uppercase; }
.nav { display: flex; align-items: center; }
.nav > li > a {
    display: block;
    padding: 0 20px;
    height: 78px;
    line-height: 78px;
    font-size: 15px;
    color: #1A2B4A;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}
.nav > li > a:hover, .nav > li.active > a { color: #1F4E8C; }
.nav > li > a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: #1F4E8C;
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav > li > a:hover::after, .nav > li.active > a::after { width: 60%; }
.nav .has-sub > a::before {
    content: "▾";
    font-size: 10px;
    margin-left: 6px;
    color: #8a99ab;
}
.submenu {
    position: absolute;
    top: 78px; left: 0;
    background: #FFFFFF;
    min-width: 180px;
    box-shadow: 0 6px 20px rgba(31,78,140,0.14);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}
.nav > li { position: relative; }
.nav > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #EEF3F8;
    transition: all 0.2s;
}
.submenu li a:hover { background: #F0F7FD; color: #1F4E8C; padding-left: 26px; }

/* ========== Banner ========== */
.banner {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #173A66 0%, #1F4E8C 100%);
}
.banner-slides { position: relative; width: 100%; height: 100%; }
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center;
}
.banner-slide .slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.banner-grid-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    background-image:
        linear-gradient(rgba(37,182,210,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,182,210,0.10) 1px, transparent 1px);
    background-size: 60px 60px;
}
.banner-content { position: relative; z-index: 3; color: #fff; max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.banner-content .sub-title {
    font-size: 14px;
    color: #7FE0F0;
    letter-spacing: 4px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
}
.banner-content .main-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(10,30,60,0.25);
}
.banner-content .desc {
    font-size: 17px;
    color: #CFE4F5;
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 32px;
}
.banner-btn {
    display: inline-block;
    padding: 14px 38px;
    background: #FFB020;
    color: #1A2B4A;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid #FFB020;
    font-weight: 600;
}
.banner-btn2 {
    display: inline-block;
    padding: 14px 38px;
    background: #00a0ff;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid #ffffff;
    font-weight: 600;
}
.banner-btn:hover { background: #E89A0F; border-color: #E89A0F; }
.banner-note {
    margin-top: 18px;
    font-size: 12px;
    color: #A9C6DC;
    max-width: 480px;
}

/* ========== 通用区块标题 ========== */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .en-title {
    font-size: 13px;
    color: #25B6D2;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}
.section-header .cn-title {
    font-size: 30px;
    font-weight: bold;
    color: #1A2B4A;
    margin-bottom: 16px;
}
.section-header .cn-title span { color: #1F4E8C; }
.section-header .divider {
    width: 50px; height: 3px;
    background: #1F4E8C;
    margin: 0 auto 18px;
}
.section-header .desc {
    font-size: 15px;
    color: #5C6E86;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== 核心优势 ========== */
.advantages { background: #F4F8FB; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
    background: #FFFFFF;
    border: 1px solid #E4EDF5;
    border-radius: 4px;
    padding: 32px 24px;
    transition: all 0.3s;
}
.adv-card:hover { box-shadow: 0 8px 30px rgba(31,78,140,0.12); transform: translateY(-4px); border-color: #BFD6EE; }
.adv-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(37,182,210,0.14), rgba(31,78,140,0.08));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #1F4E8C;
    margin-bottom: 20px;
}
.adv-card h3 { font-size: 18px; color: #1A2B4A; margin-bottom: 12px; font-weight: 600; }
.adv-card p { font-size: 14px; color: #5C6E86; line-height: 1.8; }

/* ========== 功能亮点 ========== */
.features { background: #FFFFFF; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-item {
    display: flex; gap: 20px;
    padding: 24px;
    background: #F4F8FB;
    border-radius: 4px;
    border: 1px solid #E4EDF5;
    transition: all 0.3s;
}
.feat-item:hover { border-color: #1F4E8C; background: #FFFFFF; box-shadow: 0 4px 16px rgba(31,78,140,0.08); }
.feat-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1F4E8C, #25B6D2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: bold;
}
.feat-info h4 { font-size: 16px; color: #1A2B4A; margin-bottom: 8px; font-weight: 600; }
.feat-info p { font-size: 13px; color: #5C6E86; line-height: 1.7; }

/* ========== 在线演示 ========== */
.demo-section { background: linear-gradient(135deg, #173A66 0%, #1F4E8C 50%, #1E86A8 100%); color: #fff; padding: 70px 0; }
.demo-wrap { display: flex; gap: 50px; align-items: center; }
.demo-info { flex: 1; }
.demo-info .en-title { font-size: 13px; color: #7FE0F0; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.demo-info h2 { font-size: 30px; font-weight: bold; margin-bottom: 18px; }
.demo-info > p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 24px; }
.demo-list { margin-bottom: 30px; }
.demo-list li {
    font-size: 14px; color: rgba(255,255,255,0.85); padding: 8px 0; padding-left: 20px;
    position: relative;
}
.demo-list li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; background: #25B6D2; border-radius: 50%;
}
.demo-btn {
    display: inline-block;
    padding: 13px 36px;
    background: #25B6D2;
    color: #FFFFFF;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 600;
}
.demo-btn:hover { background: #1E9EBA; transform: translateY(-2px); }
.demo-visual { flex: 0 0 420px; }
.demo-mockup {
    background: #13315A;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.mockup-bar {
    padding: 10px 14px;
    background: #0E2650;
    display: flex; gap: 6px;
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar .dot.red { background: #e74c3c; }
.mockup-bar .dot.yellow { background: #FFB020; }
.mockup-bar .dot.green { background: #25B6D2; }
.mockup-body { display: flex; padding: 16px; gap: 12px; }
.mockup-sidebar { width: 60px; background: rgba(255,255,255,0.04); border-radius: 4px; min-height: 200px; }
.mockup-content { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mockup-line { height: 10px; background: rgba(255,255,255,0.06); border-radius: 3px; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w80 { width: 80%; }
.mockup-line.w40 { width: 40%; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mockup-card { height: 60px; background: rgba(37,182,210,0.16); border-radius: 4px; border: 1px solid rgba(37,182,210,0.28); }

/* ========== 模板预览 ========== */
.templates { background: #F4F8FB; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tpl-card {
    background: #FFFFFF;
    border: 1px solid #E4EDF5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}
.tpl-card:hover { box-shadow: 0 8px 30px rgba(31,78,140,0.12); transform: translateY(-4px); }
.tpl-img { position: relative; height: 200px; overflow: hidden; }
.tpl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tpl-card:hover .tpl-img img { transform: scale(1.05); }
.tpl-overlay {
    position: absolute; top: 12px; right: 12px;
}
.tpl-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(31,78,140,0.92);
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}
.tpl-info { padding: 20px; }
.tpl-info h4 { font-size: 16px; color: #1A2B4A; margin-bottom: 8px; font-weight: 600; }
.tpl-info p { font-size: 13px; color: #5C6E86; line-height: 1.7; }

/* ========== 客户案例 ========== */
.cases { background: #FFFFFF; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    display: flex; gap: 16px;
    padding: 24px;
    background: #F4F8FB;
    border: 1px solid #E4EDF5;
    border-radius: 4px;
    transition: all 0.3s;
}
.case-card:hover { border-color: #1F4E8C; box-shadow: 0 4px 16px rgba(31,78,140,0.08); }
.case-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1F4E8C, #25B6D2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: bold;
}
.case-info h4 { font-size: 15px; color: #1A2B4A; margin-bottom: 6px; font-weight: 600; }
.case-industry { font-size: 12px; color: #1F4E8C; margin-bottom: 8px; font-weight: 500; }
.case-desc { font-size: 13px; color: #5C6E86; line-height: 1.7; }

/* ========== 快速上手 ========== */
.quickstart { background: #F4F8FB; }
.qs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.qs-step {
    text-align: center;
    padding: 32px 20px;
    background: #FFFFFF;
    border: 1px solid #E4EDF5;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
}
.qs-step:hover { border-color: #1F4E8C; box-shadow: 0 4px 16px rgba(31,78,140,0.08); transform: translateY(-4px); }
.qs-num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1F4E8C, #25B6D2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: bold;
    margin: 0 auto 16px;
}
.qs-step h4 { font-size: 16px; color: #1A2B4A; margin-bottom: 10px; font-weight: 600; }
.qs-step p { font-size: 13px; color: #5C6E86; line-height: 1.7; }
.qs-cta { text-align: center; }
.qs-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #FFB020;
    color: #1A2B4A;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}
.qs-btn:hover { background: #E89A0F; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,176,32,0.35); }

/* ========== Footer ========== */
.footer { background: #F4F8FB; color: #5C6E86; padding-top: 60px; border-top: 1px solid #E4EDF5; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #DCE7F0; }
.footer-col h4 { color: #1A2B4A; font-size: 16px; margin-bottom: 20px; font-weight: 600; }
.footer-col p { font-size: 13px; line-height: 2; color: #5C6E86; }
.footer-col p .ico { color: #1F4E8C; margin-right: 8px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li, .footer-col ul li a { font-size: 13px; color: #5C6E86; transition: color 0.2s; }
.footer-col ul li a:hover { color: #1F4E8C; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: #8A99AB;
}
.footer-bottom a, .footer-bottom span { color: #8A99AB; margin: 0 8px; }

/* ========== 侧边悬浮 ========== */
.side-tools {
    position: fixed;
    right: 20px; bottom: 80px;
    z-index: 99;
    display: flex; flex-direction: column; gap: 10px;
}
.side-tool {
    width: 50px; height: 50px;
    background: #1F4E8C;
    color: #fff;
    border-radius: 6px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(31,78,140,0.3);
    font-size: 12px;
    border: none;
}
.side-tool:hover { background: #163B6B; transform: translateX(-4px); }
.side-tool.top { background: rgba(31,78,140,0.92); }

/* ========== 移动端汉堡菜单 ========== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none;
    cursor: pointer; padding: 0;
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
}
.nav-toggle span {
    display: block; width: 26px; height: 3px;
    background: #1F4E8C; border-radius: 2px;
    transition: all 0.3s ease; margin: 0 auto;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ========== 移动端导航抽屉 ========== */
.mobile-nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(10,30,60,0.5); z-index: 1300;
    opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { display: block; opacity: 1; }
.mobile-nav {
    position: fixed; top: 0; right: -280px;
    width: 280px; height: 100vh;
    background: #FFFFFF; z-index: 1400;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(31,78,140,0.15);
}
.mobile-nav.active { right: 0; }
.mobile-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; background: #1F4E8C; color: #fff;
}
.mobile-nav-title { font-size: 17px; font-weight: 600; }
.mobile-nav-close {
    background: none; border: none; color: #fff;
    font-size: 28px; line-height: 1; cursor: pointer;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
}
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-item { border-bottom: 1px solid #E9EFF6; position: relative; }
.mobile-nav-item > a {
    display: block; padding: 15px 20px;
    font-size: 15px; color: #1A2B4A;
    text-decoration: none; transition: all 0.2s;
}
.mobile-nav-item > a:hover { background: #EDF4FB; color: #1F4E8C; }
.mobile-sub-toggle {
    position: absolute; right: 8px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border: none; background: none;
    font-size: 22px; color: #8A99AB;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
}
.mobile-sub-toggle.active { transform: translateY(-50%) rotate(45deg); color: #1F4E8C; }
.mobile-sub-nav {
    list-style: none; margin: 0; padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    background: #F4F8FB;
}
.mobile-sub-nav.active { max-height: 500px; }
.mobile-sub-nav li a {
    display: block; padding: 12px 20px 12px 36px;
    font-size: 14px; color: #5C6E86;
    text-decoration: none;
    border-bottom: 1px solid #E9EFF6;
    transition: all 0.2s;
}
.mobile-sub-nav li a:hover { color: #1F4E8C; background: #EDF4FB; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .nav > li > a { padding: 0 14px; font-size: 14px; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: 1fr; }
    .tpl-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .qs-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-wrap { flex-direction: column; }
    .demo-visual { flex: none; width: 100%; max-width: 420px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header .container { height: 64px; }
    .nav { display: none; }
    .logo-text .cn { font-size: 18px; }
    .banner { height: 400px; }
    .banner-content .main-title { font-size: 26px; }
    .banner-content .desc { font-size: 14px; }
    .section { padding: 45px 0; }
    .section-header .cn-title { font-size: 24px; }
    .adv-grid { grid-template-columns: 1fr; }
    .tpl-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .qs-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .nav-toggle { display: flex; }
    .header .container { position: relative; }
}
@media (min-width: 769px) {
    .nav-toggle { display: none; }
}
