/* ===== 全局重置与基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0ea5e9;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --accent: #6366f1;
  --accent2: #06b6d4;
  --white: #ffffff;
  --bg-light: #f0f9ff;
  --bg-gray: #f8fafc;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --border: #e0f2fe;
  --grad-main: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --grad-cool: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #6366f1 100%);
  --grad-light: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
  --shadow: 0 4px 24px rgba(14,165,233,0.10);
  --shadow-lg: 0 8px 40px rgba(14,165,233,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 70px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14,165,233,0.10);
  box-shadow: 0 2px 20px rgba(14,165,233,0.08);
  transition: all 0.3s;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.navbar-company {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-nav a {
  display: block;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all 0.25s;
  position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
}

/* ===== Banner ===== */
.banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 70px;
}

.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,30,60,0.72) 0%, rgba(6,100,160,0.55) 60%, rgba(99,102,241,0.35) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.banner-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 18px;
  line-height: 1.3;
}

.banner-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  max-width: 700px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 60px;
}

.section-alt {
  background: var(--bg-gray);
}

.section-dark {
  background: var(--grad-dark);
  color: white;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .section-title {
  background: linear-gradient(135deg, #38bdf8, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 50px;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--grad-main);
  border-radius: 2px;
  margin: 0 auto 50px;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 可点击案例卡片 ===== */
.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.case-card-thumb {
  height: 200px;
  background: var(--grad-cool);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.case-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%);
}

.case-card-body {
  padding: 24px;
}

.case-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.case-card-desc {
  font-size: 14px;
  color: var(--text-light);
}

.case-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ===== 荣誉资质 ===== */
.honor-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.honor-item {
  flex-shrink: 0;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.honor-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.honor-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ===== 关于我们简介块 ===== */
.about-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
}

/* ===== 使命愿景价值观 ===== */
.mvv-card {
  background: var(--grad-light);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.mvv-card:hover {
  background: var(--grad-main);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mvv-card:hover .mvv-title,
.mvv-card:hover .mvv-desc {
  color: white;
}

.mvv-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.mvv-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.mvv-desc {
  font-size: 15px;
  color: var(--text-mid);
  transition: color 0.3s;
}

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-all;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--grad-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 60px 30px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-nav-links a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== 解决方案页内容 ===== */
.solution-block {
  max-width: 1100px;
  margin: 0 auto 70px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.solution-block-header {
  padding: 36px 48px 28px;
  background: var(--grad-light);
  border-bottom: 1px solid var(--border);
}

.solution-block-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-block-title {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-block-body {
  padding: 36px 48px;
}

.solution-block-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 32px;
}

.solution-imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution-imgs img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===== 成功案例页 ===== */
.case-tabs {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 50px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 6px;
  border: 1px solid var(--border);
}

.case-tab {
  flex: 1;
  padding: 14px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.case-tab.active {
  background: var(--grad-main);
  color: white;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

.case-content { display: none; max-width: 1100px; margin: 0 auto; }
.case-content.active { display: block; }

.case-article {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.case-article h2 {
  font-size: 26px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
  line-height: 1.4;
}

.case-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.case-article p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}

.case-article blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-mid);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.metric-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--grad-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.metric-num {
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.metric-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
}

/* ===== 渐变装饰线 ===== */
.grad-line {
  height: 4px;
  background: var(--grad-cool);
  border-radius: 2px;
  margin: 0 auto 50px;
  width: 80px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .navbar { padding: 0 30px; }
  .section { padding: 60px 30px; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-company { display: none; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .solution-imgs { grid-template-columns: 1fr; }
  .banner-title { font-size: 28px; }
  .footer-nav { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
