:root {
  --green: #1dbf85;
  --green-deep: #128a5e;
  --green-soft: #d8f5e8;
  --ink: #16352a;
  --muted: #5d746a;
  --paper: #f3faf6;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(22, 53, 42, 0.1);
  --orange: #ff7a45;
  --blue: #2f80ed;
  --shadow: 0 24px 60px rgba(18, 70, 48, 0.12);
  --radius: 22px;
  --font: "system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI"", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --display: ""PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(29, 191, 133, 0.38), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(255, 122, 69, 0.18), transparent 55%),
    radial-gradient(800px 500px at 70% 100%, rgba(47, 128, 237, 0.12), transparent 50%),
    linear-gradient(180deg, #eef9f3 0%, #f7fbf8 42%, #eef6f2 100%);
  animation: aurora 14s ease-in-out infinite alternate;
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}
@keyframes aurora {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.05) translateY(-12px); }
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 40px);
  backdrop-filter: blur(14px);
  background: rgba(243, 250, 246, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(29, 191, 133, 0.28);
}
.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover { color: var(--green-deep); }
.top .btn-sm { margin-left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 138, 94, 0.28);
}
.btn-ghost {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-disabled,
.btn[aria-disabled="true"] {
  background: #d7e3dc;
  color: #7a9087;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 40px) 48px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.brand-hero {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 88px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0.04em;
  animation: rise .8s ease both;
}
.lead {
  margin: 18px 0 0;
  max-width: 34rem;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  animation: rise .9s ease both;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1s ease both;
}
.hero-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  animation: rise 1.1s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.phone {
  width: min(280px, 72vw);
  border-radius: 36px;
  padding: 14px;
  background: linear-gradient(160deg, #1f2d28, #0f1c17);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  animation: float 5.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone-notch {
  width: 96px;
  height: 10px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #0a1411;
}
.phone-screen {
  background: linear-gradient(180deg, #e8f8f0, #f7fffb 40%, #fff);
  border-radius: 26px;
  padding: 22px 16px 18px;
  min-height: 420px;
}
.mock-brand {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}
.mock-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(29,191,133,0.12);
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(20, 80, 55, 0.06);
}
.mock-card.alt { transform: translateX(8px); }
.mock-card strong { display: block; font-size: 14px; }
.mock-card small { color: var(--muted); font-size: 12px; }
.mock-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ecc87, #1dbf85);
  flex: 0 0 auto;
}
.mock-dot.warm { background: linear-gradient(135deg, #ffb087, #ff7a45); }
.mock-dot.cool { background: linear-gradient(135deg, #7eb6ff, #2f80ed); }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 1;
}
.orb-a {
  width: 180px;
  height: 180px;
  background: rgba(29, 191, 133, 0.35);
  left: 8%;
  top: 18%;
  animation: float 7s ease-in-out infinite reverse;
}
.orb-b {
  width: 140px;
  height: 140px;
  background: rgba(255, 122, 69, 0.22);
  right: 10%;
  bottom: 16%;
  animation: float 6s ease-in-out infinite;
}

.section {
  padding: 72px clamp(18px, 4vw, 40px);
}
.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.download-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1100px) {
  .download-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.choose-guide {
  margin: 0 0 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46, 204, 135, 0.12), rgba(255, 143, 90, 0.1));
  border: 1px solid rgba(255,255,255,0.7);
}
.guide-title {
  margin: 0 0 14px;
  font-size: 20px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.guide-card {
  background: rgba(255,255,255,0.72);
  border-radius: 14px;
  padding: 14px 16px;
}
.guide-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
}
.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .guide-grid { grid-template-columns: 1fr; }
}
.feature,
.dl-card,
.trust-panel {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(18, 70, 48, 0.06);
  backdrop-filter: blur(10px);
}
.feature {
  padding: 24px;
  transition: transform .2s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.download { padding-top: 24px; }
.dl-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.dl-icon.android { background: linear-gradient(135deg, #3ddc84, #128a5e); }
.dl-icon.harmony { background: linear-gradient(135deg, #ff8f5a, #e85d2a); }
.dl-icon.hap { background: linear-gradient(135deg, #5b8cff, #3557d9); }
.dl-icon.ios { background: linear-gradient(135deg, #5b6b75, #2c343a); }
.dl-card h3 { margin: 0; font-size: 22px; }
.dl-desc { margin: 0; color: var(--muted); min-height: 44px; }
.dl-meta {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 6px;
}
.dl-meta code {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  font-size: 12px;
  color: var(--ink);
}
.dl-card .btn { margin-top: auto; }
.ios-hint { margin: 0; font-size: 12px; color: var(--muted); }

.trust-panel { padding: 8px 18px 18px; }
.trust-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.trust-row:last-of-type { border-bottom: 0; }
.trust-row label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.trust-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
  color: var(--ink);
}
.copy {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  cursor: pointer;
}
.trust-tip {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.foot {
  padding: 28px clamp(18px, 4vw, 40px) 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.foot strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 2px;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { order: -1; min-height: 360px; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .trust-row { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
