/* ===== 变量 & 重置 ===== */
:root {
    --primary:    #2563eb;
    --primary-dark: #1d4ed8;
    --primary-l:  #3b82f6;
    --primary-d:  #1e40af;
    --accent:     #f59e0b;
    --accent-d:   #d97706;
    --bg:         #ffffff;
    --bg-2:       #f8fafc;
    --bg-3:       #f1f5f9;
    --bg-card:    #ffffff;
    --text:       #334155;
    --text-m:     #475569;
    --text-l:     #64748b;
    --border:     #e2e8f0;
    --border-h:   #cbd5e1;
    --shadow-sm:  0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.1);
    --radius:     12px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.75;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 64px; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 26px; color: var(--primary); line-height: 1; }
.logo-text { color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-link {
    color: var(--text-l); text-decoration: none; font-size: 15px; font-weight: 500;
    transition: color var(--transition); position: relative; padding: 4px 0;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
    background: var(--primary); color: #fff; border: none;
    padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all var(--transition); white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-d); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }

.mobile-nav {
    position: fixed; top: 64px; left: 0; right: 0; background: var(--bg);
    padding: 16px 24px; display: none; flex-direction: column;
    gap: 4px; z-index: 999; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.mobile-nav.active { display: flex; }
.mobile-nav a { color: var(--text); text-decoration: none; font-size: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 50%, #e0e7ff 100%);
    overflow: hidden; padding-top: 64px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute; border-radius: 50%; opacity: .4;
}
.shape-1 {
    width: 500px; height: 500px;
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(59,130,246,.05));
    top: -150px; right: -100px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(217,119,6,.03));
    bottom: -100px; left: -80px;
}
.shape-3 {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, rgba(37,99,235,.08), transparent);
    top: 40%; right: 15%;
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px 60px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(59,130,246,.05));
    border: 1px solid rgba(37,99,235,.2);
    color: var(--primary); padding: 8px 18px; border-radius: 24px;
    font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero-title { font-size: clamp(36px, 7vw, 60px); font-weight: 900; color: var(--text); line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.title-line { display: block; }
.highlight { color: var(--primary); }
.hero-desc { color: var(--text-m); font-size: 18px; line-height: 1.9; margin-bottom: 32px; max-width: 560px; }
.hero-desc strong { color: var(--primary); }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
    background: var(--primary); color: #fff; padding: 14px 32px; border-radius: 8px;
    font-weight: 700; font-size: 16px; text-decoration: none; transition: all var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.25); }
.btn-ghost {
    border: 2px solid var(--border-h); color: var(--text); padding: 13px 30px;
    border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none;
    transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 36px; font-weight: 900; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--text-l); }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* ===== 通用 Section 样式 ===== */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-label {
    display: inline-block; color: var(--primary); font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.section-title { font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 40px; }
.sub-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 24px; position: relative; padding-left: 16px; }
.sub-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--primary); border-radius: 2px; }

/* ===== 关于我们 ===== */
.about { background: var(--bg-2); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro { margin-bottom: 32px; }
.about-intro p { margin-bottom: 16px; font-size: 16px; color: var(--text-m); line-height: 1.9; }
.about-intro strong { color: var(--primary); }
.about-values h3 { font-size: 18px; color: var(--text); margin-bottom: 16px; font-weight: 700; }
.value-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.value-tag {
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    padding: 16px; transition: all var(--transition); cursor: pointer;
}
.value-tag:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.v-icon { font-size: 24px; display: block; margin-bottom: 8px; }
.v-title { font-size: 15px; font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.v-desc { font-size: 13px; color: var(--text-l); display: block; }

.about-image { position: relative; }
.img-frame {
    background: linear-gradient(135deg, var(--bg-3), var(--bg));
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-badge {
    position: absolute; bottom: -20px; left: 24px;
    background: var(--primary); color: #fff; padding: 16px 24px;
    border-radius: 12px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; align-items: center;
}
.badge-num { font-size: 32px; font-weight: 900; line-height: 1; }
.badge-text { font-size: 12px; margin-top: 4px; }

/* ===== 服务产品 ===== */
.service { }

/* 三大产品 */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.product-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 24px; transition: all var(--transition); position: relative;
}
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card.main { border-color: var(--primary); border-width: 2px; }
.product-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 12px;
}
.product-icon { font-size: 48px; margin-bottom: 16px; }
.product-card h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; font-weight: 700; }
.product-desc { font-size: 15px; color: var(--text-l); margin-bottom: 16px; line-height: 1.7; }
.product-features { list-style: none; margin-bottom: 20px; }
.product-features li { font-size: 14px; color: var(--text-m); padding: 4px 0; }
.product-btn {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all var(--transition);
}
.product-btn:hover { background: var(--primary-d); transform: translateY(-1px); }
.product-btn.secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.product-btn.secondary:hover { background: var(--primary); color: #fff; }

/* 服务优势 */
.service-advantages { margin-bottom: 60px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
    background: var(--bg-2); border-radius: var(--radius); padding: 28px 24px;
    border: 1px solid var(--border); transition: all var(--transition);
}
.adv-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.adv-icon { font-size: 36px; margin-bottom: 16px; }
.adv-card h4 { font-size: 17px; color: var(--text); margin-bottom: 8px; font-weight: 700; }
.adv-card p { font-size: 14px; color: var(--text-l); line-height: 1.8; }

/* 其他亮点 */
.other-highlights { margin-bottom: 60px; }
.highlights-list { display: flex; flex-direction: column; gap: 20px; }
.highlight-item {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: all var(--transition);
}
.highlight-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.hl-icon { font-size: 32px; flex-shrink: 0; }
.hl-content h4 { font-size: 16px; color: var(--text); margin-bottom: 6px; font-weight: 700; }
.hl-content p { font-size: 14px; color: var(--text-l); line-height: 1.7; }

/* 战略合作伙伴 */
.partners { }
.partners-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner-item {
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
    padding: 16px 32px; font-size: 15px; color: var(--text-m); font-weight: 500;
    transition: all var(--transition);
}
.partner-item:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 解决方案 ===== */
.solution { background: var(--bg-2); }
.table-wrap { max-width: 900px; margin: 0 auto 48px; overflow-x: auto; }
.comp-table { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.comp-table th { background: var(--primary); color: #fff; padding: 16px 20px; font-weight: 700; font-size: 15px; text-align: center; }
.comp-table th small { display: block; font-weight: 400; font-size: 12px; opacity: .8; margin-top: 2px; }
.comp-table th:first-child { text-align: left; }
.comp-table th.pro-col { background: var(--primary-d); }
.comp-table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.comp-table td:first-child { text-align: left; font-weight: 500; color: var(--text-m); background: var(--bg-2); }
.comp-table td:first-child small { display: block; font-weight: 400; font-size: 12px; color: var(--text-l); }
.comp-table tbody tr:last-child td { border-bottom: none; }
.key-data { color: var(--accent-d) !important; font-weight: 700 !important; font-size: 16px !important; cursor: help; }
.pro-col { color: var(--primary) !important; }

/* 步骤卡片 */
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; display: flex; gap: 20px; align-items: flex-start;
    transition: all var(--transition);
}
.step:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-n { flex-shrink: 0; width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step h3 { color: var(--text); font-size: 17px; margin-bottom: 12px; font-weight: 700; }
.step ul { list-style: none; }
.step li { padding: 4px 0 4px 16px; position: relative; font-size: 14px; color: var(--text-m); }
.step li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== 联系我们 ===== */
.contact { }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.contact-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 24px; text-align: center;
    transition: all var(--transition);
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h4 { font-size: 15px; color: var(--text-l); font-weight: 500; margin-bottom: 10px; }
.contact-phone-num { font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin: 8px 0; font-family: 'Courier New', monospace; }
.contact-address-text { font-size: 15px; color: var(--text-m); line-height: 1.6; margin: 8px 0; }
.contact-action {
    display: inline-block; margin-top: 12px; padding: 8px 20px;
    background: var(--primary); color: #fff; border-radius: 20px;
    font-size: 13px; font-weight: 500; text-decoration: none;
    transition: all var(--transition);
}
.contact-action:hover { background: var(--primary-dark); transform: scale(1.05); }
.contact-card small { font-size: 13px; color: var(--text-l); }
.contact-qr { display: flex; flex-direction: column; align-items: center; }
.qr-box {
    width: 160px; height: 160px; background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; overflow: hidden; transition: all var(--transition);
}
.qr-box:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.qr-box img { width: 100%; height: 100%; object-fit: cover; }
.contact-qr span { font-size: 14px; color: var(--text-m); font-weight: 500; }

/* ===== 页脚 ===== */
.footer { background: var(--text); color: rgba(255,255,255,.7); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 13px; }

/* ===== 悬浮咨询按钮 ===== */
.float-consult { position: fixed; bottom: 28px; right: 28px; z-index: 1100; }
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; border: none;
    background: var(--primary); color: #fff; cursor: pointer;
    font-size: 22px; display: grid; place-items: center;
    box-shadow: 0 4px 20px rgba(37,99,235,.35); transition: all var(--transition);
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,99,235,.5); }

/* ===== 咨询弹窗 ===== */
.chat-popup {
    position: fixed; bottom: 96px; right: 28px; width: 360px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); display: none; flex-direction: column;
    z-index: 1101; overflow: hidden;
}
.chat-popup.active { display: flex; animation: slideUp .3s ease; }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.chat-head { background: var(--primary); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.chat-x { background: none; border: none; color: rgba(255,255,255,.8); cursor: pointer; font-size: 18px; }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-height: 300px; background: var(--bg-2); }
.c-msg { padding: 10px 14px; border-radius: 10px; font-size: 14px; max-width: 80%; line-height: 1.6; }
.c-msg.bot  { background: var(--bg); color: var(--text); align-self: flex-start; border: 1px solid var(--border); }
.c-msg.user { background: var(--primary); color: #fff; align-self: flex-end; }
.chat-foot { display: flex; padding: 12px; border-top: 1px solid var(--border); gap: 8px; background: var(--bg); }
.chat-txt { flex: 1; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 14px; font-family: inherit; outline: none; }
.chat-txt:focus { border-color: var(--primary); }
.chat-go { background: var(--primary); color: #fff; border: none; border-radius: 8px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; transition: all var(--transition); }
.chat-go:hover { background: var(--primary-d); }

/* ===== Tooltip ===== */
.tip-box {
    position: fixed; background: var(--text); color: #fff; padding: 8px 14px;
    border-radius: 6px; font-size: 13px; z-index: 2000; opacity: 0; pointer-events: none;
    transition: opacity .2s ease; white-space: nowrap; font-weight: 500;
    box-shadow: var(--shadow-md);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .products-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
    .stat-divider { display: none; }
    .value-tags { grid-template-columns: 1fr; }
    .step-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .qrcode-area { justify-content: center; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .chat-popup { width: calc(100vw - 40px); right: 20px; bottom: 84px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .section { padding: 60px 16px; }
    .highlight-item { flex-direction: column; text-align: center; }
}
