/* ================= 纯色体系：告别发灰 ================= */
:root {
    --bg: #F8FAFC;
    --navy: #3B5998;
    --navy-deep: #2C3E50;
    --coral: #FF8C73;
    --coral-deep: #FF6B4A;
    --teal: #20C997;
    --teal-light: #E6F8F2;
    --coral-light: #FFF0EC;
    --text-main: #1E293B;
    --text-sub: #475569;
    --white: #ffffff;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 10px 30px rgba(59, 89, 152, 0.08);
    --shadow-hover: 0 20px 40px rgba(59, 89, 152, 0.15);
}

/* 强制锁死全局宽度 (防左右滑动) */
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    word-break: break-word;
}

body {
    font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: 100% !important; }

/* 全局容器 */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

/* ================= 🎯 导航栏 ================= */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--white) !important;
    border-bottom: 1px solid #E2E8F0;
    z-index: 1000;
    padding: 0;
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 84px; width: 100%; max-width: 1400px;
    margin: 0 auto; padding: 0 40px;
}

.logo-left { flex: 0 0 auto; display: flex; align-items: center; }
.logo-title { color: var(--navy); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }

.nav-center { flex: 1; display: flex; align-items: center; justify-content: center; gap: 40px; list-style: none; margin: 0; }
.nav-center > li > a { color: var(--navy); font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 4px; position: relative; padding: 10px 0; transition: color 0.3s; }
.nav-center > li > a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--coral); transition: width 0.3s; }
.nav-center > li > a:hover::after { width: 100%; }
.nav-center > li > a:hover { color: var(--coral-deep); }
.dropdown-icon { width: 14px; height: 14px; transition: transform 0.3s; }
.has-dropdown:hover .dropdown-icon { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--white); min-width: 220px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 16px 0;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    list-style: none; border: 1px solid #E2E8F0;
}
.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 24px; font-size: 0.9rem; color: var(--text-sub); font-weight: 500; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.dropdown-menu li a:hover { background: var(--bg); color: var(--coral-deep); }

.nav-right { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; align-items: center; background: #F1F5F9; border-radius: 30px; padding: 4px; gap: 4px; margin-right: 10px; }
.lang-switch a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 16px; font-size: 13px; color: var(--text-sub); border-radius: 20px; transition: all 0.3s ease; text-decoration: none; line-height: 1; font-weight: 600; }
.lang-switch .fi { border-radius: 50%; width: 16px; height: 16px; background-size: cover; box-shadow: 0 0 2px rgba(0,0,0,0.1); }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.active { background: var(--white); color: var(--navy) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.btn-inquiry { display: inline-flex; align-items: center; justify-content: center; background: var(--coral); color: var(--white) !important; font-weight: 700; font-size: 0.95rem; padding: 12px 28px; border-radius: 50px; border: none; transition: transform 0.3s, box-shadow 0.3s, background 0.3s; box-shadow: 0 4px 12px rgba(255, 140, 115, 0.3); white-space: nowrap; }
.btn-inquiry:hover { transform: translateY(-3px); background: var(--coral-deep); box-shadow: 0 8px 20px rgba(255, 140, 115, 0.4); }

/* ================= 首页 Hero 模块 ================= */
.hero { padding: 180px 0 120px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.hero-eyebrow { display: inline-block; background: var(--coral-light); color: var(--coral-deep); font-size: 0.85rem; font-weight: 800; padding: 8px 18px; border-radius: 20px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.15; color: var(--navy); margin-bottom: 24px; font-weight: 800; }
.hero h1 span { color: var(--coral); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-sub); max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.bento-hero { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 180px 140px 160px; gap: 20px; }
.b-cell { border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.b-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.b-cell.a { grid-row: span 2; background: var(--navy); color: var(--white); }
.b-cell.b { background: var(--teal); color: var(--white); }
.b-cell.c { background: var(--white); color: var(--navy); border: 1px solid #E2E8F0; }
.b-cell.d { grid-column: span 2; background: var(--coral); color: var(--white); flex-direction: row; align-items: center; justify-content: flex-start; }
.b-cell h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.b-cell p { font-size: 0.95rem; opacity: 0.95; font-weight: 500; }

/* ================= 数据背书 ================= */
.stats { background: var(--white); border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num { font-size: 3.5rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 12px; }
.stat-num span { color: var(--teal); }
.stat-label { font-size: 1rem; color: var(--text-sub); font-weight: 600; }

/* ================= 业务场景 ================= */
.scenarios { padding: 120px 0; background: var(--bg); }
.sec-title { text-align: center; margin-bottom: 80px; }
.sec-title h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin-bottom: 16px; font-weight: 800; }
.sec-title p { color: var(--text-sub); font-size: 1.15rem; }

.scene-row { display: flex; align-items: center; gap: 80px; margin-bottom: 100px; }
.scene-row:nth-child(even) { flex-direction: row-reverse; }
.scene-text { flex: 1; }
.scene-text .tag { color: var(--coral-deep); font-weight: 800; font-size: 0.9rem; margin-bottom: 16px; display: inline-block; background: var(--coral-light); padding: 6px 12px; border-radius: 6px; }
.scene-text h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--navy); margin-bottom: 20px; font-weight: 800; }
.scene-text p { color: var(--text-sub); font-size: 1.1rem; margin-bottom: 30px; }
.scene-text ul { list-style: none; padding-left: 0; }
.scene-text li { position: relative; padding-left: 32px; margin-bottom: 16px; color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.scene-text li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--teal-light); color: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; }

.scene-ui { flex: 1.2; background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid #E2E8F0; }

/* ================= 服务矩阵 ================= */
.services { padding: 120px 0; background: var(--white); }
.bento-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bs-card { border-radius: var(--radius-lg); padding: 40px; min-height: 240px; transition: transform 0.3s, box-shadow 0.3s; }
.bs-card.light { background: var(--bg); border: 1px solid #E2E8F0; }
.bs-card.teal { background: var(--teal-light); color: var(--navy); }
.bs-card.coral { background: var(--coral-light); color: var(--navy); }
.bs-card.dark { background: var(--navy); color: var(--white); }
.bs-card.wide { grid-column: span 2; }
.bs-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.bs-card p { font-size: 1rem; opacity: 0.85; }
.bs-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

/* ================= 客户评价 ================= */
.testimonials { padding: 120px 0; background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.testi-card { background: var(--white); padding: 50px; border-radius: var(--radius-lg); border: 1px solid #E2E8F0; }
.testi-text { font-size: 1.15rem; color: var(--navy); font-style: italic; margin-bottom: 30px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.testi-name { font-weight: 800; color: var(--navy); }
.testi-role { font-size: 0.85rem; color: var(--text-sub); }

/* ================= 🎯 新闻卡片 (News Section) ================= */
.news-section { padding: 100px 0; background: #F8FAFC; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #E2E8F0; text-decoration: none; display: flex; flex-direction: column; transition: all 0.4s ease; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-card .img-wrap { height: 220px; overflow: hidden; background: #E2E8F0; }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .img-wrap img { transform: scale(1.08); }
.news-card .card-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.news-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 20px; }
.news-card .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #94A3B8; border-top: 1px solid #F1F5F9; padding-top: 15px; font-weight: 600; }
.news-card .card-meta .read-more { color: var(--coral); }

/* ================= Footer ================= */
.cta-section { padding: 120px 40px; text-align: center; background: var(--navy); border-radius: var(--radius-lg); margin: 60px auto; max-width: 1320px; color: var(--white); }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; font-weight: 800; }
.cta-section p { font-size: 1.15rem; color: #CBD5E1; margin-bottom: 40px; }
.cta-section .btn { display: inline-block; background: var(--white); color: var(--navy); padding: 14px 40px; border-radius: 50px; font-weight: bold; text-decoration: none; transition: 0.3s; }
.cta-section .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

footer { background: var(--bg); padding: 80px 0 40px; border-top: 1px solid #E2E8F0; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; max-width: 1400px; margin: 0 auto 60px; padding: 0 40px; }
.footer-grid h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 24px; font-weight: 800; }
.footer-grid a { display: block; margin-bottom: 16px; color: var(--text-sub); transition: color 0.3s; }
.footer-grid a:hover { color: var(--coral-deep); }
.footer-bottom { border-top: 1px solid #E2E8F0; padding-top: 30px; display: flex; justify-content: space-between; color: var(--text-sub); font-size: 0.9rem; max-width: 1400px; margin: 0 auto; padding: 30px 40px; }

/* ================= 侧边浮动工具栏 ================= */
.float-toolbar { position: fixed; right: 20px; bottom: 80px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15); transition: all 0.25s ease; text-decoration: none; }
.float-btn:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25); }
.float-btn.youtube { color: #ff0000; } .float-btn.facebook { color: #1877f2; } .float-btn.linkedin { color: #0a66c2; } .float-btn.whatsapp { color: #25d366; } .float-btn.instagram { color: #e4405f; } .float-btn.tiktok { color: #0f172a; } .float-btn.backtop { color: #1e40af; }

/* ================= 首页 Hero 按钮排版 ================= */
.hero-btn-wrap {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}
.hero-actions {
    display: flex;
    gap: 16px;
    pointer-events: auto;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    justify-content: flex-start;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--coral); color: var(--white) !important;
    padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; box-shadow: 0 10px 25px rgba(255, 140, 115, 0.4); transition: all 0.3s;
}
.btn-hero-primary:hover { transform: translateY(-3px); background: var(--coral-deep); }
.btn-hero-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: #ffffff; color: var(--navy) !important;
    padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: all 0.3s;
}
.btn-hero-secondary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* ================= 🎯 智能 Banner 展现模式 ================= */
.banner-wrapper {
    width: 100%;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
}
.banner-fit-cover .banner-img { width: 100%; height: 100%; object-fit: cover; }
.banner-fit-contain .banner-img { width: 100%; height: 100%; object-fit: contain; }
.banner-fit-fill .banner-img { width: 100%; height: 100%; object-fit: fill; }
.banner-fit-repeat { background-repeat: repeat; background-size: auto; }
.banner-fit-repeat .banner-img { display: none; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.6); color: var(--navy); transform: translateY(-50%) scale(1.1); }
.hero-arrow-prev { left: 40px; }
.hero-arrow-next { right: 40px; }

/* ================= 🎯 移动端全面修复 ================= */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .nav-center { display: none !important; }
    .nav-right { display: none !important; }

    /* 汉堡按钮 */
    .mobile-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; background: #f5f5f5; border-radius: 50%; margin-left: auto; z-index: 10005; position: relative; }
    .mobile-toggle span { display: block; width: 20px; height: 2px; background: #111; margin: 3px 0; transition: all 0.3s ease; transform-origin: center; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* 全屏菜单 */
    .mobile-menu { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #fff; z-index: 10000; padding: 100px 30px 40px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); overflow-y: auto; }
    .mobile-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }

    .mobile-nav-list { list-style: none; padding: 0; margin: 0; }
    .mobile-nav-list > li { border-bottom: 1px solid #eee; }
    .mobile-nav-list > li > a { display: flex; align-items: center; justify-content: space-between; padding: 20px 10px; font-size: 16px; color: #333; }
    .mobile-nav-list > li > a:active { color: var(--coral); }

    .mobile-arrow-icon { display: inline-block; width: 10px; height: 10px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(45deg); transition: transform 0.4s ease; margin-right: 5px; }
    .has-mobile-dropdown.open .mobile-arrow-icon { transform: rotate(-135deg); border-color: var(--coral); }

    .mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #fafafa; border-radius: 8px; margin: 0; padding: 0; }
    .mobile-submenu.open { max-height: 500px; }
    .mobile-submenu li { border-bottom: 1px solid #eee; }
    .mobile-submenu li a { display: block; padding: 15px 30px; font-size: 14px; color: #666; }

    .mobile-lang-switch { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; padding-bottom: 20px; border-bottom: none !important; }
    .mobile-lang-switch a { display: flex; align-items: center; gap: 8px; padding: 10px 24px; font-size: 15px; color: #475569; background: #F1F5F9; border-radius: 30px; font-weight: 600; transition: all 0.3s; }
    .mobile-lang-switch .fi { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 2px rgba(0,0,0,0.1); }
    .mobile-lang-switch a.active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(59, 89, 152, 0.2); }
    .mobile-lang-switch a:not(.active) { border: 1px solid #E2E8F0; }
    .mobile-btn-inquiry { display: inline-flex !important; justify-content: center; align-items: center; background: var(--coral) !important; color: #fff !important; padding: 12px 30px !important; border-radius: 30px; text-align: center; margin-top: 30px; font-weight: 600 !important; width: 100%; border-bottom: none !important; }

    /* 底部社交栏 */
    .social-bar { display: flex !important; background: #0f172a; border-top: 1px solid #1e293b; position: fixed; bottom: 0; left: 0; right: 0; width: 100% !important; z-index: 9999 !important; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; align-items: center; }
    .social-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #cbd5e1; font-size: 11px; font-weight: 500; padding: 4px 0; text-decoration: none; }
    .social-item svg { width: 22px; height: 22px; }
    .social-item.youtube svg { color: #ff0000; } .social-item.facebook svg { color: #1877f2; } .social-item.whatsapp svg { color: #25d366; } .social-item.instagram svg { color: #e4405f; } .social-item.linkedin svg { color: #0a66c2; } .social-item.tiktok svg { color: #ffffff; }

    /* 内容区适配 */
    body { padding-bottom: 80px; }

    .hero { padding: 0 !important; }
    .hero-actions { flex-direction: column; width: 100%; padding: 0 20px; bottom: 40px !important; }
    .hero-actions .btn-inquiry, .hero-actions a { width: 100%; justify-content: center; }

    .hero-grid { display: flex; flex-direction: column; gap: 40px; }
    .bento-hero { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; }
    .b-cell.a, .b-cell.d { grid-row: auto; grid-column: auto; flex-direction: column; align-items: flex-start; padding: 24px; }
    .b-cell.b, .b-cell.c { padding: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 10px; }
    .stat-num { font-size: 2.2rem; }
    .scene-row, .scene-row:nth-child(even) { flex-direction: column; gap: 30px; margin-bottom: 60px; }
    .scene-ui { width: 100%; padding: 20px; }
    .bento-services { grid-template-columns: 1fr; gap: 16px; }
    .bs-card { padding: 30px; min-height: auto; }
    .bs-card.wide { grid-column: auto; }
    .testi-grid { grid-template-columns: 1fr; gap: 20px; }
    .testi-card { padding: 30px; }
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 24px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 30px 24px; }
    .cta-section { padding: 60px 24px; margin: 30px auto; width: calc(100% - 48px); }
    .float-toolbar { display: none !important; }
}

@media (max-width: 768px) {
    /* 隐藏 PC 专属的悬浮按钮 */
    .pc-only { display: none !important; }

    /* 🎯 修复：保留一定高度，让图片完整居中显示，不留大白 */
    .banner-container {
        min-height: 320px !important; /* 稍微降低高度，减少留白 */
        height: auto !important;
        background: #ffffff !important; /* 🎯 关键：把灰色背景改成纯白色 */
    }

    /* 恢复绝对定位，确保图片不坍缩 */
    .banner-slider, .banner-single {
        position: absolute !important;
        top: 0; left: 0; width: 100%; height: 100%;
    }

    .banner-container img.banner-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block;
        background: #ffffff !important; /* 🎯 图片区域的背景也设白 */
    }

    /* 隐藏没有激活的幻灯片 */
    .banner-slider .slide-item { display: none; }
    .banner-slider .slide-item.active { display: block; }

    /* 隐藏没有激活的幻灯片（防止多图占空间） */
    .banner-slider .slide-item { display: none; }
    .banner-slider .slide-item.active { display: block; }

    /* 优化左右切换箭头 */
    .hero-arrow {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--navy);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border: none;
        top: 50%;
    }
    .hero-arrow-prev { left: 10px; }
    .hero-arrow-next { right: 10px; }
    .hero-arrow svg { width: 20px; height: 20px; }

    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* 隐藏移动端菜单，直到点击汉堡按钮 */
.mobile-menu { display: none; }
.mobile-menu.active { display: block; }

/* 在电脑端强制隐藏底部社交栏 */
.social-bar { display: none; }
/* ================= 🎯 服务分类胶囊按钮特效 ================= */
.service-tabs-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    z-index: 10;
}
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.tab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-sub);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

/* 悬浮特效 */
.tab-btn:hover {
    color: var(--navy);
    background: #fff;
    border-color: var(--coral);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 140, 115, 0.15);
}

/* 激活状态 (当前页面) */
.tab-btn.active {
    background: var(--navy);
    color: #fff !important;
    border-color: var(--navy);
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.3);
    transform: translateY(-4px);
}

/* 激活状态下的闪耀圆点 */
.active-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--coral);
    border-radius: 50%;
    margin-left: 10px;
    box-shadow: 0 0 10px var(--coral);
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .service-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .service-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex-shrink: 0;
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}