/* 全局样式重置与基础 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --primary: #00b894; --primary-dark: #019874; --primary-light: #e0f7f0; --bg: #ffffff; --bg-alt: #f8fafb; --text: #1a2a3a; --text-light: #5a6a7a; --shadow: 0 8px 30px rgba(0,0,0,0.08); --radius: 16px; --radius-sm: 8px; --glass-bg: rgba(255,255,255,0.7); --glass-border: rgba(255,255,255,0.3); --transition: 0.3s cubic-bezier(0.4,0,0.2,1); }
[data-theme="dark"] { --bg: #0f172a; --bg-alt: #1e293b; --text: #e2e8f0; --text-light: #94a3b8; --shadow: 0 8px 30px rgba(0,0,0,0.5); --glass-bg: rgba(15,23,42,0.7); --glass-border: rgba(255,255,255,0.1); }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; transition: background var(--transition), color var(--transition); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; text-align: center; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); text-align: center; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; border: none; cursor: pointer; transition: all var(--transition); background: var(--primary); color: #fff; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,184,148,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.glass { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 12px 0; transition: all var(--transition); background: var(--glass-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--text); }
.logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-weight: 500; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle, .search-toggle, .menu-toggle { background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%; transition: background var(--transition); color: var(--text); }
.theme-toggle:hover, .search-toggle:hover, .menu-toggle:hover { background: var(--bg-alt); }
.menu-toggle { display: none; }
/* 移动菜单 */
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg); padding: 20px; box-shadow: var(--shadow); z-index: 999; border-bottom: 2px solid var(--primary-light); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg-alt); color: var(--text); font-weight: 500; }
/* Hero Banner */
.hero { padding-top: 100px; min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 50%, var(--primary-light) 100%); }
[data-theme="dark"] .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image svg { width: 100%; max-width: 500px; height: auto; }
/* 轮播指示器 */
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--text-light); opacity: 0.4; cursor: pointer; transition: all var(--transition); }
.carousel-dot.active { opacity: 1; background: var(--primary); transform: scale(1.2); }
/* 面包屑 */
.breadcrumb { padding: 16px 0; font-size: 0.9rem; color: var(--text-light); background: var(--bg-alt); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb span { margin: 0 6px; }
/* 企业简介/品牌故事等通用 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p { margin-bottom: 12px; color: var(--text-light); }
.about-image { display: flex; justify-content: center; }
.about-image svg { max-width: 400px; }
/* 企业文化 */
.culture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.culture-item { text-align: center; padding: 30px 20px; }
.culture-item svg { width: 60px; height: 60px; margin: 0 auto 16px; }
/* 核心产品卡片 */
.product-card { text-align: center; padding: 30px 20px; }
.product-card svg { width: 80px; height: 80px; margin: 0 auto 20px; }
/* 数据展示 */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-item { text-align: center; padding: 30px 10px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-light); margin-top: 8px; font-size: 1rem; }
/* FAQ */
.faq-item { border-bottom: 1px solid var(--bg-alt); padding: 16px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question svg { transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-light); padding-top: 0; }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }
/* 页脚 */
.footer { background: var(--bg-alt); padding: 60px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand p { color: var(--text-light); margin-top: 12px; font-size: 0.95rem; }
.footer-links h4 { margin-bottom: 16px; font-size: 1.1rem; }
.footer-links a { display: block; padding: 6px 0; color: var(--text-light); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--glass-border); text-align: center; font-size: 0.9rem; color: var(--text-light); }
.footer-bottom a { color: var(--text-light); margin: 0 8px; }
/* 响应式 */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}
/* 滚动动画初始状态 */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* 返回顶部 */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 999; transition: all var(--transition); }
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: scale(1.1); }
/* 搜索弹窗简单模拟 */
.search-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; }
.search-modal.open { display: flex; }
.search-modal-content { background: var(--bg); padding: 40px; border-radius: var(--radius); width: 90%; max-width: 500px; }
.search-modal input { width: 100%; padding: 14px 20px; border: 2px solid var(--bg-alt); border-radius: 50px; font-size: 1rem; outline: none; }
.search-modal input:focus { border-color: var(--primary); }
.search-close { margin-top: 16px; text-align: center; cursor: pointer; color: var(--text-light); }