:root {
  --pink: #f4a9bd;
  --cream: #fffaf2;
  --shadow-purple: #4b3a5c;
  --light-pink: #fdeef2;
  --dark-purple: #2f2439;
  --light-purple: #c9b8dc;
  --ink: #3a2b33;
  --text-sub: #7a6670;
  --text-faint: #a898a0;
  --pink-line: rgba(244, 169, 189, 0.3);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
header {
  position: sticky;
  top: 0;
  background: rgba(255, 250, 242, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--pink-line);
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--shadow-purple);
}
.brand img {
  height: 32px;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.nav-links a:hover {
  color: var(--pink);
}
.btn-download-nav {
  background: var(--pink);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-download-nav:hover {
  background: var(--shadow-purple);
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
section {
  margin-bottom: 60px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--light-pink);
  color: var(--pink);
  border: 1px solid var(--pink-line);
  padding: 4px 12px;
  border-radius: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--shadow-purple);
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}
.btn-primary:hover {
  background: var(--shadow-purple);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--shadow-purple);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  border: 1px solid var(--shadow-purple);
  cursor: pointer;
  transition: background 0.3s;
}
.btn-secondary:hover {
  background: var(--light-pink);
}
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  background: #fff;
  border: 1px solid var(--pink-line);
  color: var(--text-sub);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
}
.package-card {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(75, 58, 92, 0.06);
}
.package-header {
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--pink-line);
  padding-bottom: 12px;
}
.fragile-stamp {
  position: absolute;
  top: 40px;
  right: 40px;
  border: 2px solid var(--pink);
  color: var(--pink);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: bold;
  transform: rotate(-15deg);
  opacity: 0.6;
  pointer-events: none;
}
.package-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}
.progress-container {
  background: var(--light-pink);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
}
.progress-bar {
  background: var(--pink);
  height: 100%;
  width: 60%;
}
.progress-text {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-sub);
  text-align: right;
  margin-top: 6px;
}
.stages-bar {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  margin-top: 20px;
}
.stage-segment {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.stage-1 { background: #f4a9bd; }
.stage-2 { background: #d88eb4; }
.stage-3 { background: #8c5d8f; }
.stage-4 { background: #4b3a5c; }

.section-title {
  font-size: 1.8rem;
  color: var(--shadow-purple);
  margin-bottom: 24px;
  border-left: 4px solid var(--pink);
  padding-left: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
}
.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--shadow-purple);
}
.card p {
  font-size: 0.9rem;
  color: var(--text-sub);
}
.steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.step {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--pink);
  border-radius: 12px;
  padding: 32px 20px;
}
.step-num {
  font-family: monospace;
  font-size: 2rem;
  font-weight: bold;
  color: var(--pink);
  margin-bottom: 12px;
}
.step h3 {
  color: var(--shadow-purple);
  margin-bottom: 8px;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-sub);
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.screenshots-grid img {
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--pink-line);
  transition: transform 0.2s;
}
.screenshots-grid img:hover {
  transform: scale(1.02);
}
.forms-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mood-track {
  margin-bottom: 20px;
}
.mood-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.mood-bar-bg {
  background: var(--light-pink);
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}
.mood-bar-fill {
  height: 100%;
}
.fill-intimacy { background: var(--pink); width: 80%; }
.fill-anxiety { background: var(--shadow-purple); width: 40%; }

.endings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ending-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  padding: 16px;
  gap: 16px;
}
.ending-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: contain;
}
.ending-info {
  flex: 1;
}
.ending-info h3 {
  font-size: 1rem;
  color: var(--shadow-purple);
  margin-bottom: 4px;
}
.ending-meta {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.progress-bg-sm {
  background: var(--light-pink);
  height: 6px;
  border-radius: 3px;
  margin-top: 6px;
}
.progress-fill-sm {
  background: var(--pink);
  height: 100%;
  border-radius: 3px;
}
.btn-wish {
  background: #fff;
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.85rem;
}
.btn-wish.active {
  background: var(--pink);
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.feature-card img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.reviews-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.score-big {
  font-size: 3rem;
  font-weight: bold;
  color: var(--pink);
  font-family: monospace;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  padding: 16px;
}
.review-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.review-author {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.download-area {
  background: linear-gradient(135deg, var(--pink), var(--shadow-purple));
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.download-area h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.download-area p {
  margin-bottom: 32px;
  opacity: 0.9;
}
.btn-download-huge {
  background: #fff;
  color: var(--shadow-purple);
  padding: 16px 48px;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s;
}
.btn-download-huge:hover {
  transform: scale(1.05);
}

footer {
  background: var(--dark-purple);
  color: var(--text-faint);
  padding: 40px 20px 20px;
  font-size: 0.85rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
details {
  cursor: pointer;
}
summary {
  font-size: 0.85rem;
  color: var(--text-faint);
  outline: none;
}
details[open] summary {
  color: var(--pink);
  margin-bottom: 8px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.about-links a {
  color: var(--text-sub);
}
.about-links a:hover {
  color: var(--pink);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 36, 57, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90%;
  max-height: 80vh;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .forms-moods { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .ending-item { flex-direction: column; text-align: center; }
  .ending-meta { flex-direction: column; gap: 4px; }
  .stages-bar { flex-direction: column; }
}