/* 全局样式与品牌系统 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand-primary: #1a1a2e;
  --brand-secondary: #e94560;
  --brand-accent: #0f3460;
  --brand-light: #16213e;
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
  --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0c0;
  --card-bg: rgba(255,255,255,0.06);
  --card-hover: rgba(255,255,255,0.12);
  --nav-bg: rgba(26,26,46,0.85);
}
[data-theme="dark"] {
  --bg-gradient: linear-gradient(135deg, #0a0a1a, #1a1a2e, #0f3460);
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0b0;
  --card-bg: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.08);
  --nav-bg: rgba(10,10,26,0.92);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  background: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: #ff6b81; }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 1rem; background: linear-gradient(135deg, #f0f0f0, #e94560); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { text-align: center; color: var(--text-secondary); max-width: 600px; margin: 0 auto 3rem; font-size: 1.05rem; }
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; border: none; cursor: pointer; transition: var(--transition);
  background: linear-gradient(135deg, var(--brand-secondary), #ff6b81);
  color: #fff; box-shadow: 0 4px 20px rgba(233,69,96,0.4);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(233,69,96,0.5); }
.btn-outline {
  background: transparent; border: 2px solid var(--brand-secondary); color: var(--brand-secondary);
  box-shadow: none;
}
.btn-outline:hover { background: var(--brand-secondary); color: #fff; }
/* 导航 */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); transition: var(--transition); }
nav { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 70px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: #fff; }
.logo svg { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-primary); font-size: 0.95rem; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--brand-secondary); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brand-secondary); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.mobile-toggle span { width: 28px; height: 2.5px; background: #fff; border-radius: 4px; transition: var(--transition); }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--nav-bg); backdrop-filter: blur(20px); padding: 20px; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--glass-border); }
.mobile-menu a { color: var(--text-primary); font-size: 1.1rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 20px 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 50%, rgba(233,69,96,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(15,52,96,0.1) 0%, transparent 50%); animation: heroGlow 20s ease-in-out infinite alternate; }
@keyframes heroGlow { 0% { transform: translate(0,0); } 100% { transform: translate(-5%,5%); } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero h1 span { background: linear-gradient(135deg, #e94560, #ff6b81); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-banner { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); padding: 2rem; }
.hero-banner svg { width: 100%; max-height: 300px; object-fit: contain; }
/* 通用卡片 */
.card { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 2rem; transition: var(--transition); box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--card-hover); }
.card-icon { margin-bottom: 1rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
/* 栅格 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
/* 品牌区 */
.brand-section { padding: 80px 0; }
.brand-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.brand-text h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.brand-text p { color: var(--text-secondary); margin-bottom: 1rem; }
.brand-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--brand-secondary); }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; }
/* 产品中心 */
.products-section { padding: 80px 0; }
.product-card { text-align: center; padding: 2rem 1.5rem; }
.product-card svg { width: 80px; height: 80px; margin: 0 auto 1rem; }
/* 服务 */
.services-section { padding: 80px 0; }
.service-card { text-align: center; padding: 2rem; }
.service-card svg { width: 60px; height: 60px; margin: 0 auto 1rem; }
/* 信任 */
.trust-section { padding: 80px 0; }
.testimonial-card { padding: 2rem; position: relative; }
.testimonial-card::before { content: '"'; font-size: 4rem; color: var(--brand-secondary); opacity: 0.3; position: absolute; top: 10px; left: 20px; font-family: serif; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-author svg { width: 50px; height: 50px; border-radius: 50%; }
/* 新闻 */
.news-section { padding: 80px 0; }
.news-card { padding: 1.5rem; }
.news-date { color: var(--brand-secondary); font-size: 0.85rem; margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.news-card p { color: var(--text-secondary); font-size: 0.9rem; }
.read-more { color: var(--brand-secondary); font-weight: 600; display: inline-block; margin-top: 0.8rem; }
/* 支持 */
.support-section { padding: 80px 0; }
.faq-item { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); margin-bottom: 1rem; overflow: hidden; transition: var(--transition); }
.faq-question { padding: 1.2rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; transition: var(--transition); color: var(--brand-secondary); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.2rem; color: var(--text-secondary); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }
/* 联系 */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info p { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.contact-info svg { width: 24px; height: 24px; flex-shrink: 0; }
/* 友情链接 */
.footer-links { padding: 40px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-links .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
/* 页脚 */
footer { background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); padding: 40px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
footer h4 { font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
footer p, footer a { color: var(--text-secondary); font-size: 0.9rem; line-height: 2; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.85rem; }
.footer-bottom p { margin-bottom: 0.3rem; }
/* 返回顶部 */
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--brand-secondary); color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: var(--transition); z-index: 999; font-size: 1.5rem; }
#back-to-top:hover { transform: scale(1.1); }
/* 暗黑模式切换 */
.theme-toggle { background: none; border: 2px solid var(--glass-border); color: var(--text-primary); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1.2rem; }
.theme-toggle:hover { border-color: var(--brand-secondary); }
/* 面包屑 */
.breadcrumb { padding: 90px 0 10px; font-size: 0.9rem; color: var(--text-secondary); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { color: var(--brand-secondary); }
/* 搜索栏模拟 */
.search-bar { display: flex; align-items: center; background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 50px; padding: 0.3rem 0.3rem 0.3rem 1.2rem; max-width: 400px; margin: 0 auto 2rem; }
.search-bar input { background: none; border: none; color: var(--text-primary); padding: 0.7rem 0; width: 100%; outline: none; font-size: 0.95rem; }
.search-bar input::placeholder { color: var(--text-secondary); }
.search-bar button { background: var(--brand-secondary); border: none; border-radius: 50px; padding: 0.7rem 1.5rem; color: #fff; font-weight: 600; cursor: pointer; transition: var(--transition); }
.search-bar button:hover { background: #ff6b81; }
/* 动画 */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
/* 轮播 */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; padding: 2rem; background: var(--card-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); text-align: center; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1.2rem; transition: var(--transition); }
.carousel-btn:hover { background: var(--brand-secondary); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
/* 响应式 */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-stats { flex-wrap: wrap; }
  .section-title { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .btn { padding: 12px 28px; font-size: 0.9rem; }
}