:root {
  --bg: #f3f4f8;
  --surface: #ffffff;
  --text: #2f3440;
  --muted: #7b8190;
  --accent: #8bd14e;
  --accent-dark: #63be2d;
  --accent-soft: #dff5c8;
  --footer: #373c45;
  --shadow: 0 24px 60px rgba(32, 39, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  padding-top: 76px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1180px) / 2 + 24px)) 12px max(58px, calc((100vw - 1180px) / 2 + 34px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: #fafafa;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn {
  min-width: 38px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #f5f7fa;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #1f2430;
  font-weight: 700;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas:
    "copy visual"
    "cards cards";
  gap: 20px;
  row-gap: 16px;
  align-items: start;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -9999px;
  left: 58%;
  height: 850px;
  background: linear-gradient(180deg, #8dd652 0%, #90d05d 100%);
  z-index: -3;
}

.hero-copy {
  grid-area: copy;
  padding: 80px 0 48px 34px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(139, 209, 78, 0.14);
  font-size: 13px;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.intro-content {
  max-width: 620px;
  margin-bottom: 34px;
}

.intro-content p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.intro-lead {
  padding-left: 16px;
  border-left: 3px solid rgba(139, 209, 78, 0.5);
}

.intro-grid {
  grid-area: cards;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-top: 0;
  margin-bottom: 42px;
}

.intro-block {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(39, 45, 54, 0.06);
}

.intro-block h2 {
  margin: 0 0 12px;
  padding-right: 54px;
  font-size: 20px;
  color: var(--text);
}

.intro-block p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.85;
}

.intro-block p:last-child {
  margin-bottom: 0;
}

.intro-block strong {
  color: var(--text);
}

.intro-index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: rgba(139, 209, 78, 0.26);
}

.download-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.download-card {
  width: 160px;
  padding: 10px 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(39, 45, 54, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(39, 45, 54, 0.12);
}

.download-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.download-card span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -2;
}

.bg-circle-large {
  width: 760px;
  height: 760px;
  right: -110px;
  top: -20px;
  background: rgba(222, 246, 206, 0.62);
}

.bg-circle-small {
  width: 500px;
  height: 500px;
  right: 40px;
  top: 110px;
  background: rgba(255, 255, 255, 0.18);
}

.float-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}

.dot-left-top {
  width: 22px;
  height: 22px;
  left: 46px;
  top: 114px;
}

.dot-center-top {
  width: 25px;
  height: 25px;
  left: 258px;
  top: 90px;
}

.dot-left-bottom {
  width: 21px;
  height: 21px;
  left: 132px;
  bottom: 160px;
}

.dot-center-bottom {
  width: 20px;
  height: 20px;
  left: 356px;
  bottom: 122px;
}

.dot-accent {
  width: 64px;
  height: 64px;
  left: 312px;
  bottom: 72px;
  background: #f0c55d;
}

.phone-mockup {
  position: absolute;
  top: 32px;
  right: 150px;
  width: 288px;
  height: 590px;
  padding: 12px;
  border-radius: 42px;
  background: #fcfcfc;
  box-shadow: 0 30px 48px rgba(77, 94, 62, 0.24);
}

.phone-notch {
  width: 84px;
  height: 8px;
  border-radius: 999px;
  background: #16171a;
  margin: 10px auto 16px;
}

.phone-screen {
  height: calc(100% - 36px);
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(39, 45, 54, 0.05);
}

.app-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-shot-main {
  object-position: center top;
}

.login-card {
  position: absolute;
  top: 64px;
  right: 30px;
  width: 238px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.app-shot-side {
  border-radius: 10px;
}

.features {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(39, 45, 54, 0.06);
}

.feature-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.footer {
  background: var(--footer);
  color: #fff;
  text-align: center;
  padding: 20px 16px 24px;
  font-size: 14px;
}

.footer p {
  margin: 6px 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "cards";
    padding-bottom: 24px;
  }

  .hero::before {
    top: 240px;
    left: -9999px;
    right: -9999px;
    height: 560px;
  }

  .hero-copy {
    padding: 56px 0 10px;
  }

  .hero-copy h1,
  .intro-content {
    max-width: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 680px;
  }

  .phone-mockup {
    right: 50%;
    margin-right: -50px;
  }

  .login-card {
    right: 50%;
    margin-right: -220px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: 100%;
    padding: 14px;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    gap: 18px;
    color: #fafafa;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    width: calc(100% - 28px);
    min-height: auto;
  }

  .hero::before {
    height: 500px;
  }

  .hero-copy {
    padding: 34px 0 0;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .intro-grid {
    gap: 14px;
  }

  .intro-block {
    padding: 18px 16px 16px;
  }

  .intro-block h2 {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 820px;
  }

  .phone-mockup {
    top: 70px;
    right: 50%;
    width: 258px;
    height: 530px;
    margin-right: -50px;
  }

  .login-card {
    top: 470px;
    right: 50%;
    width: min(250px, calc(100% - 48px));
    margin-right: -125px;
  }

  .dot-center-top,
  .dot-center-bottom,
  .dot-accent {
    display: none;
  }

  .features {
    width: calc(100% - 28px);
  }
}
