/* 字体注册 */
@font-face {
  font-family: "AlimamaShuHeiTi";
  src: url("./font/AlimamaShuHeiTi-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 全局样式重置 */
:root {
  --primary-color: #fc5d30;
  --primary-hover: #fd997d;
  --secondary-color: #00081e;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #fff;
  --bg-dark: #2c3e50;
  --border-color: #eee;
  --white: #fff;
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --border-radius: 24px;
  --font-primary: "AlimamaShuHeiTi";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.flex {
  display: flex;
}

.item-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* 容器样式 */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 93, 48, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 93, 48, 0.3);
}

.btn-block {
  display: block;
  width: 100%;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 86px;
}

.navbar-logo .logo {
  height: 40px;
  width: auto;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-actions .btn {
  white-space: nowrap;
}

/* 主体内容样式 */
.main-content {
  margin-top: 86px;
}

/* 内容区块样式 */
.content-section {
  border-bottom: 1px solid var(--border-color);
}

.content-section:nth-child(1) {
  display: flex;
  align-items: center;
  height: 625px;
  background-image: url("images/section-bg-1.png");
  background-size: cover;
  background-position: center;
}

.content-section:nth-child(1) .content-image {
  width: 672px;
  height: 322px;
}

.content-section:nth-child(2) {
  display: flex;
  align-items: center;
  height: 733px;
}

.content-section:nth-child(2) .content-image {
  width: 423px;
  height: 573px;
}

.content-text-logo {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.content-text-logo > img {
  width: 56px;
  height: 56px;
}

.content-section:nth-child(3) {
  display: flex;
  align-items: center;
  height: 915px;
  background-image: url("images/section-bg-1.png");
  background-size: cover;
  background-position: center;
}

.content-section:nth-child(3) .content-image:first-child {
  display: block;
  width: 544px;
  height: 330px;
}
.content-section:nth-child(3) .content-image:last-child {
  display: block;
  width: 544px;
  height: 539px;
  margin-top: -150px;
  margin-left: -180px;
}

.content-section:nth-child(3) p {
  width: 370px;
}

.content-section:nth-child(3) .content-image {
  width: 544px;
  height: 330px;
}

.content-section:nth-child(4) {
  padding: 80px 0 110px 0;
  background-image: url("images/section-bg-2.png");
  background-size: cover;
  background-position: center;
}

.content-section:nth-child(4) .section-content {
  flex-direction: column;
  opacity: 1;
}

.content-section:nth-child(4) .content-top {
  display: flex;
  align-items: center;
  gap: 90px;
  margin-top: 70px;
}

.content-section:nth-child(4) .content-top-cover {
  width: 433px;
  height: 596px;
}

.content-section:nth-child(4) .content-top-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-section:nth-child(4) .content-top-item {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 560px;
  height: 128px;
  padding-left: 48px;
  background-image: url("images/section-item-bg-1.png");
  background-size: cover;
  background-position: center;
}

.content-section:nth-child(4) .content-top-item .title {
  color: #2c5276;
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
}

.content-section:nth-child(4) .content-top-item .desc {
  color: #506375;
  font-size: 18px;
}

.content-section:nth-child(4) .content-top-list img {
  width: 110px;
  height: 110px;
  margin-top: -40px;
}

.content-section:nth-child(4) .content-center {
  display: flex;
  align-items: center;
  gap: 90px;
  margin-top: 120px;
}

.content-section:nth-child(4) .content-center-cover {
  width: 628px;
  height: 343px;
}

.content-section:nth-child(4) .content-center p {
  width: 350px;
  margin-bottom: 0;
  color: #00081e;
}

.content-section:nth-child(4) .content-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 120px;
}

.content-section:nth-child(4) .content-bottom-item {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 165px;
  height: 142px;
  padding-bottom: 20px;
  background-size: cover;
  background-position: center;
}

.content-section:nth-child(4) .content-bottom-item:nth-of-type(1) {
  background-image: url("images/content-section-bg-1.png");
}
.content-section:nth-child(4) .content-bottom-item:nth-of-type(2) {
  background-image: url("images/content-section-bg-2.png");
}
.content-section:nth-child(4) .content-bottom-item:nth-of-type(3) {
  background-image: url("images/content-section-bg-3.png");
}
.content-section:nth-child(4) .content-bottom-item:nth-of-type(4) {
  background-image: url("images/content-section-bg-4.png");
}

.content-bottom-arrow {
  width: 70px;
  height: 50px;
}

.content-section:nth-child(4) .content-bottom-item span {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}

.content-section:nth-child(5) {
  display: flex;
  align-items: center;
  height: 696px;
}

.content-section:nth-child(5) p {
  width: 370px;
}

.content-section:nth-child(5) .content-image {
  width: 544px;
  height: 511px;
}

.content-section img {
  transition: transform 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.02);
}

.content-section.bg-light {
  background-color: var(--bg-light);
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.section-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-text {
}

.content-text h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--secondary-color);
  font-family: var(--font-primary);
}

.content-text .gradient-text {
  background: linear-gradient(to right, #fc5d30, #ff9100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-text p {
  font-size: 18px;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* 页脚样式 */
.footer {
  padding: 90px 0 86px 0;
  background-image: url("/images/footer-bg.png");
  background-size: cover;
  background-position: center;
}

.footer-content {
  display: flex;
  justify-content: center;
}

.footer-form {
  max-width: 800px;
  width: 100%;
}

.footer-form h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 70px;
  text-align: center;
  font-family: var(--font-primary);
  color: #00081e;
}

.trial-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.trial-form .btn {
  width: 158px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.form-group label {
  width: 100px;
  font-size: 20px;
  color: #323950;
}

.input-group {
  width: 100%;
  flex: 1;
}

.input-group input {
  width: 100%;
  height: 72px;
  padding: 0 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  color: #323950;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.input-group input::placeholder {
  color: #c5c5c5;
}

/* 验证码样式 */
.captcha-group  .input-group {
  position: relative;
}

.captcha-group .captcha-input {
  padding-right: 120px;
}

.captcha-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 100;
  color: var(--primary-color);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  user-select: none;
}

.captcha-btn:hover:not(.disabled) {
  color: var(--primary-hover);
}

.captcha-btn.disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* 图形验证码样式 */
.image-captcha-group {
  position: relative;
}

.image-captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.image-captcha-input {
  flex: 1;
}

.captcha-image {
  width: 150px;
  height: 72px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.captcha-image:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
  transform: scale(1.02);
}

/* 滚动动画效果 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 - 平板端 */
@media (max-width: 1199px) {
  .container {
    width: 100%;
    padding: 0 30px;
  }

  /* 导航栏 */
  .navbar .container {
    height: 70px;
  }
  .navbar-actions {
    gap: 12px;
  }
  .navbar-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .main-content {
    margin-top: 70px;
  }

  /* 通用内容区块 */
  .section-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .section-content.reverse {
    flex-direction: column;
  }

  /* 第一块 */
  .content-section:nth-child(1) {
    height: auto;
    padding: 60px 0;
  }
  .content-section:nth-child(1) .content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
  }

  /* 第二块 */
  .content-section:nth-child(2) {
    height: auto;
    padding: 60px 0;
  }
  .content-section:nth-child(2) .content-image {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
  .content-text-logo {
    justify-content: center;
  }

  /* 第三块 */
  .content-section:nth-child(3) {
    height: auto;
    padding: 60px 0;
  }
  .content-section:nth-child(3) p {
    width: 100%;
  }
  .content-section:nth-child(3) .content-image:first-child,
  .content-section:nth-child(3) .content-image:last-child {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }
  .content-section:nth-child(3) .content-image:last-child {
    margin-top: 20px;
  }

  /* 第四块 - 复杂布局 */
  .content-section:nth-child(4) {
    padding: 50px 0;
  }
  .content-section:nth-child(4) .content-top {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }
  .content-section:nth-child(4) .content-top-cover {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  .content-section:nth-child(4) .content-top-item {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 100px;
    padding: 20px 30px;
    gap: 20px;
  }
  .content-section:nth-child(4) .content-top-item .title {
    font-size: 18px;
    line-height: 1.4;
  }
  .content-section:nth-child(4) .content-top-item .desc {
    font-size: 14px;
  }
  .content-section:nth-child(4) .content-top-list img {
    width: 70px;
    height: 70px;
    margin-top: -20px;
  }
  .content-section:nth-child(4) .content-center {
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
  }
  .content-section:nth-child(4) .content-center-cover {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
  .content-section:nth-child(4) .content-center p {
    width: 100%;
  }
  .content-section:nth-child(4) .content-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
  }
  .content-section:nth-child(4) .content-bottom-item {
    width: 120px;
    height: 100px;
  }
  .content-section:nth-child(4) .content-bottom-item span {
    font-size: 16px;
  }
  .content-bottom-arrow {
    width: 40px;
    height: 30px;
  }

  /* 第五块 */
  .content-section:nth-child(5) {
    height: auto;
    padding: 60px 0;
  }
  .content-section:nth-child(5) p {
    width: 100%;
  }
  .content-section:nth-child(5) .content-image {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  /* 文字内容 */
  .content-text h2 {
    font-size: 26px;
  }
  .content-text p {
    font-size: 16px;
  }

  /* 页脚表单 */
  .footer {
    padding: 60px 0;
  }
  .footer-form h3 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .trial-form {
    gap: 25px;
  }
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .form-group label {
    width: 100%;
    font-size: 16px;
  }
  .form-group input {
    width: 100%;
    height: 56px;
  }
  .image-captcha-wrapper {
    width: 100%;
  }
  .captcha-image {
    width: 120px;
    height: 56px;
  }
  .captcha-group .captcha-input {
    padding-right: 110px;
  }
  .captcha-btn {
    font-size: 13px;
  }
}

/* 响应式设计 - 手机端 */
@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  /* 导航栏 */
  .navbar .container {
    height: 60px;
  }
  .navbar-logo .logo {
    height: 32px;
  }
  .navbar-actions {
    gap: 8px;
  }
  .navbar-actions .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .main-content {
    margin-top: 60px;
  }

  /* 内容区块 */
  .content-section:nth-child(1),
  .content-section:nth-child(2),
  .content-section:nth-child(3),
  .content-section:nth-child(5) {
    padding: 40px 0;
  }

  .section-content {
    gap: 30px;
  }

  /* 文字 */
  .content-text h2 {
    font-size: 22px;
  }
  .content-text p {
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 第四块 */
  .content-section:nth-child(4) {
    padding: 40px 0;
  }
  .content-section:nth-child(4) .content-top-item {
    padding: 15px 20px;
    gap: 15px;
  }
  .content-section:nth-child(4) .content-top-item .title {
    font-size: 16px;
  }
  .content-section:nth-child(4) .content-top-item .desc {
    font-size: 13px;
  }
  .content-section:nth-child(4) .content-top-list img {
    width: 55px;
    height: 55px;
    margin-top: -15px;
  }
  .content-section:nth-child(4) .content-bottom {
    gap: 10px;
    margin-top: 40px;
  }
  .content-section:nth-child(4) .content-bottom-item {
    width: 70px;
    height: 65px;
    padding-bottom: 10px;
  }
  .content-section:nth-child(4) .content-bottom-item span {
    font-size: 12px;
  }
  .content-bottom-arrow {
    width: 25px;
    height: 18px;
  }
  .content-section:nth-child(4) .content-center {
    margin-top: 40px;
  }

  /* logo图标 */
  .content-text-logo {
    gap: 20px;
    margin-bottom: 25px;
  }
  .content-text-logo > img {
    width: 44px;
    height: 44px;
  }

  /* 页脚 */
  .footer {
    padding: 40px 0;
  }
  .footer-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .trial-form {
    gap: 20px;
  }
  .form-group input {
    height: 48px;
    font-size: 14px;
  }
  .captcha-image {
    width: 100px;
    height: 48px;
  }
  .captcha-group .captcha-input {
    padding-right: 100px;
  }
  .trial-form .btn {
    width: 100%;
  }
}
