/* 乾元集团 - 优化后完整样式 */
/* 确保服务页面默认只显示第一个服务详情 */
.service-detail:not(:first-of-type) {
  display: none;
}

:root {
  --primary: #002147; /* 深蓝主色调 */
  --primary-dark: #001233; /* 更深的蓝色 */
  --primary-light: #003366; /* 较浅的蓝色 */
  --secondary: #b8860b; /* 金色辅助色 */
  --secondary-light: #d4af37; /* 浅金色 */
  --secondary-dark: #8b6914; /* 深金色 */
  --accent: #ffd700; /* 亮金色强调 */
  --gold: #d4af37; /* 金色 */
  --text: #1a1a1a;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__desc {
  font-size: 1.3rem;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 按钮组件 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 33, 71, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 33, 71, 0.4);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 导航栏 */
.nav {
  position: relative;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  height: auto;
  margin-bottom: 0;
}

.nav__logo img {
  display: block;
  /* 使用logo__image类控制尺寸，避免100%宽高导致的响应式问题 */
  height: auto;
}

.nav__container {
  align-items: flex-start;
  padding-left: 0px;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.nav__logo:hover {
  transform: translateY(-2px);
}

.logo__mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  margin-right: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 33, 71, 0.3);
}

.logo__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 4px;
  opacity: 0.9;
}

.logo__text {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* 桌面端导航样式 */
@media (min-width: 993px) {
    .nav__menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 3rem;
        margin-left: auto;
    }
}

/* 导航栏响应式设计 */
@media (max-width: 992px) {
    .nav__menu {
        gap: 2.5rem;
    }
    
    .nav__link {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    /* 平板设备布局优化 */
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* 平板设备Logo尺寸优化 */
    .logo__image {
        max-width: 130px;
    }
}

@media (max-width: 768px) {
    /* 移动端布局优化 */
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* 卡片布局优化 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card--service {
        padding: 25px 20px;
    }
    
    /* 文本样式优化 */
    h1, h2, h3, h4 {
        line-height: 1.3;
    }
    
    /* 按钮样式优化 */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    
    /* 防止内容溢出 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 优化表单元素 */
    input, textarea, select {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
    
    /* 优化页脚布局 */
    .footer {
        padding: 40px 0 20px;
    }
    
    /* 修复表格在移动端的滚动 */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
  /* 小屏移动端Logo尺寸优化 */
  .logo__image {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 0;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .nav__menu.active {
    right: 0;
    /* 强制显示在顶部 */
    justify-content: flex-start !important;
  }
  
  .nav__link {
    font-size: 1.3rem;
    color: var(--bg-white);
    /* 确保移动端没有任何装饰线 */
    text-decoration-line: none;
    /* 确保链接在顶部显示 */
    margin: 0 !important;
    padding: 1rem 1.5rem !important;
  }
  
  /* 移除移动端链接的伪元素装饰 */
  .nav__link::after {
    display: none !important;
  }
  
  .logo__text {
    font-size: 1.3rem;
  }
  
  .logo__mark {
    width: 35px;
    height: 35px;
  }
}

/* 修复移动端导航切换按钮动画 */
.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 修复业务标签导航显示 */
.service-detail {
  display: none;
}

.service-detail:first-of-type {
  display: block;
}

/* Logo尺寸控制 - 桌面端默认设置 */
.logo__image {
    max-width: 140px; /* 桌面端合适的最大宽度 */
    height: auto;
    width: auto;
}

/* 修复常见问题展开效果 */
.faq-item p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.expanded p {
  max-height: 500px;
}

/* 修复表单错误显示 */
.field-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* 修复通知显示 */
.notification {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/* 修复滚动问题 */
html {
  scroll-padding-top: 80px;
}

@media (max-width: 480px) {
  .nav__container {
    padding: 0 1rem;
  }
  
  .logo__text {
    font-size: 1.2rem;
  }
  
  .nav__menu {
    width: 90%;
  }
}

/* Hero区域 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero__clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero__cloud {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 1000px;
  filter: blur(40px);
  animation: floatCloud 20s infinite linear;
}

.hero__cloud--1 {
  width: 300px;
  height: 150px;
  top: 10%;
  left: 10%;
  background: linear-gradient(135deg, rgba(255,107,53,0.3), rgba(255,193,7,0.2));
  animation-duration: 25s;
}

.hero__cloud--2 {
  width: 400px;
  height: 200px;
  top: 30%;
  right: 10%;
  background: linear-gradient(135deg, rgba(0,168,232,0.3), rgba(102,126,234,0.2));
  animation-duration: 30s;
  animation-delay: 5s;
}

.hero__cloud--3 {
  width: 350px;
  height: 180px;
  bottom: 20%;
  left: 20%;
  background: linear-gradient(135deg, rgba(212,175,55,0.3), rgba(255,235,59,0.2));
  animation-duration: 35s;
  animation-delay: 10s;
}

.hero__cloud--4 {
  width: 250px;
  height: 120px;
  top: 60%;
  right: 30%;
  background: linear-gradient(135deg, rgba(156,39,176,0.3), rgba(233,30,99,0.2));
  animation-duration: 28s;
  animation-delay: 7s;
}

.hero__cloud--5 {
  width: 320px;
  height: 160px;
  bottom: 10%;
  right: 10%;
  background: linear-gradient(135deg, rgba(76,175,80,0.3), rgba(139,195,74,0.2));
  animation-duration: 32s;
  animation-delay: 15s;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

@keyframes floatCloud {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateX(100px) translateY(-50px) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateX(200px) translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  75% {
    transform: translateX(100px) translateY(50px) rotate(-5deg);
    opacity: 0.9;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title__line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 卡片组件 */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card--service {
  padding: 3rem 2rem;
  text-align: center;
}

.card--feature {
  padding: 2.5rem 2rem;
  text-align: center;
}

.card--stat {
  padding: 3rem 2rem;
  text-align: center;
}

.card--contact {
  padding: 3rem 2rem;
  text-align: center;
}

/* 服务网格 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service__icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.2rem;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 33, 71, 0.3);
}

.card .service__icon {
  transform: scale(1.1) rotate(5deg);
}

.service__title {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-weight: 700;
}

.service__desc {
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.service__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
  font-size: 1.1rem;
}

.service__link:hover {
  gap: 1.2rem;
  color: var(--primary-dark);
}

/* 统计数据 */
.stats {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::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"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.stat__item {
  padding: 2.5rem 1rem;
  transition: var(--transition);
}

.stat__item:hover {
  transform: translateY(-5px);
}

.stat__number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat__label {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 600;
}

/* 页脚 */
.footer {
  background: var(--text);
  color: white;
  padding: 80px 0 30px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
}

.footer__section h4 {
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: white;
  font-weight: 700;
}

.footer__section h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer__links a:hover {
  color: white;
  padding-left: 10px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.contact__item i {
  color: var(--secondary);
  width: 25px;
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social a {
  color: var(--secondary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer__social a:hover {
  color: white;
  transform: translateY(-3px);
}

/* 工具类 */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* 业务页面样式 - 从services.html迁移 */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 140px 0 80px;
    margin-top: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,50 Q250,30 500,50 T1000,50 L1000,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 业务导航 */
.services-nav {
    background: var(--bg);
    padding: 2rem 0;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.nav-tab {
    padding: 1.2rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    text-align: center;
}

.nav-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.nav-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 33, 71, 0.3);
}

.nav-tab i {
    font-size: 1.2rem;
}

/* 服务详情 */
.service-detail {
    padding: 100px 0;
    display: none;
}

.service-detail:first-of-type {
    display: block;
}

.service-detail.alt {
    background: var(--bg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-icon.large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0, 33, 71, 0.3);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.service-icon.large::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: rotate(45deg);
    transition: var(--transition);
}

.service-icon.large::before {
    transform: rotate(225deg);
}

.service-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 800;
}

.service-description {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 500;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.content-main h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.content-main h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h4 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
  color: var(--text);
  line-height: 1.6;
}

/* 侧边栏 */
.content-sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.service-highlight {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
}

.service-highlight h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
}

.service-highlight ul {
    list-style: none;
}

.service-highlight li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-highlight li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-highlight li:last-child {
    border-bottom: none;
}

/* 身份规划网格 - 四个卡片加宽并居中 */
.immigration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
}

.country-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.country-card:hover::before {
    transform: scaleX(1);
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.country-flag {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.country-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
}

.country-card ul {
    list-style: none;
    text-align: left;
    flex-grow: 1;
}

.country-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.country-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.country-card li:last-child {
    border-bottom: none;
}

/* 教育规划 - 两个卡片居中显示 */
.education-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.education-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 48%;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.education-card:hover::before {
    transform: scaleX(1);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.education-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
}

.education-card ul {
    list-style: none;
}

.education-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.education-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.education-card li:last-child {
    border-bottom: none;
}

/* 法律税务 - 使用表格布局撑满一行并居中 */
.legal-tax-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.legal-tax-table {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    width: 48%;
}

.table-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.table-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.table-content {
    padding: 2rem;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
}

.service-table tr {
    border-bottom: 1px solid var(--border);
}

.service-table tr:last-child {
    border-bottom: none;
}

.service-table td {
    padding: 1.2rem 1rem;
    color: var(--text-light);
}

.service-table td:first-child {
    width: 60px;
    text-align: center;
}

.service-table i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* 尊享服务 - 五个卡片加宽居中，不留白 */
.premium-grid {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-left: -70px;
}

.premium-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: calc(19% + 100px);
    min-width: 250px;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.premium-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.premium-card .premium-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.premium-card h4 {
    margin-bottom: 1.2rem;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
}

.premium-card p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 全球业务网络样式 - 简化版 */
.global-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.location-list {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.location-list.simple {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.location-list h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.location-group h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.location-group p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* 业务页面响应式设计 */
@media (max-width: 1200px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .immigration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .premium-grid {
        flex-wrap: wrap;
    }
    
    .premium-card {
        width: 48%;
    }
    
    .legal-tax-content {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-tax-table {
        width: 80%;
    }
}

@media (max-width: 992px) {
    .premium-grid {
        flex-wrap: wrap;
    }
    
    .premium-card {
        width: 48%;
    }
    
    .education-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .education-card {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .service-info h2 {
        font-size: 2.5rem;
    }
    
    .service-description {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .immigration-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .premium-card {
        width: 80%;
    }
    
    .nav-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    .education-card {
        width: 100%;
    }
    
    .legal-tax-table {
        width: 100%;
    }
    
    .section__title {
        font-size: 2.2rem;
    }
    
    .section__desc {
        font-size: 1.1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .service-info h2 {
        font-size: 2rem;
    }
    
    .service-description {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .country-card,
    .education-card,
    .premium-card {
        padding: 2rem 1.5rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .nav-tabs {
        grid-template-columns: 1fr;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .section__desc {
        font-size: 1rem;
    }
    
    .location-list {
        padding: 20px;
    }
    
    .location-list h3 {
        font-size: 1.2rem;
    }
    
    .location-group h4 {
        font-size: 1rem;
    }
    
    .location-group p {
        font-size: 0.9rem;
    }
}