/* 企旺快服 · 企旺智能体官网 全局样式 */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2640;
  --primary-light: #e8f0f8;
  --primary-mid: #2d6a9f;
  --accent: #c88a2e;
  --accent-light: #fdf3e4;
  --secondary: #0f1a2e;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e2e5ea;
  --gray-300: #cdd1d8;
  --gray-400: #9aa0ab;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --success: #059669;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 1000;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-size: 22px; font-weight: 700; color: var(--secondary); letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--gray-600); font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-600); padding: 4px; }

/* ===== Hero Banner ===== */
.hero { position: relative; overflow: hidden; }
.hero-slide { display: none; padding: 100px 0; text-align: center; }
.hero-slide.active { display: block; }
.hero-slide:nth-child(1) { background: linear-gradient(160deg, #1a3a5c 0%, #0f2640 50%, #162d4a 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(160deg, #0f1a2e 0%, #152238 50%, #1a3a5c 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(160deg, #2d1a3a 0%, #1a1a3a 50%, #0f2640 100%); }
.hero-slide h1 { font-size: 44px; color: var(--white); margin-bottom: 20px; font-weight: 800; letter-spacing: -1px; }
.hero-slide h1 span { color: #d4a843; }
.hero-slide p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-dots { display: flex; justify-content: center; gap: 10px; padding: 0 0 28px; position: absolute; bottom: 24px; left: 0; right: 0; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: none; transition: all .3s; }
.hero-dot.active { background: var(--accent); width: 30px; border-radius: 6px; }

/* ===== 按钮 ===== */
.btn { display: inline-block; padding: 13px 34px; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s; border: none; text-align: center; letter-spacing: 0.3px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #b07820; color: var(--white); transform: translateY(-1px); }
.btn-lg { padding: 17px 42px; font-size: 17px; }

/* ===== 区块 ===== */
.section { padding: 88px 0; }
.section-gray { background: var(--gray-50); }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: 34px; color: var(--secondary); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-title p { color: var(--gray-500); font-size: 16px; max-width: 620px; margin: 0 auto; }

/* ===== 分隔装饰线 ===== */
.section-divider { width: 48px; height: 3px; background: var(--accent); margin: 0 auto 12px; border-radius: 2px; }

/* ===== 卡片 ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 14px; padding: 36px 28px; box-shadow: var(--shadow); transition: all .35s; border: 1px solid var(--gray-100); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; transition: background .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { background: var(--accent); }
.card-icon { font-size: 42px; margin-bottom: 20px; }
.card h3 { font-size: 20px; color: var(--secondary); margin-bottom: 14px; font-weight: 600; }
.card p { color: var(--gray-500); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.card .highlight { display: inline-block; background: var(--accent-light); color: #9a6a1e; padding: 5px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-top: 10px; letter-spacing: 0.3px; }

/* ===== 业务板块（二级页） ===== */
.biz-block { background: var(--white); border-radius: 14px; padding: 52px; margin-bottom: 36px; border: 1px solid var(--gray-200); box-shadow: var(--shadow); }
.biz-block h2 { font-size: 28px; color: var(--secondary); margin-bottom: 28px; border-left: 4px solid var(--accent); padding-left: 18px; }
.biz-block h3 { font-size: 18px; color: var(--gray-700); margin: 24px 0 14px; font-weight: 600; }
.biz-block ul { list-style: none; padding: 0; }
.biz-block li { padding: 7px 0; color: var(--gray-600); font-size: 15px; }
.biz-block li::before { content: "▸ "; color: var(--accent); font-weight: bold; }

/* ===== 智能体功能模块 ===== */
.agent-func { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.agent-card { background: var(--white); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); border-left: 4px solid var(--primary); transition: box-shadow .3s; }
.agent-card:hover { box-shadow: var(--shadow-lg); }
.agent-card h3 { font-size: 22px; color: var(--secondary); margin-bottom: 20px; }
.agent-card .label { display: inline-block; background: var(--gray-100); color: var(--gray-600); padding: 3px 12px; border-radius: 5px; font-size: 13px; margin-right: 8px; margin-bottom: 8px; font-weight: 500; }
.agent-card .done { background: #d1fae5; color: #065f46; }
.agent-card .pending { background: #fef3c7; color: #92400e; }
.agent-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 10px; line-height: 1.7; }

/* ===== 加盟 ===== */
.join-targets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.join-target { text-align: center; padding: 32px 16px; background: var(--white); border-radius: 12px; border: 2px dashed var(--gray-200); transition: all .3s; }
.join-target:hover { border-color: var(--accent); background: var(--accent-light); }
.join-target .icon { font-size: 36px; margin-bottom: 12px; }
.join-target h4 { font-size: 15px; color: var(--secondary); font-weight: 600; }
.join-advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.join-adv { text-align: center; padding: 36px 20px; background: var(--primary-light); border-radius: 14px; transition: transform .3s; }
.join-adv:hover { transform: translateY(-4px); }
.join-adv h4 { font-size: 17px; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.join-adv p { font-size: 13px; color: var(--gray-600); line-height: 1.7; }
.join-steps { display: flex; justify-content: space-between; margin: 48px 0; position: relative; }
.join-step { text-align: center; flex: 1; position: relative; z-index: 1; }
.join-step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); line-height: 44px; font-weight: 700; margin: 0 auto 14px; font-size: 16px; }
.join-step p { font-size: 14px; color: var(--gray-600); font-weight: 500; }
.join-steps::before { content: ""; position: absolute; top: 22px; left: 18%; right: 18%; height: 2px; background: var(--gray-200); z-index: 0; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 15px; transition: all .2s; font-family: inherit; background: var(--gray-50); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ===== 案例网格 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: all .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .case-img { height: 180px; background: linear-gradient(135deg, var(--primary-light), var(--gray-100)); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.case-card .case-body { padding: 24px; }
.case-card h4 { font-size: 17px; color: var(--secondary); margin-bottom: 10px; font-weight: 600; }
.case-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ===== 关于页 ===== */
.about-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.about-intro p { font-size: 18px; color: var(--gray-600); line-height: 1.9; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
.team-card { text-align: center; }
.team-card .avatar { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), #dde8f4); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.team-card h4 { font-size: 17px; color: var(--secondary); font-weight: 600; }
.team-card .role { font-size: 14px; color: var(--accent); margin-top: 6px; font-weight: 500; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info .info-item { display: flex; gap: 18px; margin-bottom: 32px; }
.contact-info .info-icon { font-size: 22px; width: 52px; height: 52px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info h4 { font-size: 14px; color: var(--gray-500); margin-bottom: 6px; font-weight: 500; }
.contact-info p { font-size: 17px; color: var(--secondary); font-weight: 600; }
.contact-form { background: var(--white); padding: 36px; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }

/* ===== 底部 ===== */
.footer { background: var(--secondary); color: rgba(255,255,255,0.65); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; font-weight: 600; letter-spacing: 0.5px; }
.footer p, .footer a { font-size: 14px; line-height: 2.2; color: rgba(255,255,255,0.55); }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; }

/* ===== 电话/联系漂浮条 ===== */
.contact-bar { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 14px 24px; text-align: center; font-size: 15px; position: sticky; top: 68px; z-index: 999; }
.contact-bar strong { color: var(--accent); font-size: 18px; }

/* ===== 统计数字 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 40px; color: var(--primary); font-weight: 800; letter-spacing: -1px; }
.stat-item p { color: var(--gray-500); font-size: 14px; margin-top: 8px; }

/* ===== 大引用语块 ===== */
.quote-block { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 60px 40px; border-radius: 14px; text-align: center; }
.quote-block h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.quote-block p { font-size: 16px; opacity: 0.85; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th { padding: 12px 16px; text-align: left; color: var(--gray-500); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--gray-200); }
.table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
.table-wrap tr:hover td { background: var(--gray-50); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 0; box-shadow: var(--shadow-lg); gap: 0; border-top: 1px solid var(--gray-200); }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 14px 24px; border-bottom: none; display: block; font-size: 16px; }
  .nav-toggle { display: block; }
  .hero-slide { padding: 60px 0; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-title h2 { font-size: 26px; }
  .cards-3, .cards-4, .agent-func, .join-targets, .join-advantages, .case-grid, .contact-grid, .stats, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .join-steps { flex-direction: column; gap: 28px; }
  .join-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .biz-block { padding: 28px; }
  .case-card .case-img { height: 150px; }
  .contact-bar { top: 68px; font-size: 14px; padding: 12px 16px; }
}
