:root{
  --c-primary: #7c3aed;
  --c-primary-dark: #7c3aed;
  --font: 'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Segoe UI',system-ui,-apple-system,sans-serif; background:#0a0a0f; color:#e2e8f0; overflow-x:hidden; }
a { text-decoration:none; color:inherit; }

/* Neon background effects */
body::before { content:''; position:fixed; top:0; left:0; width:100%; height:100%; background:radial-gradient(ellipse at 20% 50%,rgba(124,58,237,.08) 0%,transparent 50%),radial-gradient(ellipse at 80% 50%,rgba(244,114,182,.08) 0%,transparent 50%); z-index:0; pointer-events:none; }

/* Navbar */
.navbar { position:fixed; top:0; width:100%; z-index:1000; padding:22px 5%; display:flex; justify-content:space-between; align-items:center; transition:.3s; background:rgba(10,10,15,.8); backdrop-filter:blur(20px); border-bottom:1px solid rgba(124,58,237,.1); }
.navbar.scrolled { background:rgba(10,10,15,.95); box-shadow:0 0 40px rgba(124,58,237,.1); }
.nav-logo { font-size:1.4rem; font-weight:800; background:linear-gradient(135deg,#7c3aed,#f472b6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; letter-spacing:2px; }
.nav-links { display:flex; gap:28px; list-style:none; }
.nav-links a { font-size:.85rem; color:#94a3b8; transition:.3s; font-weight:500; text-transform:uppercase; letter-spacing:1px; position:relative; padding:4px 0; }
.nav-links a::before { content:''; position:absolute; bottom:0; left:0; width:100%; height:1px; background:linear-gradient(90deg,transparent,#7c3aed,#f472b6,transparent); transform:scaleX(0); transition:.3s; }
.nav-links a:hover { color:#f472b6; text-shadow:0 0 20px rgba(244,114,182,.3); }
.nav-links a:hover::before { transform:scaleX(1); }
.nav-links a.active { color:#7c3aed; text-shadow:0 0 20px rgba(124,58,237,.3); }
.menu-toggle { display:none; flex-direction:column; gap:4px; cursor:pointer; background:none; border:none; }
.menu-toggle span { width:28px; height:2px; background:#f472b6; transition:.3s; border-radius:2px; }

/* Neon line decoration */
.neon-line { height:1px; background:linear-gradient(90deg,transparent,#7c3aed,#f472b6,transparent); margin:0 auto; box-shadow:0 0 20px rgba(124,58,237,.3); }

/* Hero */
.hero { position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center; padding:120px 5% 80px;  z-index:1; overflow:hidden; }
.hero::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity:.5; z-index:1; }
.hero-content { position:relative; z-index:2; text-align:center; max-width:800px; }
.hero-badge { display:inline-block; padding:8px 24px; border:1px solid rgba(124,58,237,.4); border-radius:4px; font-size:.8rem; color:#7c3aed; margin-bottom:24px; letter-spacing:3px; text-transform:uppercase; box-shadow:0 0 20px rgba(124,58,237,.1); }
.hero h1 { font-size:4rem; font-weight:900; margin-bottom:20px; line-height:1.1; }
.hero h1 .highlight { background:linear-gradient(135deg,#7c3aed,#f472b6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; text-shadow:none; filter:drop-shadow(0 0 30px rgba(124,58,237,.3)); }
.hero p { font-size:1.15rem; color:#94a3b8; max-width:600px; margin:0 auto 40px; line-height:1.8; }
.hero-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn { padding:16px 38px; border-radius:4px; font-weight:600; font-size:.9rem; transition:.4s; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; text-transform:uppercase; letter-spacing:2px; }
.btn-primary { background:linear-gradient(135deg,#7c3aed,#f472b6); color:#fff; box-shadow:0 0 30px rgba(124,58,237,.3); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 0 50px rgba(124,58,237,.5); }
.btn-outline { background:transparent; border:1px solid rgba(124,58,237,.5); color:#7c3aed; }
.btn-outline:hover { background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(244,114,182,.2)); transform:translateY(-3px); box-shadow:0 0 30px rgba(124,58,237,.2); }

/* Sections */
.section { padding:100px 5%; position:relative; z-index:1; }
.section-header { text-align:center; margin-bottom:60px; }
.section-tag { display:inline-block; padding:6px 18px; border:1px solid rgba(124,58,237,.3); font-size:.75rem; color:#7c3aed; margin-bottom:16px; text-transform:uppercase; letter-spacing:2px; }
.section-title { font-size:2.5rem; font-weight:800; margin-bottom:16px; }
.section-title .highlight { background:linear-gradient(135deg,#7c3aed,#f472b6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.section-desc { color:#94a3b8; max-width:600px; margin:0 auto; font-size:1rem; line-height:1.7; }

/* Products */
.products-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2px; max-width:1200px; margin:0 auto; }
.product-card { background:rgba(124,58,237,.05); padding:40px 30px; text-align:center; transition:.4s; border:1px solid rgba(124,58,237,.1); position:relative; overflow:hidden; }
.product-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:2px; background:linear-gradient(90deg,transparent,#7c3aed,#f472b6,transparent); opacity:0; transition:.4s; }
.product-card::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:2px; background:linear-gradient(90deg,transparent,#f472b6,#7c3aed,transparent); opacity:0; transition:.4s; }
.product-card:hover { background:rgba(124,58,237,.1); transform:translateY(-5px); }
.product-card:hover::before,.product-card:hover::after { opacity:1; }
.product-icon { width:70px; height:70px; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; font-size:2rem; border:1px solid rgba(124,58,237,.3); }
.product-card h3 { font-size:1.2rem; margin-bottom:10px; color:#f1f5f9; }
.product-card p { color:#94a3b8; font-size:.85rem; line-height:1.6; }

/* Features */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; max-width:1200px; margin:0 auto; }
.feature-item { background:rgba(124,58,237,.05); border:1px solid rgba(124,58,237,.1); padding:30px; transition:.4s; position:relative; }
.feature-item:hover { border-color:rgba(244,114,182,.3); box-shadow:inset 0 0 30px rgba(124,58,237,.05); }
.feature-item .num { font-size:2.5rem; font-weight:900; background:linear-gradient(135deg,#7c3aed,#f472b6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:8px; }
.feature-item h4 { font-size:1.05rem; margin-bottom:8px; }
.feature-item p { color:#94a3b8; font-size:.85rem; }

/* Cases */
.cases-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:20px; max-width:1200px; margin:0 auto; }
.case-card { background:rgba(124,58,237,.05); border:1px solid rgba(124,58,237,.1); overflow:hidden; transition:.4s; }
.case-card:hover { border-color:rgba(244,114,182,.3); transform:translateY(-5px); box-shadow:0 20px 60px rgba(124,58,237,.1); }
.case-img { height:200px; background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(244,114,182,.2)); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.case-body { padding:24px; }
.case-body h4 { font-size:1.05rem; margin-bottom:8px; }
.case-body p { color:#94a3b8; font-size:.85rem; }

/* News */
.news-list { max-width:900px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:16px; }
.news-item { background:rgba(124,58,237,.03); border:1px solid rgba(124,58,237,.08); padding:24px; transition:.4s; cursor:pointer; }
.news-item:hover { border-color:rgba(124,58,237,.3); background:rgba(124,58,237,.07); }
.news-date { font-size:.8rem; color:#7c3aed; margin-bottom:8px; font-weight:600; }
.news-info h4 { font-size:1rem; margin-bottom:6px; }
.news-info p { color:#94a3b8; font-size:.8rem; }

/* Clients */
.clients-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; max-width:1000px; margin:0 auto; }
.client-logo { width:140px; height:70px; display:flex; align-items:center; justify-content:center; font-size:.8rem; color:#475569; border:1px solid rgba(124,58,237,.1); transition:.3s; font-weight:600; background:rgba(124,58,237,.02); }
.client-logo:hover { border-color:#7c3aed; color:#7c3aed; box-shadow:0 0 20px rgba(124,58,237,.1); }

/* Contact */
.contact-wrap { display:grid; grid-template-columns:1fr 1fr; gap:40px; max-width:1000px; margin:0 auto; }
.contact-info h3 { font-size:1.5rem; margin-bottom:20px; }
.contact-info p { color:#94a3b8; margin-bottom:12px; display:flex; align-items:center; gap:10px; }
.contact-form { display:flex; flex-direction:column; gap:14px; }
.contact-form input,.contact-form textarea { padding:14px 18px; background:rgba(124,58,237,.05); border:1px solid rgba(124,58,237,.15); color:#e2e8f0; font-size:.9rem; transition:.3s; }
.contact-form input:focus,.contact-form textarea:focus { outline:none; border-color:#7c3aed; box-shadow:0 0 20px rgba(124,58,237,.1); }
.contact-form textarea { height:130px; resize:vertical; }

/* Footer */
.footer { background:rgba(10,10,15,.9); border-top:1px solid rgba(124,58,237,.1); padding:50px 5% 30px; position:relative; z-index:1; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:40px; max-width:1200px; margin:0 auto 40px; }
.footer-col h4 { font-size:1rem; margin-bottom:20px; color:#f1f5f9; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a { color:#64748b; font-size:.85rem; transition:.3s; }
.footer-col ul a:hover { color:#f472b6; }
.footer-bottom { text-align:center; padding-top:30px; border-top:1px solid rgba(124,58,237,.1); color:#475569; font-size:.8rem; }

/* Subpage Banner */
.sub-banner { position:relative; padding:160px 5% 80px; text-align:center; background:linear-gradient(135deg,rgba(10,10,15,.9),rgba(124,58,237,.2)),url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1920') center/cover fixed; z-index:1; }
.sub-banner::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity:.5; z-index:1; }
.sub-banner h1 { font-size:3rem; font-weight:800; margin-bottom:12px; position:relative; z-index:2; }
.sub-banner p { color:#94a3b8; font-size:1.05rem; position:relative; z-index:2; }

/* Page Content */
.page-content { padding:80px 5%; max-width:900px; margin:0 auto; position:relative; z-index:1; }
.page-content h2 { font-size:1.8rem; margin:40px 0 20px; color:#f1f5f9; }
.page-content p { color:#94a3b8; line-height:1.8; margin-bottom:16px; }

/* Responsive */
@media(max-width:768px){
  .menu-toggle { display:flex; }
  .nav-links { position:fixed; top:0; right:-100%; width:70%; height:100vh; background:rgba(10,10,15,.98); flex-direction:column; padding:80px 40px; transition:.4s; border-left:1px solid rgba(124,58,237,.2); }
  .nav-links.open { right:0; }
  .hero h1 { font-size:2.5rem; }
  .section-title { font-size:2rem; }
  .contact-wrap { grid-template-columns:1fr; }
  .sub-banner h1 { font-size:2rem; }
}


/* ===== CMS 共享：列表 / 详情 / 分页 / 表单 ===== */
/* 板块标题居中（源站 section-header 左对齐的主题自动居中） */
.section-header.center{text-align:center;margin-left:auto;margin-right:auto;}
.cms-page{padding:72px 0;}
.cms-page .container{max-width:1200px;margin:0 auto;padding:0 20px;}
.cms-page .cms-title{font-size:34px;font-weight:800;text-align:center;margin-bottom:8px;}
.cms-page .cms-subtitle{text-align:center;color:#888;margin-bottom:36px;}
.cms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:26px;}
.cms-card{display:block;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 26px rgba(0,0,0,.07);transition:.25s;text-decoration:none;color:inherit;}
.cms-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(0,0,0,.12);}
.cms-card img{width:100%;height:200px;object-fit:cover;display:block;}
.cms-card h3{margin:0;padding:18px 18px 4px;font-size:18px;}
.cms-card p{padding:0 18px 18px;color:#777;font-size:14px;margin:0;}
.cms-detail{max-width:860px;margin:0 auto;padding:0 20px;}
.cms-detail img{max-width:100%;border-radius:14px;margin:18px 0;}
.cms-detail h1{font-size:34px;margin:10px 0 6px;}
.cms-detail .lead{color:#888;font-size:16px;}
.cms-content{line-height:1.9;color:#444;margin-top:18px;}
.cms-content img{max-width:100%;}
.cms-back{display:inline-block;margin:8px 0 18px;color:var(--c-primary,#e11d2e);text-decoration:none;font-weight:600;}
.cms-pager{margin:34px 0;text-align:center;}
.cms-pager a,.cms-pager span{padding:8px 14px;margin:0 3px;border-radius:8px;background:#fff;color:#444;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.06);}
.cms-pager .active{background:var(--c-primary,#e11d2e);color:#fff;}
.contact-form{max-width:640px;margin:18px auto 0;display:grid;gap:14px;}
.contact-form input,.contact-form textarea,.contact-form select{
  width:100%;padding:12px 14px;border:1px solid #e3e3e3;border-radius:10px;font-size:15px;font-family:inherit;}
.contact-form textarea{min-height:120px;resize:vertical;}
.btn-primary{background:var(--c-primary,#e11d2e);color:#fff;padding:12px 22px;border-radius:10px;font-weight:700;border:none;cursor:pointer;}
.form-alert{padding:12px 14px;border-radius:10px;margin-bottom:12px;font-size:14px;}
.form-alert-ok{background:#eafaf0;color:#1c7a43;}
.form-alert-err{background:#fdecea;color:#b42318;}
.form-alert-err ul{margin:6px 0 0;padding-left:18px;}
.ve-editable-bg{cursor:pointer;}
