/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0b0a12;
  --bg-2: #12101c;
  --text: #f5f3ff;
  --muted: #a1a1b5;
  --line: rgba(255,255,255,.08);
  --grad: linear-gradient(135deg, #7C7DE8 0%, #C76AC1 55%, #C76AC1 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,125,232,.25), rgba(199,106,193,.18));
  --radius: 20px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 6vw;
  background: rgba(11,10,18,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.logo .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 48px; font-size: 20px; font-weight: 800; color: #ffffff; letter-spacing: .02em; }
.nav-links a { transition: color .2s, text-shadow .2s; }
.nav-links a:hover { color: #C76AC1; text-shadow: 0 0 16px rgba(199,106,193,.6); }


/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(199,106,193,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(199,106,193,.4); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ===== Hero ===== */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: 80px 6vw 60px; max-width: 1280px; margin: 0 auto;
  position: relative;
}
.badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid rgba(199,106,193,.25);
  color: #E6C9F0; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05;
  font-weight: 900; letter-spacing: -.03em; margin-bottom: 20px;
}
.gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ===== Phone mockup ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 292px; height: 590px;
  background: #1a1726; border-radius: 44px; padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: rotate(-4deg); transition: transform .5s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #0b0a12; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  height: 100%; border-radius: 34px; background: var(--bg-2);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 46px 18px 14px; border-bottom: 1px solid var(--line);
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; background: var(--grad-soft); border: 1px solid rgba(199,106,193,.3);
}
.chat-name { display: flex; flex-direction: column; line-height: 1.2; }
.chat-name strong { font-size: 15px; }
.online { font-size: 11px; color: #34d399; }
.messages { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.msg.left { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.msg.right { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.chat-input {
  margin: 12px 14px 18px; padding: 11px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); display: flex; justify-content: space-between;
}
.chat-input .send { color: #C76AC1; }
.glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  filter: blur(90px); opacity: .5; z-index: -1; pointer-events: none;
}
.glow-1 { background: #7C7DE8; top: 10%; right: 6%; }
.glow-2 { background: #C76AC1; bottom: 6%; left: 6%; }

/* ===== Sections ===== */
.section { padding: 90px 6vw; max-width: 1280px; margin: 0 auto; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(124,125,232,.05), transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  padding: 46px 38px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(124,125,232,.10), rgba(199,106,193,.05) 45%, rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,106,193,.30), transparent 70%);
  top: -90px; right: -70px; opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.card:hover {
  transform: translateY(-12px);
  border-color: rgba(199,106,193,.45);
  box-shadow: 0 28px 70px rgba(124,125,232,.30), 0 0 0 1px rgba(199,106,193,.22) inset;
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center;
  font-size: 36px; margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(124,125,232,.38), rgba(199,106,193,.26));
  border: 1px solid rgba(199,106,193,.35);
  box-shadow: 0 14px 34px rgba(124,125,232,.28);
  transition: transform .3s ease;
}
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }
.card h3 {
  font-size: 25px; font-weight: 900; letter-spacing: -.01em;
  margin-bottom: 16px; line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 35%, #E6C9F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card p { color: #b8b6cf; font-size: 17px; line-height: 1.8; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.step-num { font-size: 44px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== Quote ===== */
.quote-section { text-align: center; }
blockquote {
  max-width: 760px; margin: 0 auto; font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700; line-height: 1.4; letter-spacing: -.01em;
}
blockquote cite { display: block; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--muted); font-style: normal; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); padding: 0;
}
.faq summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq a { color: #C76AC1; text-decoration: underline; }

/* ===== CTA ===== */
.cta-section { text-align: center; }
.cta-box {
  padding: 70px 30px; border-radius: 32px;
  background: radial-gradient(circle at 50% 0%, rgba(199,106,193,.24), transparent 60%), var(--bg-2);
  border: 1px solid rgba(199,106,193,.25);
}
.cta-box h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.cta-box p { color: var(--muted); margin-bottom: 30px; }
.cta-box .tiny { font-size: 13px; margin-top: 18px; margin-bottom: 0; color: #6b6b80; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 50px 6vw 30px; max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { font-size: 13px; color: #6b6b80; }
.footer-bottom a { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { margin-top: 20px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 24px; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Logo 图片 ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { width: 30px; height: 30px; border-radius: 8px; display: inline-block; }

/* ===== 功能卡片：5 个时自适应 ===== */
.cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ===== 下载模块（二维码） ===== */
.download-row {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-top: 30px;
}
.qr-wrap {
  padding: 14px; background: #fff; border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.qr-wrap img { width: 180px; height: 180px; display: block; }
.download-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.download-info .tiny { font-size: 13px; color: #6b6b80; }

/* ===== 隐私政策模块 ===== */
.privacy-teaser { text-align: center; }
.privacy-card {
  max-width: 760px; margin: 0 auto; padding: 44px 36px;
  border-radius: 24px; background: rgba(255,255,255,.035);
  border: 1px solid var(--line); text-align: left;
}
.privacy-card p { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 22px; }
.privacy-card .points { display: grid; gap: 12px; margin-bottom: 26px; }
.privacy-card .points li { list-style: none; color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.privacy-card .points li::before { content: '✓'; position: absolute; left: 0; color: #C76AC1; font-weight: 800; }

@media (min-width: 1100px) {
  .nav-links { font-size: 24px; gap: 60px; }
}

/* ===== 语言切换 ===== */
.lang {
  display: inline-block;
  font-size: 14px !important; font-weight: 700; color: #C76AC1 !important;
  border: 1px solid rgba(199,106,193,.45); border-radius: 999px;
  padding: 5px 14px;
  cursor: default;
  user-select: none;
}
