/* TofaiDown — 官网下载站共享样式 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #8e4bd9;
  --brand-deep: #6b2fb8;
  --brand-soft: #f4edfc;
  --brand-mid: #c9a8ef;
  --ink: #1a1528;
  --ink-soft: #4a4458;
  --muted: #7a7389;
  --line: rgba(142, 75, 217, 0.14);
  --card: rgba(255, 255, 255, 0.78);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(107, 47, 184, 0.12);
  --shadow-lg: 0 20px 60px rgba(107, 47, 184, 0.18);
  --nav-h: 72px;
  --float-h: 72px;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 168, 239, 0.45), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(142, 75, 217, 0.18), transparent 55%),
    linear-gradient(180deg, #fbf8ff 0%, #ffffff 40%, #f7f2fd 100%);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: calc(var(--float-h) + 16px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ===== Nav ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(26, 21, 40, 0.06);
  border-color: var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ===== Language switcher ===== */
.lang-switch {
  position: relative;
  z-index: 1001;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.lang-btn:hover,
.lang-switch.open .lang-btn {
  border-color: var(--brand-mid);
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.lang-btn i { font-size: 1.05rem; }

.lang-btn .lang-caret {
  font-size: 1rem;
  transition: transform .2s;
}

.lang-switch.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.lang-switch.open .lang-menu { display: block; }

.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.lang-menu a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

.lang-menu a.is-active::after {
  content: "✓";
  font-size: 0.85rem;
  color: var(--brand);
}

@media (max-width: 640px) {
  .lang-btn .lang-label { display: none; }
  .lang-btn { padding: 0 10px; width: 40px; justify-content: center; }
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  padding: 12px 8px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 500;
}
.mobile-drawer a:hover { background: var(--brand-soft); color: var(--brand); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(142, 75, 217, 0.35);
}

.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(142, 75, 217, 0.45); }

.btn-ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand-mid);
}

.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }

.btn-android {
  background: linear-gradient(135deg, #34c759, #1ea84a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 168, 74, 0.28);
}

.btn-ios {
  background: linear-gradient(135deg, #1c1c1e, #3a3a3c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 28, 30, 0.28);
}

.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), #ff6bb5 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 34em;
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.hero-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 440px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  min-width: 0;
  text-align: left;
}

.hero-stats strong,
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.hero-stats span,
.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  word-break: break-word;
}

.hero-trust {
  margin-top: 20px;
  max-width: 520px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.phone-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  transform: rotate(-2deg);
}

.phone-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: #fff;
}

.phone-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.phone-card:nth-child(2),
.phone-card:nth-child(4) { transform: translateY(28px); }

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
}

.orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(142, 75, 217, 0.25);
  top: -20px;
  right: 10%;
  animation: floaty 7s ease-in-out infinite;
}

.orb-2 {
  width: 120px;
  height: 120px;
  background: rgba(255, 107, 181, 0.22);
  bottom: 40px;
  left: 0;
  animation: floaty 6s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(244, 237, 252, 0.55), rgba(255, 255, 255, 0.2));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p { color: var(--ink-soft); }

.feature-grid,
.why-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.why-card,
.page-card,
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover,
.why-card:hover,
.page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  color: var(--brand);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.feature-card h3,
.why-card h3,
.page-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-card p,
.why-card p,
.page-card p,
.review-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Characters */
.char-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.char-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}

.char-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.char-card .meta {
  padding: 12px 10px 14px;
}

.char-card .meta strong {
  display: block;
  font-size: 0.95rem;
}

.char-card .meta span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #ff6bb5);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.review-author small { color: var(--muted); display: block; }

/* Download CTA */
.download-panel {
  border-radius: 28px;
  padding: 42px 36px;
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, #7a35d4 0%, #a855f7 45%, #d946a6 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.download-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.download-panel p {
  opacity: 0.92;
  margin-bottom: 24px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.download-panel .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.download-panel .btn-ghost:hover {
  background: #fff;
  color: var(--brand-deep);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  position: relative;
  padding-right: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.3rem;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Article / subpage */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 36px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero .lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 48em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.breadcrumb a:hover { color: var(--brand); }

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 237, 252, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--line);
}

.trust-box h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
  color: var(--brand-deep);
}

.trust-box ol,
.trust-box ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-box li { margin-bottom: 4px; list-style: decimal; }
.trust-box ul li { list-style: disc; }

.steps {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.step-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.step-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child { font-weight: 600; color: var(--ink); width: 28%; }

.disclaimer {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #faf8fc;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ===== 404 ===== */
.error-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  text-align: center;
}

.error-inner { max-width: 640px; }

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--brand), #ff6bb5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}

.error-desc {
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.error-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.error-links a:hover { background: var(--brand-soft); }

@media (max-width: 640px) {
  .error-links { grid-template-columns: 1fr; }
}

/* ===== HTML sitemap ===== */
.map-wrap {
  display: grid;
  gap: 18px;
}

.map-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.map-block h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--brand-deep);
}

.map-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.map-list li {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.map-list li:last-child { border-bottom: none; }

.map-list a {
  font-weight: 600;
  color: var(--ink);
}

.map-list a:hover { color: var(--brand); }

.map-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer-bottom .copyright {
  border-top: none;
  padding-top: 0;
  text-align: left;
}

.footer-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-mini a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-mini a:hover { color: var(--brand); }

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px clamp(18px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.article h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
  padding-top: 8px;
}

.article h2:first-child { margin-top: 0; }

.article p,
.article li {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.article ul {
  padding-left: 1.2em;
  margin-bottom: 12px;
}

.article ul li { list-style: disc; }

.article strong { color: var(--ink); }

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.keyword-cloud a,
.keyword-cloud span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background .2s;
}

.keyword-cloud a:hover { background: #e8d7fa; }

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.related-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.related-links a:hover { background: #ebe0fa; }

/* Footer */
.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer a:hover { color: var(--brand); }

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ===== Floating download bar ===== */
.float-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  transform: translateY(110%);
  transition: transform .28s ease;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(26, 21, 40, 0.08);
}

.float-dl.show { transform: translateY(0); }

.float-dl-inner {
  min-height: var(--float-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.float-dl-copy strong {
  display: block;
  font-size: 0.98rem;
}

.float-dl-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.float-dl-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.float-dl .btn { padding: 11px 18px; font-size: 0.9rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid,
  .why-grid,
  .review-grid,
  .page-grid { grid-template-columns: 1fr 1fr; }
  .char-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { min-height: auto; max-width: 420px; margin: 0 auto; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .related-links { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .feature-grid,
  .why-grid,
  .review-grid,
  .page-grid,
  .char-grid { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    margin-top: 18px;
    padding-top: 16px;
  }
  .hero-stat {
    text-align: center;
    padding: 0 4px;
  }
  .hero-stat + .hero-stat {
    border-left: 1px solid var(--line);
  }
  .hero-stats strong,
  .hero-stat strong {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .hero-stats span,
  .hero-stat span {
    font-size: 0.72rem;
  }
  .hero-trust {
    margin-top: 16px;
    max-width: none;
  }
  .float-dl-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .float-dl-actions { justify-content: center; }
  .float-dl .btn { flex: 1; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .phone-card:nth-child(2),
  .phone-card:nth-child(4) { transform: none; }
  .nav-cta .btn-ghost { display: none; }
}
