/* 行业配色：汽车服务（维修/美容/配件）
   风格：专业可靠，深蓝+银灰+橙红 */
:root {
  --primary: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #475569;
  --secondary-dark: #334155;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 50%, #fef2f2 100%);
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
  --shadow-hover: 0 8px 30px rgba(30, 58, 138, 0.18);
}



/* === 基础重置 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === 容器 === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === 导航栏 === */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--nav-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.logo-title { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.logo-sub { font-size: 12px; color: var(--text-muted); }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; flex: 1; justify-content: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary); color: white; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important; font-weight: 600 !important;
}
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* === Hero区 === */
.hero { background: var(--bg-hero); padding: 80px 0; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; max-width: 650px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 50px; flex-wrap: wrap; }
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 14px; color: var(--text-muted); }

/* === 按钮 === */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-secondary {
  background: white; color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}

/* === 通用区块 === */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-title h2 span { color: var(--primary); }
.section-title p { font-size: 16px; color: var(--text-muted); }

/* === 卡片网格 === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
  transition: all 0.3s; border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === 高亮框 === */
.highlight-box {
  background: linear-gradient(135deg, var(--bg), white);
  border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 0 12px 12px 0; margin-bottom: 16px;
}
.highlight-box p { font-size: 15px; line-height: 1.8; }
.highlight-box strong { color: var(--primary-dark); }

/* === 表格 === */
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th {
  background: var(--primary); color: white;
  padding: 14px 16px; text-align: left; font-weight: 600; font-size: 14px;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.data-table tr:nth-child(even) { background: var(--bg); }

/* === FAQ === */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: 12px; margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border);
}
.faq-question {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; border: 0; background: transparent; text-align: left;
  font-family: inherit; color: inherit; gap: 12px; list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .arrow { transition: transform 0.3s; color: var(--primary); flex-shrink: 0; }
.faq-item[open] .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; padding: 0 24px; }
.faq-item[open] .faq-answer { max-height: none; padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* === 案例卡片 === */
.case-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 24px; color: white;
}
.case-header h3 { font-size: 20px; font-weight: 700; }
.case-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-top: 8px;
}
.case-body { padding: 24px; }
.case-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.case-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); margin-top: 16px; flex-wrap: wrap; }

/* === 团队卡片 === */
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--text-muted); }

/* === CTA区块 === */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 60px 0; text-align: center;
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.cta-section .btn-accent { font-size: 18px; padding: 16px 40px; }

/* === 页脚 === */
.footer { background: var(--footer-bg); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { font-size: 16px; margin-bottom: 16px; color: var(--footer-accent); }
.footer li { margin-bottom: 8px; font-size: 14px; color: var(--footer-text); }
.footer a:hover { color: var(--footer-accent); }
.footer-bottom {
  text-align: center; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: var(--text-light);
}

/* === 响应式 === */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-item h3 { font-size: 28px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
}
