/* ========== 风格2：科技感暗色 ========== */
* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --primary: #0ea5e9;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --accent: #a855f7;
  --accent-light: #c084fc;
  --neon: #22d3ee;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #263548;
  --bg-section: #0c1222;
  --border: #334155;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-neon: 0 0 20px rgba(14,165,233,0.3);
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --radius: 12px;
  --transition: all 0.3s ease;
}

html { scroll-behavior:smooth; font-size:16px; }
body { font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei","PingFang SC",sans-serif; color:var(--text); line-height:1.6; background:var(--bg); }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul,ol { list-style:none; }
img { max-width:100%; height:auto; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ===== 导航 ===== */
.header { background:rgba(15,23,42,0.9); backdrop-filter:blur(20px); border-bottom:1px solid rgba(51,65,85,0.5); position:fixed; top:0; left:0; right:0; z-index:1000; transition:var(--transition); }
.header.scrolled { background:rgba(15,23,42,0.95); box-shadow:0 2px 20px rgba(0,0,0,0.3); }
.header .container { display:flex; align-items:center; justify-content:space-between; height:80px; }
.logo { display:flex; align-items:center; gap:12px; }
.logo-icon { width:45px; height:45px; background:var(--gradient); border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:bold; font-size:18px; box-shadow:var(--shadow-neon); }
.logo-text h1 { font-size:20px; color:#fff; font-weight:700; }
.logo-text p { font-size:11px; color:var(--text-light); letter-spacing:1px; }
.nav { display:flex; align-items:center; gap:6px; }
.nav a { padding:8px 18px; font-size:15px; color:var(--text-light); border-radius:8px; font-weight:500; }
.nav a:hover { color:#fff; background:rgba(14,165,233,0.1); }
.nav a.active { color:var(--primary); background:rgba(14,165,233,0.1); }
.nav a.active::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:20px; height:2px; background:var(--gradient); border-radius:2px; }
.header-phone { display:flex; align-items:center; gap:8px; color:var(--primary); font-weight:600; font-size:16px; }
.header-phone svg { width:20px; height:20px; fill:var(--neon); }
.menu-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; }
.menu-toggle span { display:block; width:24px; height:2px; background:var(--text); border-radius:2px; transition:var(--transition); }

/* ===== Banner ===== */
.banner { margin-top:80px; background:var(--bg); color:#fff; position:relative; overflow:hidden; min-height:550px; display:flex; align-items:center; }
.banner::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:radial-gradient(ellipse at 70% 50%, rgba(14,165,233,0.12) 0%, transparent 60%), radial-gradient(ellipse at 30% 80%, rgba(168,85,247,0.08) 0%, transparent 50%); }
.banner-content { position:relative; z-index:2; max-width:650px; }
.banner-content h2 { font-size:44px; font-weight:700; margin-bottom:16px; line-height:1.3; }
.banner-content h2 span { background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.banner-content p { font-size:18px; color:var(--text-light); margin-bottom:32px; line-height:1.8; }
.banner-btns { display:flex; gap:16px; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; border-radius:var(--radius); font-size:16px; font-weight:600; cursor:pointer; border:none; transition:var(--transition); }
.btn-primary { background:var(--gradient); color:#fff; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:var(--shadow-neon); }
.btn-outline { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-outline:hover { border-color:var(--primary); color:var(--primary); }
.banner-decoration { position:absolute; right:-100px; top:50%; transform:translateY(-50%); width:500px; height:500px; border-radius:50%; background:radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%); z-index:1; animation:pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:translateY(-50%) scale(1);} 50%{transform:translateY(-50%) scale(1.05);} }
.banner-decoration::after { content:''; position:absolute; top:80px; left:80px; right:80px; bottom:80px; border-radius:50%; border:1px solid rgba(14,165,233,0.15); }

/* 粒子背景 */
.particles { position:absolute; top:0; left:0; right:0; bottom:0; overflow:hidden; z-index:0; }
.particles span { position:absolute; width:3px; height:3px; background:var(--primary); border-radius:50%; opacity:0.4; animation:float 8s infinite; }
.particles span:nth-child(2) { left:20%; animation-delay:1s; animation-duration:10s; background:var(--accent); }
.particles span:nth-child(3) { left:40%; animation-delay:2s; animation-duration:7s; }
.particles span:nth-child(4) { left:60%; animation-delay:0.5s; animation-duration:9s; background:var(--neon); }
.particles span:nth-child(5) { left:80%; animation-delay:3s; animation-duration:11s; background:var(--accent); }
.particles span:nth-child(6) { left:10%; animation-delay:1.5s; animation-duration:8s; }
.particles span:nth-child(7) { left:50%; animation-delay:2.5s; animation-duration:12s; background:var(--neon); }
.particles span:nth-child(8) { left:70%; animation-delay:0.8s; animation-duration:6s; }
@keyframes float { 0%{transform:translateY(100vh) rotate(0deg); opacity:0;} 10%{opacity:0.4;} 90%{opacity:0.4;} 100%{transform:translateY(-10vh) rotate(720deg); opacity:0;} }

/* ===== 通用标题 ===== */
.section-title { text-align:center; margin-bottom:50px; }
.section-title h2 { font-size:32px; color:#fff; font-weight:700; margin-bottom:12px; }
.section-title p { font-size:16px; color:var(--text-light); }
.section-title .line { display:inline-block; width:50px; height:3px; background:var(--gradient); border-radius:2px; margin-top:16px; }

/* ===== 区块 ===== */
.section { padding:80px 0; }
.section-alt { background:var(--bg-section); }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.service-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:40px 28px; text-align:center; transition:var(--transition); }
.service-card:hover { transform:translateY(-8px); border-color:var(--primary); box-shadow:var(--shadow-neon); background:var(--bg-card-hover); }
.service-icon { width:70px; height:70px; background:var(--gradient); border-radius:16px; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.service-icon svg { width:36px; height:36px; fill:#fff; }
.service-card h3 { font-size:20px; color:#fff; margin-bottom:12px; }
.service-card p { font-size:14px; color:var(--text-light); line-height:1.8; }
.service-card .more { display:inline-flex; align-items:center; gap:4px; margin-top:16px; font-size:14px; font-weight:500; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ===== 数据 ===== */
.stats { background:var(--bg-section); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:60px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-item h3 { font-size:48px; font-weight:700; margin-bottom:8px; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-item h3 span { font-size:20px; }
.stat-item p { font-size:16px; color:var(--text-light); }

/* ===== 关于简介 ===== */
.about-brief { display:flex; gap:60px; align-items:center; }
.about-img { flex:1; border-radius:var(--radius); overflow:hidden; background:var(--bg-card); border:1px solid var(--border); min-height:350px; display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:14px; }
.about-info { flex:1; }
.about-info h2 { font-size:30px; color:#fff; margin-bottom:20px; }
.about-info p { font-size:15px; color:var(--text-light); line-height:2; margin-bottom:16px; }
.about-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.about-tags span { padding:6px 16px; background:rgba(14,165,233,0.1); border:1px solid rgba(14,165,233,0.2); color:var(--primary); border-radius:20px; font-size:13px; }

/* ===== 案例 ===== */
.cases-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.case-card { border-radius:var(--radius); overflow:hidden; background:var(--bg-card); border:1px solid var(--border); transition:var(--transition); }
.case-card:hover { transform:translateY(-6px); border-color:var(--primary); box-shadow:var(--shadow-neon); }
.case-img { height:220px; background:var(--bg-section); display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:14px; }
.case-info { padding:20px; }
.case-info h3 { font-size:17px; color:#fff; margin-bottom:8px; }
.case-info p { font-size:14px; color:var(--text-light); line-height:1.7; }
.case-tag { display:inline-block; padding:3px 10px; background:rgba(168,85,247,0.15); color:var(--accent-light); border-radius:4px; font-size:12px; margin-top:12px; }

/* ===== 新闻 ===== */
.news-list { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.news-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:var(--transition); }
.news-card:hover { transform:translateY(-4px); border-color:var(--primary); }
.news-card .news-img { height:180px; background:var(--bg-section); display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:14px; }
.news-card .news-body { padding:20px; }
.news-card .news-date { font-size:13px; color:var(--neon); margin-bottom:8px; }
.news-card h3 { font-size:17px; color:var(--text); margin-bottom:8px; font-weight:600; line-height:1.5; }
.news-card p { font-size:14px; color:var(--text-light); line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ===== 优势 ===== */
.advantages-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.advantage-card { text-align:center; padding:40px 24px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); transition:var(--transition); }
.advantage-card:hover { transform:translateY(-6px); border-color:var(--primary); box-shadow:var(--shadow-neon); }
.advantage-card .num { font-size:48px; font-weight:700; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; opacity:0.3; margin-bottom:-10px; }
.advantage-card h3 { font-size:18px; color:#fff; margin-bottom:10px; }
.advantage-card p { font-size:14px; color:var(--text-light); line-height:1.8; }

/* ===== 页面Banner ===== */
.page-banner { margin-top:80px; background:var(--bg-section); border-bottom:1px solid var(--border); color:#fff; padding:60px 0; text-align:center; position:relative; overflow:hidden; }
.page-banner::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.08) 0%, transparent 60%); }
.page-banner h2 { font-size:36px; font-weight:700; position:relative; z-index:2; margin-bottom:12px; }
.page-banner .breadcrumb { font-size:14px; color:var(--text-light); position:relative; z-index:2; }
.page-banner .breadcrumb a { color:var(--text-light); }
.page-banner .breadcrumb a:hover { color:var(--primary); }

/* ===== 服务详情 ===== */
.service-detail { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; margin-bottom:60px; padding-bottom:60px; border-bottom:1px solid var(--border); }
.service-detail:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none; }
.service-detail:nth-child(even) { direction:rtl; }
.service-detail:nth-child(even)>* { direction:ltr; }
.service-detail-img { border-radius:var(--radius); background:var(--bg-card); border:1px solid var(--border); min-height:300px; display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:14px; }
.service-detail-info h3 { font-size:26px; color:#fff; margin-bottom:16px; }
.service-detail-info p { font-size:15px; color:var(--text-light); line-height:2; margin-bottom:12px; }
.service-detail-info ul li { padding:6px 0; font-size:14px; color:var(--text); padding-left:20px; position:relative; }
.service-detail-info ul li::before { content:''; position:absolute; left:0; top:14px; width:8px; height:8px; background:var(--gradient); border-radius:50%; }

/* ===== 联系 ===== */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info-list { display:flex; flex-direction:column; gap:24px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-item .icon { width:48px; height:48px; background:var(--gradient); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item .icon svg { width:22px; height:22px; fill:#fff; }
.contact-item h4 { font-size:16px; color:#fff; margin-bottom:4px; }
.contact-item p { font-size:14px; color:var(--text-light); }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.contact-form input,.contact-form textarea { width:100%; padding:14px 18px; border:1px solid var(--border); border-radius:var(--radius); font-size:14px; font-family:inherit; transition:var(--transition); outline:none; background:var(--bg-card); color:var(--text); }
.contact-form input:focus,.contact-form textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(14,165,233,0.15); }
.contact-form textarea { height:120px; resize:vertical; }
.contact-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ===== 资质 ===== */
.cert-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cert-item { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; text-align:center; }
.cert-item .cert-img { height:140px; background:var(--bg-section); border-radius:6px; margin-bottom:12px; display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--text-light); }
.cert-item p { font-size:14px; color:var(--text); }

/* ===== 时间线 ===== */
.timeline { position:relative; padding-left:40px; max-width:700px; margin:0 auto; }
.timeline::before { content:''; position:absolute; left:15px; top:0; bottom:0; width:2px; background:var(--border); }
.timeline-item { position:relative; padding-bottom:40px; }
.timeline-item::before { content:''; position:absolute; left:-33px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--gradient); box-shadow:0 0 10px rgba(14,165,233,0.4); }
.timeline-item .year { font-size:14px; color:var(--neon); font-weight:600; margin-bottom:4px; }
.timeline-item h4 { font-size:18px; color:#fff; margin-bottom:6px; }
.timeline-item p { font-size:14px; color:var(--text-light); line-height:1.7; }

/* ===== 底部 ===== */
.footer { background:var(--bg-section); border-top:1px solid var(--border); color:var(--text-light); padding:60px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:40px; }
.footer-brand h3 { font-size:20px; color:#fff; margin-bottom:12px; }
.footer-brand p { font-size:14px; line-height:1.8; opacity:0.7; }
.footer h4 { font-size:16px; color:#fff; margin-bottom:16px; }
.footer-links a { display:block; padding:4px 0; font-size:14px; opacity:0.7; }
.footer-links a:hover { opacity:1; color:var(--primary); }
.footer-contact p { font-size:14px; padding:4px 0; opacity:0.7; }
.footer-contact .phone { font-size:20px; color:var(--neon); font-weight:600; opacity:1; }
.footer-bottom { margin-top:40px; padding:20px 0; border-top:1px solid var(--border); text-align:center; font-size:13px; opacity:0.5; }

/* ===== 浮动 ===== */
.back-top { position:fixed; right:24px; bottom:24px; width:44px; height:44px; background:var(--gradient); color:#fff; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:var(--transition); z-index:999; box-shadow:var(--shadow-neon); }
.back-top.show { opacity:1; visibility:visible; }
.back-top:hover { transform:translateY(-3px); }
.float-consult { position:fixed; right:24px; bottom:80px; z-index:999; }
.float-consult a { display:flex; align-items:center; gap:8px; background:var(--gradient); color:#fff; padding:12px 20px; border-radius:30px; font-size:14px; font-weight:600; box-shadow:var(--shadow-neon); transition:var(--transition); }
.float-consult a:hover { transform:translateY(-2px); }

/* ===== 筛选 ===== */
.case-filter { display:flex; justify-content:center; gap:12px; margin-bottom:40px; flex-wrap:wrap; }
.case-filter button { padding:8px 24px; border:1px solid var(--border); background:var(--bg-card); color:var(--text-light); border-radius:20px; font-size:14px; cursor:pointer; transition:var(--transition); }
.case-filter button:hover,.case-filter button.active { background:var(--gradient); color:#fff; border-color:transparent; }

/* ===== 新闻详情 ===== */
.news-detail-card { display:flex; gap:24px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:var(--transition); margin-bottom:24px; }
.news-detail-card:hover { border-color:var(--primary); box-shadow:var(--shadow-neon); transform:translateY(-3px); }
.news-detail-card .news-thumb { width:280px; min-height:200px; background:var(--bg-section); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:14px; color:var(--text-light); }
.news-detail-card .news-content { padding:24px; flex:1; display:flex; flex-direction:column; justify-content:center; }
.news-detail-card .news-date { font-size:13px; color:var(--neon); margin-bottom:8px; }
.news-detail-card h3 { font-size:18px; color:var(--text); margin-bottom:10px; font-weight:600; line-height:1.5; }
.news-detail-card p { font-size:14px; color:var(--text-light); line-height:1.8; }
.news-detail-card .read-more { margin-top:12px; font-size:14px; font-weight:500; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.map-placeholder { width:100%; height:400px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:14px; margin-top:60px; }

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

/* ===== 响应式 ===== */
@media(max-width:1024px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:30px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .cases-grid,.news-list { grid-template-columns:repeat(2,1fr); }
  .advantages-grid { grid-template-columns:repeat(2,1fr); }
  .cert-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:768px) {
  .header .container { height:64px; }
  .nav { display:none; position:fixed; top:64px; left:0; right:0; background:rgba(15,23,42,0.98); flex-direction:column; padding:20px; box-shadow:0 8px 20px rgba(0,0,0,0.3); gap:4px; }
  .nav.open { display:flex; }
  .nav a { padding:12px 16px; width:100%; text-align:center; }
  .menu-toggle { display:flex; }
  .header-phone { display:none; }
  .banner { min-height:400px; margin-top:64px; }
  .banner-content h2 { font-size:28px; }
  .banner-decoration { display:none; }
  .page-banner { margin-top:64px; padding:40px 0; }
  .page-banner h2 { font-size:26px; }
  .section { padding:50px 0; }
  .section-title h2 { font-size:24px; }
  .services-grid,.cases-grid,.news-list,.advantages-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .about-brief { flex-direction:column; gap:30px; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-form .form-row { grid-template-columns:1fr; }
  .service-detail { grid-template-columns:1fr; }
  .service-detail:nth-child(even) { direction:ltr; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .banner-btns { flex-direction:column; }
  .btn { justify-content:center; }
  .news-detail-card { flex-direction:column; }
  .news-detail-card .news-thumb { width:100%; min-height:180px; }
}
