/* ===================================
   HosionTech - 企业官网样式
   设计风格：大气、时尚、专业（参考 UCAN Tech）
   配色方案：混合风格（深色 Hero + 浅色内容）
   =================================== */

/* ========== CSS 变量 ========== */
:root {
  /* 主色调 - 混合风格（深色 Hero + 浅色内容） */
  --primary-dark: #0a1628;          /* 深蓝黑 - Hero 背景 */
  --primary-blue: #152a45;          /* 深蓝 - 次级深色 */
  --primary-blue-light: #415a77;    /* 浅蓝 - 强调 */
  --primary-light: #F5F7FA;         /* 极浅蓝灰 - 内容背景 */
  
  /* 渐变色 - 科技渐变 */
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #152a45 100%);
  --gradient-accent: linear-gradient(135deg, #0066CC 0%, #0088FF 100%);
  --gradient-light: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);
  
  /* 辅助色 - 专业配色 */
  --accent-orange: #FF6600;         /* 橙色 - CTA 按钮（活力） */
  --accent-orange-light: #FF8533;   /* 浅橙色 */
  --accent-purple: #6c63ff;         /* 紫色 - 图标/装饰（创意） */
  --accent-purple-light: #9b8ab5;   /* 浅紫色 */
  --accent-blue: #0066CC;           /* 主蓝色 - 专业感 */
  
  /* 文字和背景 */
  --text-dark: #1a1a1a;             /* 深灰文字 - 主要内容 */
  --text-gray: #555555;             /* 中灰文字 */
  --text-light: #888888;            /* 浅灰文字 */
  --text-white: #FFFFFF;            /* 白色文字 - 深色背景 */
  
  --bg-white: #FFFFFF;              /* 白色背景 - 内容区 */
  --bg-light: #F5F7FA;              /* 浅灰背景 - 内容区 */
  
  /* 间距系统 */
  --section-padding: 120px;
  --container-width: 1400px;
  --grid-gap: 40px;
  
  /* 动画 */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 容器 ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ========== 排版 ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 { font-size: 48px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 26px; }
}

p {
  margin-bottom: 16px;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
}

.btn-gold {
  background: var(--accent-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-gold:hover {
  background: var(--accent-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition-fast);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 1px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}

.logo-cn {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-gray);
  letter-spacing: 0.8px;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-blue);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}

/* 移动端菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--primary-dark) !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 30px;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  /* 移动端导航链接样式 */
  .nav-menu .nav-link {
    color: white !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    opacity: 1 !important;
  }
  
  .nav-menu .nav-link:hover {
    color: var(--accent-orange) !important;
  }
  
  .nav-menu .nav-link.active {
    color: white !important;
  }
  
  .nav-menu .nav-link::after {
    background: white !important;
  }
  
  /* 确保导航菜单内容可见 */
  .nav-menu > li {
    opacity: 1 !important;
    display: block !important;
  }
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(21, 42, 69, 0.9) 100%);
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 40px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-purple) 50%, transparent 100%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== Section 通用样式 ========== */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  color: var(--primary-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 30px auto 0;
  line-height: 1.8;
}

/* ========== About Section ========== */
.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 60px;
}

.about-card {
  background: var(--bg-white);
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.5s ease;
  border: 1px solid var(--primary-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
  border-color: var(--primary-blue);
}

.about-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.about-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.about-label {
  font-size: 18px;
  color: var(--text-gray);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Services Section ========== */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 12px;
  transition: all 0.4s ease;
  border: 1px solid var(--primary-light);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 102, 204, 0.15);
  border-color: var(--primary-blue);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.service-title {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary-dark);
  text-align: center;
  font-weight: 700;
}

.service-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Cases Section ========== */
.cases {
  background: var(--bg-white);
}

.cases-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: white;
  border: 2px solid var(--primary-light);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--primary-light);
  transition: all 0.4s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 102, 204, 0.15);
  border-color: var(--primary-blue);
}

.case-image {
  height: 240px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.case-content {
  padding: 30px;
}

.case-category {
  font-size: 13px;
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

.case-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Advantages Section ========== */
.advantages {
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
  color: var(--text-dark);
}

.advantages .section-title {
  color: var(--primary-dark);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.advantage-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  box-shadow: 0 20px 45px rgba(255, 102, 0, 0.15);
}

.advantage-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
}

.advantage-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-right: 15px;
  line-height: 1;
}

.advantage-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.advantage-desc {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.advantage-detail {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

.advantage-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.advantage-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA Section ========== */
.cta {
  background: var(--bg-light);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.cta-desc {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

/* ========== Contact Page ========== */
.contact-hero {
  background: linear-gradient(135deg, #0a1628 0%, #152a45 100%);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.05)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="200" fill="url(%23grad)"/><circle cx="800" cy="800" r="250" fill="url(%23grad)"/></svg>');
  opacity: 0.8;
}

.contact-hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: white;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-form {
  background: var(--bg-white);
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition-fast);
  height: 50px;
  box-sizing: border-box;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(61, 122, 184, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info-card {
  background: linear-gradient(135deg, #0a1628 0%, #152a45 100%);
  padding: 50px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 15px 45px rgba(0, 102, 204, 0.2);
}

.contact-info-card h3 {
  font-size: 28px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.info-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* 微信二维码样式 */
.wechat-item {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-qr-box {
  background: white;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.wechat-qr-content {
  max-width: 140px;
  max-height: 140px;
  width: auto;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(135deg, #0a1628 0%, #152a45 100%);
  color: white;
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  line-height: 1.8;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 8px;
  font-weight: 600;
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 微信二维码样式 */
.wechat-qr-footer {
  max-width: 160px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wechat-hint {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 其他页面样式 ========== */
.page-header {
  background: linear-gradient(135deg, #0a1628 0%, #152a45 100%);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.05)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="200" fill="url(%23grad)"/><circle cx="800" cy="800" r="250" fill="url(%23grad)"/></svg>');
  opacity: 0.8;
}

.page-header h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: white;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.content-section {
  padding: var(--section-padding) 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #152a45 0%, #415a77 100%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: 50%;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: calc(100% - 40px);
  margin: 0 20px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -50px;
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.timeline-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -50px;
    right: auto;
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.team-card {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.team-name {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.team-role {
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.team-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Culture Grid */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.culture-card {
  background: var(--bg-light);
  padding: 50px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-orange);
  transition: var(--transition-normal);
}

.culture-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.culture-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.culture-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.culture-desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .culture-grid {
    grid-template-columns: 1fr;
  }
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.partner-logo {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition-fast);
}

.partner-logo:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Partners Grid with Logos */
.partners-grid-logo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.partner-logo-item {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  height: 180px;
  overflow: hidden;
}

.partner-logo-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.partner-logo-item img {
  max-width: 160px;
  max-height: 100px;
  height: auto;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: var(--transition-fast);
}

.partner-name {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
  min-height: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (max-width: 1024px) {
  .partners-grid-logo {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .partner-logo-item img {
    max-width: 120px;
    max-height: 80px;
  }
  
  .department-card {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .partners-grid-logo {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .partner-logo-item {
    padding: 40px 20px;
    height: 160px;
  }
  
  .partner-logo-item img {
    max-width: 100px;
    max-height: 70px;
  }
  
  .partner-name {
    font-size: 14px;
  }
  
  .department-card {
    padding: 35px 25px;
  }
}

/* Departments Grid */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.department-card {
  background: white;
  padding: 45px 35px;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.department-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.department-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
  min-height: 56px;
}

.department-role {
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  min-height: 20px;
}

.department-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 1024px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .departments-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Services Page */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid #e0e0e0;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-content h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.service-detail-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.service-detail-image {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding: 40px;
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail-image {
    height: 300px;
  }
}

/* Cases Page */
.cases-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

@media (max-width: 1024px) {
  .cases-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cases-page-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--primary-light);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 25px 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--primary-light);
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

/* Map Placeholder */
.map-placeholder {
  height: 400px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 18px;
  margin-top: 60px;
}

/* Service Highlight */
.service-highlight {
  margin-top: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
  border-left: 4px solid var(--accent-orange);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
}

/* Why Us Section */
.why-us {
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.why-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 45px rgba(0, 102, 204, 0.15);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.why-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.why-card h4 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-weight: 700;
}

.why-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Detail Image */
.service-detail-image {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: white;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.service-detail-image .service-icon {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  text-align: center;
  margin-left: 3em;
}

.service-detail-image .service-icon .service-icon-cn {
  display: block;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
}

.service-detail-image .service-icon .service-icon-en {
  display: block;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

/* Partner Logo Container Style */
.partner-logo-item a {
  display: inline-block;
  width: 100%;
}

/* Partner Logo Image */
.partner-logo-item img {
  max-width: 120px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Partner Logo with Dark Background (for white logos) */
.partner-logo-item.white-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-logo-item.white-logo img {
  margin: 0;
  filter: brightness(0) invert(1); /* 转换为白色 */
}

.partner-logo-item.white-logo {
  padding: 15px;
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-item.white-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Partner Logo Text Style */
.partner-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
  transition: var(--transition-fast);
  letter-spacing: 1px;
}

.partner-logo-item:hover .partner-logo-text {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

/* ========== 苹果字体优化 ========== */
/* 确保所有文本元素使用苹果系统字体 */
a, button, input, textarea, select,
label, span, p, li, td, th {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 标题字体优化 */
h1, h2, h3, h4, h5, h6, .logo-main, .logo-cn,
.case-title, .service-title, .department-title,
.btn, .nav-link {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 确保按钮和链接使用苹果字体 */
.btn-primary, .btn-secondary, .btn-gold,
.nav-link, .footer-links a {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 表单元素字体优化 */
input, textarea, select {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 15px;
}

/* 链接字体优化 */
a:not(.logo) {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 页脚字体优化 */
.footer-links li, .footer-links a {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 14px;
}
