:root {
  --pink-1: #ffe3ee;
  --pink-2: #ffc2d8;
  --pink-3: #ff8fb8;
  --pink-4: #ff4f8b;
  --pink-5: #e02e6c;
  --yellow: #ffd23f;
  --yellow-dark: #f2b705;
  --ink: #3a1f2b;
  --ink-soft: #6b4756;
  --bg: #fff6fa;
  --card: #ffffff;
  --line: #ffd9e6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(224, 46, 108, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(255, 194, 216, 0.55), transparent 42%),
    radial-gradient(circle at 94% 12%, rgba(255, 210, 63, 0.28), transparent 38%),
    linear-gradient(180deg, #fff2f7 0%, #fff9fb 46%, #fff5f9 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 240, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
  border-radius: 9px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--pink-5);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--pink-1);
  color: var(--pink-5);
}

.header-dl {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #573b00;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(242, 183, 5, 0.35);
  transition: transform 0.2s;
}

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

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #4a1a2d;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pink-4), var(--pink-5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffe066, var(--yellow-dark));
  color: #573b00;
  font-size: 17px;
  font-weight: 900;
  padding: 15px 38px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(242, 183, 5, 0.42);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(242, 183, 5, 0.5);
}

.update-time {
  font-size: 13px;
  color: #a97a8c;
}

.hero-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span {
  font-size: 13px;
  color: var(--pink-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 11px;
}

/* carousel */
.carousel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--pink-2), #fff 60%, var(--pink-1));
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid #ffdbe8;
}

.carousel-track {
  position: relative;
  aspect-ratio: 9 / 15;
  max-height: 560px;
  border-radius: 18px;
  overflow: hidden;
  background: #2b1420;
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.carousel-track img.is-hidden {
  opacity: 0;
  transform: scale(1.03);
  z-index: 0;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.carousel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffc4da;
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}

.carousel-dots i.on {
  background: var(--pink-4);
  width: 20px;
  border-radius: 999px;
}

/* ---------- generic section ---------- */
section { padding: 48px 0; }

.sec-head {
  text-align: center;
  margin-bottom: 30px;
}

.sec-head h2 {
  font-size: 25px;
  font-weight: 900;
  color: #4a1a2d;
  letter-spacing: 0.5px;
}

.sec-head h2 em {
  font-style: normal;
  color: var(--pink-5);
}

.sec-head p {
  margin-top: 9px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* highlights */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 6px 18px rgba(224, 46, 108, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 13px;
  background: linear-gradient(135deg, var(--pink-2), var(--pink-1));
}

.highlight-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 7px;
  color: #4a1a2d;
}

.highlight-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* usage */
.usage-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}

.usage-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.usage-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-4), var(--pink-5));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-item h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #4a1a2d;
}

.usage-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-grid figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 13;
  background: #ffe9f1;
  border: 1px solid var(--line);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s;
}

.gallery-grid figure:hover img { transform: scale(1.06); }

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(58, 31, 43, 0.8));
}

/* install */
.install-panel {
  background: linear-gradient(135deg, #fff, #fff0f6);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.install-panel h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #4a1a2d;
}

.install-steps {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-bottom: 22px;
}

.install-steps li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-soft);
}

.install-steps li b {
  flex-shrink: 0;
  color: var(--pink-5);
  font-weight: 900;
}

.btn-install {
  display: inline-block;
  background: linear-gradient(135deg, #ffe066, var(--yellow-dark));
  color: #573b00;
  font-weight: 900;
  font-size: 16px;
  padding: 13px 32px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(242, 183, 5, 0.4);
  transition: transform 0.2s;
}

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

/* faq */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 800;
  color: #4a1a2d;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

.faq-item h3 span { color: var(--pink-4); }

.faq-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* qa */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.qa-card {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.qa-card img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  flex-shrink: 0;
}

.qa-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #4a1a2d;
  margin-bottom: 5px;
}

.qa-card p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* comments */
.comment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.comment-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(224, 46, 108, 0.06);
}

.comment-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-3), var(--pink-4));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-name {
  font-size: 14px;
  font-weight: 800;
  color: #4a1a2d;
}

.comment-stars {
  font-size: 12px;
  color: var(--yellow-dark);
  letter-spacing: 1px;
}

.comment-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* CTA bottom */
.cta-box {
  background: linear-gradient(135deg, var(--pink-2), var(--pink-1) 55%, #fff);
  border: 1px solid #ffd0e0;
  border-radius: 24px;
  padding: 36px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 22px;
  font-weight: 900;
  color: #4a1a2d;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

/* footer */
.site-footer {
  margin-top: 30px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.9);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
  color: #b08a99;
  line-height: 1.6;
}

.site-footer a {
  font-size: 12px;
  color: #b08a99;
  border-bottom: 1px dashed #e2c3ce;
}

.site-footer a:hover { color: var(--pink-5); }

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .hero { padding: 54px 0 70px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
  .hero h1 { font-size: 38px; }
  .carousel-track { max-height: 600px; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .usage-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .comment-grid { grid-template-columns: repeat(2, 1fr); }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 46px 32px; }
  .cta-box h2 { font-size: 27px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .sec-head h2 { font-size: 28px; }
  .highlight-grid { grid-template-columns: repeat(4, 1fr); }
  .usage-list { grid-template-columns: repeat(3, 1fr); }
  .qa-grid { grid-template-columns: repeat(3, 1fr); }
  .comment-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  section { padding: 62px 0; }
}