:root {
  --container: 1200px;
  --nav-width: 1120px;
  --page-width: 920px;
  --text: #222222;
  --muted: #9b9b9b;
  --line: #efefef;
  --red: #ff5659;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 115px;
  min-width: 345px;
  color: var(--text);
  background: #ffffff;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

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

.page-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  height: 115px;
  display: flex;
  align-items: center;
}

.nav-wrap a:first-child {
  margin-right: 50px;
}

.nav-wrap img {
  width: 160px;
  height: auto;
}

.mobile-menu-btn {
  display: none;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
}

.site-nav a {
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #F84848;
}

.site-nav a.active {
  color: #000000;
}

.nav-cta {
  height: 55px;
  min-width: 143px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  color: #6f6f6f;
  transition: all 0.3s ease;
}

.nav-cta:hover,
.nav-cta:focus {
  border-color: #F84848;
  color: #F84848;
}

.download-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 26px;
}

.download-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -26px;
  width: 720px;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 136, 136, 0.24) 0%, rgba(255, 136, 136, 0.12) 34%, rgba(255, 136, 136, 0) 72%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.app-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  object-fit: cover;
  object-position: left center;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(211, 90, 97, 0.12);
}

.hero-panel h1 {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
}

.hero-tip {
  margin: 12px 0 0;
  font-size: 16px;
  color: #9d9d9d;
}

.primary-action-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-os-btn {
  min-width: 291px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.primary-os-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.primary-os-btn small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.primary-os-btn.android {
  background: linear-gradient(90deg, #ff5c5e 0%, #ff4f50 100%);
  transition: all 0.3s ease;
}

.primary-os-btn.android:hover,
.primary-os-btn.android:focus {
  background: linear-gradient(90deg, #F84848 0%, #e03e3e 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(248, 72, 72, 0.3);
}

.primary-os-btn.ios {
  background: #202020;
  transition: all 0.3s ease;
}

.primary-os-btn.ios:hover,
.primary-os-btn.ios:focus {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.secondary-action-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-action-row a {
  min-width: 196px;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #ccc;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333333;
  background: rgba(255, 255, 255, 1);
  transition: all 0.3s ease;
}

.secondary-action-row a:hover,
.secondary-action-row a:focus {
  border-color: #F84848;
  color: #F84848;
  box-shadow: 0 4px 12px rgba(248, 72, 72, 0.15);
}

.metrics-row {
  width: min(100%, 900px);
  margin: 42px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.metric-card {
  flex: 1;
  text-align: center;
}

.metric-label {
  font-size: 13px;
  color: #b6b6b6;
  letter-spacing: 0.08em;
}

.metric-value {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #1f1f1f;
}

.metric-sub {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.metric-stars {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #222222;
}

.qr-card {
  flex: 0 0 110px;
}

.qr-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

.banner-row {
  width: min(100%, 900px);
  margin: 75px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.banner-row img {
  width: 100%;
  height: auto;
}

.intro-section {
  padding: 40px 0 72px;
}

.intro-shell {
  width: min(calc(100% - 48px), 980px);
  border-top: 1px solid #f0f0f0;
  padding-top: 28px;
}

.intro-shell h2 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
}

.intro-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-list li {
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  line-height: 2;
  color: #333;
}

.intro-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #444444;
}

.site-footer {
  padding: 50px 0 50px;
  margin-top: 0;
  border-top: 1px solid #dddddd;
  background: #F6F6F6;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-company {
  color: #9b9b9b;
}

.footer-agreements {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 17px;
  color: #313131;
}

.footer-agreements a {
  transition: color 0.3s ease;
}

.footer-agreements a:hover,
.footer-agreements a:focus {
  color: #F84848;
}

.footer-company p {
  margin: 0 0 8px;
}

.company-name {
  font-size: 17px;
  color: #999;
}

.company-en,
.company-address {
  font-size: 14px;
  color: #999;
}

.footer-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9E9E9E;
  font-size: 12px;
}

.footer-qr-box img {
  width: 120px;
  height: 120px;
}

.company-footer {
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  gap: 12px;
  font-size: 14px;
  color: #999999;
}

.company-footer span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #999999;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 24px;
    font-size: 15px;
  }

  .metrics-row,
  .banner-row {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .site-header {
    height: 70px;
  }

  .nav-wrap {
    height: 70px;
    padding: 0 16px;
    justify-content: space-between;
  }

  .nav-wrap a:first-child {
    margin-right: 0;
  }

  .nav-wrap img {
    width: 120px;
    height: auto;
  }

  .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0f0f0;
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .site-nav a:hover {
    background-color: #f8f8f8;
  }

  .nav-cta {
    display: none;
  }

  .download-hero {
    padding: 30px 0 40px;
  }

  .hero-panel {
    padding: 0px;
  }

  .app-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
  }

  .hero-panel h1 {
    font-size: 20px;
    margin: 0 0 12px;
  }

  .hero-tip {
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.6;
  }

  .primary-action-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
  }

  .primary-os-btn {
    flex: 1;
    min-width: 0;
    height: 52px;
    font-size: 15px;
  }

  .secondary-action-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
  }

  .secondary-action-row a {
    min-width: 0;
    height: 48px;
    font-size: 13px;
  }

  .metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0px;
    margin-bottom: 30px;
  }

  .metric-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 130px;
    text-align: center;
  }

  .metric-card.qr-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: auto;
  }

  .qr-card img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 4px;
    border-radius: 8px;
  }

  .banner-row {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
  }

  .banner-row::-webkit-scrollbar {
    display: none;
  }

  .banner-row img {
    flex: 0 0 calc(85% - 6px);
    max-width: 280px;
    border-radius: 12px;
    scroll-snap-align: center;
  }

  .intro-section {
    padding: 40px 0 30px;
    margin-top: 20px;
    background: #fafafa;
    border-radius: 20px 20px 0 0;
  }

  .intro-shell {
    padding: 0 16px;
  }

  .intro-shell h2 {
    font-size: 22px;
    margin-bottom: 24px;
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
    color: #1a1a1a;
  }

  .intro-list li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 20px;
  }

  .site-footer {
    padding: 30px 0;
  }

  .footer-bottom,
  .company-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
  }

  .footer-agreements {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-agreements a {
    font-size: 14px;
  }

  .footer-qr-box img {
    width: 100px;
    height: 100px;
  }

  .company-footer {
    height: auto;
    padding: 16px;
  }

  .company-footer span {
    display: none;
  }
}
