@font-face {
  font-family: 'Racing Sans One';
  src: url("./fonts/RacingSansOne-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PingFang SC';
  src: local("PingFang SC"), local("PingFangSC-Regular"), url("./fonts/PingFang-SC-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
}

a {
  cursor: pointer;
  text-decoration: none;
  outline-style: none;
}

.pc_hide {
  display: block;
}

.mb_hide {
  display: none !important;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  margin: auto;
  position: relative;
}

#header {
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

#header.active {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#header .header_top {
  width: 100%;
  height: 40px;
  background: #F8F8F8;
}

#header .header_top .header_top_box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#header .header_top .header_top_box .left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}

#header .header_top .header_top_box .left span {
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  /* 214.286% */
}

#header .header_top .header_top_box .left a {
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-decoration: underline;
}

#header .header_top .header_top_box .right {
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

#header .header_top .header_top_box .right a {
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

#header .header_bot {
  width: 100%;
  height: 80px;
  background: #fff;
}

#header .header_bot .header_bot_box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#header .header_bot .header_bot_box .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

#header .header_bot .header_bot_box .logo > a {
  display: inline-block;
  width: auto;
  height: 40px;
}

#header .header_bot .header_bot_box .logo > a img {
  width: auto;
  height: 40px;
}

#header .header_bot .header_bot_box .logo .menu ul {
  height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

#header .header_bot .header_bot_box .logo .menu ul li {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

#header .header_bot .header_bot_box .logo .menu ul li a {
  color: #111;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  transition: all 0.3s ease;
}

#header .header_bot .header_bot_box .logo .menu ul li a:hover {
  color: #2BA275;
}

#header .header_bot .header_bot_box .logo .menu ul li.active a {
  color: #2BA275;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child:hover > a {
  color: #2BA275;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child:hover > a::before {
  background: #2BA275;
  transform: translateY(-50%) rotate(0deg);
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child:hover > a::after {
  background: #2BA275;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child.active a::before {
  background: #2BA275;
  transform: translateY(-50%) rotate(0deg);
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child.active a::after {
  background: #2BA275;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child > a {
  padding-right: 20px;
  position: relative;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child > a::before {
  content: "";
  width: 14px;
  height: 2px;
  background: #111;
  position: absolute;
  top: 50%;
  right: 0px;
  border-radius: 4px;
  transform: translateY(-50%) rotate(90deg);
  transition: all 0.3s ease;
}

#header .header_bot .header_bot_box .logo .menu ul li.has_child > a::after {
  content: "";
  width: 14px;
  height: 2px;
  background: #111;
  position: absolute;
  top: 50%;
  right: 0px;
  border-radius: 4px;
  transform: translateY(-50%);
}

#header .header_bot .header_bot_box .lan_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

#header .header_bot .header_bot_box .lan_box .lan_login {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header .header_bot .header_bot_box .lan_box .lan_login a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#header .header_bot .header_bot_box .lan_box .lan_login a img {
  width: 18px;
  height: 18px;
}

#header .header_bot .header_bot_box .lan_box .lan_login a span {
  color: #111;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

#header .header_bot .header_bot_box .lan_box .lan_left {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header .header_bot .header_bot_box .lan_box .lan_left a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#header .header_bot .header_bot_box .lan_box .lan_left a img {
  width: 18px;
  height: 18px;
}

#header .header_bot .header_bot_box .lan_box .lan_left a p {
  color: #111;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

#header .header_bot .header_bot_box .lan_box .lan_left a p span {
  color: #999;
}

#header .header_bot .header_bot_box .lan_box .lan_sea {
  width: 40px;
  height: 40px;
}

#header .header_bot .header_bot_box .lan_box .lan_sea a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

#header .header_bot .header_bot_box .lan_box .lan_sea a img {
  width: 100%;
  height: 100%;
}

#header .menu ul li.has_child {
  position: relative;
}

#header .header-mega {
  display: none;
  position: fixed;
  background: #fff;
  left: 0;
  top: 120px;
  z-index: 999;
  width: 100vw;
  padding: 40px 0 48px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

#header .menu ul li.has_child:hover .header-mega {
  display: block;
}

#header .header-mega-inner {
  width: 1600px;
  margin: 0 auto;
  padding: 48px 0px;
  display: flex;
  gap: 80px;
  background: #fff;
}

#header .header-mega-col-intro {
  flex: 0 0 248px;
}

#header .header-mega-title {
  color: #111;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

#header .header-mega-desc {
  color: #656565;
  font-size: 16px;
  line-height: 1.75;
}

#header .header-mega-subtitle {
  color: #333;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
}

#header .header-mega-links {
  width: 100%;
  height: auto !important;
  list-style: none;
  display: flex;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 0 !important;
}

#header .header-mega-links li {
  height: auto !important;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  justify-content: space-between !important;
}

#header .header-mega-links li:last-child {
  border-bottom: none;
}

#header .header-mega-links li a {
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#header .header-mega-links li a:hover {
  color: #2BA275;
}

#header .header-mega-arrow {
  color: #666;
  font-size: 14px;
}

#header .header-mega-col:not(.header-mega-col-intro) {
  flex: 0 0 300px;
}

#header .header-mega-col:last-child {
  flex: 0 0 371px;
}

#header .header-mega-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#header .header-mega-card {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
}

#header .header-mega-card:hover .header-mega-card-title {
  color: #2BA275;
}

#header .header-mega-card-img {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
}

#header .header-mega-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#header .header-mega-card-content {
  flex: 1;
  min-width: 0;
}

#header .header-mega-card-title {
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.2s;
}

#header .header-mega-card-link {
  color: #666;
  font-size: 13px;
}

#footer {
  width: 100%;
  height: auto;
  /* CSS for section section:Footer */
  /* Column 1 */
  /* Columns 2 & 3 */
  /* Column 4: Interaction */
  /* Merged Book Card Styling */
  /* Friend Links */
  /* Bottom Bar */
  /* Responsive */
}

#footer #section-cta {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .cta-wrapper {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#footer .cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

#footer .cta-text h2 {
  color: #fff;
  font-size: 46px;
  line-height: 1.4;
  font-weight: 700;
}

#footer .cta-button {
  background-color: #FFDA2C;
  border-radius: 36px;
  padding: 20px 32px 20px 48px;
  display: inline-flex;
  align-items: center;
  height: 60px;
  transition: transform 0.2s ease;
}

#footer .btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

#footer .btn-content span {
  color: #000;
  font-weight: 700;
  font-size: 16px;
}

#footer .icon-arrow {
  width: 25px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .icon-arrow img {
  width: 100%;
  height: 100%;
}

#footer .cta-gradients {
  height: 100%;
  width: 100%;
  pointer-events: none;
}

@media (max-width: 1024px) {
  #footer #section-cta {
    height: auto;
    padding: 60px 0;
  }
  #footer .cta-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  #footer .cta-gradients {
    opacity: 0.3;
  }
}

#footer #section-footer {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  font-size: 14px;
}

#footer .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

#footer .footer-main {
  padding-top: 88px;
  padding-bottom: 40px;
}

#footer .footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

#footer .col-info {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#footer .logo {
  display: inline-block;
  margin-bottom: 32px;
  height: 32px;
}

#footer .address {
  text-align: left;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

#footer .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

#footer .contact-item .icon {
  width: 18px;
  height: 18px;
}

#footer .col-services,
#footer .col-solutions {
  max-width: 240px;
}

#footer .footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

#footer .text-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#footer .text-list a {
  color: #333;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  /* 257.143% */
}

#footer .col-interaction {
  flex: 1;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#footer .interaction-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#footer .text-group {
  flex: 1;
  padding-right: 20px;
}

#footer .text-group h3 {
  margin-bottom: 12px;
}

#footer .text-group p {
  color: var(--color-text-main);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

#footer .qr-image img {
  width: 140px;
  height: 140px;
}

#footer .btn-black {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #000;
  color: #fff;
  padding: 0 24px;
  height: 50px;
  border-radius: 25px;
  font-size: 16px;
}

#footer .btn-black img {
  width: 12px;
}

#footer .book-card-container {
  position: relative;
  width: 140px;
  height: 200px;
  flex-shrink: 0;
  background: url(../img/footer_item1.png) no-repeat;
  background-size: 100% 100%;
}

#footer .book-card-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* style_16 */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#footer .book-cover-text {
  position: absolute;
  top: 17px;
  left: 21px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  z-index: 2;
}

#footer .book-year {
  position: absolute;
  bottom: 20px;
  left: 21px;
  font-size: 14px;
  color: #333;
  z-index: 2;
}

#footer .book-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  z-index: 2;
}

#footer .book-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

#footer .friend-links {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
}

#footer .friend-links .label {
  font-weight: 700;
  color: var(--color-text-dark);
}

#footer .links-list {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

#footer .links-list a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

#footer .links-list a:hover {
  color: var(--color-text-dark);
}

#footer .footer-bottom {
  background-color: #F2F2F2;
  padding: 20px 0;
}

#footer .bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

#footer .footer_b_l {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 67px;
}

#footer .copyright {
  color: var(--color-text-dark);
}

#footer .bottom-links {
  display: flex;
  gap: 40px;
}

#footer .bottom-links a {
  color: var(--color-text-dark);
}

#footer .social-icons {
  display: flex;
  gap: 12px;
}

#footer .social-icons img {
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: opacity 0.2s;
}

#footer .social-icons img:hover {
  opacity: 0.8;
}

@media (max-width: 1200px) {
  #footer .footer-columns {
    gap: 30px;
  }
  #footer .col-interaction {
    max-width: 100%;
    flex-basis: 100%;
    flex-direction: row;
    gap: 40px;
  }
  #footer .interaction-row {
    flex: 1;
  }
}

@media (max-width: 768px) {
  #footer .footer-columns {
    flex-direction: column;
  }
  #footer .col-info,
  #footer .col-services,
  #footer .col-solutions,
  #footer .col-interaction {
    max-width: 100%;
  }
  #footer .col-interaction {
    flex-direction: column;
  }
  #footer .friend-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  #footer .links-list {
    gap: 20px;
  }
  #footer .bottom-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pagebox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagebox .spage-total {
  line-height: 24px;
}

.pagebox .spage-number button {
  border: none;
  width: 36px;
  height: 36px;
  background: transparent;
  padding: 0;
  margin: 0 8px;
  line-height: 24px;
  color: #989898;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  vertical-align: middle;
}

.pagebox .spage-number button:hover {
  background: transparent;
}

.pagebox .spage-number button:last-child {
  width: 7px;
  height: 12px;
}

.pagebox .spage-number button:last-child img {
  width: 100%;
  height: 100%;
}

.pagebox .spage-number button:first-child {
  width: 7px;
  height: 12px;
}

.pagebox .spage-number button:first-child img {
  width: 100%;
  height: 100%;
}

.pagebox .spage-number button.active {
  border: 1px solid #111;
  border-radius: 50%;
  color: #111;
}

.float-widget {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-widget-item {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-widget-item:hover {
  background: #2BA275;
}

.float-widget-item:hover img:first-child {
  display: none;
}

.float-widget-item:hover img:last-child {
  display: block;
}

.float-widget-item img {
  width: 20px;
  height: 20px;
}

.float-widget-item img:first-child {
  display: block;
}

.float-widget-item img:last-child {
  display: none;
}

.float-widget-item2 {
  position: relative;
}

.float-widget-item2:hover .item_qr {
  display: flex;
}

.float-widget-item2 .item_qr {
  position: absolute;
  right: 60px;
  top: 0;
  width: 140px;
  height: 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 8px;
}

.float-widget-item2 .item_qr::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 16px;
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.12));
}

.float-widget-item2 .item_qr p {
  color: #333;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 133.333% */
}

.float-widget-item2 .item_qr img {
  display: block;
  width: 100px;
  height: 100px;
}

.float-widget-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.float-widget-btn svg {
  width: 22px;
  height: 22px;
  color: #333;
}

.float-widget-btn:hover {
  background: #f5f5f5;
  border-color: #ddd;
}

.float-widget-qr {
  background: #2BA275;
  border-color: #2BA275;
}

.float-widget-qr svg {
  color: #fff;
}

.float-widget-qr:hover {
  background: #249a6a;
  border-color: #249a6a;
}

.float-widget-top {
  background: #fff;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.float-widget-top.visible {
  opacity: 1;
}

.float-widget-qr-wrap {
  position: relative;
}

.float-widget-popup {
  display: none;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.float-widget-popup.show {
  display: block;
}

.float-widget-popup-title {
  color: #111;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}

.float-widget-popup-subtitle {
  color: #111;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.float-widget-popup-qr {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.float-widget-popup-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .float-widget {
    right: 16px;
    bottom: 60px;
  }
  .float-widget-btn {
    width: 44px;
    height: 44px;
  }
  .float-widget-btn svg {
    width: 20px;
    height: 20px;
  }
  .float-widget-popup {
    right: 52px;
    width: 160px;
    padding: 20px;
  }
  .float-widget-popup-qr {
    width: 100px;
    height: 100px;
  }
}
