/* 全局重置与基础样式 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #0f0f1a; color: #e0e0e0; line-height: 1.6; overflow-x: hidden; transition: background 0.3s, color 0.3s; }

/* CSS变量 */
:root { --primary: #ffd700; --primary-dark: #e6b800; --secondary: #1a1a2e; --accent: #e94560; --bg-dark: #0f0f1a; --bg-card: #1e1e36; --glass: rgba(30,30,54,0.7); --text: #e0e0e0; --text-light: #a0a0b0; --shadow: 0 8px 32px rgba(0,0,0,0.3); --radius: 16px; --transition: 0.3s ease; --gradient-bg: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%); --gradient-btn: linear-gradient(135deg, #ffd700, #e94560); --glass-border: 1px solid rgba(255,215,0,0.1); }

/* 亮色模式 */
.light-mode { --primary: #1a1a2e; --primary-dark: #0f0f1a; --secondary: #ffd700; --accent: #e94560; --bg-dark: #ffffff; --bg-card: #f5f5fa; --glass: rgba(245,245,250,0.7); --text: #1a1a2e; --text-light: #555; --shadow: 0 8px 32px rgba(0,0,0,0.1); --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f0f0f5 50%, #ffffff 100%); --glass-border: 1px solid rgba(26,26,46,0.1); }

/* 链接 */
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* 图片与SVG */
img, svg { max-width: 100%; height: auto; display: block; }

/* 容器 */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* 通用标题 */
.section-title { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; text-align: center; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); text-align: center; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* 按钮 */
.btn { display: inline-block; padding: 14px 36px; background: var(--gradient-btn); color: #fff; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(233,69,96,0.3); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(233,69,96,0.5); color: #fff; }

/* 卡片 */
.card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: var(--glass-border); transition: all 0.3s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--primary); }

/* Header */
header { background: rgba(15,15,26,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,215,0,0.15); position: sticky; top: 0; z-index: 1000; padding: 0 24px; transition: background 0.3s; }
.light-mode header { background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(26,26,46,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; transition: color 0.3s; }
nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; }
nav a:hover::after, nav a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle { background: none; border: 1px solid rgba(255,215,0,0.3); color: var(--primary); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.theme-toggle:hover { background: var(--primary); color: var(--secondary); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.8rem; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(15,15,26,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 24px; z-index: 999; border-bottom: 1px solid rgba(255,215,0,0.15); }
.light-mode .mobile-menu { background: rgba(255,255,255,0.98); }
.mobile-menu a { display: block; padding: 14px 0; color: var(--text); font-size: 1.1rem; border-bottom: 1px solid rgba(255,215,0,0.05); transition: color 0.3s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary); }

@media (max-width: 900px) { nav { display: none; } .menu-toggle { display: block; } }

/* Hero 区域 */
.hero { padding: 100px 0 80px; background: var(--gradient-bg); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 40%, rgba(255,215,0,0.05) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(233,69,96,0.05) 0%, transparent 50%); animation: heroGlow 12s ease-in-out infinite; pointer-events: none; }
@keyframes heroGlow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5%,5%); } }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.2rem; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 32px; max-width: 540px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 480px; height: auto; }
.hero-badges { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.hero-badges span { background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; color: var(--primary); border: 1px solid rgba(255,215,0,0.2); }

@media (max-width: 900px) { .hero-content { flex-direction: column; text-align: center; } .hero-text h1 { font-size: 2.4rem; } .hero-text p { margin-left: auto; margin-right: auto; } .hero-badges { justify-content: center; } }

/* Banner Carousel */
.banner-carousel { position: relative; overflow: hidden; border-radius: var(--radius); margin: 40px auto; max-width: 1200px; height: 320px; background: var(--bg-card); box-shadow: var(--shadow); }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; padding: 40px; }
.banner-slide.active { opacity: 1; }
.banner-slide .slide-content { text-align: center; }
.banner-slide h2 { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.banner-slide p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; }
.banner-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.banner-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,215,0,0.3); cursor: pointer; transition: all 0.3s ease; }
.banner-dots button.active { background: var(--primary); transform: scale(1.3); }

@media (max-width: 600px) { .banner-carousel { height: 240px; } .banner-slide h2 { font-size: 1.5rem; } }

/* 通用 section */
section { padding: 80px 0; }

/* Brand Intro */
.brand-intro { background: var(--bg-dark); }
.brand-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.brand-intro-text h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; }
.brand-intro-text p { color: var(--text-light); margin-bottom: 16px; }
.brand-intro-visual { display: flex; justify-content: center; }
.brand-intro-visual svg { max-width: 400px; }

@media (max-width: 768px) { .brand-intro-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } }

/* About Company */
.about-company { background: var(--bg-card); }
.about-company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.about-company-item { text-align: center; padding: 24px; }
.about-company-item svg { width: 60px; height: 60px; margin: 0 auto 16px; }
.about-company-item h3 { color: var(--primary); margin-bottom: 8px; }

/* Brand History */
.brand-history { background: var(--bg-dark); }
.timeline { display: flex; flex-direction: column; gap: 24px; max-width: 700px; margin: 40px auto 0; }
.timeline-item { display: flex; gap: 24px; align-items: flex-start; }
.timeline-year { font-weight: 800; color: var(--primary); min-width: 80px; font-size: 1.2rem; }
.timeline-desc { color: var(--text-light); }

/* Team */
.team { background: var(--bg-card); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 40px; }
.team-card { text-align: center; padding: 24px; }
.team-card svg { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: var(--glass); }
.team-card h4 { color: var(--primary); }
.team-card p { color: var(--text-light); font-size: 0.9rem; }

/* Products */
.products { background: var(--bg-dark); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.product-card { text-align: center; }
.product-card svg { width: 64px; height: 64px; margin: 0 auto 16px; }
.product-card h3 { color: var(--primary); margin-bottom: 8px; }
.product-card p { color: var(--text-light); font-size: 0.95rem; }

/* Product Advantages */
.product-advantages { background: var(--bg-card); }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 40px; }
.advantage-item { text-align: center; padding: 20px; }
.advantage-item svg { width: 48px; height: 48px; margin: 0 auto 12px; }
.advantage-item h4 { color: var(--primary); }

/* Solutions */
.solutions { background: var(--bg-dark); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.solution-card { padding: 32px; }
.solution-card h3 { color: var(--primary); margin-bottom: 12px; }
.solution-card p { color: var(--text-light); }

/* Industry Apps */
.industry-apps { background: var(--bg-card); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.industry-item { text-align: center; padding: 20px; border: 1px solid rgba(255,215,0,0.1); border-radius: var(--radius); transition: all 0.3s ease; }
.industry-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.industry-item svg { width: 48px; height: 48px; margin: 0 auto 12px; }
.industry-item h4 { color: var(--primary); }

/* Cases */
.cases { background: var(--bg-dark); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.case-card { padding: 24px; }
.case-card svg { width: 100%; height: 180px; border-radius: 12px; margin-bottom: 16px; background: var(--glass); }
.case-card h4 { color: var(--primary); }

/* Partners */
.partners { background: var(--bg-card); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; align-items: center; margin-top: 40px; }
.partners-grid svg { width: 100%; max-width: 120px; margin: 0 auto; opacity: 0.7; transition: opacity 0.3s ease; }
.partners-grid svg:hover { opacity: 1; }

/* Testimonials */
.testimonials { background: var(--bg-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.testimonial-card { padding: 28px; position: relative; }
.testimonial-card::before { content: '"'; font-size: 4rem; color: var(--primary); opacity: 0.2; position: absolute; top: 10px; left: 20px; font-family: serif; }
.testimonial-card p { color: var(--text-light); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author svg { width: 44px; height: 44px; border-radius: 50%; }
.testimonial-author strong { color: var(--primary); }

/* News */
.news { background: var(--bg-card); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.news-card { padding: 24px; }
.news-card .date { color: var(--text-light); font-size: 0.85rem; margin-bottom: 8px; }
.news-card h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 8px; }
.news-card p { color: var(--text-light); font-size: 0.95rem; }

/* Related Articles */
.related-articles { background: var(--bg-dark); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.related-item { padding: 20px; }
.related-item h4 { color: var(--primary); font-size: 1rem; margin-bottom: 6px; }
.related-item p { color: var(--text-light); font-size: 0.9rem; }

/* FAQ */
.faq { background: var(--bg-card); }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,215,0,0.1); padding: 18px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); font-size: 1.05rem; }
.faq-question span { transition: transform 0.3s ease; font-size: 1.2rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-light); padding-top: 8px; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

/* How To */
.howto { background: var(--bg-dark); }
.howto-steps { max-width: 700px; margin: 40px auto 0; counter-reset: step; }
.howto-step { display: flex; gap: 24px; margin-bottom: 28px; align-items: flex-start; }
.howto-step::before { counter-increment: step; content: counter(step); background: var(--primary); color: var(--secondary); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.howto-step h4 { color: var(--primary); margin-bottom: 4px; }
.howto-step p { color: var(--text-light); }

/* Contact */
.contact { background: var(--bg-card); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; align-items: start; }
.contact-info h3 { color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact-info svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; margin-bottom: 16px; background: var(--bg-dark); border: 1px solid rgba(255,215,0,0.15); border-radius: 10px; color: var(--text); font-size: 1rem; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { min-height: 120px; resize: vertical; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Friends Links */
.friends-links { background: var(--bg-dark); }
.friends-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }
.friends-grid a { color: var(--text-light); font-size: 0.9rem; padding: 6px 14px; border: 1px solid rgba(255,215,0,0.1); border-radius: 20px; transition: all 0.3s ease; }
.friends-grid a:hover { border-color: var(--primary); color: var(--primary); }

/* Sitemap */
.sitemap { background: var(--bg-card); }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; margin-top: 40px; }
.sitemap-col h4 { color: var(--primary); margin-bottom: 12px; }
.sitemap-col a { display: block; color: var(--text-light); padding: 4px 0; font-size: 0.9rem; transition: color 0.3s; }
.sitemap-col a:hover { color: var(--primary); }

/* Footer */
footer { background: #0a0a14; border-top: 1px solid rgba(255,215,0,0.1); padding: 40px 0 20px; }
.light-mode footer { background: #f0f0f5; border-top: 1px solid rgba(26,26,46,0.1); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand p { color: var(--text-light); font-size: 0.95rem; max-width: 300px; margin-top: 12px; }
.footer-col h4 { color: var(--primary); margin-bottom: 16px; font-size: 1rem; }
.footer-col a { display: block; color: var(--text-light); padding: 4px 0; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,215,0,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--text-light); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-light); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary); }

@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-bottom { flex-direction: column; text-align: center; } }

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

/* Back to Top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: var(--secondary); border: none; border-radius: 50%; font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow); display: none; align-items: center; justify-content: center; z-index: 999; transition: all 0.3s ease; }
.back-to-top:hover { transform: scale(1.1); }

/* Search Box */
.search-box { display: flex; align-items: center; background: var(--bg-card); border-radius: 30px; padding: 4px 4px 4px 18px; border: 1px solid rgba(255,215,0,0.2); max-width: 400px; margin: 0 auto 30px; }
.search-box input { background: none; border: none; color: var(--text); padding: 10px 0; width: 100%; font-size: 1rem; outline: none; }
.search-box button { background: var(--primary); border: none; color: var(--secondary); padding: 10px 22px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.search-box button:hover { background: var(--accent); color: #fff; }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 0.9rem; color: var(--text-light); max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.breadcrumb a { color: var(--text-light); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Number Animation (for .num-count) */
.num-count { display: inline-block; }

/* 额外毛玻璃效果增强 */
.glass-effect { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: var(--glass-border); }

/* 渐变Banner的额外样式 (用于特殊卡片) */
.gradient-banner { background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(233,69,96,0.1)); border: 1px solid rgba(255,215,0,0.2); }

/* 响应式微调 */
@media (max-width: 480px) { .section-title { font-size: 1.6rem; } .hero-text h1 { font-size: 1.8rem; } .btn { padding: 12px 28px; font-size: 0.9rem; } }