/* 全局重置与基础 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #e0e0e0;
    line-height: 1.7;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
}
a { color: #ffd700; text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
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 { padding: 80px 0; }
.glass { background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); border-radius: 24px; margin: 20px 0; }
.glass-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); border-radius: 20px; padding: 30px; transition: transform 0.3s, box-shadow 0.3s; }
.glass-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0.5px; }
h2 { font-size: 2.2rem; margin-bottom: 40px; text-align: center; background: linear-gradient(90deg, #ffd700, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.btn-primary, .btn-outline { display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a1a2e; box-shadow: 0 8px 20px rgba(255,215,0,0.3); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 12px 28px rgba(255,215,0,0.5); }
.btn-outline { background: transparent; border: 2px solid #ffd700; color: #ffd700; }
.btn-outline:hover { background: #ffd700; color: #1a1a2e; }

/* 头部 */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15,12,41,0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 30px; max-width: 1200px; margin: 0 auto; }
.logo a { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { color: #ccc; font-size: 0.95rem; font-weight: 500; padding: 6px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #ffd700; transition: width 0.3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: #ffd700; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions button { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 50%; transition: background 0.2s; }
.header-actions button:hover { background: rgba(255,255,255,0.1); }
.menu-toggle { display: none; }
.search-bar { display: none; padding: 12px 30px; background: rgba(0,0,0,0.3); max-width: 1200px; margin: 0 auto; }
.search-bar input { width: 80%; padding: 10px 16px; border-radius: 30px; border: none; background: rgba(255,255,255,0.1); color: #fff; font-size: 1rem; }
.search-bar button { padding: 10px 24px; border-radius: 30px; border: none; background: #ffd700; color: #1a1a2e; font-weight: 600; cursor: pointer; margin-left: 10px; }

/* Banner */
.hero-section { padding-top: 100px; min-height: 600px; display: flex; align-items: center; }
.banner-carousel { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; border-radius: 30px; background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.banner-slide { display: none; align-items: center; padding: 60px 50px; gap: 40px; min-height: 450px; }
.banner-slide.active { display: flex; }
.banner-content { flex: 1; }
.banner-content h1 { font-size: 2.8rem; margin-bottom: 20px; color: #fff; }
.banner-content p { font-size: 1.1rem; color: #bbb; margin-bottom: 30px; max-width: 500px; }
.banner-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.banner-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.3s; }
.dot.active { background: #ffd700; }
.banner-prev, .banner-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; font-size: 2rem; padding: 10px 18px; cursor: pointer; border-radius: 50%; transition: background 0.2s; }
.banner-prev { left: 10px; }
.banner-next { right: 10px; }
.banner-prev:hover, .banner-next:hover { background: rgba(255,215,0,0.6); }

/* 品牌故事 */
.story-content p { margin-bottom: 20px; font-size: 1.05rem; color: #ccc; }

/* 企业简介 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text p { margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item { text-align: center; padding: 20px; background: rgba(255,255,255,0.05); border-radius: 16px; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: #ffd700; }
.stat-suffix { font-size: 1.2rem; color: #ffd700; }
.stat-item p { color: #aaa; margin-top: 8px; font-size: 0.9rem; }

/* 发展历程 */
.timeline { display: flex; flex-direction: column; gap: 20px; max-width: 600px; margin: 0 auto; }
.timeline-item { display: flex; gap: 30px; align-items: baseline; }
.year { font-size: 1.5rem; font-weight: 700; color: #ffd700; min-width: 80px; }
.desc { color: #ccc; font-size: 1rem; }

/* 企业文化 */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.culture-card { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.04); border-radius: 20px; transition: transform 0.3s; }
.culture-card:hover { transform: translateY(-8px); }
.culture-card svg { margin: 0 auto 20px; }
.culture-card h3 { margin-bottom: 12px; color: #fff; }
.culture-card p { color: #aaa; font-size: 0.95rem; }

/* 管理团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.04); border-radius: 20px; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-6px); }
.team-card svg { margin: 0 auto 20px; }
.team-card h3 { color: #fff; margin-bottom: 6px; }
.team-card p { color: #aaa; font-size: 0.9rem; margin-bottom: 4px; }

/* 核心产品 */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { text-align: center; }
.product-card svg { margin: 0 auto 20px; }
.product-card h3 { color: #fff; margin-bottom: 12px; }
.product-card p { color: #bbb; margin-bottom: 20px; font-size: 0.95rem; }

/* 产品优势 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.adv-item { text-align: center; padding: 20px; background: rgba(255,255,255,0.03); border-radius: 16px; }
.adv-item svg { margin: 0 auto 16px; }
.adv-item h3 { color: #fff; margin-bottom: 8px; }
.adv-item p { color: #aaa; font-size: 0.9rem; }

/* 服务体系 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-card { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.04); border-radius: 20px; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-6px); }
.service-card svg { margin: 0 auto 20px; }
.service-card h3 { color: #fff; margin-bottom: 10px; }
.service-card p { color: #bbb; font-size: 0.95rem; }

/* 解决方案 */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sol-card { padding: 30px; background: rgba(255,255,255,0.05); border-radius: 20px; transition: transform 0.3s; }
.sol-card:hover { transform: translateY(-4px); }
.sol-card h3 { color: #fff; margin-bottom: 16px; }
.sol-card p { color: #bbb; }

/* 应用行业 */
.industry-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.industry-grid span { padding: 12px 28px; background: rgba(255,255,255,0.06); border-radius: 30px; color: #ddd; font-weight: 500; transition: background 0.3s; }
.industry-grid span:hover { background: rgba(255,215,0,0.2); color: #ffd700; }

/* 合作伙伴 */
.partner-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; }
.partner-grid svg { transition: opacity 0.3s; }
.partner-grid svg:hover { opacity: 0.8; }

/* 成功案例 */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-card { background: rgba(255,255,255,0.04); border-radius: 20px; overflow: hidden; transition: transform 0.3s; }
.case-card:hover { transform: translateY(-6px); }
.case-card svg { width: 100%; }
.case-card p { padding: 20px; color: #bbb; font-size: 0.95rem; }

/* 客户评价 */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { padding: 30px; background: rgba(255,255,255,0.05); border-radius: 20px; font-style: italic; }
.testimonial-card p { color: #ddd; margin-bottom: 16px; }
.author { color: #ffd700; font-weight: 600; }

/* 新闻中心 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: rgba(255,255,255,0.04); border-radius: 20px; overflow: hidden; transition: transform 0.3s; }
.news-card:hover { transform: translateY(-6px); }
.news-card svg { width: 100%; }
.news-card h3 { padding: 20px 20px 0; color: #fff; font-size: 1.1rem; }
.news-card time { display: block; padding: 0 20px; color: #888; font-size: 0.85rem; }
.news-card p { padding: 12px 20px 20px; color: #bbb; font-size: 0.95rem; }
.read-more { display: inline-block; margin: 0 20px 20px; color: #ffd700; font-weight: 600; }
.news-sidebar { margin-top: 40px; background: rgba(255,255,255,0.03); border-radius: 20px; padding: 30px; }
.news-sidebar h3 { color: #ffd700; margin-bottom: 16px; }
.news-sidebar ul { margin-bottom: 20px; }
.news-sidebar li { margin-bottom: 8px; }
.news-sidebar a { color: #ccc; }
.news-sidebar a:hover { color: #ffd700; }

/* 推荐文章 */
.article-list article { padding: 30px; margin-bottom: 20px; background: rgba(255,255,255,0.04); border-radius: 20px; transition: background 0.3s; }
.article-list article:hover { background: rgba(255,255,255,0.07); }
.article-list h3 { color: #fff; margin-bottom: 8px; font-size: 1.3rem; }
.article-list time { color: #888; font-size: 0.85rem; display: block; margin-bottom: 12px; }
.article-list p { color: #bbb; margin-bottom: 16px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.04); }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; color: #fff; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: #ffd700; transition: transform 0.3s; }
.faq-question.open::after { transform: rotate(45deg); }
.faq-question:hover { background: rgba(255,255,255,0.06); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; background: rgba(255,255,255,0.02); }
.faq-answer.open { max-height: 300px; padding: 16px 24px 24px; }
.faq-answer p { color: #ccc; }

/* HowTo */
.howto-content h3 { color: #ffd700; margin: 24px 0 12px; }
.howto-content p, .howto-content li { color: #ccc; margin-bottom: 8px; }
.howto-content ol, .howto-content ul { padding-left: 20px; }
.howto-content li { list-style: decimal; }
.howto-content ul li { list-style: disc; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-info p { margin-bottom: 12px; color: #ccc; font-size: 1rem; }
.contact-info strong { color: #fff; }

/* 页脚 */
.footer { background: rgba(0,0,0,0.4); backdrop-filter: blur(12px); padding: 60px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #ffd700; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col p, .footer-col li { color: #aaa; margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #ffd700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 30px; text-align: center; color: #888; font-size: 0.85rem; }
.footer-bottom p { margin-bottom: 6px; }

/* 返回顶部 */
#backToTop { position: fixed; bottom: 40px; right: 40px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a1a2e; border: none; font-size: 1.5rem; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(255,215,0,0.3); transition: transform 0.3s; z-index: 999; }
#backToTop:hover { transform: scale(1.1); }

/* 响应式 */
@media (max-width: 1024px) {
    .grid-2, .culture-grid, .team-grid, .products-grid, .adv-grid, .service-grid, .sol-grid, .testimonial-grid, .news-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .banner-slide { flex-direction: column; padding: 40px 30px; }
    .banner-content h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(15,12,41,0.95); backdrop-filter: blur(16px); padding: 20px; flex-direction: column; }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 16px; }
    .menu-toggle { display: block; }
    .grid-2, .culture-grid, .team-grid, .products-grid, .adv-grid, .service-grid, .sol-grid, .testimonial-grid, .news-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .banner-content h1 { font-size: 1.6rem; }
    .section { padding: 50px 0; }
    h2 { font-size: 1.8rem; }
    .header-inner { padding: 10px 16px; }
    .banner-slide { padding: 30px 20px; min-height: 350px; }
    .banner-visual svg { width: 100%; height: auto; }
    #backToTop { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .banner-content h1 { font-size: 1.3rem; }
    .btn-primary, .btn-outline { padding: 10px 24px; font-size: 0.9rem; }
    .stat-number { font-size: 2rem; }
}

/* 暗黑模式 */
body.dark-mode { background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #0f0c29); }
body.dark-mode header { background: rgba(10,10,10,0.9); }
body.dark-mode .glass { background: rgba(255,255,255,0.02); }
body.dark-mode .glass-card { background: rgba(255,255,255,0.03); }
body.dark-mode .footer { background: rgba(0,0,0,0.6); }

/* 动画 */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }