* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 66px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(8px);
}

.nav {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
}

.brand img:first-child {
  width: 30px;
  height: 30px;
}

.brand-text {
  width: 48px;
  height: auto;
}

.nav-links {
  gap: 42px;
  color: #555;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  line-height: 34px;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #222;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 28px;
  height: 4px;
  background: #ffd33d;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .2s ease;
}

.nav-links a:hover::after,
.nav-links .active::after {
  opacity: 1;
}

.nav-links .download {
  position: static;
  min-width: 88px;
  height: 34px;
  padding: 0 16px;
  color: #262626;
  font-weight: 700;
  text-align: center;
  background: #ffd33d;
  border-radius: 17px;
}

.nav-links .download::after {
  display: none;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #fef6ed;
}

.hero-inner {
  width: min(1200px, calc(100% - 40px));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.hero-content {
  width: 560px;
}

.hero-title-img {
  width: 500px;
  height: auto;
  margin-bottom: 18px;
}

.hero-content p {
  width: 560px;
  margin: 0 0 20px;
  color: #333;
  font-size: 20px;
  line-height: 1.75;
}

.hero-phone {
  width: 220px;
  height: 445px;
  object-fit: contain;
}

.hero-download {
  display: inline-block;
  width: 120px;
  height: 42px;
  color: #262626;
  font-size: 14px;
  font-weight: 800;
  line-height: 42px;
  text-align: center;
  background: #ffd33d;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(255, 159, 0, .22);
}

.section {
  padding: 76px 0 86px;
}

.section-gray {
  background: #f6f7f9;
}

.section-title {
  margin-bottom: 46px;
  text-align: center;
}

.section-title.left {
  margin: 0 0 36px;
  text-align: left;
}

.section-title h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-title h2 span,
.company-text h2 span {
  color: #ff9f00;
}

.section-title p {
  margin: 0;
  color: #9a9a9a;
  font-size: 14px;
}

.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.team-card,
.news-card,
.contact-card {
  background: #fff; 
  border-radius: 8px; 
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
}

.feature-card {
  min-height: 214px;
  padding: 26px 24px 24px;
  text-align: center;
}

.feature-card img {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.feature-card h3,
.team-card h3,
.news-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  color: #343434;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.feature-card p,
.team-card p,
.news-card p {
  margin: 0;
  color: #262626;
  font-size: 13px;
}

.feature-card.compact {
  min-height: 178px;
  padding-top: 24px;
}

.feature-card.compact img {
  width: 68px;
  height: 68px;
}

.how-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 84px;
  align-items: center;
}

.how-img {
  width: 650px;
}

.how-labels {
  width: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  color: #333;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.steps {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 72px;
  padding-left: 58px;
  color: #262626;
  font-size: 13px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 2px;
  left: 0;
  width: 32px;
  height: 32px;
  color: #000000;
  font-weight: 800;
  line-height: 32px;
  text-align: center;
  background: #ffca2d;
  border-radius: 50%;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 16px;
}

.company {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 78px;
  align-items: center;
}

.company-text h2 {
  margin: 0 0 28px;
  color: #333;
  font-size: 30px;
  line-height: 1.3;
}

.company-text p {
  margin: 0 0 18px;
  color: #555;
  font-size: 14px;
  text-indent: 2em;
}

.company-img {
  width: 470px;
  border-radius: 8px; 
}

.team-card {
  min-height: 204px;
  padding: 28px 18px 22px;
  text-align: center;
}

.team-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
}

.culture-grid {
  row-gap: 32px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: -18px 0 36px;
}

.tabs button {
  min-width: 96px;
  height: 32px;
  padding: 0 22px;
  color: #262626;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  cursor: pointer;
}

.tabs button.active { 
  font-weight: 700;
  background: #ffd33d;
  border-color: #ffd33d;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 372 / 274;
  object-fit: cover;
}

.news-card div {
  padding: 22px 22px 24px;
}

.news-card h3 {
  font-size: 20px;
}

.news-card time {
  display: block;
  margin-bottom: 8px;
  color: #999;
  font-size: 13px;
}

.news-card a {
  display: inline-block;
  margin-top: 18px;
  color: #ff9500;
  font-size: 13px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-card {
  height: 100%;
  padding: 34px 34px 36px;
}

.contact-card h3 {
  margin-bottom: 26px;
  font-size: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item img {
  width: 34px;
  height: 34px;
}

.contact-item p {
  margin: 0;
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item strong {
  margin-bottom: 3px;
  color: #333;
}

.contact-item span {
  color: #262626;
  font-size: 13px;
  line-height: 1.6;
}

.map-placeholder {
  height: 210px;
  margin-top: 28px;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-card label {
  display: block;
  margin-bottom: 18px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.form-card label span {
  color: #ff9000;
}

.form-card input,
.form-card textarea {
  width: 100%;
  margin-top: 8px;
  padding: 0 16px;
  color: #333;
  font: inherit;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.form-card input {
  height: 44px;
}

.form-card textarea {
  height: 110px;
  padding-top: 12px;
  resize: none;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #ffca2d;
  box-shadow: 0 0 0 3px rgba(255, 202, 45, .18);
}

.form-card button {
  width: 100%;
  height: 44px;
  color: #262626;
  font-weight: 800;
  background: #ffd33d;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.footer {
  padding: 54px 0 24px;
  color: #6b4a00;
  background: #ffd03a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 80px;
  text-align: center;
}

.footer h2 {
  margin: 0 0 12px;
  color: #3c3100;
  font-size: 28px;
}

.footer p {
  margin: 0 0 28px;
  font-size: 16px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.store-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 126px;
  height: 38px;
  color: #333;
  font-weight: 700;
  background: #fff;
  border-radius: 6px;
}

.store-buttons img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.footer nav strong {
  margin-bottom: 4px;
  color: #3c3100;
  font-size: 16px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  color: #8a6a0d;
  font-size: 12px;
}

.expect-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .42);
}

.expect-modal.show {
  display: flex;
}

.expect-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 42px 34px 32px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  animation: modalIn .22s ease;
}

.expect-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  color: #999;
  font-size: 24px;
  line-height: 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.expect-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: #7a4d00;
  font-size: 24px;
  font-weight: 800;
  line-height: 64px;
  background: linear-gradient(180deg, #ffe17a 0%, #ffbf19 100%);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(255, 190, 25, .34);
}

.expect-dialog h3 {
  margin: 0 0 10px;
  color: #262626;
  font-size: 24px;
  line-height: 1.3;
}

.expect-dialog p {
  margin: 0 0 26px;
  color: #777;
  font-size: 14px;
}

.expect-confirm {
  width: 150px;
  height: 40px;
  color: #262626;
  font-weight: 800;
  background: #ffd33d;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.back-top {
  position: fixed;
  right: 36px;
  bottom: 36px;
  z-index: 90;
  width: 46px;
  height: 46px;
  color: #7a4d00;
  font-size: 24px;
  font-weight: 800;
  line-height: 46px;
  text-align: center;
  background: #ffd33d;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(255, 159, 0, .28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  box-shadow: 0 14px 30px rgba(255, 159, 0, .38);
  transform: translateY(-3px);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.brand,
.nav-links a,
.hero-download,
.form-card button,
.expect-confirm,
.tabs button,
.store-buttons a {
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}

.brand:hover,
.nav-links .download:hover,
.hero-download:hover,
.form-card button:hover,
.expect-confirm:hover,
.store-buttons a:hover {
  transform: translateY(-2px);
}

.hero-download:hover,
.form-card button:hover,
.expect-confirm:hover {
  box-shadow: 0 10px 24px rgba(255, 159, 0, .28);
}

.feature-card,
.team-card,
.news-card,
.company-img,
.map-placeholder,
.hero-phone,
.hero-title-img {
  transition: transform .32s ease, box-shadow .32s ease, filter .32s ease;
}

.feature-card:hover,
.team-card:hover,
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(255, 159, 0, .14);
}

.news-card:hover img,
.company-img:hover,
.map-placeholder:hover img {
  transform: scale(1.03);
}

.news-card img,
.map-placeholder img {
  transition: transform .36s ease;
}

.hero-phone:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .14));
}

.tabs button:hover {
  border-color: #ffd33d;
  transform: translateY(-2px);
}

.animate-hidden {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms);
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  animation: fadeInLeft .75s ease both;
}

.hero-phone {
  animation: fadeInRight .75s ease .12s both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .animate-hidden {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header,
  .nav {
    height: auto;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
  }

  .hero {
    height: auto;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
    padding: 44px 0;
    text-align: center;
  }

  .hero-content,
  .hero-content p {
    width: 100%;
  }

  .hero-title-img {
    width: min(500px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phone {
    width: 170px;
    height: auto;
  }

  .card-grid.three,
  .card-grid.four,
  .news-grid,
  .how-wrap,
  .company,
  .contact,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0 64px;
  }

  .how-wrap,
  .company {
    gap: 34px;
  }

  .steps {
    margin-top: 0;
  }

  .company-img,
  .how-img {
    width: 100%;
  }

  .how-labels {
    width: 100%;
    font-size: 16px;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .footer nav {
    align-items: center;
    text-align: center;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    height: auto;
  }

  .hero-inner {
    padding: 34px 0 40px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-download {
    width: 96px;
    height: 32px;
    font-size: 13px;
    line-height: 32px;
  }

  .section-title h2,
  .company-text h2,
  .footer h2 {
    font-size: 24px;
  }

  .feature-card,
  .team-card,
  .contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .back-top {
    right: 18px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
  }
}
