*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #fff;
  color-scheme: light;
}

body {
  margin: 0;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #2563eb;
}

.site-container {
  max-width: 2400px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  margin: 0 30px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.company-name {
  flex: 0 0 20%;
  text-align: right;
  padding: 6px;
  font-weight: 600;
}

.site-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 12px 16px;
  color: #303133;
}

.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link.is-active {
  color: #409eff;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e4e7ed;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 4px 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 20px;
}

.main-content {
  min-height: 60vh;
  padding: 20px 30px 40px;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
}

.page-title-row {
  margin-bottom: 24px;
}

.page-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 80px;
  margin: 0;
}

.title-bar-img {
  width: 30px;
  height: 10px;
  display: block;
}

.cartoon-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 40px 0 120px;
  gap: 16px;
}

.cartoon-item {
  flex: 1 1 22%;
  min-width: 200px;
}

.cartoon-item-inner {
  width: 75%;
  margin-left: 12px;
  float: right;
}

.cartoon-item img {
  height: 360px;
  width: auto;
  max-width: 100%;
  display: block;
}

.cartoon-text {
  font-size: 20px;
  color: #737373;
  display: block;
  margin-top: 8px;
}

.home-container {
  height: 800px;
  background-image: url(../src/assets/index.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-title {
  font-size: 48px;
  transform: translateX(-30rem);
}

.home-contact-box {
  font-size: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  transform: translateX(-45rem);
  margin-top: 2rem;
}

.carousel-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 560px;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  height: 560px;
}

.carousel-slide.is-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.carousel-slide-left {
  flex: 0 0 40%;
  padding-left: 72px;
}

.title-img {
  height: 80px;
  width: 80px;
}

.product-name {
  font-size: 18px;
  font-weight: 800;
  margin-top: 80px;
}

.product-desc {
  margin-top: 40px;
  margin-left: 8px;
  text-align: left;
  line-height: 1.8;
}

.download-row {
  display: flex;
  margin-top: 96px;
  align-items: flex-start;
}

.download-img1,
.download-img2 {
  width: 140px;
  height: 36px;
}

.download-code-img1,
.download-code-img2 {
  width: 140px;
  display: none;
}

.hover1:hover .download-code-img1 {
  display: block;
}

.hover2:hover .download-code-img2 {
  display: block;
}

.carousel-slide-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ab-img1 {
  height: 500px;
  width: 550px;
  max-width: 100%;
}

.ab-img2 {
  height: 500px;
  width: 680px;
  max-width: 100%;
}

.ab-img3 {
  height: 500px;
  width: 500px;
  max-width: 100%;
}

.carousel-dots {
  text-align: center;
  margin-top: 12px;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c0c4cc;
  margin: 0 4px;
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.is-active {
  background: #409eff;
}

.legal-column {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #475569;
  padding: 40px;
  font-size: 14px;
  line-height: 1.7;
}

.company-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.company-text-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.company-text-inner {
  width: 50%;
  text-align: left;
}

.company-img-col {
  flex: 1 1 45%;
}

.company-img-col img {
  width: 75%;
  border-radius: 16px;
}

.welfare-layout {
  display: flex;
  flex-wrap: wrap;
}

.welfare-title-col {
  width: 320px;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-top: 40px;
}

.welfare-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  margin: 40px 80px;
}

.welfare-card {
  width: 33.333%;
  min-height: 264px;
  padding: 16px;
  text-align: left;
}

.welfare-card.bg-stone-200 {
  background: #e7e5e4;
}

.welfare-card.bg-stone-50 {
  background: #fafaf9;
}

.welfare-num {
  font-size: 96px;
  color: #9ca3af;
  line-height: 1;
}

.welfare-card-title {
  font-size: 24px;
  font-weight: 700;
}

.welfare-card-desc {
  font-size: 20px;
}

.business-page {
  background-image: url(../src/assets/bg-index.png);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  min-height: 400px;
}

.business-layout {
  display: flex;
  flex-wrap: wrap;
}

.business-title-col {
  width: 33%;
  display: flex;
  justify-content: flex-end;
}

.business-content {
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.business-block {
  margin-bottom: 48px;
  text-align: left;
  width: 320px;
}

.consult-page {
  background: #e2e8f0;
  padding: 40px 0;
  margin: -20px -30px 0;
  padding-left: 30px;
  padding-right: 30px;
}

.consult-layout {
  display: flex;
  flex-wrap: wrap;
}

.consult-left {
  width: 50%;
}

.consult-right {
  width: 50%;
}

.consult-form-box {
  width: 480px;
  max-width: 100%;
  background: #f8fafc;
  padding: 40px;
  font-size: 18px;
}

.consult-form-box input,
.consult-form-box textarea {
  width: 100%;
  margin: 8px 0;
  padding: 8px 12px;
  font: inherit;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
}

.consult-form-box textarea {
  min-height: 100px;
  resize: vertical;
}

.consult-submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: red;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.contact-info {
  margin-left: 120px;
  font-size: 20px;
}

#map-container {
  width: 100%;
  height: 400px;
  margin-top: 24px;
}

.site-footer {
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #64748b;
  padding: 24px;
  text-align: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .home-title,
  .home-contact-box {
    transform: none;
  }

  .cartoon-grid {
    padding: 0 16px;
  }

  .consult-left,
  .consult-right {
    width: 100%;
  }
}
