/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Han Sans CN', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #1d335c;
  line-height: 1.5;
  background-color: white;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: 56px;
  border-bottom: 1px solid white;
}

.header-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 40px;
  width: 187px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #1d335c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-size: 18px;
  line-height: 28px;
  color: #1d335c;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link.active {
  color: #165dff;
  font-weight: 500;
}

.nav-link:hover {
  color: #165dff;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
  background-image: url('./static/banner.png');
  background-size: 100% 100%;
  background-position: center;
}

.hero-content {
  width: 100%;
  max-width: 1320px;
  margin: 150px auto;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.2;
  color: #1d335c;
  letter-spacing: 2.88px;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  color: #1d335c;
}

/* 通用标题样式 */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #1d335c;
  text-align: center;
  margin-bottom: 64px;
}

/* 介绍部分 */
.intro-section {
  padding: 64px 0;
  background: white;
}

.intro-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.intro-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intro-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intro-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.intro-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  color: #1d335c;
}

.intro-description {
  font-size: 18px;
  line-height: 30px;
  color: #1d335c;
  letter-spacing: 0.18px;
}

.intro-image {
  flex: 1;
  height: 456px;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* 能力部分 */
.capabilities-section {
  padding: 64px 0;
  background: white;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.capability-card {
  position: relative;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid white;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.purple-gradient {
  background: linear-gradient(217.45deg, rgba(235, 224, 255, 1) 0%, rgba(251, 250, 252, 1) 74%),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.blue-gradient {
  background: linear-gradient(217.45deg, rgba(229, 237, 255, 1) 0%, rgba(250, 251, 255, 1) 74%),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.orange-gradient {
  background: linear-gradient(191.87deg, rgba(255, 237, 224, 1) 0%, rgba(255, 253, 252, 1) 74%),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  grid-column: 1 / -1;
}

.capability-header {
  margin-bottom: 24px;
}

.capability-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 40px;
  color: #1d335c;
  margin-bottom: 8px;
}

.title-highlight {
  font-size: 26px;
}

.title-highlight.purple {
  color: #b25ae1;
}

.title-highlight.blue {
  color: #165dff;
}

.title-highlight.orange {
  color: #ff9757;
}

.capability-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: #1d335c;
}

.capability-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.capability-features-row {
  display: flex;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
}

.feature-content {
  flex: 1;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
  color: #1d335c;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 18px;
  line-height: 28px;
  color: #495a7a;
  margin-bottom: 4px;
}

.capability-decoration {
  position: absolute;
  right: 23px;
  bottom: 24px;
  width: 160px;
  height: 160px;
}

.capability-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 为什么部分 */
.why-section {
  padding: 64px 0;
  background: white;
}

.why-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-subtitle {
  font-size: 26px;
  font-weight: 500;
  color: #1d335c;
  margin-top: 16px;
}

.why-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 64px;
}

.why-card {
  background: white;
  border: 1px solid white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
  flex: 0 0 424px;
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.why-card-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.why-card-icon {
  width: 100%;
  height: 100%;
}

.why-card-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #b6cdfa;
  border-radius: 50%;
  top: 6px;
  left: 9px;
}

.why-card-title {
  font-size: 26px;
  font-weight: 500;
  color: #1d335c;
  flex: 1;
}

.why-card-desc {
  font-size: 18px;
  line-height: 28px;
  color: #495a7a;
}

/* 架构部分 */
.architecture-section {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.architecture-image {
  width: 70%;
}

.architecture-header {
  text-align: center;
  margin-bottom: 48px;
}

.architecture-title {
  font-size: 26px;
  font-weight: 500;
  color: #1d335c;
  margin-bottom: 12px;
}

.architecture-subtitle {
  font-size: 22px;
  line-height: 1.5;
  color: #495a7a;
}

.architecture-diagram {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  min-height: 600px;
}

.architecture-main {
  width: 100%;
  height: auto;
}

.architecture-layers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 60px;
}

.architecture-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.layer-badge {
  padding: 8px 40px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 500;
  color: #165dff;
  background: #f5f7ff;
  border: 1px solid #165dff;
  box-shadow: 0px 2px 16px rgba(1, 75, 224, 0.08);
}

.layer-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.layer-tag {
  padding: 6px 20px;
  background: white;
  border: 1px solid #d7dae0;
  border-radius: 8px;
  font-size: 20px;
  color: #1d335c;
}

/* 平台部分 */
.platform-section {
  padding: 64px 0;
  background: white;
  background-image: url('./static/platform.png');
  background-size: 100% 100%;
}

.platform-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.platform-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(10px);
  border: 1px solid white;
  border-radius: 12px;
  padding: 24px;
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.platform-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.platform-card-title {
  font-size: 26px;
  font-weight: 500;
  color: #1d335c;
  flex: 1;
}

.platform-card-desc {
  font-size: 18px;
  line-height: 30px;
  color: #495a7a;
  letter-spacing: 0.18px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 8px;
  padding: 12px 56px;
  background: linear-gradient(to right, #1b5de0, #9e1be0);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0px 4px 12px rgba(29, 100, 240, 0.16);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 240px;
  min-width: 88px;
  height: 56px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 16px rgba(29, 100, 240, 0.24);
}

.button-arrow {
  width: 28px;
  height: 28px;
}

.platform-image {
  flex: 1;
}

.platform-banner {
  width: 100%;
  height: auto;
}

.platform-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 功能部分 */
.features-section {
  padding: 64px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-column.full-width {
  grid-column: 1 / -1;
}

.feature-column-title {
  font-size: 26px;
  font-weight: 700;
  color: #1d335c;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list-horizontal {
  display: flex;
  gap: 40px;
}

.feature-list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.feature-bullet {
  width: 11.314px;
  height: 11.314px;
  flex-shrink: 0;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-bullet::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #165dff;
  border-radius: 2px;
  transform: rotate(45deg);
}

.feature-text {
  flex: 1;
}

.feature-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #1d335c;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 18px;
  line-height: 28px;
  color: #495a7a;
}

.feature-placeholder {
  position: relative;
  width: 100%;
  height: 364px;
  background: #f4f5f7;
  border: 1px solid #d7dae0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.feature-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.play-button img {
  width: 100%;
  height: 100%;
}

/* Banner 部分 */
.banner-section {
  padding: 64px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.banner-images {
  position: relative;
  width: 100%;
  height: 624px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 页脚 */
.footer {
  padding: 42px 0;
  text-align: center;
  background: white;
}

.footer-text {
  font-size: 12px;
  line-height: 18px;
  color: #495a7a;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }

  .hero-content {
    padding: 8px 20px 0;
  }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0 40px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .orange-gradient {
    grid-column: 1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-column.full-width {
    grid-column: 1;
  }

  .feature-list-horizontal {
    flex-direction: column;
    gap: 12px;
  }

  .why-cards {
    flex-direction: column;
    align-items: center;
  }

  .why-card {
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
    position: relative;
  }

  .logo {
    height: 32px;
    width: 150px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 20px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(29, 51, 92, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .hero-content {
    padding: 80px 20px 0;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .intro-content {
    flex-direction: column;
  }

  .platform-content {
    flex-direction: column;
  }

  .section-title {
    font-size: 32px;
  }

  .architecture-image {
    width: 100%;
  }
}
