@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink-bg: #FBE7E5;
  --pink-soft: #FDF3F1;
  --pink: #F4B8B3;
  --pink-deep: #E8A5A0;
  --pink-text: #D48C87;
  --pink-text-deep: #C37B76;
  --white: #FFFFFF;
  --text: #4A3B3B;
  --text-sub: #8A7878;
  --line: #F1D6D3;
  --shadow: 0 18px 40px rgba(232, 165, 160, 0.28);
  --shadow-sm: 0 10px 24px rgba(232, 165, 160, 0.18);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--pink-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 243, 241, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.logo-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 16px;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--pink-text-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--pink-soft) 0%, var(--pink-bg) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1 1 50%;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pink-text-deep);
  line-height: 1.2;
}

.hero-slogan {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.hero-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-sub);
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-android {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(232, 165, 160, 0.45);
}

.btn-android:hover {
  box-shadow: 0 16px 30px rgba(232, 165, 160, 0.55);
}

.btn-apple {
  background: var(--white);
  color: var(--pink-text-deep);
  border: 1px solid var(--pink);
  box-shadow: var(--shadow-sm);
}

.btn-apple:hover {
  box-shadow: 0 14px 28px rgba(232, 165, 160, 0.3);
}

.icon-android,
.icon-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-android::before,
.icon-apple::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-android::before {
  background-image: url("../fonts/安卓.svg");
}

.icon-apple::before {
  background-image: url("../fonts/苹果.svg");
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta li {
  padding: 6px 16px;
  background: var(--white);
  border-radius: 30px;
  font-size: 14px;
  color: var(--pink-text-deep);
  box-shadow: var(--shadow-sm);
}

.hero-phones {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.phone {
  background: var(--white);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone img {
  border-radius: 20px;
  width: 180px;
  height: 360px;
  object-fit: cover;
}

.phone-main {
  padding: 12px;
  transform: translateY(-16px);
  z-index: 2;
}

.phone-main img {
  width: 200px;
  height: 400px;
}

.phone-side {
  transform: translateY(16px);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
}

.section-sub {
  margin-top: 10px;
  text-align: center;
  color: var(--text-sub);
  font-size: 16px;
}

.features {
  padding: 80px 0;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--pink-soft);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 40px;
  line-height: 1;
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 20px;
  color: var(--text);
}

.feature-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.screenshots {
  padding: 80px 0;
  background: var(--pink-bg);
}

.shot-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 4px 12px;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.shot img {
  width: 230px;
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.scrollbar {
  position: relative;
  width: 260px;
  height: 8px;
  margin: 24px auto 0;
  background: var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.scrollbar-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 70px;
  height: 14px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
  border-radius: 10px;
  cursor: grab;
}

.download {
  padding: 80px 0;
  background: var(--white);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--pink-soft);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.step h3 {
  margin-top: 18px;
  font-size: 20px;
  color: var(--text);
}

.step p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

.footer {
  padding: 36px 0;
  background: var(--pink-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-sub);
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    flex: 1 1 auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .hero-meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--pink-soft);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.open {
    max-height: 320px;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    border-top: 1px solid var(--line);
  }

  .nav-menu li:first-child a {
    border-top: none;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .phone img {
    width: 120px;
    height: 250px;
  }

  .phone-main img {
    width: 140px;
    height: 285px;
  }

  .phone-side {
    display: none;
  }

  .section-title {
    font-size: 28px;
  }

  .features,
  .screenshots,
  .download {
    padding: 56px 0;
  }

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

  .shot img {
    width: 200px;
    height: 430px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-slogan {
    font-size: 18px;
  }

  .btn {
    padding: 13px 24px;
    font-size: 15px;
  }

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