/* ============================================
   术码信息技术（四川）有限公司 - 官网样式
   ============================================ */

/* --- CSS变量 --- */
:root {
    --primary: #4F8EF7;
    --primary-dark: #2D5BE3;
    --primary-light: #7BB3FF;
    --secondary: #6C5CE7;
    --accent: #00B894;
    --accent-light: #55EFC4;
    --orange: #E17055;
    --pink: #FD79A8;
    --cyan: #0984E3;
    --gold: #C9A84C;
    --dark: #0A0F1E;
    --dark-2: #141B2D;
    --dark-3: #1A2340;
    --dark-card: rgba(20, 27, 45, 0.85);
    --text: #E4E8F1;
    --text-secondary: #8B95B0;
    --text-muted: #5A6480;
    --border: rgba(79, 142, 247, 0.12);
    --glass-bg: rgba(20, 27, 45, 0.6);
    --glass-border: rgba(79, 142, 247, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-lg: 24px;
    --section-padding: 90px 0;
    --nav-height: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 暗色模式（默认） */
[data-theme="dark"], :root {
    --bg-primary: #0A0F1E;
    --bg-secondary: #141B2D;
    --bg-card: rgba(20, 27, 45, 0.85);
    --text-primary: #E4E8F1;
    --text-secondary: #8B95B0;
    --border-color: rgba(79, 142, 247, 0.12);
}

/* 亮色模式 */
[data-theme="light"] {
    --bg-primary: #F8F9FC;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.92);
    --text-primary: #111827;
    --text-secondary: #374151;
    --border-color: rgba(79, 142, 247, 0.10);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(79, 142, 247, 0.10);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0,0,0,0.02);
    --dark-card: rgba(255, 255, 255, 0.92);
    --text: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --border: rgba(79, 142, 247, 0.10);
}

/* 主题平滑过渡 */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
    transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* 移动端body锁定 */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary); color: var(--text);
    line-height: 1.7; overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
    position: relative; margin: 0; padding: 0;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- 页面加载进度条 --- */
.page-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 99999;
    pointer-events: none; transition: opacity 0.5s;
}
.loader-bar {
    height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 0 2px 2px 0;
    animation: loaderProgress 1.2s ease-out forwards;
}
@keyframes loaderProgress {
    0% { width: 0; } 30% { width: 50%; } 60% { width: 75%; } 100% { width: 100%; }
}
body.loaded .page-loader { opacity: 0; }

/* --- 暗色模式切换 --- */
.theme-toggle {
    background: none; border: none; cursor: pointer; color: var(--text);
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: var(--transition);
}
.theme-toggle:hover { background: rgba(79, 142, 247, 0.1); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* --- 导航栏 --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 0 24px; height: var(--nav-height);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
/* 亮色模式下导航栏始终有背景，否则文字不可见 */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(79, 142, 247, 0.06);
}
.nav-container {
    max-width: 1200px; width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; border-radius: 6px; }
.logo-text { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
[data-theme="light"] .logo-text { color: var(--dark); }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
    padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
    color: rgba(255, 255, 255, 0.75); transition: var(--transition);
    white-space: nowrap;
}
[data-theme="light"] .nav-link { color: rgba(26, 35, 64, 0.7); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(79, 142, 247, 0.15); }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: var(--primary); background: rgba(79, 142, 247, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
[data-theme="light"] .nav-toggle span { background: var(--dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; }
.nav-overlay.active { display: block; }

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--dark);
}
#particleCanvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(79, 142, 247, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 60%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 800px;
}
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600;
    background: rgba(79, 142, 247, 0.12); border: 1px solid rgba(79, 142, 247, 0.2);
    color: var(--primary-light); margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.15;
    color: #fff; margin-bottom: 24px; letter-spacing: -0.5px;
}
.title-accent {
    background: linear-gradient(135deg, #4F8EF7 0%, #6C5CE7 50%, #00B894 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.typewriter::after {
    content: '|'; animation: blink 0.8s infinite;
    -webkit-text-fill-color: var(--primary);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.title-sub { display: block; font-size: clamp(20px, 3.2vw, 30px); font-weight: 700; color: rgba(255, 255, 255, 0.85); -webkit-text-fill-color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.hero-desc { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255, 255, 255, 0.55); max-width: 560px; margin: 0 auto 36px; letter-spacing: 0.3px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
    border: none; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
    box-shadow: 0 4px 20px rgba(79, 142, 247, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79, 142, 247, 0.4); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(79, 142, 247, 0.4); }
.btn-outline:hover { background: rgba(79, 142, 247, 0.1); border-color: var(--primary); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.btn-full { width: 100%; }

/* 按钮波纹 */
.btn::after {
    content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%);
    transform: scale(10); opacity: 0; transition: transform 0.5s, opacity 0.8s;
}
.btn:active::after { transform: scale(0); opacity: 1; transition: 0s; }

/* 统计数字 */
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
    padding: 32px 48px; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px); margin-top: 12px;
    transition: all 0.4s ease;
}
.hero-stats:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 40px rgba(79, 142, 247, 0.08);
}
.stat-item { text-align: center; }
.stat-item > div { display: flex; align-items: baseline; justify-content: center; }
.stat-num { font-size: 40px; font-weight: 900; color: #fff; }
.stat-suffix { font-size: 20px; font-weight: 700; color: var(--primary-light); }
.stat-label { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.1); }

/* 滚动指示 */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, 0.4); font-size: 12px;
    animation: scrollBounce 2s infinite;
}
.mouse { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 11px; }
.wheel { width: 3px; height: 8px; background: rgba(255, 255, 255, 0.5); border-radius: 2px; margin: 6px auto 0; animation: wheelScroll 1.5s infinite; }
@keyframes wheelScroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* --- 通用Section --- */
.section { padding: var(--section-padding); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; color: var(--primary); background: rgba(79, 142, 247, 0.08);
    border: 1px solid rgba(79, 142, 247, 0.15); margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 12px; color: var(--text); letter-spacing: -0.3px; }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; margin: 0 auto 12px; }
.section-desc { color: var(--text-secondary); font-size: 15px; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* --- 玻璃拟态 --- */
.glass {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius); box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass:hover {
    border-color: rgba(79, 142, 247, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(79, 142, 247, 0.06);
}

/* --- 关于我们 --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrapper { position: relative; }
.about-illustration { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); }
.about-svg { width: 100%; height: auto; display: block; }
.about-float-card {
    position: absolute; padding: 12px 18px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--dark);
    animation: floatCard 4s ease-in-out infinite;
}
.about-float-card .float-icon { font-size: 22px; }
.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.card-2 { bottom: 15%; left: -8%; animation-delay: 2s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- 板块分割装饰 --- */
.section::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 142, 247, 0.15), transparent);
}
.section { position: relative; }

.about-subtitle { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.about-text { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.9; }
.about-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.info-item { padding: 12px 16px; border-radius: 10px; background: rgba(79, 142, 247, 0.06); border: 1px solid rgba(79, 142, 247, 0.1); }
.info-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 13px; font-weight: 600; color: var(--text); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(79, 142, 247, 0.1); color: var(--primary);
}
.feature-icon svg { width: 20px; height: 20px; }
.about-feature h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.about-feature p { font-size: 12px; color: var(--text-secondary); }

/* --- 核心团队 --- */
.team-section { background: var(--bg-secondary); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card {
    text-align: center; padding: 36px 24px; border-radius: var(--radius-lg);
    background: var(--bg-card); border: 1px solid var(--border-color);
    transition: transform 0.2s ease-out, box-shadow 0.3s ease !important;
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15); border-color: rgba(79, 142, 247, 0.22); }
.team-avatar { position: relative; display: inline-block; margin-bottom: 16px; }
.avatar-circle {
    width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: #fff;
}
.gradient-blue { background: linear-gradient(135deg, #4F8EF7, #2D5BE3); }
.gradient-purple { background: linear-gradient(135deg, #6C5CE7, #A29BFE); }
.gradient-green { background: linear-gradient(135deg, #00B894, #55EFC4); }
.gradient-orange { background: linear-gradient(135deg, #E17055, #FAB1A0); }
.avatar-ring {
    position: absolute; inset: -4px; border-radius: 50%; border: 2px dashed rgba(79, 142, 247, 0.2);
    animation: ringRotate 10s linear infinite;
}
@keyframes ringRotate { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.team-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.team-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.team-tags span {
    padding: 3px 10px; border-radius: 50px; font-size: 11px;
    background: rgba(79, 142, 247, 0.08); color: var(--primary); border: 1px solid rgba(79, 142, 247, 0.12);
}

/* --- 核心业务 --- */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.business-card {
    padding: 36px 28px; position: relative; overflow: hidden; border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease !important;
}
.business-card-glow {
    position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
    transition: var(--transition);
}
.cyan-glow { background: radial-gradient(circle, rgba(9, 132, 227, 0.08) 0%, transparent 70%); }
.pink-glow { background: radial-gradient(circle, rgba(253, 121, 168, 0.08) 0%, transparent 70%); }
.business-card:hover { transform: translateY(-8px); border-color: rgba(79, 142, 247, 0.25); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.business-card:hover .business-card-glow { transform: scale(1.5); opacity: 2; }
.business-card h3 { margin-bottom: 10px; }
.business-card p { flex: 1; }
.business-tags { margin-top: auto; padding-top: 8px; }
.business-icon { width: 52px; height: 52px; margin-bottom: 18px; }
.business-icon svg { width: 100%; height: 100%; }
.business-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.business-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.business-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.business-tags li {
    padding: 4px 12px; border-radius: 50px; font-size: 12px;
    background: rgba(79, 142, 247, 0.06); color: var(--primary);
    border: 1px solid rgba(79, 142, 247, 0.1);
}
.business-tags.cyan li { background: rgba(9, 132, 227, 0.06); color: var(--cyan); border-color: rgba(9, 132, 227, 0.1); }
.business-tags.pink li { background: rgba(253, 121, 168, 0.06); color: var(--pink); border-color: rgba(253, 121, 168, 0.1); }

/* --- 新闻动态 --- */
.news-section { background: var(--bg-secondary); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.news-card {
    border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease-out, box-shadow 0.3s ease !important;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14); border-color: rgba(79, 142, 247, 0.18); }
.news-img { overflow: hidden; }
.news-img svg { display: block; transition: transform 0.4s; }
.news-card:hover .news-img svg { transform: scale(1.05); }
.news-body { padding: 24px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-date { font-size: 12px; color: var(--text-muted); }
.news-tag {
    padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 600;
}
.news-tag.blue { background: rgba(79, 142, 247, 0.1); color: var(--primary); }
.news-tag.purple { background: rgba(108, 92, 231, 0.1); color: var(--secondary); }
.news-tag.green { background: rgba(0, 184, 148, 0.1); color: var(--accent); }
.news-tag.orange { background: rgba(225, 112, 85, 0.1); color: var(--orange); }
.news-body h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.5; }
.news-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- 资质证书 --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cert-card { text-align: center; cursor: pointer; }
.flip-card { perspective: 1000px; }
.flip-inner {
    position: relative; width: 100%; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
    backface-visibility: hidden; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border-color);
}
.flip-front { position: relative; padding: 28px 18px; min-height: 280px; }
.flip-back {
    position: absolute; inset: 0; transform: rotateY(180deg);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.cert-seal { margin-bottom: 12px; }
.cert-ribbon {
    position: absolute; top: 0; right: 20px; width: 28px; height: 40px;
    background: linear-gradient(135deg, #C9A84C, #E8D48B);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}
.cert-ribbon.blue { background: linear-gradient(135deg, #4F8EF7, #7BB3FF); }
.cert-ribbon.green { background: linear-gradient(135deg, #00B894, #55EFC4); }
.cert-ribbon.orange { background: linear-gradient(135deg, #E17055, #FAB1A0); }
.cert-inner { text-align: center; }
.cert-header { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.cert-type { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.cert-body p { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.cert-company { font-weight: 700; color: var(--text) !important; }
.cert-footer { margin-top: 12px; font-size: 10px; color: var(--text-muted); }
.cert-back-content { text-align: center; }
.cert-back-content h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 12px 0 8px; }
.cert-back-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.cert-back-tag {
    display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 50px; font-size: 12px;
    background: rgba(79, 142, 247, 0.08); color: var(--primary); border: 1px solid rgba(79, 142, 247, 0.12);
}
.cert-card > h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 14px; }
.cert-card > p { font-size: 12px; color: var(--text-secondary); }

/* --- 产品展示 --- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.product-card {
    border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card);
    border: 1px solid var(--border-color); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.15); }
.product-badge {
    position: absolute; top: 16px; left: 16px; padding: 4px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); z-index: 2;
}
.product-preview { padding: 36px 24px 20px; display: flex; justify-content: center; }
.product-info { padding: 0 28px 28px; }
.product-info h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.product-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-tags span {
    padding: 4px 12px; border-radius: 50px; font-size: 12px;
    background: rgba(79, 142, 247, 0.08); color: var(--primary); border: 1px solid rgba(79, 142, 247, 0.12);
}

/* 手机Mockup */
.phone-mockup { perspective: 800px; }
.phone-frame {
    width: 220px; height: 440px; border-radius: 30px; padding: 8px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative; overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .phone-frame { transform: translateY(-8px) rotateX(2deg); }
.phone-notch {
    width: 80px; height: 22px; border-radius: 0 0 14px 14px; margin: 0 auto;
    background: #1a1a2e; position: relative; z-index: 2;
}
.phone-screen {
    width: 100%; height: calc(100% - 22px); border-radius: 0 0 20px 20px;
    overflow: hidden; background: #f5f7fa;
}
.screen-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 12px; background: linear-gradient(135deg, #4F8EF7, #6C5CE7);
    color: #fff; font-size: 10px;
}
.screen-status { display: flex; align-items: center; gap: 3px; }
.screen-content { padding: 8px 10px; height: calc(100% - 26px); overflow: hidden; }
.app-nav-bar {
    text-align: center; font-size: 12px; font-weight: 700; padding: 6px 0;
    color: var(--dark); border-bottom: 1px solid #eee; margin-bottom: 8px;
}
.purple-nav { color: #6C5CE7; }
.app-search {
    display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 20px;
    background: #eee; font-size: 10px; color: #999; margin-bottom: 10px;
}
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.app-grid-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 4px; border-radius: 10px; background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.app-grid-item span { font-size: 18px; }
.app-grid-item small { font-size: 8px; color: #666; }
.app-footer-nav {
    display: flex; justify-content: space-around; padding: 6px 0;
    border-top: 1px solid #eee; background: #fff; position: absolute; bottom: 0; left: 0; right: 0;
}
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.app-tab span { font-size: 14px; }
.app-tab small { font-size: 7px; color: #999; }
.app-tab.active small { color: #4F8EF7; font-weight: 700; }

/* --- 发展历程 --- */
.timeline-section { background: var(--bg-secondary); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
    position: absolute; left: -33px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--primary); border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.2);
}
.timeline-content {
    padding: 24px 28px; border-radius: var(--radius-lg); background: var(--bg-card);
    border: 1px solid var(--border-color); transition: all 0.3s ease;
}
.timeline-content:hover {
    border-color: rgba(79, 142, 247, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.timeline-year {
    display: inline-block; padding: 2px 12px; border-radius: 50px; font-size: 12px; font-weight: 700;
    background: rgba(79, 142, 247, 0.1); color: var(--primary); margin-bottom: 8px;
}
.timeline-content h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-secondary); }

/* --- 技术实力 --- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tech-card { padding: 32px; text-align: center; }
.tech-card:hover { transform: translateY(-6px); }
.tech-icon {
    width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.tech-icon svg { width: 24px; height: 24px; }
.tech-icon.frontend { background: rgba(79, 142, 247, 0.1); color: var(--primary); }
.tech-icon.backend { background: rgba(108, 92, 231, 0.1); color: var(--secondary); }
.tech-icon.cloud { background: rgba(0, 184, 148, 0.1); color: var(--accent); }
.tech-icon.data { background: rgba(225, 112, 85, 0.1); color: var(--orange); }
.tech-icon.mobile { background: rgba(253, 121, 168, 0.1); color: var(--pink); }
.tech-icon.security { background: rgba(201, 168, 76, 0.1); color: var(--gold); }
.tech-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.tech-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tech-tags span {
    padding: 3px 10px; border-radius: 50px; font-size: 11px;
    background: rgba(79, 142, 247, 0.06); color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* --- 成功案例 --- */
.cases-section { background: var(--bg-secondary); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { overflow: hidden; border-radius: var(--radius-lg); }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14); border-color: rgba(79, 142, 247, 0.18); }
.case-img { overflow: hidden; }
.case-img svg { display: block; transition: transform 0.4s; }
.case-card:hover .case-img svg { transform: scale(1.05); }
.case-info { padding: 24px; }
.case-tag {
    display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 600;
    background: rgba(79, 142, 247, 0.08); color: var(--primary); margin-bottom: 10px;
}
.case-tag.purple { background: rgba(108, 92, 231, 0.08); color: var(--secondary); }
.case-tag.green { background: rgba(0, 184, 148, 0.08); color: var(--accent); }
.case-info h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.case-info > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.7; }
.case-metrics { display: flex; gap: 16px; }
.metric { text-align: center; flex: 1; }
.metric strong { display: block; font-size: 22px; font-weight: 800; color: var(--primary); }
.metric span { font-size: 11px; color: var(--text-muted); }

/* --- 服务流程 --- */
.process-steps { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.process-step { text-align: center; flex: 1; min-width: 140px; padding: 0 12px; }
.step-number {
    font-size: 42px; font-weight: 900;
    line-height: 1; margin-bottom: 12px;
    background: linear-gradient(180deg, rgba(79,142,247,0.15), rgba(108,92,231,0.08));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.step-icon {
    width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(79, 142, 247, 0.1); color: var(--primary);
}
.step-icon svg { width: 22px; height: 22px; }
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.process-step p { font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.process-connector {
    width: 40px; height: 2px; margin-top: 68px;
    background: linear-gradient(90deg, rgba(79, 142, 247, 0.3), rgba(108, 92, 231, 0.3));
    border-radius: 1px; flex-shrink: 0;
}

/* --- 客户评价 --- */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { padding: 32px; }
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-stars { color: #FECA57; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 14px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 22px;
    position: relative; padding-left: 22px;
}
.testimonial-text::before { content: '"'; position: absolute; left: 0; top: -4px; font-size: 32px; color: rgba(79, 142, 247, 0.2); font-weight: 800; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.author-avatar.purple { background: linear-gradient(135deg, var(--secondary), #A29BFE); }
.author-avatar.green { background: linear-gradient(135deg, var(--accent), #55EFC4); }
.testimonial-author strong { display: block; font-size: 14px; color: var(--text); }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* --- 合作伙伴 --- */
.partners-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners-scroll {
    display: flex; gap: 40px; animation: scrollPartners 25s linear infinite;
}
.partner-item {
    padding: 14px 28px; border-radius: 12px; white-space: nowrap; flex-shrink: 0;
    background: var(--bg-card); border: 1px solid var(--border-color);
    font-size: 15px; font-weight: 600; color: var(--text-secondary);
}
@keyframes scrollPartners { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-color);
    margin-bottom: 14px; overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(79, 142, 247, 0.22); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; cursor: pointer; gap: 16px;
}
.faq-question h4 { font-size: 15px; font-weight: 600; color: var(--text); }
.faq-toggle { flex-shrink: 0; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* --- 联系我们 --- */
.contact-section { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(79, 142, 247, 0.1); color: var(--primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }
.contact-map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; }

/* 二维码展示 */
.qr-showcase { text-align: center; margin-bottom: 0; margin-top: 12px; }
.qr-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 320px; margin: 0 auto; }
.qr-item { text-align: center; }
.qr-item img {
    width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover;
    border: 1px solid var(--border-color); padding: 8px; background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.qr-item img:hover { transform: scale(1.08) translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); }
.qr-item span { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 8px; }

/* 表单 */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea {
    padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border-color);
    background: var(--bg-card); color: var(--text); font-size: 14px;
    font-family: inherit; transition: all 0.3s ease; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.1);
}
.form-group textarea { resize: vertical; }

/* --- 页脚 --- */
.footer {
    background: var(--dark); padding: 60px 0 0; color: rgba(255, 255, 255, 0.6);
    position: relative; overflow: hidden;
}
[data-theme="light"] .footer { background: #f8fafc; }
[data-theme="light"] .footer-logo span,
[data-theme="light"] .footer-links h4 { color: #1e293b; }
[data-theme="light"] .footer-desc,
[data-theme="light"] .footer-links li,
[data-theme="light"] .footer-contact-list li { color: #64748b; }
[data-theme="light"] .footer-bottom { border-top-color: #e2e8f0; color: #94a3b8; }
[data-theme="light"] .footer-bottom a { color: var(--primary-color, #4F8EF7); }
[data-theme="light"] .footer-reg { color: #94a3b8; }
[data-theme="light"] .footer-reg .reg-item a { color: #64748b; }
[data-theme="light"] .footer-reg .reg-item svg { opacity: 0.4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-img { height: 32px; border-radius: 6px; }
.footer-logo span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-links h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; font-size: 13px; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
    padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center; font-size: 13px;
    margin-top: 8px;
}
.footer-bottom a { color: var(--primary-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* Footer Social Icons */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); transition: all 0.25s ease; }
.footer-social a:hover { background: var(--primary-color, #4F8EF7); color: #fff; transform: translateY(-2px); }

/* Footer Contact List */
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-contact-list svg { flex-shrink: 0; opacity: 0.6; }
.footer-contact-list a { color: rgba(255,255,255,0.7); }
.footer-contact-list a:hover { color: var(--primary-light, #5BA3FF); }

/* Footer Registration Info */
.footer-reg { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; justify-content: center; gap: 0 24px; padding: 12px 0 16px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-reg .reg-item { display: inline-flex !important; align-items: center; gap: 4px; white-space: nowrap; }
.footer-reg .reg-item svg { flex-shrink: 0; opacity: 0.5; }
.footer-reg .reg-item .ghs-icon { width: 15px; height: 15px; flex-shrink: 0; vertical-align: middle; }
.footer-reg .reg-item a { color: rgba(255,255,255,0.6); }
.footer-reg .reg-item a:hover { color: var(--primary-light, #5BA3FF); }
.footer-reg .reg-sep { display: none; }


/* --- 移动端底部导航 --- */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: rgba(10, 15, 30, 0.95); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0));
}
[data-theme="light"] .mobile-bottom-nav { background: rgba(255, 255, 255, 0.95); border-top-color: rgba(0, 0, 0, 0.08); }
.mbnav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; color: rgba(255, 255, 255, 0.4); padding: 4px 0;
}
[data-theme="light"] .mbnav-item { color: rgba(0, 0, 0, 0.35); }
.mbnav-item svg { width: 20px; height: 20px; }
.mbnav-item.active { color: var(--primary); }

/* --- 在线客服 --- */
.cs-float { position: fixed; bottom: 90px; right: 24px; z-index: 998; }
.cs-pulse {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--primary); opacity: 0; animation: csPulse 2s infinite;
}
@keyframes csPulse { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }
.cs-btn {
    width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(79, 142, 247, 0.45); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-btn svg { width: 24px; height: 24px; }
.cs-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(79, 142, 247, 0.55); }
.cs-btn { animation: csFloat 3s ease-in-out infinite; }
@keyframes csFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cs-btn:hover { animation: none; }
.cs-panel {
    position: absolute; bottom: 64px; right: 0; width: 280px;
    border-radius: var(--radius); overflow: hidden; opacity: 0;
    transform: scale(0.8) translateY(10px); transform-origin: bottom right;
    pointer-events: none; transition: var(--transition);
    background: var(--bg-card); border: 1px solid var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.cs-panel.active { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.cs-panel-header {
    padding: 14px 18px; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
}
.cs-panel-header h4 { font-size: 15px; font-weight: 700; }
.cs-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; opacity: 0.7; }
.cs-close:hover { opacity: 1; }
.cs-panel-body { padding: 16px; }
.cs-contact-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 10px; transition: var(--transition); margin-bottom: 8px;
    text-decoration: none; color: inherit;
}
.cs-contact-item:hover { background: rgba(79, 142, 247, 0.06); }
.cs-contact-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.cs-contact-item strong { display: block; font-size: 13px; color: var(--text); }
.cs-contact-item span { font-size: 12px; color: var(--text-secondary); }
.cs-qr-mini { text-align: center; margin-top: 8px; }
.cs-qr-mini img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; margin: 0 auto; border: 1px solid var(--border-color); padding: 4px; background: #fff; }

/* --- 回到顶部（进度环） --- */
.back-to-top {
    position: fixed; bottom: 90px; left: 24px; z-index: 997;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--bg-card); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: var(--transition);
    border: 1px solid var(--border-color);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }
.back-to-top:hover .top-arrow { color: #fff; }
.progress-ring { position: absolute; }
.progress-ring-circle { transition: stroke-dashoffset 0.15s; }
.top-arrow { position: relative; z-index: 2; color: var(--primary); }
.back-to-top:hover .top-arrow { color: #fff; }

/* --- 滚动动画 --- */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate="fadeInLeft"] { transform: translateX(-30px); }
[data-animate="fadeInRight"] { transform: translateX(30px); }
[data-animate].visible { opacity: 1; transform: translate(0, 0); }

/* ========================
   移动端适配
   ======================== */
@media (max-width: 1024px) {
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .process-connector { display: none; }
    .process-steps { gap: 20px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; --section-padding: 72px 0; }
    .nav-menu {
        position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
        background: rgba(10, 15, 30, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 80px 24px 24px; gap: 4px; z-index: 1000;
        transform: translateX(100%); transition: transform 0.35s ease;
        display: flex;
    }
    [data-theme="light"] .nav-menu { background: rgba(255, 255, 255, 0.98); }
    .nav-menu.active { transform: translateX(0); }
    .nav-link { padding: 12px 16px; font-size: 16px; width: 100%; }
    .nav-toggle { display: flex; }
    .nav-overlay.active { display: block; }

    .hero-title { font-size: 28px; }
    .hero-stats { gap: 16px; padding: 20px; }
    .stat-num { font-size: 28px; }
    .stat-divider { height: 30px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-left { order: 2; }
    .about-right { order: 1; }
    .about-float-card { display: none; }
    .about-info-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .business-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .products-grid { grid-template-columns: 1fr; gap: 32px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cases-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .qr-showcase { grid-column: 1; }
    .qr-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .qr-item img { padding: 6px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .process-steps { flex-direction: column; align-items: stretch; gap: 0; }
    .process-step { display: flex; align-items: center; text-align: left; gap: 16px; padding: 12px; min-width: auto; }
    .step-number { font-size: 24px; margin-bottom: 0; }
    .step-icon { margin: 0; flex-shrink: 0; }

    .mobile-bottom-nav { display: flex; justify-content: space-around; }
    .cs-float { bottom: calc(70px + env(safe-area-inset-bottom, 0)); right: 16px; }
    .cs-btn { width: 46px; height: 46px; }
    .cs-panel { right: -8px; width: 260px; }
    .back-to-top { bottom: calc(70px + env(safe-area-inset-bottom, 0)); left: 16px; width: 40px; height: 40px; }
    .progress-ring { width: 40px; height: 40px; }
    .form-row { grid-template-columns: 1fr; }

    .flip-card:hover .flip-inner { transform: none; }
    .flip-inner { transition: none; }
    .cert-card h4, .cert-card > p { cursor: pointer; }
    .cert-card:active .flip-inner, .cert-card:focus .flip-inner { transform: rotateY(180deg); }
}

@media (max-width: 480px) {
    :root { --section-padding: 56px 0; }
    .container { padding: 0 16px; }
    .hero { min-height: 100svh; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-stats { gap: 12px; padding: 16px; }
    .stat-num { font-size: 22px; }
    .stat-suffix { font-size: 14px; }
    .stat-label { font-size: 11px; }
    .hero-buttons { gap: 12px; }
    .btn { padding: 10px 22px; font-size: 14px; }

    .section-header { margin-bottom: 36px; }
    .section-title { font-size: 24px; }

    .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .team-card { padding: 20px 14px; }
    .avatar-circle { width: 56px; height: 56px; font-size: 22px; }
    .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .qr-grid { grid-template-columns: repeat(2, 1fr); }
    .case-metrics { gap: 8px; }
    .metric strong { font-size: 16px; }
    .phone-frame { width: 160px; height: 320px; }

    .scroll-indicator { display: none; }
}

/* --- 亮色模式特殊覆盖 --- */
[data-theme="light"] .hero { background: linear-gradient(135deg, #EBF2FF 0%, #F3EAFF 50%, #EAFFF6 100%); }
[data-theme="light"] .hero-overlay { background: radial-gradient(ellipse at 30% 50%, rgba(79, 142, 247, 0.06) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(108,92,231,0.04) 0%, transparent 50%); }
[data-theme="light"] .hero-title, [data-theme="light"] .title-sub { color: #0F172A; -webkit-text-fill-color: #0F172A; }
[data-theme="light"] .hero-desc { color: rgba(15, 23, 42, 0.55); }
[data-theme="light"] .hero-badge { color: var(--primary); background: rgba(79, 142, 247, 0.08); border-color: rgba(79, 142, 247, 0.18); }
[data-theme="light"] .hero-stats { background: rgba(255, 255, 255, 0.8); border-color: rgba(79, 142, 247, 0.12); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
[data-theme="light"] .stat-num { color: #0F172A; }
[data-theme="light"] .stat-suffix { color: var(--primary); }
[data-theme="light"] .stat-label { color: var(--text-secondary); }
[data-theme="light"] .btn-outline { color: #0F172A; border-color: rgba(79, 142, 247, 0.25); }
[data-theme="light"] .btn-outline:hover { background: rgba(79, 142, 247, 0.06); }
[data-theme="light"] .logo-text { color: #0F172A; font-weight: 800; }
[data-theme="light"] .nav-toggle span { background: #0F172A; }
[data-theme="light"] .nav-link { color: rgba(15, 23, 42, 0.6); }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: var(--primary); background: rgba(79,142,247,0.06); }
[data-theme="light"] .testimonial-text::before { color: rgba(79, 142, 247, 0.12); }
[data-theme="light"] .phone-frame { background: linear-gradient(145deg, #e0e0e0, #f0f0f0); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.8); }
[data-theme="light"] .phone-notch { background: #e0e0e0; }
[data-theme="light"] #particleCanvas { opacity: 0.25; }
[data-theme="light"] .section-tag { color: var(--primary); background: rgba(79,142,247,0.06); border-color: rgba(79,142,247,0.12); }
[data-theme="light"] .section-title { color: #0F172A; }
[data-theme="light"] .glass { box-shadow: 0 8px 32px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02); }
[data-theme="light"] .glass:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(79,142,247,0.08); border-color: rgba(79,142,247,0.15); }
[data-theme="light"] .step-number {
    background: linear-gradient(180deg, rgba(79,142,247,0.25), rgba(108,92,231,0.15));
    -webkit-background-clip: text; background-clip: text;
}
[data-theme="light"] .team-section, [data-theme="light"] .timeline-section, [data-theme="light"] .news-section, [data-theme="light"] .cases-section, [data-theme="light"] .testimonials-section {
    background: #F3F4F8;
}
/* ============================================
   术码信息技术 - 移动端H5深度适配（2026-05-14）
   ============================================ */

/* ===== 通用触摸优化 ===== */
a, button, .nav-link, .mbnav-item, .faq-question {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 图片全局限制 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 滚动性能优化 */
* {
    -webkit-overflow-scrolling: touch;
}

/* 文字溢出处理 */
h1, h2, h3, h4, h5, h6, p, .team-desc, .business-card p, .news-body p {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== 320px 超小屏适配 ===== */
@media (max-width: 360px) {
    :root { --section-padding: 48px 0; }
    .container { padding: 0 12px; }
    
    /* Hero 缩小 */
    .hero-title { font-size: 22px !important; }
    .title-sub { font-size: 16px !important; }
    .hero-desc { font-size: 13px !important; margin-bottom: 24px; }
    .hero-badge { font-size: 11px; padding: 5px 12px; }
    
    /* 按钮缩小 */
    .btn { padding: 9px 18px; font-size: 13px; }
    .hero-buttons { gap: 10px; }
    
    /* 统计卡片精简 */
    .hero-stats { padding: 12px; gap: 8px; }
    .stat-num { font-size: 18px; }
    .stat-suffix { font-size: 12px; }
    .stat-label { font-size: 10px; }
    .stat-divider { height: 24px; }
    
    /* 底部导航图标文字更小 */
    .mbnav-item { font-size: 9px; }
    .mbnav-item svg { width: 18px; height: 18px; }
    
    /* 卡片网格2列极限 */
    .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .team-card { padding: 16px 10px; }
    .team-name { font-size: 14px; }
    .team-role { font-size: 11px; }
    .team-desc { font-size: 11px; }
    .avatar-circle { width: 48px; height: 48px; font-size: 18px; }
    
    /* 标题缩小 */
    .section-title { font-size: 20px; }
    .about-subtitle { font-size: 18px; }
    
    /* 备案信息换行 */
    .footer-reg { flex-wrap: wrap !important; gap: 4px 12px; font-size: 11px; }
    
    /* 联系表单 */
    .form-group input, .form-group textarea { font-size: 16px; padding: 12px 14px; }
    
    /* 客服按钮不遮挡底部导航 */
    .cs-float { bottom: calc(68px + env(safe-area-inset-bottom, 0)); }
}

/* ===== 375px 主流小屏适配 ===== */
@media (max-width: 375px) {
    /* Hero区域字体微调 */
    .hero-title { font-size: 24px; }
    .title-sub { font-size: 18px; }
    .hero-desc { font-size: 14px; }
    
    /* 统计卡片间距 */
    .hero-stats { gap: 10px; padding: 16px; }
    .stat-num { font-size: 20px; }
    .stat-suffix { font-size: 13px; }
    .stat-label { font-size: 11px; }
    
    /* 按钮优化 */
    .btn { min-height: 44px; padding: 10px 20px; }
    .btn-full { min-height: 48px; }
    
    /* 导航菜单触摸区域 */
    .nav-link { min-height: 44px; line-height: 1.4; display: flex; align-items: center; }
    
    /* 语言切换/主题切换按钮 */
    .lang-toggle, .theme-toggle { min-width: 44px; min-height: 44px; margin: 0 4px; }
    
    /* Section间距精简 */
    .section-header { margin-bottom: 28px; }
    .section-title { font-size: 22px; }
    .section-desc { font-size: 13px; }
    
    /* 卡片网格2列 */
    .team-grid { gap: 12px; }
    .team-card { padding: 22px 14px; }
    .avatar-circle { width: 52px; height: 52px; font-size: 20px; }
    .team-name { font-size: 15px; }
    .team-role { font-size: 12px; }
    .team-desc { font-size: 12px; }
    
    /* 业务卡片 */
    .business-card { padding: 24px 20px; }
    .business-icon { width: 44px; height: 44px; }
    .business-card h3 { font-size: 16px; }
    .business-card p { font-size: 13px; }
    
    /* 新闻卡片 */
    .news-body { padding: 18px; }
    .news-body h4 { font-size: 15px; }
    .news-body p { font-size: 13px; }
    
    /* 资质证书网格 */
    .cert-grid { gap: 10px; }
    .flip-front { padding: 20px 14px; min-height: 220px; }
    .cert-type { font-size: 14px; }
    .cert-body p { font-size: 10px; }
    .cert-company { font-size: 11px; }
    .cert-back-content h4 { font-size: 14px; }
    .cert-back-content p { font-size: 12px; }
    
    /* 技术卡片 */
    .tech-card { padding: 22px; }
    .tech-card h4 { font-size: 14px; }
    .tech-tags span { font-size: 10px; padding: 2px 8px; }
    
    /* 案例卡片 */
    .case-info { padding: 18px; }
    .case-info h4 { font-size: 16px; }
    .case-info > p { font-size: 13px; }
    .metric strong { font-size: 18px; }
    
    /* 产品卡片 */
    .product-info { padding: 0 20px 20px; }
    .product-info h3 { font-size: 18px; }
    .phone-frame { width: 150px; height: 300px; }
    .phone-mockup { display: flex; justify-content: center; }
    
    /* 时间线 */
    .timeline-content { padding: 18px 20px; }
    .timeline-content h4 { font-size: 14px; }
    .timeline-content p { font-size: 13px; }
    
    /* 流程步骤 */
    .process-step h4 { font-size: 14px; }
    .process-step p { font-size: 11px; }
    
    /* 客户评价 */
    .testimonial-card { padding: 24px; }
    .testimonial-text { font-size: 13px; line-height: 1.7; }
    .testimonial-author strong { font-size: 13px; }
    
    /* FAQ */
    .faq-question { padding: 16px 18px; }
    .faq-question h4 { font-size: 14px; }
    .faq-answer p { font-size: 13px; }
    
    /* 联系表单 */
    .form-group input, .form-group textarea { 
        font-size: 16px; /* 防止iOS自动缩放 */
        padding: 13px 16px; 
        min-height: 48px;
    }
    .form-group textarea { min-height: 120px; }
    .form-group label { font-size: 12px; }
    
    /* 联系信息 */
    .contact-item h4 { font-size: 13px; }
    .contact-item p { font-size: 13px; }
    
    /* 二维码展示 */
    .qr-title { font-size: 14px; }
    .qr-item span { font-size: 11px; }
    .qr-item img { padding: 6px; }
    
    /* Footer */
    .footer-logo span { font-size: 16px; }
    .footer-desc { font-size: 12px; }
    .footer-links h4 { font-size: 14px; }
    .footer-links li { font-size: 12px; }
    .footer-social a { width: 30px; height: 30px; }
    .footer-contact-list li { font-size: 12px; }
    
    /* 合作伙伴 */
    .partner-item { padding: 10px 20px; font-size: 13px; }
    
    /* 客服面板宽度 */
    .cs-panel { width: 240px; right: -4px; }
    .cs-panel-body { padding: 12px; }
    .cs-contact-item { padding: 10px; margin-bottom: 6px; }
    .cs-contact-item strong { font-size: 12px; }
    .cs-contact-item span { font-size: 11px; }
    .cs-qr-mini img { width: 80px; height: 80px; }
    
    /* 底部导航栏 */
    .mobile-bottom-nav { padding: 4px 0; }
    .mbnav-item { font-size: 10px; padding: 4px 0; }
    .mbnav-item svg { width: 20px; height: 20px; }
    
    /* 返回顶部 */
    .back-to-top { bottom: calc(70px + env(safe-area-inset-bottom, 0)); }
    
    /* 汉堡菜单按钮 */
    .nav-toggle { padding: 10px; }
    .nav-toggle span { width: 20px; }
}

/* ===== 414px 大屏手机适配 ===== */
@media (max-width: 414px) {
    .hero-title { font-size: 26px; }
    .title-sub { font-size: 20px; }
    .hero-stats { gap: 16px; }
    .stat-num { font-size: 22px; }
}

/* ===== 768px 平板适配增强 ===== */
@media (max-width: 768px) {
    /* 导航栏z-index确保最高 */
    .navbar { z-index: 1001; }
    .nav-menu { z-index: 1002; }
    
    /* 导航菜单滑入优化 */
    .nav-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 76px;
    }
    
    /* 导航链接触摸友好 */
    .nav-link { 
        min-height: 48px; 
        display: flex; 
        align-items: center;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 10px;
        margin-bottom: 4px;
    }
    
    /* 汉堡菜单按钮大小 */
    .nav-toggle { 
        width: 44px; 
        height: 44px; 
        justify-content: center;
        padding: 10px;
    }
    
    /* 语言切换/主题切换按钮 */
    .lang-toggle, .theme-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        margin-right: 4px;
    }
    
    /* 滚动时导航栏固定 */
    .navbar.scrolled {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    /* Hero区域 */
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 16px; }
    .hero-badge { margin-bottom: 18px; }
    .hero-stats { 
        gap: 12px; 
        padding: 18px; 
        border-radius: 16px;
    }
    .stat-num { font-size: 26px; }
    .stat-suffix { font-size: 16px; }
    
    /* 粒子canvas降低性能消耗 */
    #particleCanvas { display: block; }
    
    /* Section通用间距 */
    .section { position: relative; }
    .section::before { display: none; }
    
    /* 卡片hover效果在触摸设备上禁用 */
    .team-card:hover { transform: none; }
    .business-card:hover { transform: none; }
    .news-card:hover { transform: none; }
    .case-card:hover { transform: none; }
    .cert-card:hover { transform: none; }
    .testimonial-card:hover { transform: none; }
    .tech-card:hover { transform: none; }
    .product-card:hover { transform: none; }
    
    /* 图片hover缩放禁用 */
    .news-card:hover .news-img svg,
    .case-card:hover .case-img svg { transform: none; }
    
    /* 合作伙伴滚动禁用hover效果 */
    .partner-item:hover { transform: none; filter: none; }
    
    /* 资质证书3D翻转在触摸设备上点击触发 */
    .flip-card:hover .flip-inner { transform: none; }
    .flip-inner { transition: none; }
    
    /* 按钮波纹适配触摸 */
    .btn { min-height: 44px; }
    
    /* 底部导航栏全面适配 */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        z-index: 999;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0));
    }
    
    /* 客服按钮适配底部导航 */
    .cs-float {
        bottom: calc(70px + env(safe-area-inset-bottom, 0));
        right: 16px;
        z-index: 998;
    }
    .cs-btn { 
        width: 50px; 
        height: 50px; 
        min-width: 50px;
        min-height: 50px;
    }
    .cs-btn svg { width: 22px; height: 22px; }
    
    /* 返回顶部按钮适配 */
    .back-to-top {
        bottom: calc(72px + env(safe-area-inset-bottom, 0));
        left: 16px;
        width: 42px;
        height: 42px;
        z-index: 997;
    }
    
    /* 联系表单全宽移动端 */
    .contact-form { gap: 12px; }
    .form-group input, .form-group textarea {
        font-size: 16px; /* 防止iOS缩放 */
        min-height: 48px;
        border-radius: 10px;
    }
    .form-group textarea { min-height: 120px; }
    
    /* 二维码网格移动端4列 */
    .qr-grid { max-width: 280px; }
    
    /* Footer页脚移动端优化 */
    .footer-grid { gap: 28px; }
    .footer-reg { 
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 16px;
        font-size: 12px;
    }
    .footer-social { gap: 10px; }
    .footer-social a { width: 32px; height: 32px; }
    
    /* 安全区域：确保底部内容不被导航遮挡 */
    .section:last-of-type { 
        padding-bottom: calc(var(--section-padding) + 60px + env(safe-area-inset-bottom, 0));
    }
}

/* ===== 480px 强化适配 ===== */
@media (max-width: 480px) {
    :root { --section-padding: 56px 0; }
    .container { padding: 0 16px; }
    .hero { min-height: 100svh; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-stats { gap: 12px; padding: 16px; }
    .stat-num { font-size: 22px; }
    .stat-suffix { font-size: 14px; }
    .stat-label { font-size: 11px; }
    .hero-buttons { gap: 12px; }
    .btn { padding: 10px 22px; font-size: 14px; }

    .section-header { margin-bottom: 36px; }
    .section-title { font-size: 24px; }

    .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .team-card { padding: 20px 14px; }
    .avatar-circle { width: 56px; height: 56px; font-size: 22px; }
    .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .qr-grid { grid-template-columns: repeat(2, 1fr); }
    .case-metrics { gap: 8px; }
    .metric strong { font-size: 16px; }
    .phone-frame { width: 160px; height: 320px; }

    .scroll-indicator { display: none; }
}

/* ===== 移动端安全区域补足 ===== */
/* iPhone刘海屏/底部横条安全区域 */
@supports (padding: env(safe-area-inset-bottom)) {
    /* 底部导航额外padding */
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* 确保body内容不被刘海屏遮挡 */
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* ===== 移动端横向滚动修复 ===== */
@media (max-width: 768px) {
    html { overflow-x: hidden; }
    body { overflow-x: hidden; }
    
    /* 确保所有容器不会横向溢出 */
    .container, .nav-container, .hero-content, .about-grid, 
    .business-grid, .team-grid, .cert-grid, .news-grid,
    .products-grid, .tech-grid, .cases-grid, .testimonials-grid,
    .footer-grid, .contact-grid, .qr-grid, .form-row,
    .about-info-grid, .about-features, .hero-stats, .hero-buttons {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* 合作伙伴滚动区域限制 */
    .partners-track { max-width: 100vw; overflow: hidden; }
}

/* ===== 移动端图片最大宽度保证 ===== */
@media (max-width: 768px) {
    /* Logo图片 */
    .logo-img { height: 30px; max-width: none; }
    
    /* 关于区域SVG */
    .about-svg { max-width: 100%; }
    
    /* 产品预览图片 */
    .product-preview img, .phone-mockup img { max-width: 100%; }
    
    /* 二维码图片大小限制 */
    .qr-item img { 
        width: 100%; 
        max-width: 80px; 
        height: auto;
        aspect-ratio: 1; 
        object-fit: cover;
    }
    
    /* 联系地图 */
    .contact-map { border-radius: 12px; }
    .contact-map img { max-width: 100%; }
}

/* ===== 触摸设备的hover效果移除 ===== */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover变换 */
    .btn-primary:hover, .btn-outline:hover,
    .team-card:hover, .business-card:hover, .news-card:hover,
    .case-card:hover, .cert-card:hover, .testimonial-card:hover,
    .tech-card:hover, .product-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* 导航链接hover */
    .nav-link:hover, .nav-link.active {
        color: var(--text);
        background: transparent;
    }
    
    /* 合作伙伴hover */
    .partner-item:hover { transform: none; filter: none; }
    
    /* 玻璃拟态hover */
    .glass:hover {
        border-color: var(--glass-border);
        box-shadow: var(--glass-shadow);
    }
    
    /* 业务标签hover */
    .business-tags li:hover { transform: none; }
    
    /* 去除按钮hover阴影提升 */
    .btn:hover { transform: none; }
}

/* ===== 表单元素移动端专项优化 ===== */
@media (max-width: 768px) {
    /* 确保所有表单元素字体 >= 16px防止iOS缩放 */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        min-height: 48px;
    }
    
    /* textarea至少3行高度 */
    .form-group textarea {
        min-height: 120px;
        line-height: 1.6;
    }
    
    /* 表单提交按钮 */
    .form-group .btn {
        min-height: 50px;
        font-size: 16px;
        width: 100%;
        border-radius: 12px;
    }
    
    /* 表单行间距精简 */
    .form-row { gap: 12px; }
    .contact-form { gap: 12px; }
}

/* ===== 客服面板移动端优化 ===== */
@media (max-width: 768px) {
    .cs-float {
        bottom: calc(70px + env(safe-area-inset-bottom, 0));
        right: 12px;
        z-index: 998;
    }
    
    .cs-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .cs-btn svg { width: 22px; height: 22px; }
    
    /* 客服面板展开 */
    .cs-panel {
        right: 0;
        left: auto;
        width: 260px;
        max-width: calc(100vw - 40px);
    }
    
    .cs-panel-header { padding: 12px 14px; }
    .cs-panel-header h4 { font-size: 14px; }
    .cs-panel-body { padding: 12px; }
    
    /* 客服联系方式项 */
    .cs-contact-item { 
        padding: 10px; 
        min-height: 44px;
        border-radius: 8px;
    }
    .cs-contact-item strong { font-size: 12px; }
    .cs-contact-item span { font-size: 11px; }
    
    /* 小型二维码 */
    .cs-qr-mini img {
        width: 80px;
        height: 80px;
    }
}

/* ===== 底部导航栏移动端全面优化 ===== */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(10, 15, 30, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 4px 0;
        padding-bottom: calc(4px + env(safe-area-inset-bottom, 0));
        justify-content: space-around;
        align-items: center;
    }
    
    [data-theme="light"] .mobile-bottom-nav {
        background: rgba(255, 255, 255, 0.96);
        border-top-color: rgba(0, 0, 0, 0.08);
    }
    
    /* 底部导航项触摸友好 */
    .mbnav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 10px;
        color: rgba(255, 255, 255, 0.4);
        padding: 8px 4px;
        min-width: 44px;
        min-height: 50px;
        cursor: pointer;
        transition: color 0.25s ease;
        text-decoration: none;
        flex: 1;
    }
    
    [data-theme="light"] .mbnav-item { color: rgba(0, 0, 0, 0.35); }
    .mbnav-item svg { width: 22px; height: 22px; }
    .mbnav-item.active { color: var(--primary); }
    
    /* 活跃指示器顶部条 */
    .mbnav-item.active {
        position: relative;
    }
    .mbnav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--primary);
    }
    
    /* 防止body被底部导航遮挡内容 */
    .section:last-of-type {
        padding-bottom: calc(56px + 50px + env(safe-area-inset-bottom, 0));
    }
    
    /* 回到顶部与底部导航间距 */
    .back-to-top {
        bottom: calc(50px + env(safe-area-inset-bottom, 0));
    }
}

/* ===== 亮色模式移动端特殊覆盖 ===== */
@media (max-width: 768px) {
    [data-theme="light"] .hero { 
        background: linear-gradient(135deg, #EBF2FF 0%, #F3EAFF 50%, #EAFFF6 100%); 
    }
    
    [data-theme="light"] .mobile-bottom-nav {
        background: rgba(255, 255, 255, 0.96);
        border-top-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    }
    
    [data-theme="light"] .mbnav-item { color: rgba(0, 0, 0, 0.35); }
    [data-theme="light"] .mbnav-item.active { color: var(--primary); }
    
    /* 亮色模式导航栏移动端 */
    [data-theme="light"] .navbar {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(79, 142, 247, 0.06);
    }
    
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }
    
    [data-theme="light"] .nav-link {
        color: rgba(15, 23, 42, 0.65);
    }
    
    [data-theme="light"] .navbar.scrolled {
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
}

/* ===== Hero区域移动端精细优化 ===== */
@media (max-width: 375px) {
    /* 粒子背景canvas在移动端降低密度 - 通过减少z-index保证不阻挡交互 */
    #particleCanvas { opacity: 0.5; }
    
    .hero-overlay {
        background: radial-gradient(ellipse at 50% 50%, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
    }
    
    /* hero内容内边距 */
    .hero-content { padding: 0 14px; }
    
    /* 按钮组窄屏换行 */
    .hero-buttons { 
        flex-direction: column; 
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .hero-buttons .btn { width: 100%; max-width: 240px; }
    
    /* 统计卡片移动端单行紧凑 */
    .hero-stats { 
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        padding: 12px 14px;
        -webkit-overflow-scrolling: touch;
    }
    .hero-stats::-webkit-scrollbar { display: none; }
    .stat-item { flex-shrink: 0; min-width: 70px; }
    .stat-num { font-size: 18px; }
    .stat-suffix { font-size: 12px; }
    .stat-label { font-size: 10px; }
    .stat-divider { width: 1px; height: 20px; flex-shrink: 0; }
}

@media (min-width: 376px) and (max-width: 480px) {
    .hero-buttons { 
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .hero-buttons .btn { flex: 1; min-width: 140px; max-width: 200px; }
}

/* ===== 字体层级移动端精细化 ===== */
@media (max-width: 768px) {
    .section-tag { font-size: 11px; padding: 3px 12px; letter-spacing: 3px; }
    .section-title { font-size: clamp(22px, 5vw, 28px); }
    .section-desc { font-size: 14px; line-height: 1.65; }
    .about-subtitle { font-size: 22px; }
    .about-text { font-size: 14px; }
    
    /* 标题层级感确保 */
    .business-card h3, .tech-card h4, .case-info h4 { font-size: 15px; }
    .team-name { font-size: 16px; }
    .product-info h3 { font-size: 20px; }
}

/* ===== 合作伙伴滚动区域移动端优化 ===== */
@media (max-width: 768px) {
    .partners-track {
        overflow: hidden;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    
    .partners-scroll {
        animation: scrollPartners 20s linear infinite;
    }
}

/* ===== 流程步骤移动端列布局 ===== */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 14px;
        padding: 14px;
        min-width: auto;
        border-radius: 12px;
        margin-bottom: 8px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
    }
    
    .step-number { 
        font-size: 28px; 
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .step-icon { 
        margin: 0; 
        flex-shrink: 0;
        width: 44px;
        height: 44px;
    }
    
    .process-connector { display: none; }
}

/* ===== 移动端FAQ优化 ===== */
@media (max-width: 768px) {
    .faq-question { 
        padding: 16px 14px;
        min-height: 52px;
    }
    .faq-question h4 { 
        font-size: 14px;
        line-height: 1.5;
    }
    .faq-toggle { 
        font-size: 20px;
        min-width: 24px;
        min-height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .faq-answer p { 
        font-size: 13px;
        padding: 0 14px 16px;
    }
}

/* ===== 关于区域移动端优化 ===== */
@media (max-width: 768px) {
    .about-img-wrapper { 
        margin-bottom: 24px; 
    }
    .about-float-card { 
        display: none; /* 移动端隐藏浮动卡片 */
    }
    .about-info-grid { 
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .about-features { 
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-feature { 
        padding: 12px;
        border-radius: 10px;
        background: rgba(79, 142, 247, 0.04);
        border: 1px solid rgba(79, 142, 247, 0.06);
    }
}

/* ===== 移动端返回顶部优化 ===== */
@media (max-width: 768px) {
    .back-to-top {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    .back-to-top.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .back-to-top:hover {
        background: var(--primary);
        border-color: var(--primary);
    }
    .back-to-top:hover .top-arrow { color: #fff; }
    
    .progress-ring { 
        width: 42px; 
        height: 42px; 
    }
}

/* ===== 移动端滚动条美化 ===== */
@media (max-width: 768px) {
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { 
        background: rgba(79, 142, 247, 0.2);
        border-radius: 2px;
    }
}

/* ===== 移动端长文本自动截断 ===== */
@media (max-width: 768px) {
    .team-desc, .business-card p, .news-body p, .case-info > p,
    .testimonial-text, .timeline-content p, .faq-answer p,
    .about-text {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 重要信息不截断 */
    .contact-item p, .footer-desc, .cert-body p { 
        -webkit-line-clamp: unset;
        overflow: visible;
        display: block;
    }
}

/* ===== 结尾：防止重复移动端样式覆盖 ===== */
/* 确保新规则优先级正确 */
@media (max-width: 768px) {
    /* 强制覆盖所有图片max-width */
    img, .logo-img, .about-svg {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 防止固定定位在iOS上抖动 */
    .navbar, .mobile-bottom-nav, .cs-float, .back-to-top {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* ========================
   亮色模式特殊覆盖
   ======================== */
[data-theme="light"] .hero { background: linear-gradient(135deg, #EBF2FF 0%, #F3EAFF 50%, #EAFFF6 100%); }
[data-theme="light"] .hero-overlay { background: radial-gradient(ellipse at 30% 50%, rgba(79, 142, 247, 0.06) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(108,92,231,0.04) 0%, transparent 50%); }
[data-theme="light"] .hero-title, [data-theme="light"] .title-sub { color: #0F172A; -webkit-text-fill-color: #0F172A; }
[data-theme="light"] .hero-desc { color: rgba(15, 23, 42, 0.55); }
[data-theme="light"] .hero-badge { color: var(--primary); background: rgba(79, 142, 247, 0.08); border-color: rgba(79, 142, 247, 0.18); }
[data-theme="light"] .hero-stats { background: rgba(255, 255, 255, 0.8); border-color: rgba(79, 142, 247, 0.12); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
[data-theme="light"] .stat-num { color: #0F172A; }
[data-theme="light"] .stat-suffix { color: var(--primary); }
[data-theme="light"] .stat-label { color: var(--text-secondary); }
[data-theme="light"] .btn-outline { color: #0F172A; border-color: rgba(79, 142, 247, 0.25); }
[data-theme="light"] .btn-outline:hover { background: rgba(79, 142, 247, 0.06); }
[data-theme="light"] .logo-text { color: #0F172A; font-weight: 800; }
[data-theme="light"] .nav-toggle span { background: #0F172A; }
[data-theme="light"] .nav-link { color: rgba(15, 23, 42, 0.6); }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: var(--primary); background: rgba(79,142,247,0.06); }
[data-theme="light"] .testimonial-text::before { color: rgba(79, 142, 247, 0.12); }
[data-theme="light"] .phone-frame { background: linear-gradient(145deg, #e0e0e0, #f0f0f0); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.8); }
[data-theme="light"] .phone-notch { background: #e0e0e0; }
[data-theme="light"] #particleCanvas { opacity: 0.25; }
[data-theme="light"] .section-tag { color: var(--primary); background: rgba(79,142,247,0.06); border-color: rgba(79,142,247,0.12); }
[data-theme="light"] .section-title { color: #0F172A; }

[data-theme="light"] .glass { box-shadow: 0 8px 32px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02); }
[data-theme="light"] .glass:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(79,142,247,0.08); border-color: rgba(79,142,247,0.15); }
[data-theme="light"] .step-number {
    background: linear-gradient(180deg, rgba(79,142,247,0.25), rgba(108,92,231,0.15));
    -webkit-background-clip: text; background-clip: text;
}
[data-theme="light"] .team-section, [data-theme="light"] .timeline-section, [data-theme="light"] .news-section, [data-theme="light"] .cases-section, [data-theme="light"] .testimonials-section {
    background: #F3F4F8;
}
[data-theme="light"] .about-float-card { background: rgba(255,255,255,0.95); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
/* ===================== */
/* Android 移动端完整修复  */
/* ===================== */

/* 修复 100vh 被 Android 地址栏遮挡问题 */
@media (max-width: 768px) {
    .nav-menu {
        height: 100dvh !important;
        height: -webkit-fill-available !important;
    }
    .hero {
        min-height: 100dvh;
        min-height: -webkit-fill-available;
    }
    .nav-overlay {
        height: 100dvh;
    }
}

/* 防止横向溢出（最常见乱码原因） */
body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* 全局容器横向保护 */
.container, .team-grid, .hero-content, section {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Team card 文字溢出保护 */
.team-card {
    overflow: hidden;
    word-break: break-word;
}
.team-name {
    font-size: clamp(14px, 4vw, 20px);
    word-break: break-all;
    line-height: 1.3;
}
.team-role {
    font-size: clamp(11px, 3vw, 14px);
}
.team-desc {
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* QR grid 在手机上改为2列 */
@media (max-width: 768px) {
    .qr-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* 手机上字体不小于12px，防止太小看不清 */
@media (max-width: 768px) {
    body { font-size: max(14px, 1vw); }
    p { font-size: max(13px, 3.5vw); }
    .section-title { font-size: clamp(20px, 6vw, 28px); }
    .section-desc { font-size: clamp(12px, 3.5vw, 16px); }
    .hero-title { font-size: clamp(22px, 7vw, 32px); }
    .hero-subtitle { font-size: clamp(13px, 4vw, 18px); }
    .hero-desc { font-size: clamp(12px, 3.5vw, 16px); }
    .btn { min-height: 44px; min-width: 44px; font-size: 14px; }
    .team-tags span { font-size: 11px; padding: 3px 8px; }
    .about-feature h4 { font-size: clamp(13px, 4vw, 16px); }
    .about-feature p { font-size: clamp(11px, 3vw, 14px); }
    .contact-info-item { font-size: clamp(12px, 3.5vw, 15px); }
    .nav-link { font-size: 15px; }
    .section-tag { font-size: 11px; letter-spacing: 1px; }
}

/* Android Chrome 图片抗锯齿 */
img {
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Android 滚动回弹 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 产品卡片手机适配 */
@media (max-width: 768px) {
    .product-card { padding: 16px; }
    .product-tag { font-size: 10px; }
    .product-title { font-size: clamp(14px, 4vw, 18px); }
    .product-desc { font-size: clamp(11px, 3vw, 14px); }
    .product-price { font-size: clamp(16px, 5vw, 22px); }
}

/* 案例卡片手机适配 */
@media (max-width: 768px) {
    .case-card { padding: 16px; }
    .case-title { font-size: clamp(13px, 3.8vw, 16px); }
    .case-desc { font-size: clamp(11px, 3vw, 14px); }
}

/* 表单手机适配 */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* 防止 iOS/Android 自动缩放 */
        padding: 12px;
    }
    .form-row { grid-template-columns: 1fr !important; }
}

/* 极小屏保护（360px以下） */
@media (max-width: 360px) {
    .team-grid { grid-template-columns: 1fr !important; }
    .team-card { padding: 14px 10px !important; }
    .hero-buttons { flex-direction: column; gap: 8px; }
    .hero-buttons .btn { width: 100%; }
}
/* Team avatar 溢出修复 */
.team-avatar {
    position: relative !important;
    display: inline-block !important;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
}
.avatar-circle {
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.avatar-ring {
    position: absolute !important;
    left: -4px !important;
    right: -4px !important;
    top: -4px !important;
    bottom: -4px !important;
    width: auto !important;
    height: auto !important;
}
.team-card {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .avatar-circle {
        width: 52px !important;
        height: 52px !important;
        font-size: 18px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }
}
/* ===== 头像溢出彻底修复 ===== */
.team-avatar {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    width: 80px !important;
    height: 80px !important;
    overflow: hidden !important;
}

.avatar-circle {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #fff !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.avatar-ring {
    position: absolute !important;
    width: 76px !important;
    height: 76px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    border: 2px dashed rgba(79, 142, 247, 0.2) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    animation: ringRotate 10s linear infinite !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .team-avatar {
        width: 68px !important;
        height: 68px !important;
    }
    .avatar-circle {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
        font-size: 18px !important;
    }
    .avatar-ring {
        width: 62px !important;
        height: 62px !important;
    }
}

@media (max-width: 360px) {
    .team-avatar {
        width: 60px !important;
        height: 60px !important;
    }
    .avatar-circle {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
        font-size: 16px !important;
    }
    .avatar-ring {
        width: 56px !important;
        height: 56px !important;
    }
}
