/* ============================================================
 * 派+ · 官网样式
 * 深色 · Glassmorphism · 蓝紫光晕
 * ============================================================ */

:root {
  --bg-0:        #05060d;
  --bg-1:        #0a0a18;
  --bg-2:        #11122a;
  --ink:         #ecedf4;
  --ink-2:       #b9bccd;
  --ink-3:       #7a7e96;
  --line:        rgba(255, 255, 255, 0.08);
  --line-2:      rgba(255, 255, 255, 0.14);

  --brand:       #6c63ff;
  --brand-2:     #3a8dff;
  --brand-3:     #b06bff;
  --pink:        #ff5dc8;
  --cyan:        #5cdcff;
  --amber:       #ffb066;
  --green:       #5be3a3;

  --grad-brand:  linear-gradient(135deg, #6c63ff 0%, #3a8dff 60%, #59c8ff 100%);
  --grad-glow:   radial-gradient(circle, rgba(108,99,255,0.55) 0%, rgba(108,99,255,0) 70%);

  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   28px;
  --radius-xl:   36px;

  --shadow-1:    0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-2:    0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 20px 80px rgba(108, 99, 255, 0.45);

  --ease-out:    cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.6, 0, .2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "Microsoft Yahei", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

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

::selection { background: rgba(108, 99, 255, .35); color: #fff; }

/* ---------- 背景光晕 ---------- */

.bg-aurora {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-aurora::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(108, 99, 255, .18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(58, 141, 255, .12), transparent 60%),
    linear-gradient(180deg, #05060d 0%, #07071a 40%, #04040c 100%);
}
.orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 22s ease-in-out infinite;
}
.orb-1 { top: -180px; left: -120px;
  background: radial-gradient(circle, #6c63ff 0%, transparent 70%); }
.orb-2 { top: 30%; right: -200px;
  background: radial-gradient(circle, #3a8dff 0%, transparent 70%);
  animation-delay: -7s; }
.orb-3 { bottom: -200px; left: 30%;
  background: radial-gradient(circle, #b06bff 0%, transparent 70%);
  animation-delay: -14s; opacity: .4; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .35;
}

/* ---------- 玻璃质感 ---------- */

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
          backdrop-filter: blur(22px) saturate(160%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ---------- 容器 ---------- */

.container { width: min(1180px, 92%); margin-inline: auto; }
.section   { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--brand-2);
  background: rgba(58, 141, 255, .1);
  border: 1px solid rgba(58, 141, 255, .25);
}
.section-title {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.18;
  margin: 18px 0 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
html[lang="en"] #features .section-title--features {
  white-space: nowrap;
  font-size: clamp(22px, 3.8vw, 44px);
}
.section-desc {
  color: var(--ink-2);
  font-size: clamp(15px, 1.4vw, 17px);
}

/* ---------- 顶部导航 ---------- */

.nav {
  position: sticky; top: 14px;
  z-index: 50;
  width: min(1180px, 92%);
  margin: 14px auto 0;
  padding: 10px 16px 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
  border-radius: 999px;
}
.nav-brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-brand small {
  font-size: 18px; color: var(--brand-2);
  margin-left: 1px;
}
.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  min-width: 0;
}
.nav-links a {
  flex: 0 0 auto;
  min-width: 6.75rem;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: auto;
}
.nav-actions:has(.nav-cta) {
  width: 228px;
}
.nav-cta {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 14px;
  font-size: 14px;
}
.nav-cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.25rem;
  white-space: nowrap;
}
.nav-cta .nav-text { display: inline; }
.nav-cta .nav-text-short { display: none; }
.nav-cta--back .nav-cta-label { min-width: 5.5rem; }

.lang-toggle {
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 64px;
  min-width: 64px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lang-toggle:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.35);
}
.lang-toggle:focus-visible {
  outline: 2px solid rgba(108, 99, 255, 0.55);
  outline-offset: 2px;
}
.lang-toggle-icon {
  flex-shrink: 0;
  opacity: 0.85;
}
.lang-toggle-text {
  display: inline-block;
  min-width: 1.25rem;
  line-height: 1;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    width: min(1180px, 96%);
    padding: 8px 12px;
    grid-template-columns: 1fr auto;
  }
  .nav-brand { grid-column: 1; }
  .nav-links { display: none; }
  .nav-actions {
    grid-column: 2;
    width: auto;
    min-width: 0;
  }
  .nav-actions:has(.nav-cta) {
    min-width: 148px;
  }
  .nav-cta { padding: 8px 12px; }
  .nav-cta-label { min-width: 2.75rem; }
  .nav-cta .nav-text { display: none; }
  .nav-cta .nav-text-short { display: inline; }
  .nav-cta--back .nav-cta-label { min-width: 5.5rem; }
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
  will-change: transform;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(108,99,255,.7);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(108,99,255,.85); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.06);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.btn-outline {
  color: var(--ink);
  border-color: var(--line-2);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.05); }

.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 16px; }
.btn-xl { padding: 16px 28px; font-size: 16px; border-radius: 18px; min-width: 220px; }

.dl-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.dl-text small { font-size: 11px; opacity: .8; font-weight: 500; letter-spacing: .05em; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 24px) clamp(60px, 9vw, 130px);
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 70px);
}
.hero-copy,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-title {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-visual {
    width: 100%;
    overflow: hidden;
  }
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

.hero-title {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  position: relative;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 36px;
}
@media (max-width: 920px) { .hero-sub { margin-inline: auto; } }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px;
}
@media (max-width: 920px) {
  .hero-actions { justify-content: center; }
}
@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; }
}

.hero-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 36px; flex-wrap: wrap;
}
@media (max-width: 920px) { .hero-meta { justify-content: center; } }
.hero-meta li {
  display: flex; flex-direction: column; gap: 2px;
}
.hero-meta strong {
  font-size: 18px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-meta span { color: var(--ink-3); font-size: 13px; }

/* ---------- 手机展示 ---------- */

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 600px;
}

.phone-frame {
  position: relative;
  width: 290px; aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2c4a, #0a0b18 70%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out);
}
.phone-frame--sm { width: 230px; }
.phone-frame::before {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none; z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 95px; height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}
.phone-frame img {
  width: 100%; height: 100%;
  border-radius: 38px;
  object-fit: cover;
}
.phone-glow {
  position: absolute;
  inset: -60px;
  background: var(--grad-glow);
  z-index: -1;
  opacity: .85;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow-2);
}
.float-card .icon {
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: rgba(108, 99, 255, .18);
  color: var(--brand-2);
}
.float-card .ttl { margin: 0; font-size: 14.5px; font-weight: 600; }
.float-card .sub { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }

.card-breath {
  top: 18%; left: 0;
  animation: floatY 6s ease-in-out infinite;
}
.card-lock {
  bottom: 16%; right: 0;
  animation: floatY 7s ease-in-out -3s infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@media (max-width: 920px) {
  .hero-visual { min-height: 560px; }
  .card-breath { left: 4%; }
  .card-lock   { right: 4%; }
}
@media (max-width: 560px) {
  .float-card { display: none; }
  .phone-frame { width: 240px; }
}

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1.5px solid var(--ink-3);
  border-radius: 999px;
  display: flex; justify-content: center;
}
.scroll-hint span {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--ink-2);
  margin-top: 8px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0);   opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@media (max-width: 920px) { .scroll-hint { display: none; } }

/* ---------- 功能区 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  border: 1px solid var(--line);
}
.icon-blue   { background: linear-gradient(135deg, rgba(58,141,255,.25), rgba(58,141,255,.05));  color: #7ab8ff; }
.icon-purple { background: linear-gradient(135deg, rgba(176,107,255,.25), rgba(176,107,255,.05));color: #c89bff; }
.icon-cyan   { background: linear-gradient(135deg, rgba(92,220,255,.22), rgba(92,220,255,.04));  color: var(--cyan); }
.icon-pink   { background: linear-gradient(135deg, rgba(255,93,200,.22), rgba(255,93,200,.04));  color: var(--pink); }
.icon-amber  { background: linear-gradient(135deg, rgba(255,176,102,.22), rgba(255,176,102,.04));color: var(--amber); }
.icon-green  { background: linear-gradient(135deg, rgba(91,227,163,.22), rgba(91,227,163,.04));  color: var(--green); }

.feature-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.feature-card strong { color: var(--ink); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.feature-tags span {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink-2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- 界面展示 ---------- */

.section-showcase { padding-bottom: clamp(60px, 8vw, 110px); }
.showcase-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(12px, 3vw, 36px);
  padding-block: 20px;
  perspective: 1400px;
}
.phone-card {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: transform .6s var(--ease-out);
  transform-style: preserve-3d;
}
.phone-card .phone-frame { width: 230px; }
.phone-card--center .phone-frame {
  width: 290px;
  transform: translateY(-30px);
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,.8),
    0 0 80px -20px rgba(108,99,255,.45);
}
.phone-card[data-tilt="-6"] { transform: rotateY(8deg); }
.phone-card[data-tilt="6"]  { transform: rotateY(-8deg); }
.phone-card[data-tilt="-6"]:hover { transform: rotateY(4deg) translateY(-8px); }
.phone-card[data-tilt="6"]:hover  { transform: rotateY(-4deg) translateY(-8px); }
.phone-card--center:hover .phone-frame { transform: translateY(-40px); }

.phone-caption {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
  letter-spacing: .02em;
}

@media (max-width: 860px) {
  .showcase-stage { grid-template-columns: 1fr; gap: 40px; }
  .phone-card--center .phone-frame { transform: none; }
  .phone-card[data-tilt] { transform: none; }
}

/* ---------- 理念三页 ---------- */

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.philo-card {
  overflow: hidden;
  padding: 0;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.philo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.philo-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* ---------- 隐私横幅 ---------- */

.section-privacy { padding-bottom: clamp(40px, 5vw, 80px); }
.privacy-banner {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 36px;
  padding: 42px 50px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(108,99,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.privacy-icon {
  width: 100px; height: 100px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(108,99,255,.4), rgba(58,141,255,.25));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 18px 50px -10px rgba(108,99,255,.6);
}
.privacy-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.privacy-text p { color: var(--ink-2); margin: 0 0 18px; max-width: 720px; }
.privacy-text strong { color: var(--ink); }
.privacy-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
  color: var(--ink-2); font-size: 14px;
}
.privacy-points li::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--brand-2);
  font-weight: 700;
}
@media (max-width: 820px) {
  .privacy-banner { grid-template-columns: 1fr; padding: 32px 28px; text-align: center; }
  .privacy-icon { margin-inline: auto; }
  .privacy-points { grid-template-columns: 1fr; text-align: left; max-width: 260px; margin-inline: auto; }
}

/* ---------- 下载区 ---------- */

.download-card {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(58,141,255,.25), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(176,107,255,.25), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.download-card h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 14px 0 14px;
  letter-spacing: -0.025em;
}
.download-card p {
  color: var(--ink-2);
  margin: 0 auto 32px;
  max-width: 540px;
}
.download-actions {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-name { margin: 0; font-weight: 700; font-size: 17px; }
.footer-tag  { margin: 4px 0 0; color: var(--ink-3); font-size: 13px; letter-spacing: .04em; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-nav h4 {
  font-size: 13px; color: var(--ink-3); font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: .1em; text-transform: uppercase;
}
.footer-nav a {
  display: block; padding: 6px 0;
  color: var(--ink-2); font-size: 14px;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* ---------- 入场动画 ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- 合规页（privacy / terms） ---------- */

.legal-page {
  width: min(820px, 92%);
  margin: 60px auto 80px;
  padding: 48px clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.legal-page .legal-meta {
  color: var(--ink-3); font-size: 13px;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal-page p, .legal-page li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}
.legal-page ul { padding-left: 22px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-2);
  margin-bottom: 24px;
  font-size: 14px;
}
.legal-back:hover { color: #fff; }
