/* 基础样式重置和变量定义 */
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;

  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;

  --vt-c-indigo: #2c3e50;

  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}

:root {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --section-gap: 160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);

    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);

    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* 主容器样式 */
.body {
  background: #ffffff;
  margin: 0;
  padding: 0;
}

/* 解决方案部分样式 */
.solution-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.7);
}

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

.solution-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.content {
  padding: 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 1);
  display: inline-block;
  margin: 5px;
}

.arrow {
  font-size: 25px;
  color: rgba(104, 173, 243, 1);
  margin: 0 5px;
}

.solution-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px 20px;
  background-color: #f9f9f9;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 16px;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
  .process-flow .content {
    color: #ffffff;
    background-color: #63b4eb;
    font-size: 14px;
  }

.solution-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-icon-item {
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-icon-item:hover {
  transform: translateY(-5px);
}

.solution-icon {
  width: 24px;
  height: 24px;
}

.solution-icon-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(20, 115, 210, 1);
}

.solution-icon-desc {
  max-width: 266px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1; /* 让描述部分占据剩余空间 */
}

.solution-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 1);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.solution-image:hover {
  transform: scale(1.02);
}

/* 下载页面部分样式 */
.download-section {
  min-height: 772px;
  display: flex;
  align-items: center;
  background: #ffffff;
  background-image: url("assets/back.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
}

.download-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  gap: 60px;
}

.content-section1 {
  width: 100%;
  max-width: 600px;
  flex: 1;
}

.top-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 30px;
}

.main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: rgba(255, 255, 255, 1);
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.highlight { color: #10b981; }
.highlight1 { color: #10b981 !important; }

.subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, 1);
  margin: 0 0 10px 0;
  font-weight: 400;
}

.description {
  font-size: clamp(14px, 1.5vw, 16px);
  color: #6b7280;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.download-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  transition: background-color 0.2s;
}

.download-btn:hover {
  background: #059669;
}

.download-icon {
  width: 20px;
  height: 20px;
}

.phone-section {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.phone-container {
  position: relative;
  display: inline-block;
}

.phone-image {
  height: auto;
  max-width: 100%;
}

/* 核心功能亮点部分样式 */
.features-section {
  background: #f8fafc;
  padding: 80px 0;
  width: 100%;
}

.features-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 10px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  width: 100%;
  padding: 0 15px;
}

.group1 {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
}

.feature-icon {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.feature-icon1 {
  width: 40px;
  height: 40px;
  padding: 5px;
  border-radius: 8px;
  background-color: rgba(240, 247, 255, 1);
  flex-shrink: 0;
}

.feature-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: rgba(15, 23, 42, 1);
  margin: 0 0 12px 0;
}

.feature-title1 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(15, 23, 42, 1);
  text-align: left;
}

.feature-description {
  font-size: clamp(12px, 1.2vw, 14px);
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  padding: 0 15px;
}

/* 用户价值与应用场景部分样式 */
.user-value-section {
  background: #f8fafc;
  padding: 80px 0;
  width: 100%;
}

.user-value-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.user-value-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  align-items: stretch;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.value-icon-wrapper {
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  width: 100%;
}

.value-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.value-card-title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: #1f2937;
}

.spot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(104, 173, 243, 1);
  flex-shrink: 0;
}

.value-feature {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: clamp(12px, 1.2vw, 14px);
  color: #374151;
  text-align: left;
}

/* 公司 备案信息 */

.btm-area {
    width: 100%;
    height: 5vh;
    /* background: #103365; */
    font-weight: 500;
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.2;
    color: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    a {
        text-decoration: none;
    }
}

/* ================= 响应式适配 ================= */

/* 平板/小桌面 (max-width: 1024px) */
@media (max-width: 1024px) {
  /* 下载页面部分样式 */
.download-section {

  background-image: url("assets/back (2).png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  /* 如果只有3个卡片，最后一行可能需要居中，Grid默认是靠左 */
  /* 可以考虑用 flex 替代 grid 如果想完美居中，或者接受靠左 */
      /* 公司 备案信息 */
    .btm-area {
        width: 100%;
        height: 5vh;
        /* background: #103365; */
        font-weight: 500;
        font-size: clamp(12px, 2vw, 24px);
        line-height: 24px;
        /* color: #fff; */

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;

        a {
            text-decoration: none;
        }
    }
}

/* 平板竖屏/大手机 (max-width: 768px) */
@media (max-width: 768px) {
  .download-section {
    min-height: auto;
    padding: 100px 0 60px 0;
  }

  .download-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .content-section1 {
    width: 100%;
    margin: 0 auto;
  }

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

  .subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .description {
    text-align: center;
  }

  .download-btn {
    margin: 0 auto 30px auto;
  }

  .solution-icons {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .solution-icon-desc {
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .value-cards {
    grid-template-columns: 1fr;
  }

  .value-feature {
    justify-content: center;
  }
  
  .features-header {
      margin-bottom: 40px;
  }
  
  /* 流程图调整 */
  .process-flow .arrow {
      transform: rotate(90deg); /* 竖排时箭头向下 */
      display: none; /* 或者直接隐藏简化 */
  
  }
  
  .process-flow {
      flex-direction: row; /* 保持横向，但允许换行 */
      gap: 10px;
  }
  
  .process-flow .content {
        color: #ffffff;

      background-color: #63b4eb;
      font-size: 14px;
  }
}

/* 手机 (max-width: 480px) */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-container {
    padding: 40px 20px;
  }
  
  .features-container, .solution-container, .user-value-container {
      padding: 0 20px;
  }

  .main-title {
    font-size: 32px;
    margin-top: 20px;
  }

  .subtitle {
    font-size: 16px;
    margin-top: 20px;
  }

  .solution-title, .features-title, .user-value-title {
      font-size: 24px;
  }
  
  .solution-content {
      padding: 20px 10px;
  }
  
  .btm-area {
      font-size: 0.8rem;
      flex-direction: column;
      gap: 5px;
  }
}
