:root {
  --bg: #fdf7f4;
  --surface: rgba(255, 255, 255, 0.86);
  --ink: #211b29;
  --muted: #766f80;
  --line: rgba(33, 27, 41, 0.09);
  --pink: #e85f86;
  --pink-soft: #ffe5ed;
  --violet: #8f6ee8;
  --mint: #3faf94;
  --shadow: 0 24px 70px rgba(68, 38, 58, 0.14);
  --radius: 28px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1100px 700px at 8% -10%, #ffe2ea 0%, transparent 58%),
    radial-gradient(900px 650px at 105% 8%, #e8e0ff 0%, transparent 55%),
    radial-gradient(800px 600px at 50% 100%, #e6f8f1 0%, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.page {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 30px rgba(68, 38, 58, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, #ff9db5, #b58cff);
  box-shadow: 0 10px 22px rgba(232, 95, 134, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.2px;
}

.brand-text small {
  margin-top: 3px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f27c9c, #e2577d);
  box-shadow: 0 14px 30px rgba(226, 87, 125, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(226, 87, 125, 0.32);
}

.btn-soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.btn-ghost {
  margin-left: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  padding: 88px 0 100px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(232, 95, 134, 0.12);
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -3.6px;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ec678a 10%, #b58cff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 520px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  color: var(--muted);
}

.hero-points li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--mint);
  font-weight: 800;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.glow-a {
  width: 360px;
  height: 360px;
  top: 30px;
  right: 10px;
  background: radial-gradient(circle, #ffd7e3 0%, transparent 68%);
}

.glow-b {
  width: 320px;
  height: 320px;
  bottom: 20px;
  left: 0;
  background: radial-gradient(circle, #ded4ff 0%, transparent 68%);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 86%);
  padding: 18px;
  border-radius: 44px;
  background: linear-gradient(160deg, #fffaf7, #f6f1ff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 40px 90px rgba(70, 38, 60, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 14px;
  font-size: 11px;
  font-weight: 700;
}

.mini-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(135deg, #ff9db5, #b58cff);
}

.pill {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  color: #2a8c74;
  background: rgba(63, 175, 148, 0.12);
}

.phone-card {
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(150deg, #fff0e6, #ffe5ef 48%, #eee6ff);
}

.phone-label {
  font-size: 10px;
  color: rgba(33, 27, 41, 0.55);
}

.ring {
  width: 166px;
  height: 166px;
  margin: 12px auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#f27c9c 0 34%, rgba(255, 255, 255, 0.55) 34% 100%);
}

.ring-inner {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 50%;
  background: #fffaf8;
}

.ring-inner strong {
  font-size: 30px;
  letter-spacing: -1.5px;
}

.ring-inner span {
  font-size: 9px;
  color: var(--muted);
}

.phone-row {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: rgba(33, 27, 41, 0.6);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.mini-grid div {
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.mini-grid b {
  display: block;
  font-size: 16px;
}

.mini-grid span {
  font-size: 9px;
  color: var(--muted);
}

.chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 12px 13px;
  border-radius: 18px 18px 18px 6px;
  font-size: 11px;
  line-height: 1.5;
  background: #fff;
  box-shadow: 0 10px 24px rgba(68, 38, 58, 0.08);
}

.chat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink-soft);
}

.chat-icon i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent);
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}

.section-head p,
.split-copy p,
.privacy p,
.download p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(68, 38, 58, 0.07);
  backdrop-filter: blur(12px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 15px;
  font-size: 20px;
  background: var(--tint);
}

.feature h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.feature p,
.step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.step-no {
  display: block;
  margin-bottom: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pink);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-copy h2 {
  margin-top: 10px;
}

.check-list {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  font-size: 10px;
  color: #2a8c74;
  background: rgba(63, 175, 148, 0.14);
}

.console-card {
  padding: 20px;
  border-radius: 30px;
  background: linear-gradient(155deg, #fffaf8, #f4efff);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.console-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.console-state {
  display: grid;
  gap: 4px;
  padding: 18px 16px;
  margin: 14px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.console-state small {
  font-size: 9px;
  color: var(--muted);
}

.console-state strong {
  font-size: 20px;
  letter-spacing: -0.5px;
}

.console-state span {
  font-size: 10px;
  color: var(--muted);
}

.console-msg {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.console-msg.them {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.console-msg.me {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, #f27c9c, #e2577d);
  border-bottom-right-radius: 6px;
}

.console-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.console-actions span {
  flex: 1;
  padding: 9px 6px;
  border-radius: 12px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.privacy-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255, 227, 236, 0.9), transparent 60%),
    linear-gradient(150deg, #fffaf8, #f2edff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.privacy-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.privacy-badges div {
  padding: 18px 10px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.privacy-badges b {
  display: block;
  font-size: 22px;
}

.privacy-badges span {
  font-size: 9.5px;
  color: var(--muted);
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 40px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(500px 260px at 85% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #2a2133, #3a2338 50%, #2b2440);
  box-shadow: 0 30px 70px rgba(42, 33, 51, 0.28);
}

.download-card .kicker {
  color: #ffb3c8;
}

.download-card h2 {
  margin: 8px 0 10px;
  color: #fff;
}

.download-card p {
  color: rgba(255, 255, 255, 0.66);
  max-width: 560px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 0 0 auto;
}

.download-card .btn-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.faq {
  max-width: 860px;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--pink);
  font-size: 18px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 54px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-brand {
  justify-content: center;
}

.footer p,
.copyright {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 16, 24, 0.46);
  backdrop-filter: blur(10px);
}

.auth-backdrop.hidden {
  display: none;
}

.auth-card {
  width: min(430px, 100%);
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(36, 32, 42, 0.28);
  animation: auth-in 0.18s ease;
}

@keyframes auth-in {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.auth-head .kicker {
  font-size: 9px;
  letter-spacing: 1.2px;
}

.auth-head h3 {
  margin: 6px 0 0;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.auth-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.auth-sub {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.auth-tab {
  flex: 1;
  padding: 9px 8px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-tab.active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(68, 38, 58, 0.1);
}

.auth-card .hidden {
  display: none !important;
}

.auth-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

.auth-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.auth-field input:focus {
  border-color: rgba(232, 95, 134, 0.55);
  box-shadow: 0 0 0 4px rgba(232, 95, 134, 0.12);
}

.auth-code-row {
  display: flex;
  gap: 8px;
}

.auth-code-row input {
  flex: 1;
}

.auth-code-row .btn {
  min-height: 46px;
  padding: 0 14px;
  font-size: 11px;
}

.auth-hint {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px dashed rgba(232, 95, 134, 0.32);
  background: rgba(255, 229, 237, 0.5);
  color: var(--pink);
  font-size: 10.5px;
}

.auth-hint.hidden,
.auth-error.hidden {
  display: none;
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
  min-height: 48px;
}

.auth-error {
  margin: 10px 0 0;
  font-size: 11px;
  color: #d94b63;
}

.auth-note {
  margin: 12px 0 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.copyright {
  font-size: 10px;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 0 70px;
  }

  .hero-art {
    min-height: 480px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .privacy-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 660px) {
  .nav {
    width: calc(100% - 20px);
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .btn-ghost {
    margin-left: auto;
  }

  .hero,
  .section,
  .footer {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    letter-spacing: -2.4px;
  }

  .hero-art {
    min-height: 430px;
  }

  .phone {
    width: 280px;
    padding: 14px;
  }

  .ring {
    width: 138px;
    height: 138px;
  }

  .ring-inner {
    width: 110px;
    height: 110px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .privacy-card,
  .download-card {
    padding: 26px;
    border-radius: 26px;
  }

  .privacy-badges {
    gap: 8px;
  }

  .section {
    padding: 60px 0;
  }

  .download-actions {
    width: 100%;
    flex-direction: column;
  }

  .download-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
