/* ============================================
   米洛SDK官网 - 专业手游聚合发行系统视觉设计体系
   ============================================ */

/* === CSS 变量 === */
:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a8e;
    --primary-dark: #0f1f33;
    --secondary: #00d4aa;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 50%, #1a56db 100%);
    --gradient-hero: linear-gradient(135deg, #0f1f33 0%, #1e3a5f 50%, #1a3a6b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-card: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f1f33;
    --bg-darker: #070d18;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* === 全局基础 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6; color: var(--text-primary); overflow-x: hidden; background: var(--bg-white);
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; }

/* 统一标题 */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: 42px; font-weight: 800; color: var(--text-primary);
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 18px; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.section-header-light .section-title { color: var(--text-white); }
.section-header-light .section-subtitle { color: var(--text-light); }

/* === 按钮系统 === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 15px; cursor: pointer; border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--gradient-accent); color: var(--text-white);
    box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}
.btn-outline {
    background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary); color: var(--text-white); transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30,58,95,0.3);
}
.btn-outline-light {
    background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--text-white);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1); border-color: var(--text-white); transform: translateY(-3px);
}
.btn-large { padding: 18px 40px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-glow { box-shadow: 0 4px 20px rgba(245,158,11,0.4), 0 0 40px rgba(245,158,11,0.2); }
.btn-glow:hover { box-shadow: 0 8px 30px rgba(245,158,11,0.5), 0 0 60px rgba(245,158,11,0.3); }

/* === 导航栏 === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all 0.3s ease;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.navbar.scrolled {
    padding: 12px 0; background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
    font-size: 24px; font-weight: 800; color: var(--primary);
    display: flex; align-items: center; gap: 10px;
}
.logo i { font-size: 28px; color: var(--secondary); }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    font-size: 15px; font-weight: 500; color: var(--text-primary);
    padding: 8px 0; transition: color 0.3s ease; position: relative;
    display: inline-flex; align-items: center; gap: 4px;
}
.nav-menu > li > a:hover { color: var(--primary-light); }
.nav-menu > li > a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: var(--secondary); border-radius: 2px; transition: width 0.3s ease;
}
.nav-menu > li > a:hover::after { width: 100%; }
.nav-menu > li > a .fa-chevron-down { font-size: 10px; transition: transform 0.3s ease; }
.nav-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* 下拉菜单 */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--bg-white); border-radius: var(--radius-md); padding: 12px 0;
    min-width: 200px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a {
    display: flex; align-items: center; gap: 10px; padding: 10px 24px; font-size: 14px;
    color: var(--text-secondary); transition: all 0.2s ease;
}
.dropdown-menu li a i { width: 16px; color: var(--primary-light); }
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--primary); padding-left: 28px; }
.nav-buttons { display: flex; gap: 12px; align-items: center; }
.menu-toggle {
    display: none; background: none; border: none; font-size: 24px;
    color: var(--primary); cursor: pointer; padding: 8px;
}

/* === Hero 区域 === */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-hero); position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-background {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
}
.hero-particles::before, .hero-particles::after,
.hero-grid-lines::before, .hero-grid-lines::after {
    content: ''; position: absolute; border-radius: 50%;
}
.hero-particles::before {
    width: 300px; height: 300px; top: 10%; left: 5%;
    background: radial-gradient(circle, rgba(0,212,170,0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}
.hero-particles::after {
    width: 400px; height: 400px; bottom: 10%; right: 5%;
    background: radial-gradient(circle, rgba(26,86,219,0.12) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite 2s;
}
.hero-grid-lines::before {
    width: 200px; height: 200px; top: 40%; left: 60%;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite 1s; border-radius: 50%;
}
.hero-grid-lines {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-title {
    font-size: 68px; font-weight: 800; line-height: 1.15; margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00d4aa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-slogan { font-size: 22px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.hero-description {
    font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 40px;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: flex; justify-content: center; gap: 80px; padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: center; }
.stat-item .stat-number {
    font-size: 48px; font-weight: 800; margin-bottom: 6px;
    background: linear-gradient(135deg, #00d4aa, #1a56db);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item .stat-label { font-size: 14px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }

/* === 合作伙伴 === */
.partners { background: var(--bg-light); padding: 60px 0; overflow: hidden; }
.partners-scroll-wrapper { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.partners-track {
    display: flex; gap: 60px; align-items: center;
    animation: scroll 30s linear infinite; width: max-content;
}
.partner-logo {
    flex-shrink: 0; opacity: 0.5; filter: grayscale(100%);
    transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; padding: 12px 24px;
    font-size: 16px; font-weight: 700; color: var(--text-secondary); white-space: nowrap;
}
.partner-logo i { font-size: 20px; }
.partner-logo:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); color: var(--primary); }

/* === 产品矩阵 === */
.products { background: var(--bg-white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
    background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px 32px;
    border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease; position: relative; overflow: hidden;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-primary); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card.featured { grid-column: span 1; background: var(--gradient-primary); color: var(--text-white); }
.product-card.featured:hover { box-shadow: 0 8px 40px rgba(30,58,95,0.4); }
.product-card.featured p { color: rgba(255,255,255,0.8); }
.product-card.featured .product-features li { color: rgba(255,255,255,0.85); }
.product-card.featured .product-features li i { color: var(--accent); }
.product-icon {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-primary); color: var(--text-white); font-size: 26px; margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.product-card:hover .product-icon { transform: scale(1.1); }
.product-card.featured .product-icon { background: rgba(255,255,255,0.15); }
.product-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.product-card p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; font-size: 15px; }
.product-features { display: flex; flex-direction: column; gap: 10px; }
.product-features li {
    font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px;
}
.product-features li i { color: var(--secondary); font-size: 12px; }

/* === 解决方案 === */
.solutions { background: var(--bg-light); }
.solutions-tabs { display: flex; flex-direction: column; }
.tabs-nav { display: flex; justify-content: center; gap: 8px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn {
    padding: 12px 28px; border: none; background: transparent; font-size: 15px; font-weight: 500;
    color: var(--text-secondary); cursor: pointer; border-radius: var(--radius-sm);
    transition: all 0.3s ease; position: relative; display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: var(--secondary); border-radius: 2px; transition: width 0.3s ease;
}
.tab-btn.active { color: var(--primary); background: var(--bg-white); box-shadow: var(--shadow-sm); }
.tab-btn.active::after { width: 40px; }
.tab-btn:hover { color: var(--primary); }
.tabs-content { position: relative; }
.tab-panel { display: none; animation: fadeIn 0.4s ease; }
.tab-panel.active { display: block; }
.tab-panel-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.tab-desc h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.tab-desc p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-size: 16px; }
.solution-features { display: flex; flex-direction: column; gap: 14px; }
.solution-features li {
    display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-secondary);
}
.solution-features li i { color: var(--secondary); }
.tab-highlights { display: flex; flex-direction: column; gap: 16px; }
.highlight-card {
    background: var(--bg-white); border-radius: var(--radius-md); padding: 24px 28px;
    border-left: 4px solid var(--secondary); box-shadow: var(--shadow-sm);
    transition: all 0.3s ease; text-align: center;
}
.highlight-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.highlight-value {
    display: block; font-size: 32px; font-weight: 800; color: var(--primary);
    margin-bottom: 4px;
}
.highlight-label { font-size: 14px; color: var(--text-secondary); }

/* === 技术架构 === */
.technology { background: var(--bg-white); }
.technology-content { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.technology-desc { color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; font-size: 16px; }
.tech-metrics { display: flex; flex-direction: column; gap: 16px; }
.tech-metric-card {
    background: var(--bg-dark); border-radius: var(--radius-md); padding: 24px 28px;
    display: flex; align-items: center; gap: 20px; transition: all 0.3s ease;
}
.tech-metric-card:hover { transform: translateX(6px); box-shadow: 0 4px 20px rgba(0,212,170,0.2); }
.tech-metric-card .metric-value {
    font-size: 26px; font-weight: 800; color: var(--secondary); white-space: nowrap;
}
.tech-metric-card .metric-label { font-size: 14px; color: var(--text-light); }
.arch-diagram { display: flex; flex-direction: column; gap: 0; }
.arch-layer {
    background: var(--bg-light); border-radius: var(--radius-md); padding: 20px 24px;
    border: 1px solid rgba(0,0,0,0.06); display: flex; gap: 16px; flex-wrap: wrap;
    justify-content: center; transition: all 0.3s ease;
}
.arch-layer-top { border-top: 4px solid #1a56db; }
.arch-layer-mid { border-top: 4px solid var(--secondary); }
.arch-layer-services { border-top: 4px solid var(--accent); }
.arch-layer-bottom { border-top: 4px solid #764ba2; }
.arch-layer:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.arch-node {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: var(--bg-white); border-radius: var(--radius-sm); font-size: 13px;
    font-weight: 600; color: var(--text-primary); box-shadow: var(--shadow-sm);
}
.arch-node i { color: var(--primary-light); }
.arch-connector { text-align: center; padding: 8px 0; color: var(--text-light); font-size: 14px; }

/* === 数据成果 === */
.statistics {
    background: var(--bg-dark); position: relative; overflow: hidden;
}
.statistics-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}
.statistics .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-card {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
    padding: 40px 24px; text-align: center; transition: all 0.3s ease;
}
.stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-6px); }
.stat-card-icon {
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(0,212,170,0.15); margin: 0 auto 20px; font-size: 24px; color: var(--secondary);
}
.stat-card-number {
    font-size: 48px; font-weight: 800; margin-bottom: 4px; display: inline;
    background: linear-gradient(135deg, #00d4aa, #1a56db);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card-suffix {
    font-size: 24px; font-weight: 700; display: inline;
    background: linear-gradient(135deg, #00d4aa, #1a56db);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card-label { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 12px; }

/* === 客户案例 === */
.cases { background: var(--bg-white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card {
    background: var(--bg-white); border-radius: var(--radius-lg); padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease; position: relative;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-tag {
    display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px;
    font-weight: 600; margin-bottom: 16px; background: rgba(0,212,170,0.1); color: var(--secondary);
}
.case-card .case-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.case-card .case-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.case-metrics { display: flex; gap: 24px; margin-bottom: 20px; }
.case-metric { text-align: center; }
.case-metric-value { display: block; font-size: 24px; font-weight: 800; color: var(--primary); }
.case-metric-label { font-size: 12px; color: var(--text-light); margin-top: 4px; display: block; }
.case-quote {
    font-style: italic; font-size: 14px; color: var(--text-secondary); line-height: 1.7;
    padding-left: 16px; border-left: 3px solid var(--secondary); margin-top: 16px;
}
.case-quote p { margin-bottom: 6px; }
.case-quote cite { font-size: 12px; color: var(--text-light); font-style: normal; }

/* === 接入流程 === */
.process { background: var(--bg-light); }
.process-timeline {
    display: flex; justify-content: space-between; align-items: flex-start; position: relative; padding: 20px 0;
}
.process-timeline::before {
    content: ''; position: absolute; top: 72px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary-light)); border-radius: 2px;
}
.process-step { text-align: center; position: relative; z-index: 1; flex: 1; padding: 0 16px; }
.step-number {
    font-size: 13px; font-weight: 700; color: var(--text-light); margin-bottom: 12px;
    letter-spacing: 1px;
}
.step-icon {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-primary); color: var(--text-white); font-size: 24px;
    margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(30,58,95,0.3);
    transition: all 0.3s ease;
}
.process-step:hover .step-icon { transform: scale(1.15); box-shadow: 0 6px 30px rgba(30,58,95,0.5); }
.process-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.process-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* === 新闻动态 === */
.news { background: var(--bg-white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
    background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease; position: relative; overflow: hidden;
}
.news-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-card);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-date {
    display: flex; flex-direction: column; margin-bottom: 16px;
}
.news-month { font-size: 14px; color: var(--primary-light); font-weight: 600; }
.news-year { font-size: 12px; color: var(--text-light); }
.news-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.news-card h3 a { color: var(--text-primary); transition: color 0.3s ease; }
.news-card h3 a:hover { color: var(--primary-light); }
.news-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.news-link {
    font-size: 14px; color: var(--primary-light); font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s ease;
}
.news-link:hover { gap: 10px; color: var(--primary); }
.news-link i { transition: transform 0.3s ease; }
.news-link:hover i { transform: translateX(4px); }

/* === CTA 区域 === */
.cta-section {
    background: var(--gradient-primary); padding: 100px 40px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
}
.cta-bg::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0,212,170,0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(245,158,11,0.1) 0%, transparent 60%);
}
.cta-particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 38px; font-weight: 800; color: var(--text-white); margin-bottom: 16px; }
.cta-subtitle { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* === 联系我们 === */
.contact { background: var(--bg-light); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 16px; padding: 16px;
    border-radius: var(--radius-sm); transition: all 0.3s ease;
}
.contact-item:hover { background: var(--bg-white); box-shadow: var(--shadow-sm); }
.contact-item > i {
    font-size: 18px; color: var(--secondary); width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,212,170,0.1); border-radius: 50%; flex-shrink: 0;
}
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }
.contact-form { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border: 1.5px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm);
    font-size: 15px; font-family: inherit; transition: all 0.3s ease; background: var(--bg-light);
    color: var(--text-primary);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--secondary); background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0,212,170,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }

/* === 页脚 === */
.footer { background: var(--bg-darker); padding: 80px 0 0; color: var(--text-white); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-section h4 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--text-white); }
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800;
    margin-bottom: 16px; color: var(--text-white);
}
.footer-brand .footer-logo i { color: var(--secondary); font-size: 24px; }
.footer-section p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 20px; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: all 0.3s ease; }
.footer-section ul li a:hover { color: var(--secondary); padding-left: 4px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    color: rgba(255,255,255,0.7); transition: all 0.3s ease;
}
.social-links a:hover { background: var(--secondary); color: var(--text-white); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); transition: color 0.3s ease; font-size: 14px; }
.footer-links a:hover { color: var(--secondary); }

/* === 动画关键帧 === */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.05); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* === 工具类 === */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible { opacity: 1; transform: translate(0); }

/* === 响应式设计 === */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .technology-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .container { padding: 0 30px; }
}
@media (max-width: 992px) {
    .tabs-nav { flex-direction: column; align-items: stretch; max-width: 400px; margin-left: auto; margin-right: auto; }
    .tab-panel-inner { grid-template-columns: 1fr; gap: 40px; }
    .process-timeline { flex-wrap: wrap; justify-content: center; gap: 40px; }
    .process-timeline::before { display: none; }
    .process-step { flex: 0 0 45%; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    section { padding: 80px 0; }
    .hero-stats { gap: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-menu, .nav-buttons { display: none; }
    .menu-toggle { display: block; }

    /* 移动端导航菜单展开状态 */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 31, 51, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-menu.active .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        color: #ffffff;
    }

    .nav-menu.active .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* 移动端导航按钮显示 */
    .nav-buttons.mobile-visible {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-buttons.mobile-visible .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* 移动端下拉菜单展开 */
    .nav-dropdown.open .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 8px;
        margin-top: 4px;
        box-shadow: none;
    }

    .nav-dropdown.open .dropdown-menu a {
        color: #94a3b8;
        padding: 10px 16px;
        border-radius: 6px;
    }

    .nav-dropdown.open .dropdown-menu a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }
    .hero-title { font-size: 40px; }
    .hero-slogan { font-size: 18px; }
    .hero-description { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 24px; align-items: center; }
    .stat-item .stat-number { font-size: 36px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card.featured { grid-column: span 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .process-step { flex: 0 0 100%; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 16px; }
    section { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
    .cta-title { font-size: 28px; }
    .cta-section { padding: 70px 20px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero { padding: 100px 0 60px; }
    .stat-card-number { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    section { padding: 50px 0; }
    .section-title { font-size: 26px; }
    .cta-title { font-size: 24px; }
    .highlight-value { font-size: 26px; }
}

/* === 客服弹窗样式 === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 40px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.modal-content {
    padding: 30px 40px 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* 微信卡片占满整行 */
.contact-method-card.wechat-card {
    grid-column: 1 / -1;
}

.contact-method-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.contact-method-card:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.method-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.method-icon.wechat {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: white;
}

.method-icon.phone {
    background: var(--gradient-accent);
    color: white;
}

.method-icon.qq {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5d8 100%);
    color: white;
}

.method-icon.email {
    background: var(--gradient-card);
    color: white;
}

.method-info {
    flex: 1;
}

.method-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.method-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.method-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.qr-code {
    margin-left: auto;
    flex-shrink: 0;
}

.qr-code img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.qr-fallback {
    width: 120px;
    height: 120px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.qr-fallback i {
    font-size: 48px;
    color: var(--primary);
}

.qr-fallback span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-time {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-time i {
    color: var(--secondary);
}

/* 弹窗响应式 */
@media (max-width: 768px) {
    .modal-container {
        max-width: 100%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 30px 24px 20px;
    }
    
    .modal-header h3 {
        font-size: 24px;
    }
    
    .modal-content {
        padding: 20px 24px 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-method-card {
        padding: 16px;
    }
    
    .contact-method-card.wechat-card {
        grid-column: span 1;
    }
    
    .qr-code {
        display: none;
    }
    
    .modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-header {
        padding: 24px 20px 16px;
    }
    
    .modal-header h3 {
        font-size: 22px;
    }
    
    .modal-header p {
        font-size: 14px;
    }
    
    .modal-content {
        padding: 16px 20px 24px;
    }
    
    .method-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .method-info h4 {
        font-size: 15px;
    }
    
    .method-value {
        font-size: 14px;
    }
}
