/* 基础样式 */
html {
  line-height: 1.55;
  font-family: PingFangSC-Regular, "Microsoft YaHei", Arial, sans-serif;
}

body,
html {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  margin: 0 auto;
  color: #333;
  background-color: #fff;
  word-break: break-all;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  font-weight: 400;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
}

a,
button,
img,
input {
  border: 0 none;
  outline: 0 none;
}

a {
  text-decoration: none;
  color: inherit;
}

#app {
  min-height: 100vh;
}

#nav {
  height: 70px;
}

/* Flexbox工具类 */
.column {
  display: flex;
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.align-center {
  align-items: center;
}

.fill {
  flex: 1;
}

/* Header组件 */
.header {
  height: 70px;
  background: #fff;
  box-shadow: 0 4px 12px 0 hsla(0, 0%, 60%, .1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

/* Slide Title Image - 样式已移至 index/style.css */

.header .header-main {
  width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  padding-top: 17px;
}

.header .header-main .header-left {
  float: left;
}

.header .header-main .header-left .logo {
  width: 125px;
}

.header .header-main .header-left .logo>img {
  width: 132px;
  height: 35px;
  cursor: pointer;
}

.header .header-main .header-right {
  float: right;
}

.header .header-main .header-right ul {
  overflow: hidden;
  padding-top: 8px;
}

.header .header-main .header-right ul li {
  float: left;
  margin-left: 75px;
  font-size: 14px;
  letter-spacing: .22px;
  text-align: left;
  padding-bottom: 12px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  user-select: none;
}

.header .header-main .header-right ul li:hover {
  border-bottom: 3px solid #1faf88;
  color: #1faf88;
}

.header .header-main .header-right ul .router-link-exact-active {
  border-bottom: 3px solid #1faf88;
  color: #1faf88;
}

.header .header-main .header-right ul li a {
  color: inherit;
  text-decoration: none;
}

/* 正常滚动区域 */
.normal-scroll-top,
.normal-scroll-bottom {
  position: relative;
}

/* 第一个正常滚动区域的第一个section */
#section-home {
  height: 700px;
}

#section-home .home-video {
  object-fit: cover;
}

.normal-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* 关于我们和联系我们允许内容滚动 */
#section-about,
#section-contact {
  overflow-y: auto;
}

/* Home组件 (全屏Swiper区域) */
.home {
  position: relative;
  height: 100vh;
}

.index-swiper {
  height: 100%;
}

.index-slider {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.home-video {
      width: 100%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    bottom: 0;
}
.bottom-img{
    width: 100%;
    height: calc(100% - 266px) !important;
    object-fit: fill;
    position: absolute;
    bottom: 0;
}

.index-slider-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page1 {
  height: 100%;
  padding-bottom: 75px;
  box-sizing: border-box;
}

.page-arrow {
  position: absolute;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  height: 27px;
  z-index: 9;
  opacity: .5;
  animation: jump 2s linear infinite;
  cursor: pointer;
}

@keyframes jump {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

.home-navs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 936px;
  height: 203px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 20px 0 hsla(0, 0%, 87.8%, .5);
  border-radius: 15px;
  color: #000;
}

.home-navs .home-navs-item {
  display: flex;
  align-items: center;
  flex: 1;
  height: 100px;
  border-right: 3px solid #007F41;
  padding: 0 90px;
}

.home-navs .home-navs-item:last-child {
  border-right: 0;
}

.home-navs .home-navs-item .cover-box {
  width: 70px;
  height: 70px;
  margin-right: 10px;
}

.home-navs .home-navs-item .cover-box>img {
  width: 100%;
  height: 100%;
}

.home-navs .home-navs-item .title {
  margin-bottom: 12px;
  font-size: 20px;
}

.home-navs .home-navs-item .des {
  font-size: 14px;
}

/* Horizontal Swiper (嵌套在垂直swiper的第一个slide中) */
.horizontal-swiper-container {
  width: 100%;
  height: 100%;
}

.horizontal-swiper-container .swiper-wrapper {
  display: flex;
}

.horizontal-swiper-container .horizontal-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.horizontal-swiper-pagination {
  position: absolute;
  bottom: 50px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10;
}

.horizontal-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
  margin: 0 6px;
}

.horizontal-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #1faf88;
}

/* News Dynamic Page (Slide 2) */
.news-dynamic-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  box-sizing: border-box;
}

/* 上部：标题 */
.news-dynamic-header {
  text-align: center;

}

.news-dynamic-title {
  height: 80px;
  object-fit: contain;
}

/* 中部：文章轮播区域 */
.news-dynamic-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-swiper-container {
  width: 100%;
  height: 600px;
}

/* 文章卡片样式 */
.article-card {
  width: 428px !important;
  height: 570px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.article-cover {
  width: 428px;
  height: 240px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-info {
  padding: 45px;
  height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 20px;
  color: #31475e;
  margin: 0 0 8px 0;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.article-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #1faf88;
}

.article-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-date {
  font-size: 14px;
  color: #999;
}

.btn-view {
  padding: 8px 20px;
  border: 2px solid #1faf88;
  background: transparent;
  color: #1faf88;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-view:hover {
  background: #1faf88;
  color: #fff;
}

/* 下部：查看更多按钮 */
.news-dynamic-footer {}

.btn-more-news {
  padding: 15px 60px;
  background: #007F41;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31, 175, 136, 0.3);
  transition: all 0.3s ease;
}

.btn-more-news:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 175, 136, 0.4);
}

/* Magazine Subscription Page (Slide 3) */
.magazine-subscription-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
  box-sizing: border-box;
  justify-content: space-between;
}

.magazine-header {
  text-align: center;
  margin-bottom: 30px;
}

.magazine-title {
  height: 80px;
  object-fit: contain;
}

/* Tab按钮区域 */
.magazine-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  width: 240px;
  height: 80px;
  line-height: 80px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #007F41;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #007F41;
  border-color: #007F41;
  color: #fff;
  position: relative;
}

/* hover状态的倒三角形指示器 */
.tab-btn:hover::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #007F41;
}


.tab-btn.active {
  background: #007F41;
  border-color: #007F41;
  color: #fff;
  position: relative;
}

/* 选中状态的倒三角形指示器 */
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #007F41;
}

/* Tab内容区域 */
.magazine-content {
  width: 100%;
  max-width: 1200px;

}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.magazine-item {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.magazine-cover {
  flex-shrink: 0;
  width: 730px;
  height: 411px;
  overflow: hidden;
}

.magazine-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.magazine-info p span {
  color: #007F41;
}

.magazine-name {
  font-size: 32px;
  color: #007F41;
  margin: 0 0 20px 0;
  font-weight: 600;
}

.magazine-price {
  font-size: 16px;

  margin: 0 0 10px 0;
  font-weight: 500;
}

.magazine-period {
  font-size: 16px;
  color: #666;
  margin: 0 0 8px 0;
}

.magazine-desc {
  margin: 20px 0 30px 0;
}

.magazine-desc h4 {
  font-size: 18px;
  color: #007F41;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.magazine-desc p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.btn-subscribe {
  padding: 5px 20px;
  background: #007F41;
  color: #fff;
  border: none;
  border-radius: 64px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31, 175, 136, 0.3);
  transition: all 0.3s ease;
  align-self: flex-start;
  margin: 0 auto;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 175, 136, 0.4);
}

/* Purchase Methods Page (Slide 4) */
.purchase-methods-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  box-sizing: border-box;
  overflow-y: auto;
}

.purchase-section,
.ebook-section {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.header-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #1faf88, transparent);
  max-width: 300px;
}

.section-title {
  font-size: 36px;
  color: #31475e;
  margin: 0 30px;
  font-weight: 600;
}

/* 订购渠道区域 */
.purchase-channels {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 250px;
}

.channel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.channel-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.channel-icon.qr-code {
  width: 80px;
  height: 80px;
}

.channel-info h4 {
  font-size: 16px;
  color: #31475e;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.channel-link {
  font-size: 14px;
  color: #1faf88;
  text-decoration: none;
  transition: color 0.3s ease;
}

.channel-link:hover {
  color: #0d8a6b;
  text-decoration: underline;
}

/* 电子刊区域 */
.ebook-subtitle {
  text-align: center;
  font-size: 18px;
  color: #1faf88;
  margin: 0 0 30px 0;
}

.ebook-qr-container {
  display: flex;
  justify-content: center;
}

.ebook-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* About Reader Page (Slide 7) */
.about-reader-page {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 100px;
  box-sizing: border-box;
}

.reader-intro-content {
  max-width: 1200px;
  background: #fff;
  padding: 60px 80px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reader-intro-content p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
  margin: 0 0 25px 0;
  text-indent: 2em;
}

.reader-intro-content p:last-child {
  margin-bottom: 0;
}

.page2 {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

/* Contact Us Page (Slide 8) */
.contact-us-page {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d8a6b 0%, #065f46 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 100px 60px;
  box-sizing: border-box;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  height: 80px;
  object-fit: contain;
}

.contact-info-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  flex: 1;
}

.contact-column {
  flex: 1;
}

.contact-section-title {
  font-size: 24px;
  color: #fff;
  margin: 0 0 30px 0;
  font-weight: 600;
  padding-bottom: 15px;
  /* border-bottom: 2px solid rgba(255, 255, 255, 0.3); */
}

.contact-details p {
  font-size: 16px;
  color: #fff;
  line-height: 2.2;
  margin: 0 0 12px 0;
}

.contact-details .label {
  display: inline-block;
  min-width: 100px;
  font-weight: 500;
  opacity: 0.9;
}

/* 联系我们 slide 内完整布局 */
.contact-slide-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff; /* 顶部80px白色背景露出 */
}

.contact-slide-floating {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.contact-slide-wrapper .contact-us-page {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  padding-top: 220px;
  padding-bottom: 20px;
  justify-content: flex-start;
  overflow-y: auto;
}

.contact-slide-wrapper .contact-header {
  margin-bottom: 40px;
}

.contact-slide-wrapper .contact-info-container {
  max-width: 1200px;
}

.contact-slide-wrapper .contact-details p {
  margin-bottom: 8px;
}

.contact-slide-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  width: 100%;
  max-width: 1200px;
}

.contact-slide-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
  margin: 0;
}

.contact-slide-footer a {
  color: rgba(255,255,255,0.7);
}

.contact-slide-footer a:hover {
  color: #fff;
}

.page2-content {
  position: absolute;
  top: 25%;
  left: 0;
  right: 0;
  bottom: 10%;
}

.page2-title {
  width: 504px;
  height: 68px;
}

.timeline-img {
  position: absolute;
  top: 68px;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-img img {
  display: block;
}

.timeline-nav {
      position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 20%;
    top: 68%;
    transform: translateY(-50%);
    z-index: 9;
}

.timeline-nav.show {
  opacity: 1;
  display: block;
  transition: opacity 1s;
}

.timeline-nav.hide {
  display: none;
  transition: opacity .1s;
  opacity: 0;
}

.timeline-nav .tn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-nav .tn-item a {
  display: block;
  width: 126px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  color: #fff;
  border-radius: 4px;
}

.timeline-nav .tn-item.active a {
  background-color: #1faf88;
}

.timeline-nav .tn-item:after {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  margin: 13px 0;
  background-color: #fff;
}

.timeline-nav .tn-item:last-child:after {
  display: none;
}

/* Footer组件 */
.footer {
  padding: 82px 0;
  font-size: 14px;
  line-height: 26px;
  color: #f8f8f8;
  text-align: center;
  background: #1faf88;
}

.footer p {
  letter-spacing: 0;
}

.footer p a {
  color: #f8f8f8;
}

.footer p a:hover {
  text-decoration: underline;
}

/* DownloadApp组件 */
.download-app {
  position: fixed;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  width: 126px;
  text-align: center;
  background: #fff;
  box-shadow: 0 3px 16px 0 #e0e0e0;
  border-radius: 13px;
  border: 1px solid #f3f3f3;
  z-index: 99;
  overflow: hidden;
  box-sizing: border-box;
}

.download-label {
  padding: 5px 0;
  font-size: 12px;
  color: #fff;
  text-align: center;
  background-color: #1faf88;
}