:root {
  --green: #00c853;
  --green-deep: #00897b;
  --teal: #00bfa5;
  --orange: #ff6e40;
  --ink: #12261f;
  --ink-soft: #243d34;
  --muted: #5f7169;
  --line: rgba(18, 38, 31, 0.08);
  --paper: #f2f7f4;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(8, 48, 36, 0.14);
  --shadow-soft: 0 10px 30px rgba(8, 48, 36, 0.08);
  --radius: 22px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --max: 1120px;
  --header-h: 68px;
  --dock-h: 76px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(1100px 580px at 88% -8%, rgba(0, 200, 83, 0.16), transparent 55%),
    radial-gradient(800px 480px at -8% 18%, rgba(0, 191, 165, 0.12), transparent 52%),
    linear-gradient(180deg, #f8fcfa 0%, var(--paper) 42%, #eaf3ee 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.desktop-only {
  display: flex;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--safe-top);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  background: rgba(248, 252, 250, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(8, 48, 36, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-inner > .header-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: rgba(18, 38, 31, 0.04);
  padding: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px 28px;
}

.mobile-nav a:not(.btn) {
  padding: 16px 14px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 14px;
  transition: background 0.2s ease;
}

.mobile-nav a:not(.btn):active {
  background: rgba(0, 200, 83, 0.08);
}

.mobile-nav-cta {
  margin-top: 12px;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12c76a 0%, #00bfa5 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(0, 191, 165, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(0, 191, 165, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid rgba(18, 38, 31, 0.12);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(0, 200, 83, 0.4);
  background: rgba(0, 200, 83, 0.07);
  filter: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(228, 245, 236, 0.96) 0%, rgba(243, 247, 245, 0.5) 46%, transparent 74%),
    radial-gradient(ellipse 70% 55% at 72% 42%, rgba(0, 191, 165, 0.16), transparent 62%),
    url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300C853' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: orb-drift 10s ease-in-out infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: 8%;
  right: 12%;
  background: rgba(0, 200, 83, 0.28);
}

.orb-b {
  width: 220px;
  height: 220px;
  bottom: 12%;
  right: 28%;
  background: rgba(0, 191, 165, 0.22);
  animation-delay: -3s;
}

.orb-c {
  width: 160px;
  height: 160px;
  top: 36%;
  left: 8%;
  background: rgba(255, 110, 64, 0.12);
  animation-delay: -6s;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero-brand {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.4vw, 3.9rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.12;
  background: linear-gradient(120deg, #0a3226 0%, #0d6b58 42%, #00bfa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.85s ease both;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  animation: rise 0.85s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 28em;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  animation: rise 0.85s ease 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.85s ease 0.24s both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  animation: float-in 1s ease 0.2s both;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.28), transparent 68%);
  filter: blur(8px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  z-index: 0;
}

.phone {
  width: min(300px, 78vw);
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(160deg, #1a3d32, #0d221b 55%, #142e26);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  animation: float-y 5.8s ease-in-out infinite;
}

.phone-notch {
  width: 98px;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #07140f;
}

.phone-screen {
  border-radius: 28px;
  min-height: 540px;
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, #12c76a 0%, #00bfa5 40%, #eef6f2 40.2%, #f8fcfa 100%);
  color: #fff;
}

.mock-top {
  margin-bottom: 28px;
  padding-top: 8px;
}

.mock-greet {
  font-size: 1.28rem;
  font-weight: 700;
}

.mock-school {
  margin-top: 6px;
  opacity: 0.9;
  font-size: 0.86rem;
}

.mock-panel {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(8, 48, 36, 0.08);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.92rem;
}

.mock-row.soft {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.mock-row strong {
  color: var(--ink);
  font-weight: 600;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-chips span {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}

.mock-cta {
  margin-top: auto;
  text-align: center;
  background: linear-gradient(135deg, #ff8a65, var(--orange));
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 20px rgba(255, 110, 64, 0.28);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.section-head {
  max-width: 36em;
  margin-bottom: 52px;
}

.section-head h2,
.more h2,
.download h2,
.start h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head p,
.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-block {
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 48, 36, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon[data-tone="green"] {
  background: rgba(0, 200, 83, 0.12);
  color: var(--green);
}

.feature-icon[data-tone="teal"] {
  background: rgba(0, 191, 165, 0.14);
  color: var(--teal);
}

.feature-icon[data-tone="orange"] {
  background: rgba(255, 110, 64, 0.12);
  color: var(--orange);
}

.feature-block h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Moments */
.moments {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0.78) 90%, transparent);
}

.moment-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.moment {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}

.moment-reverse {
  direction: rtl;
}

.moment-reverse > * {
  direction: ltr;
}

.moment-media {
  min-height: 300px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.moment-a {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #b8f0d0, #6fd6c2);
}

.moment-b {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #ffe0d4, #ffb39a);
}

.moment-c {
  background:
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.5), transparent 45%),
    linear-gradient(145deg, #c9efe4, #7ecfbf);
}

.moment-illus {
  width: 160px;
  height: 160px;
  position: relative;
}

.moment-illus .dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 28px;
  left: 24px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.28);
}

.moment-illus .line {
  position: absolute;
  left: 32px;
  top: 56px;
  width: 2px;
  height: 70px;
  background: rgba(255, 255, 255, 0.75);
}

.moment-illus .bar {
  position: absolute;
  left: 48px;
  top: 70px;
  width: 88px;
  height: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.moment-illus .bar.short {
  top: 96px;
  width: 58px;
  background: rgba(255, 255, 255, 0.65);
}

.moment-illus.book .page {
  position: absolute;
  width: 70px;
  height: 96px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  top: 32px;
  box-shadow: 0 12px 24px rgba(140, 60, 30, 0.12);
}

.moment-illus.book .page:first-child {
  left: 28px;
  transform: rotate(-8deg);
}

.moment-illus.book .page:nth-child(2) {
  left: 62px;
  transform: rotate(8deg);
  background: rgba(255, 255, 255, 0.78);
}

.moment-illus.book .mark {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  right: 18px;
  bottom: 28px;
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.moment-illus.report .ring {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-right-color: #fff;
  transform: rotate(25deg);
}

.moment-illus.report .cap {
  position: absolute;
  inset: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.moment-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 191, 165, 0.1);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.moment-copy h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.35;
}

.moment-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 30em;
  font-size: 1.02rem;
}

/* More */
.more {
  padding-top: 48px;
  padding-bottom: 48px;
}

.more-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  padding: 8px 8px;
}

.more-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 36px;
}

.more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.more-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  font-weight: 500;
  border-radius: 14px;
  background: rgba(242, 247, 244, 0.9);
}

.more-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps li {
  padding: 28px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.step-num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Download */
.download {
  padding: 48px 0 120px;
}

.download-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 32px;
  border-radius: 32px;
  background:
    radial-gradient(620px 260px at 50% 0%, rgba(0, 200, 83, 0.22), transparent 62%),
    linear-gradient(160deg, #0d221b 0%, #102820 50%, #16352c 100%);
  color: #e8f5ef;
  box-shadow: var(--shadow);
}

.download-glow {
  position: absolute;
  inset: auto;
  width: 420px;
  height: 220px;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 200, 83, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.download-icon {
  position: relative;
  margin: 0 auto 22px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.download-inner h2 {
  position: relative;
  color: #fff;
}

.download-inner > p {
  position: relative;
  margin: 0 auto 28px;
  max-width: 28em;
  color: rgba(232, 245, 239, 0.78);
}

.store-row {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.store-btn-primary {
  background: linear-gradient(135deg, rgba(18, 199, 106, 0.95), rgba(0, 191, 165, 0.95));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 191, 165, 0.28);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.store-btn-primary:hover {
  background: linear-gradient(135deg, #1ad176, #12cbb4);
  filter: brightness(1.03);
}

.store-btn small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.78;
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 600;
}

.download-qr {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px auto 22px;
  max-width: 420px;
}

.qr-card {
  display: block;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.qr-card:hover {
  transform: translateY(-2px);
}

.qr-image {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 6px;
}

.qr-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  min-width: 160px;
}

.qr-copy strong {
  font-size: 1rem;
  color: #fff;
}

.qr-copy span {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(232, 245, 239, 0.7);
  max-width: 14em;
}

.download-tip {
  position: relative;
  margin: 0 auto !important;
  max-width: 36em;
  font-size: 0.88rem !important;
  color: rgba(232, 245, 239, 0.58) !important;
}

/* Footer */
.site-footer {
  padding: 40px 0 calc(48px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-serif);
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Mobile dock */
.mobile-dock {
  display: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -16px) scale(1.06);
  }
}

/* ========== Tablet ========== */
@media (max-width: 960px) {
  .hero-grid,
  .moment,
  .more-grid,
  .feature-rail,
  .steps {
    grid-template-columns: 1fr;
  }

  .moment-reverse {
    direction: ltr;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 56px;
    align-items: flex-start;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    order: -1;
  }

  .phone {
    width: min(240px, 62vw);
  }

  .phone-screen {
    min-height: 420px;
  }

  .orb {
    opacity: 0.35;
  }

  .nav,
  .header-inner > .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--safe-top)) 0 0;
    z-index: 40;
    display: none;
    background: rgba(248, 252, 250, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 8px 16px 24px;
    overflow-y: auto;
  }

  .mobile-nav.is-open {
    display: block;
    animation: rise 0.28s ease both;
  }

  .section {
    padding: 72px 0;
  }

  .feature-block {
    padding: 24px 20px;
  }

  .moment-media {
    min-height: 240px;
  }

  .more-grid {
    padding: 28px 22px;
  }
}

/* ========== Phone ========== */
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .desktop-only {
    display: none !important;
  }

  .hero-brand {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 1.42rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-cta .btn-ghost {
    flex: 0 0 auto;
  }

  .phone-glow {
    width: 200px;
    height: 200px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2,
  .more h2,
  .start h2 {
    font-size: 1.55rem;
  }

  .feature-rail,
  .steps {
    gap: 14px;
  }

  .moment-list {
    gap: 36px;
  }

  .moment {
    gap: 18px;
  }

  .moment-copy h3 {
    font-size: 1.22rem;
  }

  .moment-tag {
    margin-bottom: 8px;
  }

  .download {
    padding: 24px 0 calc(36px + var(--dock-h) + var(--safe-bottom));
  }

  .download-inner {
    padding: 40px 18px 36px;
    border-radius: 24px;
  }

  .download-inner h2 {
    font-size: 1.45rem;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: calc(28px + var(--dock-h) + var(--safe-bottom));
  }

  .footer-inner {
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }

  /* 底部常驻下载条 */
  .mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + var(--safe-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(8, 48, 36, 0.08);
    transform: translateY(110%);
    transition: transform 0.28s ease;
  }

  .mobile-dock.is-visible {
    transform: translateY(0);
  }

  .mobile-dock-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
  }

  .mobile-dock-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-dock-copy img {
    border-radius: 10px;
    flex-shrink: 0;
  }

  .mobile-dock-copy strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .mobile-dock-copy span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
  }

  .mobile-dock .btn {
    flex-shrink: 0;
    min-width: 88px;
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 60px;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 16px;
  }

  .phone {
    width: min(220px, 58vw);
    border-radius: 30px;
  }

  .phone-screen {
    min-height: 380px;
    border-radius: 22px;
    padding: 18px 14px 18px;
  }

  .mock-greet {
    font-size: 1.1rem;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .mobile-dock {
    transition: none !important;
  }
}
