/* ============================================
   企业官网全局样式
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #030712;
  color: #f9fafb;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit;
}
img { max-width: 100%; display: block; }

/* --- CSS Variables --- */
:root {
  --primary: #6366f1;
  --accent: #8b5cf6;
  --glow: #818cf8;
  --bg: #030712;
  --card: #111827;
  --card-hover: #1f2937;
  --border: rgba(99,102,241,0.15);
  --border-hover: rgba(99,102,241,0.4);
  --text: #f9fafb;
  --text-dim: #9ca3af;
  --text-muted: #6b7280;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --transition: all 0.3s ease;
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: var(--radius-full);
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  color: #a5b4fc; font-size: 12px; margin-bottom: 16px;
}
.section-badge svg { width: 12px; height: 12px; }
.section-title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-title span { background: linear-gradient(135deg, #818cf8, #c084fc, #e879f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { color: var(--text-dim); font-size: 15px; max-width: 500px; margin: 0 auto; }

/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Divider */
.divider { height: 1px; max-width: 1000px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.25), transparent); }

/* Gradient text */
.gradient-text { background: linear-gradient(135deg, #818cf8, #c084fc, #e879f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-number { background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Glow button */
.glow-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-weight: 600; font-size: 14px;
  cursor: pointer; position: relative; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.glow-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(99,102,241,0.5); }
.glow-btn svg { width: 16px; height: 16px; }

/* Outline button */
.outline-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  border: 1px solid #374151; color: #d1d5db;
  font-weight: 500; font-size: 14px; cursor: pointer;
  transition: var(--transition);
}
.outline-btn:hover { border-color: var(--border-hover); color: #fff; }
.outline-btn svg { width: 16px; height: 16px; }

/* Glass card */
.glass-card {
  background: rgba(17,24,39,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Glow orbs */
.glow-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.12; pointer-events: none;
}

/* Tag chip */
.tag-chip {
  display: inline-block;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc; font-size: 11px; padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* Icon box */
.icon-box {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; color: #818cf8; }
.glass-card:hover .icon-box { background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(139,92,246,0.3)); }

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0; transition: var(--transition);
}
.navbar.scrolled {
  padding: 8px 0;
  background: rgba(3,7,18,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99,102,241,0.1);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}
.navbar-logo-text { font-size: 17px; font-weight: 700; color: #fff; }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a {
  font-size: 13px; color: #9ca3af; transition: var(--transition);
  position: relative;
}
.navbar-links a:hover { color: #fff; }
.navbar-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #818cf8, #c084fc);
  transition: width 0.3s;
}
.navbar-links a:hover::after { width: 100%; }
.navbar-cta { margin-left: 8px; }

/* Mobile menu */
.mobile-toggle { display: none; cursor: pointer; color: #9ca3af; transition: var(--transition); }
.mobile-toggle:hover { color: #fff; }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(3,7,18,0.98); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(99,102,241,0.1);
  padding: 20px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 12px 16px; color: #9ca3af;
  font-size: 14px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { color: #fff; background: rgba(99,102,241,0.1); }

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  color: #a5b4fc; font-size: 13px; margin-bottom: 32px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(36px, 7vw, 72px); font-weight: 800;
  line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px); color: var(--text-dim);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 60px;
  margin-top: 72px;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: clamp(24px, 4vw, 36px); font-weight: 800; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 11px;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(99,102,241,0.5), transparent); animation: pulse 2s ease-in-out infinite; }

/* ============================================
   Services
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 28px; cursor: pointer; }
.service-card h3 { font-size: 18px; font-weight: 700; margin: 20px 0 4px; }
.service-tagline { font-size: 13px; color: #a5b4fc; margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.service-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: #818cf8; cursor: pointer;
  transition: var(--transition);
}
.service-toggle:hover { color: #a5b4fc; }
.service-toggle svg { width: 12px; height: 12px; transition: transform 0.3s; }
.service-toggle.open svg { transform: rotate(180deg); }
.service-scenes {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.service-scenes.open { max-height: 200px; }
.service-scenes ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.service-scenes li { font-size: 12px; color: var(--text-dim); display: flex; align-items: flex-start; gap: 8px; }
.service-scenes li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #818cf8; margin-top: 6px; flex-shrink: 0; }

/* ============================================
   Cases
   ============================================ */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { padding: 28px; position: relative; overflow: hidden; }
.case-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0), rgba(139,92,246,0));
  transition: var(--transition);
}
.case-card:hover::before { background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05)); }
.case-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; position: relative; }
.case-header-left { display: flex; align-items: center; gap: 14px; }
.case-header h3 { font-size: 17px; font-weight: 700; }
.case-tags { display: flex; gap: 6px; margin-top: 6px; }
.case-arrow { color: #4b5563; transition: var(--transition); width: 18px; height: 18px; }
.case-card:hover .case-arrow { color: #818cf8; }
.case-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; position: relative; }
.case-stat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(3,7,18,0.6); border: 1px solid #1f2937;
  position: relative;
}
.case-stat-value { font-size: 24px; font-weight: 800; }
.case-stat-label { font-size: 12px; color: var(--text-muted); }

/* ============================================
   Advantages
   ============================================ */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card { padding: 28px; text-align: center; }
.advantage-icon-wrap { position: relative; width: 64px; height: 64px; margin: 0 auto 20px; }
.advantage-icon-glow {
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.2; filter: blur(10px); transition: opacity 0.3s;
}
.advantage-card:hover .advantage-icon-glow { opacity: 0.4; }
.advantage-icon {
  position: relative; width: 100%; height: 100%; border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
}
.advantage-icon svg { width: 28px; height: 28px; color: #818cf8; }
.advantage-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* Process */
.process-card {
  margin-top: 60px; padding: 40px; border-radius: var(--radius);
}
.process-card h3 { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 32px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item { text-align: center; position: relative; }
.process-step { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.process-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.process-item p { font-size: 12px; color: var(--text-muted); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; }
.faq-item:hover { transform: none; box-shadow: none; }
.faq-question {
  width: 100%; padding: 20px 24px; display: flex;
  align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left;
}
.faq-question span { font-size: 14px; font-weight: 500; padding-right: 16px; }
.faq-question svg { width: 16px; height: 16px; color: #818cf8; flex-shrink: 0; transition: transform 0.3s; }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer.open { max-height: 200px; }
.faq-answer p { padding: 0 24px 20px; font-size: 13px; color: var(--text-dim); line-height: 1.8; }



/* ============================================
   Footer
   ============================================ */
.footer { border-top: 1px solid #1f2937; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin: 16px 0 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 10px;
  background: #1f2937; border: 1px solid #374151;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-dim); cursor: pointer;
  transition: var(--transition);
}
.footer-social:hover { background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.3); color: #a5b4fc; }
.footer h4 { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color 0.3s; }
.footer-links a:hover { color: #818cf8; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); margin-bottom: 10px; }
.footer-contact li svg { width: 14px; height: 14px; color: #818cf8; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid #1f2937; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
}


/* ============================================
   Animations
   ============================================ */
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.22; } }
.animate-pulse-glow { animation: pulse-glow 4s ease-in-out infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar-links { display: none; }
  .mobile-toggle { display: flex; }
  .cases-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
