/* HopeMobi 自定义样式 */

/* 基础 */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  /*background: linear-gradient(to top, #EBF3F8, #ffffff);*/
  background: var(--bg-light);
  color: #0f172a;
}

/* 导航栏 */
.site-nav {
  transition: box-shadow 0.3s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(to right, #3b82f6, #34d399);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: #2563eb;
  transform: translateY(-2px);
}

/* 手机菜单 */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(9, 26, 47, 0.82), rgba(18, 60, 97, 0.64), rgba(15, 94, 91, 0.55));
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(to right, #2563eb, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

 /*分隔线*/
.section-divider {
  /*width: 80px;*/
  /*height: 4px;*/
  /*border-radius: 9999px;*/
  /*background: linear-gradient(to right, #2563eb, #10b981);*/
  /*margin: 0 auto;*/
  width: 80px; height: 5px; border-radius: 3px; margin: 24px auto 0;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));

}
:root {
  --primary-green: #00a884;
  --primary-blue: #1e6fff;
  --dark: #0f172a;
  --text-gray: #475569;
  --light-gray: #94a3b8;
  --bg-light: #f0f4f8;
  --card-radius: 24px;
}
/* 卡片悬浮效果 */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -36px rgba(15, 23, 42, 0.5);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.team-text {
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 50%, #059669 100%);
  padding: 94px 48px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.business-item {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 20px;
}
.team-text h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.team-text p {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}
.team-banner {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 50%, #059669 100%);
}
.bg-\[radial-gradient\(circle_at_top\,rgba\(125\,211\,252\,0\.35\)\,transparent_48\%\) {
  background-image: radial-gradient(circle at top,#7dd3fc59,#0000 48%),linear-gradient(135deg,#0f172a,#1d4ed8,#14b8a6);
}
.bg-gradient-to-brs {
  background-image: linear-gradient(var(--tw-gradient-stops));
}
.bg-gradient-to-brs {
  --tw-gradient-position: to bottom right in oklab;
}
.bg-gradient-to-brs {
  --tw-gradient-position: to bottom right;
}

/*!* 时间线 *!*/
/*.timeline-item {*/
/*  position: relative;*/
/*  padding-left: 2rem;*/
/*}*/

/*.timeline-item::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  left: 0;*/
/*  top: 0.5rem;*/
/*  width: 12px;*/
/*  height: 12px;*/
/*  border-radius: 50%;*/
/*  background: linear-gradient(to right, #2563eb, #10b981);*/
/*  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);*/
/*}*/

/*.timeline-item::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  left: 5px;*/
/*  top: 1.5rem;*/
/*  width: 2px;*/
/*  height: calc(100% - 1rem);*/
/*  background: linear-gradient(to bottom, #2563eb, #10b981);*/
/*  opacity: 0.3;*/
/*}*/

/*.timeline-item:last-child::after {*/
/*  display: none;*/
/*}*/

.timeline-detail {
  display: none;
}

/* 画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

/* 进入动画 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* Hero 入场动画 */
.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate.delay-1 { animation-delay: 0.2s; }
.hero-animate.delay-2 { animation-delay: 0.4s; }
.hero-animate.delay-3 { animation-delay: 0.6s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #10b981);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.5);
}

/* 数字计数 */
.counter {
  display: inline-block;
}

/* Benefits 网格 */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.15);
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 1rem;
  background: #f97316;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #fb923c;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  background: #0f172a;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-secondary:hover {
  background: #1e293b;
}

/* 筛选标签 */
.filter-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: #f8fafc;
  color: #64748b;
}

.filter-tag:hover {
  border-color: #e2e8f0;
  background: white;
  color: #334155;
}

.filter-tag.active {
  border-color: #fb923c;
  background: #f97316;
  color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 职位卡片 */
.job-card {
  transition: all 0.2s ease;
  cursor: pointer;
}

.job-card:hover {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.job-card.active {
  border-color: #bfdbfe;
  background: rgba(239, 246, 255, 0.7);
  box-shadow: 0 20px 40px -34px rgba(37, 99, 235, 0.55);
}

/* FAQ 折叠 */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  background: white;
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 0 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.1);
}

.faq-item.open {
  border-color: #bfdbfe;
  box-shadow: 0 8px 30px -12px rgba(37, 99, 235, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #2563eb;
  color: white;
}

.faq-icon {
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: #64748b;
  flex-shrink: 0;
}

/* 语言切换 */
.lang-switcher {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-btn:hover {
  color: #0f172a;
}

/* 页脚 */
.site-footer a:hover {
  color: #2563eb;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 选中文本 */
::selection {
  background: #dbeafe;
  color: #1e3a8a;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }
}
