:root {
  --pink: #ffb7c5;
  --mint: #a8e6cf;
  --cream: #fff5c2;
  --purple: #d4a5f5;
  --text: #4a3b4a;
  --text-light: #8a7a8a;
  --bg: #fff0f5;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(255, 183, 197, 0.25);
  --radius: 24px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
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.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(255, 183, 197, 0.3);
}
.header-inner {
  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: 800;
  font-size: 1.2rem;
  color: #e86a8a;
}
.brand img {
  height: 34px;
  width: auto;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-links a:hover {
  background: var(--pink);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: var(--pink);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,183,197,0.25) 1px, transparent 1px);
  background-size: 16px 16px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168,230,207,0.35), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,165,245,0.35), transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #e86a8a;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}
.carousel-box {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 16px;
  animation: scrollX 24s linear infinite;
  width: max-content;
}
.carousel-track img {
  height: 180px;
  width: 130px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.dl-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.35);
  border: none;
  cursor: pointer;
}
.btn-dl:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255, 105, 180, 0.5); }
.btn-android { background: linear-gradient(135deg, #a8e6cf, #6ed4a8); }
.btn-ios { background: linear-gradient(135deg, #ffb7c5, #ff8fab); }
.btn-other { background: linear-gradient(135deg, #d4a5f5, #b57ef0); }

/* Sections common */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 1.8rem;
  color: #e86a8a;
  margin-bottom: 8px;
}
.section-title p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Masonry */
.masonry {
  columns: 3;
  column-gap: 20px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(255,183,197,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(255,183,197,0.5);
}
.masonry-item img {
  width: 100%;
  display: block;
}
.masonry-item .card-info {
  padding: 14px 16px;
}
.masonry-item .card-info h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.masonry-item .card-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Pull-out cards */
.pullout-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pullout-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 24px rgba(212,165,245,0.2);
  transition: transform 0.3s;
}
.pullout-row:hover {
  transform: translateX(8px);
}
.pullout-row.reverse {
  flex-direction: row-reverse;
}
.pullout-row.reverse:hover {
  transform: translateX(-8px);
}
.pullout-row img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.pullout-text { flex: 1; }
.pullout-text h3 {
  font-size: 1.2rem;
  color: #e86a8a;
  margin-bottom: 8px;
}
.pullout-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  background: var(--pink);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
}

/* Glass pods */
.pods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pod {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 40px;
  padding: 30px 24px;
  box-shadow: 0 8px 32px rgba(255,183,197,0.15);
  transition: transform 0.3s;
}
.pod:hover { transform: scale(1.02); }
.pod h3 {
  font-size: 1.1rem;
  color: #e86a8a;
  margin-bottom: 12px;
}
.pod p, .pod li {
  font-size: 0.9rem;
  color: var(--text);
}
.pod ul { list-style: none; padding: 0; }
.pod li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,183,197,0.5);
}
.pod li:last-child { border: none; }

/* Puzzle */
.puzzle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.puzzle-device {
  width: 200px;
  text-align: center;
}
.puzzle-device img {
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin: 0 auto;
}
.puzzle-heart {
  font-size: 2.5rem;
  color: #ff8fab;
  margin: 0 -10px;
  z-index: 2;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.puzzle-note {
  text-align: center;
  margin-top: 16px;
  font-weight: 700;
  color: #e86a8a;
}

/* Sticky notes */
.notes-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.note {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  position: relative;
  transform: rotate(-1deg);
  transition: transform 0.2s;
}
.note:nth-child(even) { transform: rotate(1.5deg); background: #e8f8f0; }
.note:nth-child(3n) { background: #f5e8ff; }
.note:hover { transform: rotate(0) scale(1.03); }
.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.note-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.note-header strong {
  font-size: 0.85rem;
  color: #e86a8a;
}
.note p {
  font-size: 0.85rem;
  color: var(--text);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(255,183,197,0.2);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '＋';
  font-size: 1.2rem;
  color: #e86a8a;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after {
  content: '－';
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Install steps */
.install-steps {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.install-steps h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #e86a8a;
  margin-bottom: 24px;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  text-align: center;
  padding: 20px;
  background: var(--bg);
  border-radius: 18px;
}
.step-num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.step h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
}
.step p {
  font-size: 0.82rem;
  color: var(--text-light);
}
.final-dl {
  text-align: center;
  margin-top: 40px;
}
.final-dl .btn-dl {
  margin: 0 8px 12px;
  padding: 16px 36px;
  border-radius: 50px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #ffe4ec, #f0e6ff);
  text-align: center;
  padding: 50px 20px 30px;
  margin-top: 40px;
}
.site-footer .footer-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #e86a8a;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.site-footer p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.site-footer .update-time {
  font-size: 0.75rem;
  color: #b0a0b0;
  margin-top: 16px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 30px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-box p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}
.modal-link {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.85rem;
  color: #e86a8a;
  word-break: break-all;
  margin-bottom: 16px;
}
.copy-btn {
  background: linear-gradient(135deg, #a8e6cf, #6ed4a8);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.copy-btn:active { transform: scale(0.97); }
.close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  margin-top: 12px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
  .notes-wall { grid-template-columns: repeat(2, 1fr); }
  .pods-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 10px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 1.6rem; }
  .masonry { columns: 1; }
  .pullout-row, .pullout-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .pullout-row img { width: 100%; height: 240px; }
  .notes-wall { grid-template-columns: 1fr; }
  .puzzle-wrap { flex-direction: column; }
  .puzzle-heart { transform: rotate(90deg); margin: -10px 0; }
  .step-list { grid-template-columns: 1fr; }
  .carousel-track img { height: 140px; width: 100px; }
  .final-dl .btn-dl { width: 100%; margin: 6px 0; }
}