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

body {
  font-family: -apple-system, BlinkMacMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s;
}

.nav a:hover {
  color: #b91c1c;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .logo img {
    height: 48px;
  }
}

/* Hero Section */
.hero {
  margin-top: 64px;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  height: 500px;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
  min-height: 500px;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 48rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(to right, #fcd34d, #fbbf24, #fb923c);
  color: #7f1d1d;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* 调整进入官网按钮大小和位置 */
/* 缩小按钮，增加与上方按钮的间距 */
.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  min-width: 140px;
  margin-top: 0.75rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.hero-right {
  display: none;
}

/* 调整扫码下载APP卡片的大小和位置 */
/* 增大卡片和二维码尺寸 */
.qr-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.95));
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(251, 191, 36, 0.4);
  transition: transform 0.3s;
  min-width: 320px;
  max-width: 340px;
}

.qr-card:hover {
  transform: scale(1.03);
}

.qr-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #b91c1c, #ea580c, #ca8a04);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 0.625rem;
}

.qr-divider {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(to right, #fbbf24, #fb923c);
  margin: 0 auto;
  border-radius: 9999px;
}

.qr-body {
  position: relative;
  margin: 1.5rem 0;
}

.qr-body::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.2), rgba(251, 146, 60, 0.2));
  border-radius: 1rem;
  filter: blur(20px);
}

/* 进一步增大二维码尺寸，优化比例 */
/* 增大扫码下载APP中的二维码至280px以匹配红框标记 */
.qr-body img {
  position: relative;
  width: 280px;
  height: 280px;
  padding: 0.625rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(251, 191, 36, 0.4);
  display: block;
  margin: 0 auto;
}

.qr-footer {
  text-align: center;
}

.qr-tip {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

.qr-sub {
  font-size: 0.8125rem;
  color: #6b7280;
}

@media (min-width: 1024px) {
  .hero-bg {
    height: 600px;
  }
  .hero-content {
    flex-direction: row;
    min-height: 600px;
    align-items: center;
    justify-content: space-between;
  }
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-desc {
    font-size: 1.375rem;
  }
  .hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Online Chat */
.online-chat {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  background: #dc2626;
  color: white;
  padding: 1.5rem 0.75rem;
  border-radius: 0.75rem 0 0 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.3s;
}

.online-chat:hover {
  background: #b91c1c;
  padding-left: 1rem;
}

.chat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Platform Section */
.platform-section {
  background: white;
  padding: 4rem 0;
}

/* 增大平台部分的字体 */
.platform-section h2 {
  font-size: 2.75rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
}

.platform-section p {
  font-size: 1.1875rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 64rem;
}

.btn-blue {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-blue:hover {
  background: #2563eb;
}

/* Sections */
.section-gray {
  background: #f9fafb;
  padding: 4rem 0;
}

.section-white {
  background: white;
  padding: 4rem 0;
}

.section-dark {
  background: #111827;
  color: white;
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-dark h2 {
  color: white;
}

.divider {
  width: 5rem;
  height: 4px;
  background: #fb923c;
  margin: 0 auto;
}

.subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* About Section */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.25rem;
}

.company-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 1.0625rem;
  color: #374151;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-image {
  display: flex;
  justify-content: center;
}

/* 增大关于我们图片尺寸 */
/* 进一步增大图片尺寸以匹配红框标记 */
.about-image img {
  width: 100%;
  max-width: 42rem;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .section-header h2 {
    font-size: 3rem;
  }
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: #f9fafb;
}

.tab-btn.active {
  background: #111827;
  color: white;
  border-color: #111827;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.service-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-text h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.25rem;
}

.service-text p {
  font-size: 1.0625rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-center {
  max-width: 48rem;
  margin: 0 auto;
}

.service-center h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
}

.service-center p {
  font-size: 1.0625rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.question {
  font-weight: bold;
  color: #111827 !important;
  padding-top: 1rem;
}

.text-center {
  text-align: center;
}

.company-contact {
  font-size: 1.125rem;
}

.company-contact span {
  font-weight: bold;
  color: #b91c1c;
}

.btn-red {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 0.75rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  margin: 1rem 0;
  transition: background 0.3s;
}

.btn-red:hover {
  background: #b91c1c;
}

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

/* Video Section */
.video-container {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
}

/* 使用v0样式的视频播放器 */
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #1e293b, #334155);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player::before {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.video-player::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 26px solid white;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
  pointer-events: none;
}

.video-player:hover::before {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.video-placeholder {
  display: none;
}

/* Partners Section */
/* 修改为单行6列布局，缩小卡片 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

/* 修改合作伙伴卡片悬停效果 */
/* 调整卡片尺寸和悬停效果 */
.partner-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.partner-card:hover {
  background: linear-gradient(135deg, #1e3a8a, #1e40af, #2563eb);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.3);
  transform: translateY(-3px);
  color: white;
  border-color: #1e40af;
}

/* Contact Section */
/* 修改联系我们为左右布局 */
.contact-content {
  max-width: 80rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.contact-right {
  text-align: center;
}

/* 增大联系我们字体并移除网址下划线 */
/* 调整字体大小和链接样式 */
.contact-content p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.contact-content p span {
  font-weight: 700;
}

.contact-content a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}

.contact-content a:hover {
  color: #93c5fd;
}

/* 修改进入官网按钮为白色文字 */
.btn-red {
  display: inline-block;
  background: #dc2626;
  color: white !important;
  padding: 0.75rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  margin: 1rem 0;
  transition: background 0.3s;
}

.btn-red:hover {
  background: #b91c1c;
  color: white !important;
}

.qr-section {
  padding-top: 0;
}

/* 将咨询在线客服文字移入白框内部 */
.qr-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.qr-subtitle {
  font-size: 1.0625rem;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

/* 增大联系我们的二维码尺寸至240px并添加咨询在线客服标题在白框内 */
.qr-image {
  display: inline-block;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.qr-image img {
  width: 200px;
  height: 200px;
  display: block;
}

@media (min-width: 768px) {
  .qr-image img {
    width: 240px;
    height: 240px;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #374151;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.back-to-top:hover {
  background: #4b5563;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.back-to-top.show {
  display: flex;
}

/* Footer */
.footer {
  background: black;
  color: #6b7280;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer p {
    font-size: 0.875rem;
  }
}
