:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --bg: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --card-bg: #f8f8f8;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --radius: 8px;
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif; line-height: 1.7; color: var(--text); background: var(--bg); transition: background 0.3s, color 0.3s; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img, svg { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border); transition: box-shadow 0.3s, background 0.3s; }
.navbar.scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 24px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text); }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 16px; z-index: 999; }
.mobile-menu.active { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid #eee; color: var(--text); font-size: 16px; }
.mobile-menu a:last-child { border-bottom: none; }
/* 搜索 */
.search-box { display: flex; align-items: center; gap: 8px; }
.search-box input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; outline: none; width: 180px; transition: width 0.3s, border-color 0.3s; background: var(--glass-bg); }
.search-box input:focus { width: 240px; border-color: var(--primary); }
.search-box button { background: var(--primary); color: white; border: none; border-radius: 20px; padding: 8px 16px; cursor: pointer; font-size: 14px; transition: transform 0.2s, box-shadow 0.2s; }
.search-box button:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(231,76,60,0.3); }
/* 面包屑 */
.breadcrumb { padding: 80px 0 16px; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }
/* Banner */
.banner { position: relative; overflow: hidden; height: 500px; background: linear-gradient(135deg, #e74c3c, #c0392b, #8e44ad); background-size: 400% 400%; animation: gradientShift 8s ease infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.banner-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1s ease; }
.banner-slide.active { opacity: 1; }
.banner-content { text-align: center; color: white; padding: 0 20px; animation: fadeUp 1s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.banner-content h1 { font-size: 48px; margin-bottom: 16px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.banner-content p { font-size: 20px; max-width: 700px; margin: 0 auto 24px; opacity: 0.9; }
.banner-content .btn { display: inline-block; background: white; color: var(--primary); padding: 14px 36px; border-radius: 30px; font-weight: 600; font-size: 16px; transition: transform 0.2s, box-shadow 0.2s; }
.banner-content .btn:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.banner-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.banner-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.banner-dots span.active { background: white; transform: scale(1.3); }
.banner-dots span:hover { background: rgba(255,255,255,0.8); }
/* 通用标题 */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 36px; color: var(--text); margin-bottom: 12px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }
.section-title p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
/* 品牌介绍 */
.brand-intro { padding: 80px 0; background: var(--card-bg); }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.brand-text h3 { font-size: 28px; margin-bottom: 16px; color: var(--primary); }
.brand-text p { margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
.brand-stats { display: flex; gap: 30px; margin-top: 24px; }
.brand-stats .stat { text-align: center; background: white; padding: 16px 24px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.3s; }
.brand-stats .stat:hover { transform: translateY(-4px); }
.brand-stats .stat-num { font-size: 36px; font-weight: 700; color: var(--primary); }
.brand-stats .stat-label { font-size: 14px; color: var(--text-light); }
.brand-image svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
/* 产品优势 */
.products { padding: 80px 0; }
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--card-bg); border-radius: var(--radius); padding: 32px; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid transparent; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--primary); }
.product-card svg { width: 48px; height: 48px; margin-bottom: 16px; transition: transform 0.3s; }
.product-card:hover svg { transform: scale(1.1); }
.product-card h3 { font-size: 20px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
/* 解决方案 */
.solutions { padding: 80px 0; background: var(--card-bg); }
.solution-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.solution-item { background: white; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.solution-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--primary); }
.solution-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
/* 案例 */
.cases { padding: 80px 0; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.case-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.case-card svg { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.case-card:hover svg { transform: scale(1.05); }
.case-info { padding: 20px; }
.case-info h3 { font-size: 18px; margin-bottom: 8px; }
.case-info p { font-size: 14px; color: var(--text-light); }
/* 新闻文章 */
.articles { padding: 80px 0; background: var(--card-bg); }
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .date { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.article-card h3 { font-size: 18px; margin-bottom: 8px; }
.article-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.article-card .readmore { font-size: 14px; font-weight: 500; transition: color 0.2s; }
.article-card .readmore:hover { color: var(--primary-dark); }
/* FAQ */
.faq { padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.3s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question { padding: 16px 20px; background: white; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; transition: background 0.2s; }
.faq-question:hover { background: var(--card-bg); }
.faq-question .icon { font-size: 20px; transition: transform 0.3s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; padding: 16px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
/* HowTo */
.howto { padding: 80px 0; background: var(--card-bg); }
.howto-steps { max-width: 800px; margin: 0 auto; }
.howto-step { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; transition: transform 0.3s; }
.howto-step:hover { transform: translateX(8px); }
.howto-step .num { background: var(--primary); color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; transition: transform 0.3s; }
.howto-step:hover .num { transform: scale(1.1); }
.howto-step h3 { font-size: 18px; margin-bottom: 8px; }
.howto-step p { font-size: 14px; color: var(--text-light); }
/* 客户评价 */
.testimonials { padding: 80px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--card-bg); border-radius: var(--radius); padding: 24px; transition: transform 0.3s, box-shadow 0.3s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card .quote { font-style: italic; margin-bottom: 16px; font-size: 15px; position: relative; padding-left: 20px; }
.testimonial-card .quote::before { content: '"'; position: absolute; left: 0; top: -8px; font-size: 36px; color: var(--primary); opacity: 0.3; }
.testimonial-card .author { font-weight: 600; color: var(--primary); }
/* 联系方式 */
.contact { padding: 80px 0; background: var(--card-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 24px; margin-bottom: 16px; }
.contact-info p { margin-bottom: 8px; font-size: 15px; }
.contact-info .label { font-weight: 600; color: var(--primary); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; font-size: 15px; transition: border-color 0.3s, box-shadow 0.3s; background: white; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(231,76,60,0.1); outline: none; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { background: var(--primary); color: white; border: none; padding: 12px 32px; border-radius: 30px; font-size: 16px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.contact-form button:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(231,76,60,0.3); }
/* 友情链接 */
.friends { padding: 40px 0; border-top: 1px solid var(--border); }
.friends h3 { text-align: center; margin-bottom: 20px; font-size: 16px; color: var(--text-light); }
.friends-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.friends-links a { color: var(--text-light); font-size: 14px; transition: color 0.2s; }
.friends-links a:hover { color: var(--primary); }
/* 页脚 */
.footer { background: #222; color: #ccc; padding: 40px 0 20px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer h4 { color: white; margin-bottom: 16px; font-size: 16px; position: relative; display: inline-block; }
.footer h4::after { content: ''; display: block; width: 30px; height: 2px; background: var(--primary); margin-top: 6px; }
.footer p, .footer a { font-size: 14px; color: #aaa; line-height: 2; transition: color 0.2s; }
.footer a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; margin-top: 32px; font-size: 13px; color: #888; }
/* 返回顶部 */
.back-top { position: fixed; bottom: 40px; right: 40px; background: var(--primary); color: white; width: 48px; height: 48px; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; z-index: 999; box-shadow: 0 4px 12px rgba(231,76,60,0.4); transition: transform 0.3s, box-shadow 0.3s; }
.back-top.show { display: flex; animation: fadeInUp 0.3s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.back-top:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(231,76,60,0.5); }
/* 暗黑模式 */
.dark-toggle { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); transition: transform 0.3s; }
.dark-toggle:hover { transform: rotate(20deg); }
body.dark { --bg: #1a1a2e; --text: #eee; --text-light: #aaa; --border: #333; --card-bg: #16213e; --shadow: 0 2px 10px rgba(0,0,0,0.3); --glass-bg: rgba(26,26,46,0.8); }
body.dark .navbar { background: var(--glass-bg); }
body.dark .navbar.scrolled { background: rgba(26,26,46,0.95); }
body.dark .mobile-menu { background: var(--glass-bg); }
body.dark .footer { background: #0f0f1a; }
body.dark .footer h4 { color: #eee; }
body.dark .footer p, body.dark .footer a { color: #888; }
body.dark .footer a:hover { color: var(--primary); }
body.dark .brand-stats .stat { background: var(--card-bg); }
body.dark .solution-item { background: var(--card-bg); }
body.dark .article-card { background: var(--card-bg); }
body.dark .faq-question { background: var(--card-bg); }
body.dark .contact-form input, body.dark .contact-form textarea { background: var(--card-bg); color: var(--text); }
/* 滚动动画 */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .brand-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .banner-content h1 { font-size: 32px; }
    .banner-content p { font-size: 16px; }
    .search-box input { width: 120px; }
    .search-box input:focus { width: 160px; }
    .banner { height: 400px; }
    .section-title h2 { font-size: 28px; }
    .brand-text h3 { font-size: 24px; }
    .brand-stats { flex-direction: column; gap: 16px; }
    .brand-stats .stat { padding: 12px 16px; }
    .product-cards { grid-template-columns: 1fr; }
    .solution-list { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .article-list { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .back-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 20px; }
}
@media (max-width: 480px) {
    .banner { height: 350px; }
    .banner-content h1 { font-size: 26px; }
    .banner-content p { font-size: 14px; }
    .banner-content .btn { padding: 12px 28px; font-size: 14px; }
    .section-title h2 { font-size: 24px; }
    .container { padding: 0 16px; }
}