:root {
  --primary: #5DD1C4;
  --primary-deep: #35B3A6;
  --primary-dark: #238E83;
  --primary-soft: #E7FAF7;
  --primary-ink: #0F5F57;
  --ink: #12211F;
  --ink-2: #3D4F4C;
  --muted: #6B7C79;
  --line: #E3EFEC;
  --bg: #F4FBFA;
  --card: #FFFFFF;
  --accent: #FFB648;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 2px 10px rgba(17, 76, 70, .06);
  --shadow-md: 0 12px 30px rgba(17, 76, 70, .10);
  --shadow-lg: 0 24px 60px rgba(17, 76, 70, .16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(17, 76, 70, .06);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(93, 209, 196, .35);
}
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ink);
}
.brand-tag {
  font-size: 10px;
  line-height: 1;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border: 1px solid rgba(93, 209, 196, .45);
  border-radius: 999px;
  padding: 4px 7px;
  white-space: nowrap;
}
.menu-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-panel {
  position: absolute;
  top: calc(100% + 2px);
  right: 16px;
  z-index: 80;
  min-width: 168px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.menu-panel[hidden] { display: none; }
.menu-panel a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.menu-panel a:hover,
.menu-panel a:active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
@media (min-width: 760px) {
  .menu-panel { right: 28px; }
}

/* ---------- Notice ---------- */
.notice {
  background: var(--primary-soft);
  border-bottom: 1px solid rgba(93, 209, 196, .22);
}
.notice-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 12px;
  color: var(--primary-ink);
}
.notice-icon { display: inline-flex; color: var(--primary-dark); flex: none; }
.notice p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.notice strong { font-weight: 700; }
.notice-link {
  flex: none;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(35, 142, 131, .35);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(155deg, #6FDDD1 0%, var(--primary) 42%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: 0 0 28px 28px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  pointer-events: none;
}
.hero::before { width: 320px; height: 320px; right: -120px; top: -140px; }
.hero::after { width: 220px; height: 220px; left: -110px; bottom: -130px; }
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 38px;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #EFFFFC;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 5px 12px;
}
.hero-title {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: 2px;
  font-weight: 800;
  text-shadow: 0 6px 24px rgba(10, 70, 64, .18);
}
.hero-slogan {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #F2FFFD;
}
.hero-desc {
  margin: 12px 0 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: var(--primary-ink);
  background: #fff;
  box-shadow: 0 12px 26px rgba(10, 70, 64, .22);
}
.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .08);
}
.hero-meta {
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}

.hero-visual {
  position: relative;
  align-self: center;
  height: 250px;
  width: 340px;
  max-width: 100%;
  margin: 0 auto;
}
.chat-orbit {
  position: absolute;
  inset: 0;
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  transform: translate(-50%, -50%);
  animation: ringPulse 7s ease-in-out infinite;
}
.ring-1 { width: 232px; height: 232px; }
.ring-2 { width: 310px; height: 310px; animation-delay: 1.4s; }
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .5; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: .9; }
}
.bubble-main {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 156px;
  height: 100px;
  margin: -50px 0 0 -78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .46);
  border-radius: 40px 40px 40px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 44px rgba(9, 66, 60, .20), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: mainFloat 5.5s ease-in-out infinite;
}
.bubble-main .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.bubble-main .dot:nth-child(2) { animation-delay: .18s; }
.bubble-main .dot:nth-child(3) { animation-delay: .36s; }
@keyframes mainFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.bubble-mini {
  position: absolute;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 26px rgba(9, 66, 60, .14);
}
.bubble-mini i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .66);
}
.bubble-mini i:nth-child(1) { width: 100%; }
.bubble-mini i:nth-child(2) { width: 70%; }
.bubble-mini i:nth-child(3) { width: 45%; }
.mini-1 { width: 78px; top: 6px; left: 12px; border-radius: 18px 18px 18px 6px; animation: miniFloat1 6.5s ease-in-out infinite; }
.mini-2 { width: 58px; top: 22px; right: 4px; background: rgba(16, 92, 84, .24); border-color: rgba(255, 255, 255, .3); border-radius: 16px 16px 6px 16px; animation: miniFloat2 7.5s ease-in-out infinite; }
.mini-3 { width: 66px; bottom: 24px; left: 2px; background: rgba(16, 92, 84, .24); border-color: rgba(255, 255, 255, .3); border-radius: 16px 16px 16px 6px; animation: miniFloat3 8s ease-in-out infinite; }
.mini-4 { width: 92px; bottom: 10px; right: 16px; border-radius: 18px 18px 6px 18px; animation: miniFloat4 6s ease-in-out infinite; }
@keyframes miniFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -7px); } }
@keyframes miniFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 6px); } }
@keyframes miniFloat3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 4px); } }
@keyframes miniFloat4 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, -6px); } }
@keyframes dotPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: .55; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ring,
  .bubble-main,
  .bubble-main .dot,
  .bubble-mini { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 34px 0 6px; }
#features, #screens { scroll-margin-top: 76px; }
.section-alt { background: #fff; padding-bottom: 26px; }
.section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--ink);
}
.section-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink);
}
.feature-card p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Screenshots ---------- */
.shots {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 4px 20px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 168px;
  margin: 0;
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 7px;
  box-shadow: var(--shadow-md);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: var(--primary-soft);
}
.shots-hint {
  margin: 0 20px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Promise ---------- */
.promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 6px 0 10px;
}
.promise-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.promise-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(93, 209, 196, .18);
}

/* ---------- Download ---------- */
.download-card {
  background:
    radial-gradient(120% 120% at 90% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(150deg, #6FDDD1 0%, var(--primary) 45%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}
.download-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.download-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(9, 66, 60, .22);
}
.download-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}
.download-title p {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
}
.download-version {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-ink);
  background: #fff;
  border-radius: 999px;
  padding: 5px 11px;
  box-shadow: 0 6px 16px rgba(9, 66, 60, .18);
}
.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.download-meta div { text-align: center; }
.download-meta dt {
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
}
.download-meta dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.btn-download {
  display: flex;
  width: 100%;
  height: 52px;
  border-radius: 14px;
  color: var(--primary-ink);
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 14px 30px rgba(9, 66, 60, .24);
}
.download-hint {
  margin: 12px 0 0;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, .78);
}
.download-sha {
  margin: 8px 0 0;
  font-size: 9px;
  word-break: break-all;
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #12211F;
  color: rgba(255, 255, 255, .78);
  margin-top: 26px;
  padding: 30px 0 90px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.footer-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.footer-slogan {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-links a:hover { color: var(--primary); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 14px;
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .45);
}
.footer-legal p { margin: 0; }

/* ---------- Bottom bar (mobile) ---------- */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(17, 76, 70, .08);
  transform: translateY(0);
  transition: transform .25s ease;
}
.bottom-bar.hidden { transform: translateY(110%); }
.bottom-bar img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.bottom-bar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.bottom-bar-text strong { font-size: 14px; }
.bottom-bar-text span { font-size: 11px; color: var(--muted); }
.btn-sm {
  margin-left: auto;
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 8px 18px rgba(53, 179, 166, .35);
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .feature-grid { gap: 14px; }
  .feature-card { padding: 18px 16px; }
}
@media (min-width: 760px) {
  .container { max-width: 960px; padding-left: 32px; padding-right: 32px; }
  .header-inner { height: 66px; padding-left: 32px; padding-right: 32px; }
  .hero { border-radius: 0 0 36px 36px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero-copy { flex: 1 1 auto; }
  .hero-visual { flex: 0 0 380px; height: 320px; max-width: 380px; margin: 0; }
  .ring-1 { width: 260px; height: 260px; }
  .ring-2 { width: 340px; height: 340px; }
  .bubble-main { width: 176px; height: 112px; margin: -56px 0 0 -88px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 46px 0 8px; }
  .section-alt { padding-bottom: 34px; }
  .shots { justify-content: center; flex-wrap: wrap; overflow: visible; padding: 6px 32px 30px; margin: 0; }
  .shot { flex: 0 0 188px; }
  .download-card { padding: 32px 32px 26px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .site-footer { padding-bottom: 40px; margin-top: 40px; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
  .footer-legal { width: 100%; }
  .bottom-bar { display: none; }
}
