:root {
  --pink-light: #ffe5f1;
  --pink-mid: #ffb8d9;
  --purple-light: #e8d6ff;
  --purple-mid: #c5a3ff;
  --blue-sky: #b8e4ff;
  --text-dark: #2d2143;
  --text-gray: #6e5f85;
  --white: #ffffff;
  --btn-ios: linear-gradient(135deg, #ff9ec6, #d68fff);
  --btn-android: linear-gradient(135deg, #9be3ff, #87baff);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--blue-sky) 0%, var(--pink-light) 30%, var(--purple-light) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(180, 150, 210, 0.15);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 32px; width: auto; border-radius: 8px; }
.brand-name { font-size: 18px; font-weight: 700; background: linear-gradient(90deg, #e86aa8, #8f6dff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links {
  display: none;
  gap: 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-gray);
}
.nav-links a:hover { color: #b65b9e; }
.nav-toggle { background: none; border: none; font-size: 22px; color: var(--text-dark); cursor: pointer; padding: 4px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 12px;
  background: var(--white); padding: 16px;
  position: absolute; top: 100%; left: 0; right: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-size: 15px; color: var(--text-dark); font-weight: 500;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
}
.mobile-menu.active { display: flex; }

/* Hero */
.hero {
  padding: 48px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,184,217,0.5) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.hero h1 {
  font-size: 26px; line-height: 1.35; font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #e05a9b, #8f6dff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 15px; color: var(--text-gray); margin-bottom: 28px; }
.download-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 280px;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 16px; font-weight: 700; color: var(--white);
  box-shadow: 0 8px 20px rgba(180, 130, 210, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-ios { background: var(--btn-ios); }
.btn-android { background: var(--btn-android); color: #1e3a8a; }
.btn-icon { width: 22px; height: 22px; fill: currentColor; }

/* Hero Grid */
.hero-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 500px; margin: 40px auto 0;
  padding: 0 20px;
}
.hero-grid img {
  border-radius: 12px; aspect-ratio: 3/4; object-fit: cover;
  box-shadow: 0 6px 16px rgba(160, 120, 200, 0.2);
  transition: transform 0.3s;
}
.hero-grid img:hover { transform: translateY(-4px) scale(1.02); }

/* General Section */
section { padding: 50px 20px; position: relative; }
.section-title {
  text-align: center; font-size: 22px; font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.section-sub {
  text-align: center; font-size: 14px; color: var(--text-gray);
  margin-bottom: 32px;
}
.container { max-width: 1000px; margin: 0 auto; }

/* Tutorial Section */
.tutorial-steps {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: 700px; margin: 0 auto;
}
.step-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 20px; border-radius: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: 0 4px 16px rgba(200, 160, 220, 0.15);
  border: 1px solid rgba(255,255,255,0.9);
}
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink-mid), var(--purple-mid));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 16px;
}
.step-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-text p { font-size: 13px; color: var(--text-gray); line-height: 1.5; }

/* Immersive */
.immersive-block {
  display: flex; flex-direction: column; gap: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 28px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(190, 150, 230, 0.15);
}
.immersive-text h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: #5a3d8a; }
.immersive-text p { font-size: 14px; color: var(--text-gray); margin-bottom: 8px; }
.immersive-img {
  border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.immersive-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Scroll Wall */
.scroll-wall {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 10px 20px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-wall::-webkit-scrollbar { display: none; }
.scroll-card {
  flex: 0 0 160px; scroll-snap-align: start;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(160, 120, 200, 0.2);
  position: relative;
  background: #fff;
}
.scroll-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.scroll-card .card-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 10px 10px;
  background: linear-gradient(transparent, rgba(45, 33, 67, 0.85));
  color: white; font-size: 12px; font-weight: 600; text-align: center;
}

/* Grid Layouts */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.content-card {
  background: var(--white);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(180, 140, 210, 0.18);
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.6);
}
.content-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 12px 14px; }
.card-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: #4a3369; }
.card-info p { font-size: 12px; color: var(--text-gray); line-height: 1.4; }

/* Feature Split */
.feature-split {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center;
}
.feature-image {
  width: 100%; border-radius: 24px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(170, 130, 210, 0.22);
}
.feature-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.feature-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: #5a3d8a; }
.feature-text p { font-size: 14px; color: var(--text-gray); margin-bottom: 10px; }
.feature-list { list-style: none; padding-left: 0; }
.feature-list li {
  font-size: 13px; color: var(--text-gray);
  padding: 6px 0 6px 24px; position: relative;
}
.feature-list li::before {
  content: '✦'; position: absolute; left: 4px; top: 6px;
  color: #d67bb6; font-size: 12px;
}

/* Footer */
.site-footer {
  background: rgba(255, 255, 255, 0.6);
  padding: 32px 20px 24px;
  text-align: center;
  font-size: 12px; color: var(--text-gray);
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.8);
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 16px; margin-bottom: 16px;
}
.footer-links a { color: var(--text-gray); text-decoration: underline; text-underline-offset: 2px; }
.footer-copy { margin-bottom: 6px; }
.footer-beian { margin-top: 4px; }
.footer-beian a { color: inherit; }
.update-time { margin-top: 8px; font-size: 11px; opacity: 0.8; }

/* Modal for Baidu */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(30, 20, 50, 0.45);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px;
  padding: 24px; max-width: 360px; width: 100%;
  text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  animation: popIn 0.2s ease-out;
}
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box p { font-size: 14px; color: var(--text-dark); margin-bottom: 16px; line-height: 1.5; font-weight: 600; }
.copy-input {
  width: 100%; padding: 12px; border: 1px solid #e0d6f0;
  border-radius: 10px; font-size: 13px; color: #5a3d8a;
  background: #fbf8ff; margin-bottom: 14px; text-align: center;
}
.copy-btn {
  width: 100%; padding: 12px; border: none; border-radius: 10px;
  background: var(--btn-ios); color: white; font-size: 15px; font-weight: 700;
  cursor: pointer; margin-bottom: 12px;
}
.modal-close { font-size: 13px; color: var(--text-gray); cursor: pointer; text-decoration: underline; background: none; border: none; }

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .mobile-menu { display: none !important; }
  .hero { padding: 70px 30px 80px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .download-btns { flex-direction: row; justify-content: center; gap: 16px; }
  .btn { width: auto; }
  .hero-grid { grid-template-columns: repeat(6, 1fr); max-width: 100%; }
  .hero-grid img { border-radius: 16px; }
  .tutorial-steps { grid-template-columns: repeat(2, 1fr); }
  .immersive-block { flex-direction: row; align-items: center; padding: 36px; }
  .immersive-text { flex: 1; }
  .immersive-img { flex: 1; }
  .immersive-img img { aspect-ratio: 4/3; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-split { flex-direction: row; gap: 40px; }
  .feature-image { flex: 1; }
  .feature-text { flex: 1; }
  .scroll-card { flex: 0 0 200px; }
  section { padding: 70px 30px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .scroll-wall { justify-content: center; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }
  .site-header { padding: 12px 40px; }
  .brand-name { font-size: 20px; }
  .nav-links { gap: 26px; font-size: 15px; }
}