/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  height: 100%;
  overflow-x: hidden;
  background-color: #0a0c14;
}

/* ===== 顶部导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(8, 10, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 100;
  display: flex;
  align-items: center;
}

.navbar-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.navbar-tabs {
  display: flex;
  gap: 4px;
}

.nav-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-family: inherit;
  padding: 6px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-tab.active {
  color: #fff;
  background: rgba(160, 184, 255, 0.16);
  font-weight: 600;
}

/* ===== 页面容器 ===== */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ===== 首页 Hero ===== */
.hero-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
}

/* POKO 粒子画布 */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-bottom: 10vh;
}

.company-title {
  font-size: clamp(22px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.25em;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #c8d8ff 40%, #a0b8ff 70%, #e0e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(160, 184, 255, 0.7)) drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  padding: 0.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  animation: titleFadeIn 1.2s ease forwards;
  opacity: 0;
}

.company-slogan {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.45em;
  margin-top: 1.4rem;
  animation: titleFadeIn 1.2s 0.4s ease forwards;
  opacity: 0;
}

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

/* ===== 内页通用 ===== */
.inner-page {
  min-height: calc(100vh - 60px - 110px);
  padding: 80px 24px 40px;
  max-width: 1100px;
  margin: 60px auto 0;
}

.page-heading {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.page-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #a0b8ff, transparent);
}

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s;
}

.about-card:hover {
  background: rgba(160, 184, 255, 0.06);
  border-color: rgba(160, 184, 255, 0.2);
}

.about-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.about-card h3 {
  color: #e0e8ff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.about-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.85;
}

/* ===== 联系我们 ===== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.contact-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  min-width: 72px;
  flex-shrink: 0;
}

.contact-value {
  color: #e0e8ff;
  font-size: 14px;
  font-weight: 500;
}

a.contact-value {
  color: #a0b8ff;
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-value:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== 招聘 ===== */
.jobs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.jobs-empty-icon {
  font-size: 60px;
  margin-bottom: 24px;
  opacity: 0.45;
}

.jobs-empty-title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.jobs-empty-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 1.9;
}

.jobs-empty-sub a {
  color: #a0b8ff;
  text-decoration: none;
}

.jobs-empty-sub a:hover {
  text-decoration: underline;
}

/* ===== 页脚 ===== */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.75) 100%);
  backdrop-filter: blur(10px);
  z-index: 50;
  padding: 14px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.company-name {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-text {
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-size: 12px;
}

.footer-text a {
  color: #a0b8ff;
  text-decoration: none;
  transition: color 0.2s;
  margin: 0 2px;
}

.footer-text a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 13px;
    max-width: 180px;
  }

  .nav-tab {
    font-size: 13px;
    padding: 6px 12px;
  }

  .company-title {
    font-size: clamp(14px, 4vw, 24px);
  }

  .inner-page {
    padding: 60px 16px 30px;
  }

  .footer-text {
    font-size: 11px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    display: none;
  }

  .nav-tab {
    padding: 6px 9px;
    font-size: 12px;
  }

  .company-title {
    font-size: clamp(12px, 5vw, 18px);
  }

  .footer-text {
    font-size: 10px;
  }
}

body, html {
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
  height: 100%;
  overflow-x: hidden;
  background-color: #000;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

/* POKO 粒子画布 */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-bottom: 10vh;
}

.company-title {
  font-size: clamp(22px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.25em;
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #c8d8ff 40%, #a0b8ff 70%, #e0e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(160, 184, 255, 0.7)) drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  margin-top: 2rem;
  padding: 0.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  animation: titleFadeIn 1.2s ease forwards;
  opacity: 0;
}

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

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
  backdrop-filter: blur(10px);
  z-index: 3;
  padding: 20px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.company-name {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-text {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-size: 12px;
}

.footer-text a {
  color: #ffa500;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 2px;
}

.footer-text a:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.footer-text br {
  margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .company-title {
    font-size: clamp(14px, 4vw, 24px);
  }
  
  .footer-text {
    font-size: 11px;
    padding: 0 10px;
  }
  
  .content {
    margin-bottom: 5vh;
  }
}

@media (max-width: 480px) {
  .company-title {
    font-size: clamp(12px, 5vw, 18px);
  }
  
  .footer-text {
    font-size: 10px;
  }
}