.company-main {
  padding: 0;
}

/* 第一屏：公司信息 start */
.company-info-screen {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  margin: 0;
  padding: 0;
}

.info-background {
  width: 100%;
  height: 100%;
  position: relative;
}

.info-background::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url(../assets/company_2.png);
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

.info-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  min-height: 80vh;
  position: relative;
  z-index: 2;
}

.info-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  text-align: left;
}

.brand-line-1,
.brand-line-2 {
  font-size: 5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 0.9;
  letter-spacing: 3px;
}

.brand-line-3 {
  font-size: 3rem;
  font-weight: 600;
  color: #3b82f6;
  margin: 20px 0 0 0;
  line-height: 1;
}

.info-right {
  padding: 40px 0;
}

.company-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.company-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
}

.company-description p {
  margin: 0 0 20px 0;
}

.company-description p:last-child {
  margin-bottom: 0;
}



@media (max-width: 768px) {
  .company-hero-screen .hero-content {
    bottom: 40px;
    left: 40px;
  }

  .company-hero-screen .hero-title {
    font-size: 1.8rem;
  }

  .company-hero-screen .hero-subtitle {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .info-content {
    gap: 30px;
    padding: 50px 0;
    grid-template-columns: 1fr;
  }

  .brand-line-1,
  .brand-line-2 {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .brand-line-3 {
    font-size: 1.8rem;
    margin-top: 15px;
  }

  .company-name {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .company-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .company-description p {
    margin-bottom: 18px;
  }
}

/* 第一屏：公司信息 end */

/* 第2屏：公司信息 start */
.team-screen {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0;
  margin: 0;
  z-index: 1;
}

.team-background {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 30%, #f1f5f9 70%, #e8f4fd 100%);
  overflow: hidden;
}

/* 动态背景球 */
.floating-ball {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.2));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.6;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.ball-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-name: floatBall1;
  animation-delay: 0s;
}

.ball-2 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 15%;
  animation-name: floatBall2;
  animation-delay: 3s;
}

.ball-3 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 20%;
  animation-name: floatBall3;
  animation-delay: 6s;
}

.ball-4 {
  width: 120px;
  height: 120px;
  bottom: 25%;
  right: 10%;
  animation-name: floatBall4;
  animation-delay: 9s;
}

@keyframes floatBall1 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  25% {
    transform: translateY(-20px) translateX(10px) scale(1.1);
  }

  50% {
    transform: translateY(-10px) translateX(-15px) scale(0.9);
  }

  75% {
    transform: translateY(15px) translateX(5px) scale(1.05);
  }
}

@keyframes floatBall2 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  25% {
    transform: translateY(15px) translateX(-10px) scale(0.95);
  }

  50% {
    transform: translateY(-20px) translateX(12px) scale(1.08);
  }

  75% {
    transform: translateY(8px) translateX(-8px) scale(0.92);
  }
}

@keyframes floatBall3 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  25% {
    transform: translateY(-12px) translateX(15px) scale(1.06);
  }

  50% {
    transform: translateY(18px) translateX(-10px) scale(0.88);
  }

  75% {
    transform: translateY(-8px) translateX(8px) scale(1.02);
  }
}

@keyframes floatBall4 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  25% {
    transform: translateY(10px) translateX(-12px) scale(0.94);
  }

  50% {
    transform: translateY(-15px) translateX(8px) scale(1.12);
  }

  75% {
    transform: translateY(12px) translateX(-5px) scale(0.96);
  }
}

/* 团队区域整体居中包装器 */
.team-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px;
}

/* 团队标题 */
.team-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.team-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.team-subtitle {
  font-size: 1.2rem;
  color: #6366f1;
  margin: 0;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* 横向滚动团队轮播 */
.team-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
  padding: 0;
  margin-left: 0;
  max-width: 1440px;
  display: flex;
  justify-content: flex-start;
}



.team-nav-btn {
  position: absolute;
  display: none !important;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

.team-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-prev-btn {
  left: 20px;
}

.team-next-btn {
  right: 20px;
}

.team-nav-btn i {
  font-size: 18px;
  color: #333;
}

.team-carousel {
  display: flex;
  transition: transform 0.5s ease;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.team-member {
  flex: 0 0 auto;
  width: auto;
  /* 自动宽度，根据内容调整 */
  min-width: 300px;
  /* 最小宽度 */
  max-width: 450px;
  /* 最大宽度 */
  height: 600px;
  /* 固定高度确保等高 */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  margin: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-member:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.member-avatar {
  margin-bottom: 25px;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.member-info {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.member-position {
  font-size: 1.1rem;
  color: #0066ff;
  margin-bottom: 15px;
  font-weight: 500;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.member-description {
  font-size: 0.85rem;
  color: #333333;
  line-height: 1.5;
  text-align: left;
  flex: 1;
  overflow-y: auto;
  margin-top: auto;
  word-wrap: break-word;
  hyphens: auto;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* 小屏幕：宽度300px，间距25px */
@media (max-width: 768px) {
  .team-section-wrapper {
    padding: 0;
  }

  .team-screen {
    padding: 50px 0;
  }

  .team-title {
    font-size: 2.4rem;
  }

  .team-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .team-member {
    min-width: 140px;
    max-width: calc(100% - 30px);
    padding: 20px;
    box-sizing: border-box;
  }

  .member-name {
    font-size: 1.6rem;
  }

  .member-position {
    font-size: 1rem;
  }

  .member-description {
    font-size: 0.9rem;
  }

  .team-carousel-container {
    min-height: 400px;
  }

  .team-header {
    margin-bottom: 30px;
  }

  .floating-ball {
    opacity: 0.3;
  }

  .ball-1 {
    width: 120px;
    height: 120px;
  }

  .ball-2 {
    width: 100px;
    height: 100px;
  }

  .ball-3 {
    width: 110px;
    height: 110px;
  }

  .ball-4 {
    width: 80px;
    height: 80px;
  }
}



/* 我们的责任屏幕 - 固定背景图片，文字居中 */
.responsibility-screen {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
}

.responsibility-background {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: fixed;
  /* 固定背景 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../assets/responsibility.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  /* 确保背景在底层 */
}

.responsibility-overlay {
  position: fixed;
  /* 固定遮罩层 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.responsibility-screen .container {
  position: relative;
  z-index: 10;
  /* 确保内容在最顶层 */
  text-align: center;
  max-width: 1000px;
  padding: 0 40px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.responsibility-content {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  /* 增加上下内边距 */
}

.responsibility-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin: 0 0 50px 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.responsibility-text {
  max-width: 700px;
  margin: 0 auto;
}

.responsibility-paragraph {
  font-size: 1.3rem;
  line-height: 1.8;
  color: white;
  margin: 0 0 30px 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.responsibility-paragraph:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .responsibility-screen {
    height: 100vh;
    min-height: 600px;
  }

  .responsibility-title {
    font-size: 2.5rem;
    margin-bottom: 35px;
  }

  .responsibility-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .responsibility-screen .container {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .responsibility-content {
    max-width: 100%;
  }

  .responsibility-background {
    background-attachment: scroll;
    position: absolute;
  }

  .responsibility-overlay {
    position: absolute;
  }
}
