/* ===== CSS Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #0f0f1a; color: #e0e0e0; line-height: 1.6; overflow-x: hidden; transition: background 0.3s, color 0.3s; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; border: none; outline: none; background: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; position: relative; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 20px; color: #fff; font-weight: 700; letter-spacing: 1px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, #e94560, #0f3460); border-radius: 2px; margin: 12px auto 0; }
.section-desc { text-align: center; max-width: 700px; margin: 0 auto 50px; color: #aaa; font-size: 1.05rem; }
.btn-primary { display: inline-block; padding: 14px 36px; background: linear-gradient(135deg, #e94560, #c23152); color: #fff; border-radius: 50px; font-weight: 600; font-size: 1.05rem; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(233,69,96,0.35); position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(233,69,96,0.45); }
.btn-secondary { display: inline-block; padding: 10px 28px; border: 2px solid #e94560; color: #e94560; border-radius: 50px; font-weight: 500; transition: all 0.3s ease; font-size: 0.95rem; }
.btn-secondary:hover { background: #e94560; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.3); }

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
  body { background: #0f0f1a; color: #e0e0e0; }
  .brand-card, .product-card, .solution-card, .case-card, .testimonial-card, .news-card, .faq-item, .team-card, .industry-item, .advantage-item { background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); }
  h2 { color: #fff; }
  .section-desc { color: #aaa; }
}
@media (prefers-color-scheme: light) {
  body { background: #f5f5fa; color: #1a1a2e; }
  .brand-card, .product-card, .solution-card, .case-card, .testimonial-card, .news-card, .faq-item, .team-card, .industry-item, .advantage-item { background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
  h2 { color: #1a1a2e; }
  .section-desc { color: #555; }
  .btn-primary { box-shadow: 0 8px 25px rgba(233,69,96,0.25); }
  .btn-primary:hover { box-shadow: 0 12px 35px rgba(233,69,96,0.35); }
}

/* ===== Scroll Animation ===== */
.section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.section.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .section { opacity: 1; transform: none; } }

/* ===== Header & Nav ===== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(15,15,26,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 12px 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: #fff; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 6px; }
.nav-links li a { padding: 8px 16px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: #ccc; transition: all 0.3s; position: relative; }
.nav-links li a:hover, .nav-links li a.active { color: #fff; background: rgba(233,69,96,0.15); }
.nav-links li a.active { color: #e94560; }
.nav-search { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border-radius: 30px; padding: 4px 4px 4px 16px; }
.nav-search input { width: 120px; font-size: 0.9rem; color: #ddd; }
.nav-search input::placeholder { color: #777; }
.nav-search button { padding: 6px; border-radius: 50%; background: rgba(233,69,96,0.2); color: #e94560; transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.nav-search button:hover { background: #e94560; color: #fff; }
.nav-toggle { display: none; padding: 8px; color: #fff; }

/* ===== Hero Section ===== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero-banner { position: relative; width: 100%; max-width: 1200px; min-height: 500px; display: flex; align-items: center; justify-content: center; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; transform: scale(0.95); padding: 40px; }
.hero-slide.active { opacity: 1; transform: scale(1); position: relative; }
.hero-content { text-align: center; max-width: 700px; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; background: linear-gradient(135deg, #fff 0%, #e94560 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.15rem; color: #bbb; margin-bottom: 30px; line-height: 1.8; }
.hero-controls { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 20px; pointer-events: none; z-index: 2; }
.hero-prev, .hero-next { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.hero-prev:hover, .hero-next:hover { background: rgba(233,69,96,0.6); transform: scale(1.1); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots::before { content: ''; display: flex; gap: 10px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s; cursor: pointer; }
.hero-dots span.active { background: #e94560; width: 28px; border-radius: 5px; }

/* ===== Brand Intro ===== */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.brand-card { text-align: center; padding: 40px 25px; border-radius: 20px; backdrop-filter: blur(12px); transition: all 0.4s ease; }
.brand-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(233,69,96,0.15); }
.brand-card svg { margin: 0 auto 20px; }
.brand-card h3 { font-size: 1.4rem; margin-bottom: 12px; color: #fff; }
.brand-card p { color: #aaa; font-size: 0.95rem; }

/* ===== About ===== */
.about-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; margin-top: 40px; }
.about-text p { margin-bottom: 16px; color: #bbb; font-size: 1.02rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item { background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); border-radius: 16px; padding: 25px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.stat-item .stat-number { font-size: 2.2rem; font-weight: 700; color: #e94560; }
.stat-item span:not(.stat-number) { font-size: 1.2rem; color: #e94560; font-weight: 600; }
.stat-item p { color: #aaa; margin-top: 6px; font-size: 0.95rem; }

/* ===== History Timeline ===== */
.timeline { position: relative; max-width: 800px; margin: 40px auto 0; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #e94560, #0f3460); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #e94560; border: 3px solid #0f0f1a; box-shadow: 0 0 0 3px #e94560; }
.timeline-year { font-size: 1.2rem; font-weight: 700; color: #e94560; margin-bottom: 6px; }
.timeline-content h3 { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.timeline-content p { color: #aaa; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.team-card { text-align: center; padding: 35px 20px; border-radius: 20px; backdrop-filter: blur(12px); transition: all 0.4s; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(233,69,96,0.1); }
.team-card svg { margin: 0 auto 16px; border-radius: 50%; }
.team-card h3 { font-size: 1.2rem; color: #fff; margin-bottom: 4px; }
.team-card p { color: #aaa; font-size: 0.9rem; }
.team-card p:first-of-type { color: #e94560; font-weight: 500; margin-bottom: 8px; }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.product-card { text-align: center; padding: 40px 25px; border-radius: 20px; backdrop-filter: blur(12px); transition: all 0.4s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(233,69,96,0.12); }
.product-card svg { margin: 0 auto 20px; }
.product-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.product-card p { color: #aaa; margin-bottom: 25px; font-size: 0.95rem; }

/* ===== Advantages ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 40px; }
.advantage-item { text-align: center; padding: 30px 20px; border-radius: 16px; backdrop-filter: blur(8px); transition: all 0.4s; }
.advantage-item:hover { transform: translateY(-6px); }
.advantage-item svg { margin: 0 auto 16px; }
.advantage-item h3 { font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.advantage-item p { color: #aaa; font-size: 0.9rem; }

/* ===== Solutions ===== */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.solution-card { text-align: center; padding: 40px 25px; border-radius: 20px; backdrop-filter: blur(12px); transition: all 0.4s; }
.solution-card:hover { transform: translateY(-8px); }
.solution-card svg { margin: 0 auto 20px; }
.solution-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.solution-card p { color: #aaa; font-size: 0.95rem; }

/* ===== Industry ===== */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.industry-item { text-align: center; padding: 30px 20px; border-radius: 16px; backdrop-filter: blur(8px); transition: all 0.4s; }
.industry-item:hover { transform: translateY(-6px); }
.industry-item svg { margin: 0 auto 16px; }
.industry-item h3 { font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.industry-item p { color: #aaa; font-size: 0.9rem; }

/* ===== Cases ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.case-card { border-radius: 20px; overflow: hidden; backdrop-filter: blur(12px); transition: all 0.4s; }
.case-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(233,69,96,0.1); }
.case-card svg { width: 100%; }
.case-card h3 { padding: 20px 20px 8px; font-size: 1.2rem; color: #fff; }
.case-card p { padding: 0 20px 20px; color: #aaa; font-size: 0.9rem; }

/* ===== Partners ===== */
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.partner-logo { width: 130px; transition: all 0.3s; }
.partner-logo:hover { transform: scale(1.05); opacity: 0.9; }
.partner-logo svg { width: 100%; border-radius: 12px; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.testimonial-card { padding: 35px 25px; border-radius: 20px; backdrop-filter: blur(12px); transition: all 0.4s; }
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-card svg { margin-bottom: 16px; }
.testimonial-card p { color: #ccc; font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { color: #e94560; font-weight: 500; font-size: 0.95rem; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.news-card { border-radius: 20px; overflow: hidden; backdrop-filter: blur(12px); transition: all 0.4s; }
.news-card:hover { transform: translateY(-8px); }
.news-card svg { width: 100%; }
.news-meta { padding: 16px 20px 0; display: flex; gap: 16px; font-size: 0.85rem; color: #888; }
.news-card h3 { padding: 10px 20px 8px; font-size: 1.15rem; color: #fff; }
.news-card p { padding: 0 20px 16px; color: #aaa; font-size: 0.92rem; }
.read-more { display: inline-block; margin: 0 20px 20px; color: #e94560; font-weight: 500; transition: color 0.3s; }
.read-more:hover { color: #ff6b81; }
.news-navigation { display: flex; justify-content: space-between; margin-top: 30px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.news-navigation a { color: #e94560; font-size: 0.95rem; transition: color 0.3s; }
.news-navigation a:hover { color: #ff6b81; }
.related-articles { margin-top: 30px; }
.related-articles h4 { color: #fff; margin-bottom: 12px; font-size: 1.1rem; }
.related-articles ul li { margin-bottom: 8px; }
.related-articles ul li a { color: #aaa; transition: color 0.3s; font-size: 0.95rem; }
.related-articles ul li a:hover { color: #e94560; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { margin-bottom: 12px; border-radius: 16px; overflow: hidden; backdrop-filter: blur(8px); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 1.05rem; font-weight: 500; color: #fff; background: rgba(255,255,255,0.03); transition: background 0.3s; text-align: left; }
.faq-question:hover { background: rgba(233,69,96,0.08); }
.faq-icon { font-size: 1.4rem; font-weight: 300; color: #e94560; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 18px; }
.faq-answer p { color: #aaa; line-height: 1.7; }

/* ===== HowTo ===== */
.howto-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.howto-step { display: flex; gap: 20px; align-items: flex-start; padding: 25px; border-radius: 16px; backdrop-filter: blur(8px); transition: all 0.4s; }
.howto-step:hover { transform: translateY(-4px); }
.step-number { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #e94560, #c23152); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.step-content h3 { font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.step-content p { color: #aaa; font-size: 0.92rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 25px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-item p { color: #bbb; font-size: 1rem; }
.contact-form svg { border-radius: 16px; }

/* ===== Friends & Sitemap ===== */
.friends-links, .sitemap-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.friends-links a, .sitemap-links a { padding: 8px 18px; border-radius: 30px; background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); font-size: 0.9rem; color: #aaa; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.04); }
.friends-links a:hover, .sitemap-links a:hover { background: rgba(233,69,96,0.15); color: #e94560; border-color: #e94560; transform: translateY(-2px); }
.section.friends, .section.sitemap { padding: 40px 0; }
.section.friends h4, .section.sitemap h4 { text-align: center; color: #fff; font-size: 1.1rem; margin-bottom: 10px; }

/* ===== Footer ===== */
footer { background: rgba(10,10,20,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.04); padding: 60px 0 30px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-brand p { font-size: 1.1rem; color: #fff; font-weight: 500; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888; transition: color 0.3s; font-size: 0.92rem; }
.footer-col ul li a:hover { color: #e94560; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 30px; text-align: center; }
.footer-bottom p { color: #666; font-size: 0.85rem; margin-bottom: 8px; line-height: 1.6; }
#backToTop { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #e94560, #c23152); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(233,69,96,0.35); transition: all 0.3s; opacity: 0; visibility: hidden; z-index: 999; }
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(233,69,96,0.45); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .brand-grid, .product-grid, .solutions-grid, .cases-grid, .testimonials-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,15,26,0.98); backdrop-filter: blur(20px); padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links.open { display: flex; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-banner { min-height: 400px; border-radius: 16px; }
  .about-content { grid-template-columns: 1fr; gap: 30px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .brand-grid, .product-grid, .solutions-grid, .cases-grid, .testimonials-grid, .news-grid, .team-grid, .howto-steps { grid-template-columns: 1fr; }
  .advantages-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .timeline { padding-left: 30px; }
  .timeline-item { padding-left: 20px; }
  .timeline-item::before { left: -22px; width: 14px; height: 14px; }
  .section { padding: 50px 0; }
  h2 { font-size: 1.7rem; }
  .hero-controls { display: none; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .hero-banner { min-height: 350px; border-radius: 12px; }
  .advantages-grid, .industry-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .btn-primary { padding: 12px 28px; font-size: 0.95rem; }
  .nav-logo span { font-size: 1.1rem; }
}