/* main.css - 提取自index.html */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', '微软雅黑', Arial, sans-serif; background: #f5f7fa; color: #222; }
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0 48px;
  height: 72px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(30,40,90,0.08);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%); box-shadow: 0 4px 24px rgba(30,40,90,0.13); }
.navbar.scrolled .navbar-menu a, .navbar.scrolled .navbar-logo span { color: #fff; }
.navbar-logo { display: flex; align-items: center; }
.navbar-logo span { font-size: 2rem; font-weight: bold; color: #1a237e; letter-spacing: 2px; margin-left: 12px; transition: color 0.3s; white-space: nowrap; }
.navbar-menu { display: flex; gap: 32px; }
.navbar-menu a { color: #1a237e; text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: color 0.2s, transform 0.2s; position: relative; }
.navbar-menu a.active, .navbar-menu a:hover { color: #ffd600; transform: scale(1.08); }
.navbar-action { display: flex; align-items: center; gap: 16px; }
.navbar-action .phone { color: #ffd600; font-weight: bold; font-size: 1.1rem; }
.navbar-action .cta { background: #ffd600; color: #1a237e; border: none; border-radius: 4px; padding: 10px 28px; font-size: 1.08rem; font-weight: bold; cursor: pointer; transition: background 0.2s, transform 0.2s, color 0.2s; box-shadow: 0 2px 8px rgba(30,40,90,0.08); white-space: nowrap; min-width: 100px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.navbar-action .cta:hover { background: #fff176; color: #222; transform: scale(1.08); }
.lang-switch {
  margin-left: 8px;
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: #eee;
  color: #1a237e;
  font-weight: bold;
  min-width: 54px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 520px; position: relative; overflow: hidden; margin-top: 72px; padding: 0; }
.carousel { position: relative; width: 100%; height: 420px; overflow: hidden; background: #e3e6f3; z-index: 1; }
.carousel-inner { width: 100%; height: 100%; position: relative; background: #e3e6f3; }
.carousel-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.45); z-index: 3; pointer-events: none; }
.carousel-img { width: 100%; height: 420px; object-fit: cover; position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.7s; z-index: 1; }
.carousel-img.active { opacity: 1; z-index: 2; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(26,35,126,0.5); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 2rem; cursor: pointer; z-index: 3; transition: background 0.2s; }
.carousel-btn:hover { background: rgba(26,35,126,0.8); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }
.carousel-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 12px; z-index: 4; }
.carousel-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.7); border: 2px solid #ffd600; cursor: pointer; transition: background 0.2s, border 0.2s; }
.carousel-dots .dot.active { background: #ffd600; border: 2px solid #fff; }
@media (max-width: 900px) {
  .navbar { padding: 0 8px; }
  .navbar-menu { gap: 12px; }
  .navbar-logo span { font-size: 1.2rem; }
  .navbar-action .cta, .lang-switch { font-size: 0.95rem; padding: 8px 10px; min-width: 70px; }
  .carousel, .carousel-img { height: 200px; }
  .hero { min-height: 340px; }
}
@media (max-width: 600px) {
  .navbar { flex-wrap: wrap; height: auto; padding: 0 2vw; }
  .navbar-logo { min-width: 0; }
  .navbar-logo span { font-size: 1rem; margin-left: 6px; }
  .navbar-menu { gap: 6px; }
  .navbar-action { gap: 6px; }
  .navbar-action .cta, .lang-switch { font-size: 0.85rem; padding: 6px 6px; min-width: 54px; }
  .navbar-action .phone { font-size: 0.95rem; }
}
.hero-content { position: absolute; top: 0; left: 0; width: 100%; height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; pointer-events: none; }
.hero-title, .hero-subtitle, .hero-btn { pointer-events: auto; }
.hero-title, .hero-subtitle, .hero-btn { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1); }
.hero-title.visible { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero-subtitle.visible { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.hero-btn.visible { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
section.fade-in { background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(30,40,90,0.06); } 
.hero-title { font-size: 2.8rem; font-weight: 800; color: #1a237e; margin-bottom: 18px; letter-spacing: 2px; text-shadow: 0 4px 16px rgba(30,40,90,0.08); }
.hero-subtitle { font-size: 1.4rem; color: #3949ab; margin-bottom: 32px; font-weight: 500; }
.hero-btn { background: #ffd600; color: #1a237e; border: none; border-radius: 4px; padding: 14px 38px; font-size: 1.2rem; font-weight: bold; cursor: pointer; box-shadow: 0 2px 8px rgba(30,40,90,0.08); transition: background 0.2s, color 0.2s, transform 0.2s; }
.hero-btn:hover { background: #fff176; color: #222; transform: scale(1.08); } 

/* 企业文化样式 */
.company-values {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,40,90,0.08);
  padding: 60px 40px !important;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.value-card {
  background: #f8f9ff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,40,90,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(30,40,90,0.12);
}

.value-image {
  position: relative;
  overflow: hidden;
}

.value-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.1) 0%, rgba(57,73,171,0.1) 100%);
  pointer-events: none;
}

.value-content {
  padding: 30px;
}

.value-content h3 {
  position: relative;
  padding-bottom: 12px;
}

.value-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffd600 0%, #fff176 100%);
  border-radius: 2px;
}

.value-content ul li {
  margin-bottom: 12px;
  position: relative;
}

.value-content ul li::before {
  content: '✓';
  position: absolute;
  left: -20px;
  color: #ffd600;
  font-weight: bold;
  font-size: 1.2rem;
}

.philosophy-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3e6f3 100%);
  border-radius: 16px;
  padding: 60px 40px;
  margin-top: 60px;
}

.philosophy-image {
  position: relative;
  overflow: hidden;
}

.philosophy-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.2) 0%, rgba(57,73,171,0.2) 100%);
  border-radius: 16px;
  pointer-events: none;
}

.philosophy-content h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.philosophy-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd600 0%, #fff176 100%);
  border-radius: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .company-values {
    padding: 40px 20px !important;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .value-content {
    padding: 20px;
  }
  
  .philosophy-section {
    padding: 40px 20px;
  }
  
  .philosophy-image img {
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .company-values h2 {
    font-size: 2rem !important;
  }
  
  .value-content h3 {
    font-size: 1.3rem !important;
  }
  
  .philosophy-content h3 {
    font-size: 1.5rem !important;
  }
}

/* 核心竞争力样式 */
.core-competence {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,40,90,0.08);
  padding: 60px 40px !important;
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.competence-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: #f8f9ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competence-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(30,40,90,0.1);
}

.competence-icon {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.competence-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.1) 0%, rgba(57,73,171,0.1) 100%);
  pointer-events: none;
}

.service-process {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3e6f3 100%);
  border-radius: 16px;
  padding: 50px 40px;
  margin-top: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ffd600 0%, #fff176 100%);
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 16px rgba(26,35,126,0.3);
  position: relative;
  z-index: 2;
}

.step h4 {
  margin-bottom: 12px;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .core-competence {
    padding: 40px 20px !important;
  }
  
  .competence-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .service-process {
    padding: 40px 20px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .core-competence h2 {
    font-size: 2rem !important;
  }
  
  .competence-item h3 {
    font-size: 1.2rem !important;
  }
  
  .service-process h3 {
    font-size: 1.5rem !important;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* 公司形象展示大图 - 优化视差滚动效果 */
.company-showcase {
  width: 100%;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  height: 500px;
  z-index: 1;
}

.showcase-image {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,35,126,0.7) 0%, rgba(57,73,171,0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.showcase-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.showcase-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* 公司实力展示大图 - 优化视差滚动效果 */
.company-strength {
  width: 100%;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  height: 600px;
  z-index: 1;
}

.strength-image {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.strength-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.strength-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,35,126,0.8) 0%, rgba(57,73,171,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.strength-content {
  text-align: center;
  color: #fff;
  max-width: 1000px;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.strength-content h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.strength-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .showcase-content h2 {
    font-size: 2rem;
  }
  
  .showcase-content p {
    font-size: 1rem;
  }
  
  .strength-content h2 {
    font-size: 2.5rem;
  }
  
  .strength-content p {
    font-size: 1.1rem;
  }
  
  .strength-stats {
    gap: 20px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 120px;
  }
  
  .stat-item div:first-child {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .showcase-image,
  .strength-image {
    height: 300px;
  }
  
  .showcase-content h2 {
    font-size: 1.8rem;
  }
  
  .strength-content h2 {
    font-size: 2rem;
  }
  
  .stat-item div:first-child {
    font-size: 1.8rem;
  }
} 

/* 高级动效样式 */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes rotate3D {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 3D卡片效果 */
.value-card {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(26,35,126,0.2), 0 0 0 1px rgba(255,255,255,0.1);
}

.value-image {
  transform: translateZ(20px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-image {
  transform: translateZ(30px) scale(1.05);
}

/* 浮动动画 */
.competence-item {
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--animation-order) * 0.5s);
}

.competence-item:nth-child(1) { --animation-order: 0; }
.competence-item:nth-child(2) { --animation-order: 1; }
.competence-item:nth-child(3) { --animation-order: 2; }
.competence-item:nth-child(4) { --animation-order: 3; }

/* 脉冲效果 */
.step-number {
  animation: pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--step-order) * 0.3s);
}

.step:nth-child(1) .step-number { --step-order: 0; }
.step:nth-child(2) .step-number { --step-order: 1; }
.step:nth-child(3) .step-number { --step-order: 2; }
.step:nth-child(4) .step-number { --step-order: 3; }
.step:nth-child(5) .step-number { --step-order: 4; }

/* 渐变背景动画 */
.showcase-overlay,
.strength-overlay {
  background: linear-gradient(135deg, rgba(26,35,126,0.7) 0%, rgba(57,73,171,0.7) 50%, rgba(26,35,126,0.7) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* 文字发光效果 */
.showcase-content h2,
.strength-content h2 {
  text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 4px 16px rgba(0,0,0,0.3);
  animation: shimmer 3s ease-in-out infinite;
}

/* 统计卡片3D效果 */
.stat-item {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateZ(-1px);
  transition: transform 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.stat-item:hover::before {
  transform: translateZ(1px);
}

/* 滚动视差效果 */
.company-showcase,
.company-strength {
  position: relative;
  overflow: hidden;
}

.showcase-image img,
.strength-image img {
  transition: transform 0.1s ease-out;
}

/* 鼠标跟随效果 */
.value-card,
.competence-item,
.stat-item {
  cursor: pointer;
}

/* 加载动画 */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeInScale 0.8s ease-out;
}

/* 悬停时的微交互 */
.navbar-menu a {
  position: relative;
  overflow: hidden;
}

.navbar-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffd600, #fff176);
  transition: left 0.3s ease;
}

.navbar-menu a:hover::before {
  left: 0;
}

/* 按钮动效 */
.hero-btn,
.navbar-action .cta {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-btn::before,
.navbar-action .cta::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.5s ease;
}

.hero-btn:hover::before,
.navbar-action .cta:hover::before {
  left: 100%;
}

/* 图片悬停效果 */
.value-image img,
.competence-icon img,
.philosophy-image img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-image:hover img,
.competence-icon:hover img,
.philosophy-image:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

/* 文字渐入效果 */
.value-content h3,
.competence-item h3,
.philosophy-content h3 {
  position: relative;
  overflow: hidden;
}

.value-content h3::after,
.competence-item h3::after,
.philosophy-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffd600, #fff176);
  transition: left 0.4s ease;
}

.value-card:hover .value-content h3::after,
.competence-item:hover h3::after,
.philosophy-section:hover .philosophy-content h3::after {
  left: 0;
}

/* 滚动指示器 */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd600, #fff176);
  transform-origin: left;
  z-index: 1000;
}

/* 响应式动效调整 */
@media (max-width: 768px) {
  .value-card:hover {
    transform: translateY(-8px);
  }
  
  .competence-item {
    animation: none;
  }
  
  .stat-item:hover {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Luxy视差滚动效果样式 */
#luxy {
  position: relative;
  z-index: 1;
}

.luxy-el {
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* 优化视差效果的过渡 */
.luxy-el {
  transition: transform 0.1s ease-out;
}

/* 确保视差元素在移动设备上也有良好表现 */
@media (max-width: 768px) {
  .luxy-el {
    transform: none !important;
  }
}

/* 为视差元素添加硬件加速 */
.luxy-el {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
} 