@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  color: #08294b;
  font-family: 'Instrument Sans', 'Roboto', Helvetica Neue, PingFang SC, Microsoft YaHei, Helvetica, Arial, sans-serif;
  min-height: 100%;
  background: linear-gradient(to bottom, #ecf9ff, #ffffff);
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.9;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* 固定导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(236, 249, 255, 0.75);
  backdrop-filter: blur(10px);
  
}

.nav-container {
  max-width: 16rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0 0.38rem;
  border-bottom: 1px solid #D8EAF4;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.18rem;
}

.logo-icon {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 0.15rem;
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.31rem;
  font-weight: 700;
  color: #08294b;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 0.18rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  padding: 0 0.24rem;
  height: 0.54rem;
  background: #087ef5;
  color: #ffffff;
  border-radius: 0.31rem;
  font-size: 0.17rem;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: #0670d6;
  transform: translateY(-0.02rem);
}

.arrow {
  font-size: 0.17rem;
}

/* 主内容 */
.main-content {
  padding-top: 1.51rem;
}

/* 容器 */
.container {
  max-width: 16rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* Section通用样式 */
.section {
  position: relative;
}

.section-1 {
  background: linear-gradient(to bottom, #ecf9ff, #ffffff);
  padding-top: 0.74rem;
}

.section-1 .container{
  border-bottom: 1px solid #DFECF4;
}

.section-2 {
  background: #ffffff;
  padding: 0.8rem 0 0.3rem;
}

.section-2 .container{
  border-radius: 0.48rem;
  background: #F2F9FE;
}

.section-3 {
  min-height: 8.6rem;
  background: #ffffff;
}

.section-4 {
  min-height: 9rem;
  background: linear-gradient(to bottom, #f2faff, #dff3ff);
}

/* 内容布局 */
.content-wrapper {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 7rem;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

/* 文字区块 */
.text-block {
  flex: 1;
  max-width: 7.3rem;
}

.section-marker {
  width: 0.64rem;
  height: 0.08rem;
  background: #087ef5;
  border-radius: 0.04rem;
  margin-bottom: 0.46rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

/* 不同section的标题大小 */
.section-1 .section-heading {
  font-size: 1.16rem;
}

.section-2 .section-heading {
  font-size: 0.9rem;
}

.section-3 .section-heading {
  font-size: 1.1rem;
}

.section-4 .section-heading {
  font-size: 1.02rem;
}

.heading-primary {
  color: #08294b;
  display: block;
}

.heading-accent {
  color: #087ef5;
  display: block;
}

.section-desc {
  font-size: 0.29rem;
  font-weight: 400;
  line-height: 1.48;
  color: #59768e;
  margin-top: 0.6rem;
}

/* 手机展示区 */
.phone-display {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-img {
  max-width: 7rem;
  height: auto;
  filter: drop-shadow(0 0.22rem 0.6rem rgba(17, 79, 139, 0.16));
  transition: transform 0.3s;
}

.phone-img:hover {
  transform: translateY(-0.1rem);
}

/* Section 2特殊样式 - 卡片背景 */
.section-2::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16rem;
  height: 8rem;
  background: #f2f9fe;
  border-radius: 0.48rem;
  z-index: -1;
}

/* 移动端适配 - 平板 */
@media screen and (max-width: 1200px) {
  .nav-container {
    padding: 0 0.8rem;
  }

  .brand-name {
    font-size: 0.26rem;
  }

  .nav-btn {
    font-size: 0.15rem;
    padding: 0 0.2rem;
  }

  .content-wrapper {
    gap: 1.5rem;
  }

  .section-heading {
    font-size: 0.8rem;
  }

  .section-1 .section-heading {
    font-size: 0.9rem;
  }

  .section-2 .section-heading {
    font-size: 0.7rem;
  }

  .section-3 .section-heading {
    font-size: 0.85rem;
  }

  .section-4 .section-heading {
    font-size: 0.8rem;
  }

  .section-desc {
    font-size: 0.24rem;
  }

  .phone-img {
    max-width: 5.5rem;
  }
}

/* 移动端适配 - 手机 */
@media screen and (max-width: 768px) {
  .header {
    padding: 0.3rem 0;
  }

  .nav-container {
    height: auto;
    padding: 0 0.4rem;
  }

  .logo-icon {
    width: 0.5rem;
    height: 0.5rem;
  }

  .brand-name {
    font-size: 0.22rem;
  }

  .nav-links {
    gap: 0.12rem;
  }

  .nav-btn {
    font-size: 0.13rem;
    padding: 0 0.16rem;
    height: 0.44rem;
  }

  .main-content {
    padding-top: 1.2rem;
  }

  .container {
    padding: 0 0.4rem;
  }

  .section {
    padding: 1.5rem 0;
  }

  .content-wrapper,
  .content-wrapper.reverse {
    flex-direction: column;
    gap: 1rem;
  }

  .text-block {
    max-width: 100%;
    text-align: center;
  }

  .section-marker {
    margin-left: auto;
    margin-right: auto;
  }

  .section-heading {
    font-size: 0.6rem;
  }

  .section-1 .section-heading {
    font-size: 0.65rem;
  }

  .section-2 .section-heading {
    font-size: 0.55rem;
  }

  .section-3 .section-heading {
    font-size: 0.6rem;
  }

  .section-4 .section-heading {
    font-size: 0.58rem;
  }

  .section-desc {
    font-size: 0.2rem;
  }

  .phone-display {
    width: 100%;
  }

  .phone-img {
    max-width: 4.5rem;
  }

  .section-2::before {
    width: 100%;
    height: auto;
    top: 0;
    transform: translateX(-50%);
    padding: 2rem 0;
  }
}

/* 小屏幕手机 */
@media screen and (max-width: 480px) {
  .nav-brand {
    gap: 0.12rem;
  }

  .logo-icon {
    width: 0.4rem;
    height: 0.4rem;
  }

  .brand-name {
    font-size: 0.18rem;
  }

  .nav-btn {
    font-size: 0.11rem;
    padding: 0 0.12rem;
    height: 0.38rem;
  }

  .section {
    padding: 1rem 0;
  }

  .section-heading {
    font-size: 0.5rem;
  }

  .section-1 .section-heading {
    font-size: 0.52rem;
  }

  .section-2 .section-heading {
    font-size: 0.45rem;
  }

  .section-3 .section-heading {
    font-size: 0.48rem;
  }

  .section-4 .section-heading {
    font-size: 0.46rem;
  }

  .section-desc {
    font-size: 0.18rem;
  }

  .phone-img {
    max-width: 3.5rem;
  }
}