/* 肆方科技官网 - 参考蓝客分队风格 */
:root {
  --primary: #1890FF;
  --primary-dark: #096DD9;
  --primary-light: #E6F7FF;
  --accent: #FA8C16;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg: #FFFFFF;
  --bg-light: #F7F9FC;
  --border: #E8E8E8;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color:var(--text); line-height:1.6; }
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-dark); }
img { max-width:100%; height:auto; }

/* 导航栏 */
.navbar { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,0.95); backdrop-filter:blur(10px); box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.navbar-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:0 24px; height:72px; }
.navbar-brand { display:flex; align-items:center; gap:12px; font-size:22px; font-weight:700; color:var(--primary); }
.navbar-brand span { color:var(--text); }
.navbar-nav { display:flex; align-items:center; gap:32px; list-style:none; }
.navbar-nav a { color:var(--text); font-size:15px; padding:8px 0; position:relative; transition:color 0.2s; }
.navbar-nav a:hover, .navbar-nav a.active { color:var(--primary); }
.navbar-nav a.active::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--primary); border-radius:1px; }
.nav-phone { display:flex; align-items:center; gap:6px; color:var(--primary); font-weight:600; font-size:16px; }
.nav-phone svg { width:18px; height:18px; }

/* 移动端菜单 */
.menu-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle span { display:block; width:24px; height:2px; background:var(--text); margin:5px 0; transition:0.3s; }
@media(max-width:768px) {
  .navbar-nav, .nav-phone { display:none; }
  .navbar-nav.open { display:flex; flex-direction:column; position:absolute; top:72px; left:0; right:0; background:#fff; padding:16px 24px; box-shadow:var(--shadow); gap:16px; }
  .menu-toggle { display:block; }
}

/* Hero轮播 */
.hero { margin-top:72px; position:relative; overflow:hidden; background:linear-gradient(135deg, #001529 0%, #003A70 40%, #0050B3 70%, #1890FF 100%); color:#fff; min-height:500px; display:flex; align-items:center; }
.hero-content { max-width:1200px; margin:0 auto; padding:80px 24px; text-align:center; width:100%; }
.hero h1 { font-size:42px; font-weight:700; margin-bottom:16px; text-shadow:0 2px 20px rgba(0,0,0,0.3); }
.hero p { font-size:18px; opacity:0.9; margin-bottom:32px; text-shadow:0 1px 8px rgba(0,0,0,0.2); }
.hero-btn { display:inline-block; padding:14px 40px; background:var(--accent); color:#fff; border-radius:var(--radius); font-size:16px; font-weight:600; transition:all 0.3s; }
.hero-btn:hover { background:#D48806; color:#fff; transform:translateY(-2px); box-shadow:0 4px 16px rgba(250,140,22,0.4); }
.hero-dots { position:absolute; bottom:24px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.hero-dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,0.4); cursor:pointer; transition:0.3s; }
.hero-dots span.active { background:#fff; width:28px; border-radius:5px; }
@media(max-width:768px) {
  .hero { min-height:360px; }
  .hero h1 { font-size:28px; }
  .hero p { font-size:15px; }
  .hero-content { padding:48px 24px; }
}

/* 数据统计条 */
.stats-bar { background:var(--bg-light); padding:48px 24px; }
.stats-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.stat-item { text-align:center; padding:24px 16px; }
.stat-value { font-size:36px; font-weight:700; color:var(--primary); line-height:1.2; }
.stat-value small { font-size:18px; }
.stat-label { font-size:14px; color:var(--text-light); margin-top:8px; }
@media(max-width:768px) {
  .stats-inner { grid-template-columns:repeat(2,1fr); gap:16px; }
  .stat-value { font-size:28px; }
}

/* 通用板块 */
.section { padding:72px 24px; }
.section-inner { max-width:1200px; margin:0 auto; }
.section-title { text-align:center; margin-bottom:48px; }
.section-title h2 { font-size:30px; font-weight:700; color:var(--text); margin-bottom:12px; }
.section-title p { font-size:16px; color:var(--text-light); }
.section-title .line { width:48px; height:3px; background:var(--primary); margin:16px auto 0; border-radius:2px; }

/* 卡片网格 */
.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.card-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.card-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media(max-width:768px) {
  .card-grid, .card-grid-4 { grid-template-columns:repeat(2,1fr); gap:16px; }
  .card-grid-2 { grid-template-columns:1fr; }
}
@media(max-width:480px) {
  .card-grid, .card-grid-4 { grid-template-columns:1fr; }
}

/* 服务卡片 */
.service-card { background:#fff; border-radius:var(--radius); padding:32px 24px; text-align:center; transition:all 0.3s; border:1px solid var(--border); }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--primary); }
.service-card .icon { width:64px; height:64px; margin:0 auto 20px; background:var(--primary-light); border-radius:16px; display:flex; align-items:center; justify-content:center; }
.service-card .icon svg { width:32px; height:32px; color:var(--primary); }
.service-card h3 { font-size:18px; font-weight:600; margin-bottom:12px; }
.service-card p { font-size:14px; color:var(--text-light); }

/* 业务板块卡片 */
.biz-card { background:#fff; border-radius:var(--radius); overflow:hidden; transition:all 0.3s; border:1px solid var(--border); }
.biz-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.biz-card-img { height:200px; background:linear-gradient(135deg, var(--primary), var(--primary-dark)); display:flex; align-items:center; justify-content:center; }
.biz-card-img svg { width:64px; height:64px; color:#fff; }
.biz-card-body { padding:24px; }
.biz-card-body h3 { font-size:20px; font-weight:600; margin-bottom:12px; }
.biz-card-body p { font-size:14px; color:var(--text-light); margin-bottom:16px; }
.biz-card-body .link { color:var(--primary); font-size:14px; font-weight:500; }

/* 品牌logo区 */
.partner-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.partner-item { width:120px; height:60px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--text-light); transition:0.3s; }
.partner-item:hover { border-color:var(--primary); color:var(--primary); box-shadow:var(--shadow); }

/* 新闻列表 */
.news-list { display:flex; flex-direction:column; gap:20px; }
.news-item { display:flex; gap:20px; padding:20px; background:#fff; border-radius:var(--radius); border:1px solid var(--border); transition:0.3s; }
.news-item:hover { box-shadow:var(--shadow); border-color:var(--primary); }
.news-date { flex-shrink:0; text-align:center; padding:12px; background:var(--primary-light); border-radius:var(--radius); min-width:80px; }
.news-date .day { font-size:28px; font-weight:700; color:var(--primary); line-height:1.2; }
.news-date .month { font-size:13px; color:var(--text-light); }
.news-body h3 { font-size:17px; font-weight:600; margin-bottom:8px; }
.news-body p { font-size:14px; color:var(--text-light); }
@media(max-width:768px) { .news-item { flex-direction:column; } }

/* 页面头部横幅 */
.page-banner { margin-top:72px; padding:60px 24px; background:linear-gradient(135deg, #001529, #003A70, #1890FF); color:#fff; text-align:center; }
.page-banner h1 { font-size:32px; font-weight:700; margin-bottom:12px; }
.page-banner p { font-size:16px; opacity:0.85; }

/* 联系信息 */
.contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:48px; }
.contact-card { text-align:center; padding:32px 24px; background:#fff; border-radius:var(--radius); border:1px solid var(--border); }
.contact-card svg { width:36px; height:36px; color:var(--primary); margin-bottom:16px; }
.contact-card h3 { font-size:16px; font-weight:600; margin-bottom:8px; }
.contact-card p { font-size:14px; color:var(--text-light); }
@media(max-width:768px) { .contact-grid { grid-template-columns:1fr; } }

/* 留言表单 */
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:14px; font-weight:500; margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select { width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius); font-size:14px; transition:0.3s; }
.form-group input:focus, .form-group textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(24,144,255,0.1); }
.form-submit { padding:12px 36px; background:var(--primary); color:#fff; border:none; border-radius:var(--radius); font-size:16px; font-weight:500; cursor:pointer; transition:0.3s; }
.form-submit:hover { background:var(--primary-dark); }

/* 底部 */
.footer { background:#001529; color:rgba(255,255,255,0.65); padding:48px 24px 24px; }
.footer-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer h4 { color:#fff; font-size:16px; margin-bottom:16px; }
.footer ul { list-style:none; }
.footer li { margin-bottom:8px; }
.footer li a { color:rgba(255,255,255,0.65); font-size:14px; transition:0.3s; }
.footer li a:hover { color:#fff; }
.footer-bottom { max-width:1200px; margin:24px auto 0; padding-top:24px; border-top:1px solid rgba(255,255,255,0.1); text-align:center; font-size:13px; }
@media(max-width:768px) {
  .footer-inner { grid-template-columns:1fr 1fr; gap:24px; }
}
@media(max-width:480px) {
  .footer-inner { grid-template-columns:1fr; }
}

/* 产品卡片 */
.product-card { background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); transition:0.3s; }
.product-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--primary); }
.product-card-img { height:180px; background:linear-gradient(135deg, var(--primary-light), #BAE7FF); display:flex; align-items:center; justify-content:center; }
.product-card-img svg { width:48px; height:48px; color:var(--primary); }
.product-card-body { padding:20px; }
.product-card-body h3 { font-size:16px; font-weight:600; margin-bottom:8px; }
.product-card-body p { font-size:13px; color:var(--text-light); }

/* 案例卡片 */
.case-card { background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); transition:0.3s; }
.case-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.case-card-img { height:200px; background:linear-gradient(135deg, #E6F7FF, #BAE7FF); display:flex; align-items:center; justify-content:center; font-size:48px; color:var(--primary); }
.case-card-body { padding:20px; }
.case-card-body h3 { font-size:17px; font-weight:600; margin-bottom:8px; }
.case-card-body p { font-size:14px; color:var(--text-light); }
.case-card-body .tag { display:inline-block; padding:2px 10px; background:var(--primary-light); color:var(--primary); font-size:12px; border-radius:4px; margin-right:6px; }

/* 分公司列表 */
.branch-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.branch-item { text-align:center; padding:20px; background:#fff; border-radius:var(--radius); border:1px solid var(--border); }
.branch-item h4 { font-size:15px; font-weight:600; color:var(--primary); margin-bottom:4px; }
.branch-item p { font-size:13px; color:var(--text-light); }
@media(max-width:768px) { .branch-grid { grid-template-columns:repeat(2,1fr); } }

/* 关于我们 */
.about-content { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.about-text h3 { font-size:24px; font-weight:700; margin-bottom:16px; color:var(--primary); }
.about-text p { font-size:15px; color:var(--text-light); margin-bottom:16px; line-height:1.8; }
.about-img { height:360px; background:linear-gradient(135deg, #E6F7FF, #BAE7FF); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--primary); }
@media(max-width:768px) { .about-content { grid-template-columns:1fr; } }

/* 时效保障 */
.guarantee-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.guarantee-card { padding:24px; background:#fff; border-radius:var(--radius); border:1px solid var(--border); border-left:4px solid var(--primary); }
.guarantee-card h4 { font-size:16px; font-weight:600; margin-bottom:8px; color:var(--primary); }
.guarantee-card p { font-size:14px; color:var(--text-light); }
@media(max-width:768px) { .guarantee-grid { grid-template-columns:1fr; } }

/* 优势列表 */
.advantage-list { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.advantage-item { text-align:center; padding:32px 16px; }
.advantage-item .num { font-size:48px; font-weight:700; color:var(--primary); opacity:0.15; line-height:1; }
.advantage-item h4 { font-size:16px; font-weight:600; margin:8px 0; }
.advantage-item p { font-size:13px; color:var(--text-light); }
@media(max-width:768px) { .advantage-list { grid-template-columns:repeat(2,1fr); } }

/* 合作流程 */
.flow-steps { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.flow-step { text-align:center; flex:1; min-width:140px; max-width:200px; }
.flow-step .step-num { width:56px; height:56px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; margin:0 auto 12px; }
.flow-step h4 { font-size:15px; font-weight:600; margin-bottom:4px; }
.flow-step p { font-size:13px; color:var(--text-light); }
.flow-arrow { display:flex; align-items:center; color:var(--primary); font-size:24px; padding-top:16px; }
