/* 全局样式 */
* { 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; background: #fdf6f6; color: #333; line-height: 1.8; font-size: 16px; }
a { color: #c44569; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* 导航 */
nav { background: #fff; border-bottom: 1px solid #f0d0d0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { font-size: 24px; font-weight: bold; color: #c44569; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links li a { color: #555; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; transition: 0.2s; }
.nav-links li a:hover { border-bottom-color: #c44569; color: #c44569; text-decoration: none; }
.nav-search { display: flex; align-items: center; gap: 8px; }
.nav-search input { padding: 6px 12px; border: 1px solid #ddd; border-radius: 20px; outline: none; font-size: 14px; width: 180px; background: #f9f0f0; }
.nav-search button { background: #c44569; color: #fff; border: none; border-radius: 20px; padding: 6px 16px; cursor: pointer; font-size: 14px; }
.menu-toggle { display: none; font-size: 28px; background: none; border: none; color: #c44569; cursor: pointer; }
/* 移动菜单 */
.mobile-menu { display: none; background: #fff; border-top: 1px solid #f0d0d0; padding: 16px 20px; }
.mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid #f5e0e0; color: #555; }
.mobile-menu a:last-child { border-bottom: none; }
/* Banner */
.banner { background: linear-gradient(135deg, #fce4e4, #f8d0d0); padding: 50px 0; text-align: center; position: relative; overflow: hidden; }
.banner-slide { display: none; }
.banner-slide.active { display: block; }
.banner h1 { font-size: 40px; color: #a33a5a; margin-bottom: 16px; font-weight: 700; }
.banner p { font-size: 18px; color: #7a4a5a; max-width: 700px; margin: 0 auto 24px; }
.banner-cta { display: inline-block; background: #c44569; color: #fff; padding: 12px 36px; border-radius: 30px; font-size: 18px; font-weight: 500; transition: 0.3s; }
.banner-cta:hover { background: #a33a5a; text-decoration: none; }
.banner-nav { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.banner-nav button { background: rgba(196,69,105,0.3); border: none; width: 12px; height: 12px; border-radius: 50%; cursor: pointer; transition: 0.2s; }
.banner-nav button.active { background: #c44569; }
/* 面包屑 */
.breadcrumb { background: #faf0f0; padding: 12px 0; font-size: 14px; color: #888; }
.breadcrumb a { color: #c44569; }
.breadcrumb span { margin: 0 6px; }
/* 通用标题 */
.section-title { font-size: 28px; color: #a33a5a; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #f0c0c0; }
.section-subtitle { font-size: 18px; color: #7a4a5a; margin-bottom: 30px; }
/* 品牌介绍 */
.brand-intro { padding: 50px 0; }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.brand-text h2 { font-size: 28px; color: #a33a5a; margin-bottom: 16px; }
.brand-text p { margin-bottom: 16px; color: #555; }
.brand-svg { text-align: center; }
.brand-svg svg { max-width: 300px; height: auto; }
/* 产品优势 */
.advantages { background: #fff; padding: 50px 0; }
.adv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.adv-card { background: #fdf6f6; padding: 24px; border-radius: 16px; text-align: center; border: 1px solid #f0d0d0; transition: 0.2s; }
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.adv-card svg { width: 48px; height: 48px; margin-bottom: 12px; }
.adv-card h3 { font-size: 20px; color: #a33a5a; margin-bottom: 8px; }
.adv-card p { color: #666; }
/* 解决方案与场景 */
.solutions { padding: 50px 0; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sol-item { background: #fff; padding: 24px; border-radius: 12px; border: 1px solid #f0d0d0; }
.sol-item h3 { color: #a33a5a; margin-bottom: 10px; }
.sol-item p { color: #666; }
/* 案例与评价 */
.cases { background: #faf0f0; padding: 50px 0; }
.case-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.case-card { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #f0d0d0; }
.case-card h4 { color: #a33a5a; }
.case-card p { color: #666; font-size: 14px; margin-top: 8px; }
/* 新闻/文章 */
.news { padding: 50px 0; }
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-item { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #f0d0d0; }
.article-item h3 { font-size: 18px; color: #a33a5a; margin-bottom: 6px; }
.article-item .meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.article-item p { color: #666; font-size: 14px; }
.article-item a { color: #c44569; font-weight: 500; display: inline-block; margin-top: 8px; }
/* FAQ */
.faq { background: #fff; padding: 50px 0; }
.faq-item { border-bottom: 1px solid #f0d0d0; padding: 16px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: #a33a5a; }
.faq-question span { font-size: 18px; transition: 0.2s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: #555; padding-top: 0; }
.faq-answer.open { max-height: 600px; padding-top: 12px; }
/* HowTo */
.howto { padding: 50px 0; background: #fdf6f6; }
.howto-steps { list-style: none; counter-reset: step; }
.howto-steps li { counter-increment: step; margin-bottom: 16px; padding-left: 40px; position: relative; }
.howto-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; background: #c44569; color: #fff; width: 28px; height: 28px; border-radius: 50%; text-align: center; line-height: 28px; font-weight: bold; }
.howto-steps li strong { color: #a33a5a; }
/* 关于/联系 */
.about { padding: 50px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info p { margin-bottom: 8px; }
.contact-info strong { color: #a33a5a; }
/* 友情链接 */
.friend-links { background: #faf0f0; padding: 30px 0; text-align: center; }
.friend-links a { display: inline-block; margin: 6px 12px; color: #888; font-size: 14px; }
/* 页脚 */
footer { background: #a33a5a; color: #fce4e4; padding: 30px 0; text-align: center; }
footer a { color: #fce4e4; margin: 0 10px; }
footer .copyright { margin-top: 12px; font-size: 14px; opacity: 0.8; }
/* 返回顶部 */
.back-to-top { position: fixed; bottom: 40px; right: 40px; background: #c44569; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
/* 滚动动画 */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* 暗黑模式 */
.dark-mode { background: #2a1e1e; color: #f0e0e0; }
.dark-mode nav { background: #3a2a2a; border-bottom-color: #5a3a3a; }
.dark-mode .nav-links li a { color: #f0d0d0; }
.dark-mode .banner { background: #3a2a2a; }
.dark-mode .banner h1 { color: #f0c0c0; }
.dark-mode .banner p { color: #d0b0b0; }
.dark-mode .adv-card { background: #3a2a2a; border-color: #5a3a3a; }
.dark-mode .sol-item { background: #3a2a2a; border-color: #5a3a3a; }
.dark-mode .case-card { background: #3a2a2a; }
.dark-mode .article-item { background: #3a2a2a; }
.dark-mode .faq { background: #3a2a2a; }
.dark-mode .faq-item { border-color: #5a3a3a; }
.dark-mode .howto { background: #3a2a2a; }
.dark-mode .friend-links { background: #3a2a2a; }
.dark-mode footer { background: #1a1010; }
.dark-mode .breadcrumb { background: #3a2a2a; }
.dark-mode .nav-search input { background: #5a3a3a; color: #f0e0e0; border-color: #7a4a4a; }
.dark-mode .brand-intro { background: #2a1e1e; }
.dark-mode .solutions { background: #2a1e1e; }
.dark-mode .news { background: #2a1e1e; }
.dark-mode .about { background: #2a1e1e; }
.dark-mode .cases { background: #3a2a2a; }
.dark-toggle { background: none; border: 1px solid #c44569; color: #c44569; padding: 4px 12px; border-radius: 20px; cursor: pointer; font-size: 14px; margin-left: 12px; }
/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-search { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu.active { display: block; }
    .brand-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .banner h1 { font-size: 28px; }
}