:root {
  --primary: #f28ab2;
  --secondary: #7dd7c1;
  --accent: #ffd166;
  --bg-dark: #1f1734;
  --bg-light: rgba(255, 255, 255, 0.12);
  --text-main: #fff9ff;
  --text-muted: rgba(255, 249, 255, 0.72);
  --shadow-soft: 0 18px 50px rgba(31, 23, 52, 0.26);
  --shadow-glow: 0 18px 40px rgba(242, 138, 178, 0.24);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fffaf5 0%, #f6f4ff 38%, #f4fff9 100%);
  color: #2f2748;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
#main-header { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.header-scrolled {
  background: rgba(31, 23, 52, 0.86) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(31, 23, 52, 0.2);
}
.brand-mark img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.15)); }
.nav-link {
  position: relative;
  color: rgba(255,255,255,.86);
  font-weight: 700;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.mobile-nav {
  background: linear-gradient(180deg, rgba(31,23,52,.98), rgba(53,40,87,.98));
  box-shadow: -18px 0 40px rgba(31,23,52,.28);
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  border-radius: 1rem;
  color: rgba(255,255,255,.82);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.mobile-nav nav a:hover, .mobile-nav nav a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(4px);
}
.btn-gel, .btn-glass, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-gel {
  padding: .92rem 1.8rem;
  border-radius: 999px;
  color: #3f2b21;
  background: linear-gradient(135deg, var(--accent), #ffe29f 48%, #ffd166 100%);
  box-shadow: 0 8px 0 #dca83f, 0 18px 28px rgba(255, 209, 102, .35);
}
.btn-gel:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 0 #dca83f, 0 24px 36px rgba(255,209,102,.45); }
.btn-gel:active { transform: translateY(2px); box-shadow: 0 4px 0 #dca83f, 0 12px 18px rgba(255,209,102,.25); }
.btn-glass {
  padding: .9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.14);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-glass:hover { transform: translateY(-3px); background: rgba(255,255,255,.22); box-shadow: 0 12px 26px rgba(125,215,193,.18); }
.btn-outline {
  padding: .85rem 1.55rem;
  border-radius: 18px;
  border: 2px solid rgba(242,138,178,.45);
  background: #fff;
  color: #b6508c;
  box-shadow: 0 10px 24px rgba(242,138,178,.14);
}
.btn-outline:hover { transform: rotate(-1deg) translateY(-3px); border-color: var(--secondary); color: #34786d; box-shadow: 0 16px 28px rgba(125,215,193,.22); }
.hero-stage {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  background:
    radial-gradient(circle at 18% 24%, rgba(242,138,178,.32), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(125,215,193,.26), transparent 28%),
    linear-gradient(135deg, #5d4b8a 0%, #2f2748 44%, #43365f 100%);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 90%);
  pointer-events: none;
}
.hero-clouds span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: floatCloud 8s ease-in-out infinite;
}
.hero-clouds span:nth-child(1){ width: 280px; height: 280px; background: rgba(242,138,178,.6); top: 8%; left: 4%; }
.hero-clouds span:nth-child(2){ width: 220px; height: 220px; background: rgba(125,215,193,.55); right: 10%; top: 18%; animation-delay: -2s; }
.hero-clouds span:nth-child(3){ width: 180px; height: 180px; background: rgba(255,209,102,.55); right: 30%; bottom: 16%; animation-delay: -4s; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.35rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .92rem;
  font-weight: 700;
}
.hero-kicker {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--accent);
  margin-bottom: .75rem;
  letter-spacing: .05em;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 1.2rem;
  text-shadow: 0 8px 26px rgba(0,0,0,.18);
}
.hero-desc {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 42rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-mini-panel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hero-mini-panel div {
  padding: 1.1rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.hero-mini-panel strong { display: block; font-size: 1rem; margin-bottom: .35rem; }
.hero-mini-panel span { color: rgba(255,255,255,.74); font-size: .92rem; }
.hero-card-stack { position: relative; min-height: 560px; }
.hero-poster {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 5px solid rgba(255,255,255,.25);
  background: #fff;
}
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster.main { width: 76%; height: 500px; right: 0; top: 10px; transform: rotate(2deg); }
.hero-poster.side.top { width: 44%; height: 220px; left: 0; top: 0; transform: rotate(-7deg); }
.hero-poster.side.bottom { width: 46%; height: 250px; left: 4%; bottom: 28px; transform: rotate(6deg); }
.download-dock {
  position: absolute;
  left: 4%;
  bottom: -10px;
  display: flex;
  gap: .85rem;
}
.download-dock a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-radius: 1.1rem;
  background: #fff;
  color: #6b4b7f;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(31,23,52,.18);
}
.download-dock a:hover { transform: translateY(-5px) scale(1.03); }
.section { padding: 5.5rem 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,240,246,.7), rgba(242,255,249,.7)); }
.section-download { background: linear-gradient(180deg, rgba(255,250,245,.9), rgba(255,255,255,1)); }
.section-contact { background: linear-gradient(180deg, #f7f6ff 0%, #effcf6 100%); }
.section-friends { padding-top: 0; background: #f7f3ff; }
.section-head { margin-bottom: 2.2rem; }
.section-title {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 900;
  color: #2f2748;
}
.line-title::after {
  content: "";
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.stamp-title::before {
  content: "★";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #f6accd);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.section-subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: #62597a;
  max-width: 46rem;
}
.intro-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.intro-card {
  padding: 1.8rem;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
}
.intro-card i { font-size: 1.8rem; margin-bottom: 1rem; color: #fff; }
.intro-card h2 { font-size: 1.4rem; margin-bottom: .8rem; color: #2f2748; }
.intro-card p { color: #5f5774; }
.intro-card.solid { background: linear-gradient(180deg, #ffffff, #ffe9f2); }
.intro-card.glass { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); }
.intro-card.note { background: linear-gradient(180deg, #fff9dd, #fff3c3); }
.feature-split { display: grid; gap: 1.6rem; }
.feature-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.feature-panel.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-panel.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.bubble-frame, .sticker-frame {
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 16px 34px rgba(31,23,52,.16);
}
.bubble-frame { border: 4px solid rgba(125,215,193,.32); }
.sticker-frame { border: 4px dashed rgba(242,138,178,.42); }
.bubble-frame img, .sticker-frame img { width: 100%; height: 100%; object-fit: cover; }
.feature-content h2 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); color: #2f2748; margin: .65rem 0 1rem; }
.feature-content p { color: #62597a; margin-bottom: 1rem; }
.feature-pill {
  display: inline-flex;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(125,215,193,.2);
  color: #34786d;
  font-weight: 800;
}
.feature-pill.warm { background: rgba(242,138,178,.18); color: #b6508c; }
.download-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.6rem;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff 0%, #fff4e0 100%);
  box-shadow: var(--shadow-soft);
}
.download-steps { display: grid; gap: .8rem; margin-top: 1.35rem; }
.download-steps div {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}
.download-steps span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.download-actions {
  padding: 1.7rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #4e3f72 0%, #2f2748 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.download-actions .wide { width: 100%; }
.download-tip {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.contact-card {
  background: #fff;
  border-radius: 30px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.contact-card h3 { font-size: 1.35rem; color: #2f2748; margin-bottom: .9rem; }
.contact-card i { color: #b6508c; margin-right: .35rem; }
.contact-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 22px;
  border: 4px solid rgba(242,138,178,.18);
}
.contact-card p { font-weight: 800; color: #2f2748; }
.contact-card span { display: block; margin-top: .45rem; color: #6c6480; font-size: .95rem; }
.contact-actions { margin-top: 1.5rem; text-align: center; }
.friends-box {
  background: #fff;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.3rem;
}
.friends-list a {
  padding: .72rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242,138,178,.12), rgba(125,215,193,.12));
  color: #584d74;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.friends-list a:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(125,215,193,.18); }
.site-footer {
  background: linear-gradient(135deg, #2f2748 0%, #3d315f 100%);
  color: rgba(255,255,255,.82);
  padding: 2.2rem 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr .7fr;
  gap: 1rem;
  align-items: center;
}
.footer-logo { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: .45rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { text-align: right; font-size: .92rem; }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.tilt-card:hover { transform: rotate(-1.5deg) translateY(-8px); }
.lift-card:hover { transform: translateY(-10px) scale(1.015); }
@keyframes floatCloud {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(14px,-16px,0); }
}
@media (max-width: 1024px) {
  .hero-layout, .download-shell, .feature-panel, .feature-panel.reverse, .footer-inner { grid-template-columns: 1fr; }
  .feature-panel.reverse .feature-media { order: 0; }
  .hero-card-stack { min-height: 520px; }
  .hero-mini-panel, .intro-board, .contact-grid { grid-template-columns: 1fr; }
  .footer-copy, .footer-links { text-align: left; justify-content: flex-start; }
}
@media (max-width: 768px) {
  .hero-stage { padding-top: 7rem; }
  .hero-card-stack { min-height: 420px; }
  .hero-poster.main { position: relative; width: 100%; height: 320px; right: auto; top: auto; transform: none; }
  .hero-poster.side.top, .hero-poster.side.bottom { display: none; }
  .download-dock { position: relative; left: auto; bottom: auto; margin-top: 1rem; flex-wrap: wrap; }
  .section { padding: 4rem 0; }
  .section-title { font-size: clamp(1.45rem, 7vw, 2rem); }
  .contact-card img { width: 150px; height: 150px; }
}
