:root {
  --brand: #0b5cab;
  --brand-dark: #084a8a;
  --brand-soft: #e8f2fc;
  --accent: #c43e1c;
  --accent-hover: #a83416;
  --ink: #1a1f2b;
  --muted: #5a6475;
  --line: #d9e2ec;
  --bg: #f3f6fa;
  --surface: #ffffff;
  --ok: #0f7b4c;
  --shadow: 0 10px 30px rgba(11, 92, 171, 0.12);
  --radius: 14px;
  --nav-h: 58px;
  --float-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d7e9fb 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ffe8df 0%, transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 40%, #eef3f8 100%);
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: calc(var(--float-h) + 18px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
}

.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.86rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

/* Hero */
.hero {
  padding: 28px 0 10px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 28px 22px 24px;
  background:
    linear-gradient(135deg, rgba(11, 92, 171, 0.95), rgba(8, 74, 138, 0.92)),
    url("../img/hero-pattern.svg");
  background-size: cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.95;
  margin-bottom: 12px;
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.hero h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 10px;
  max-width: 16em;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  max-width: 34em;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 62, 28, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Sections */
.section {
  padding: 26px 0 8px;
}

.section-head {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.grid-apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.app-item:hover {
  border-color: #b7cce4;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.app-item img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.app-item strong {
  display: block;
  font-size: 0.98rem;
}

.app-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.steps,
.feature-list,
.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.steps ol,
.feature-list ul,
.content-block ul {
  padding-left: 1.15rem;
}

.steps li,
.feature-list li,
.content-block li {
  margin: 8px 0;
  color: var(--muted);
}

.steps li strong,
.feature-list li strong,
.content-block li strong,
.content-block p strong {
  color: var(--ink);
}

.content-block p {
  color: var(--muted);
  margin-bottom: 12px;
}

.content-block h2,
.content-block h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.content-block h2:first-child,
.content-block h3:first-child {
  margin-top: 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
}

.tag-cloud a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #f0d2b0;
  color: #8a4b16;
  font-size: 0.9rem;
}

.shot-grid {
  display: grid;
  gap: 12px;
}

.shot {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.btn-secondary {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid #c5dcf3;
}

.btn-secondary:hover {
  background: #d9ebfb;
  color: var(--brand-dark);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.update-line {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 8px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 12px 0;
}

.seo-table th,
.seo-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.seo-table th {
  background: var(--brand-soft);
  color: var(--ink);
}

.seo-table td {
  color: var(--muted);
  background: var(--surface);
}

@media (min-width: 768px) {
  .shot-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 34px;
  padding: 24px 0 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.disclaimer {
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--accent);
  background: #fff1ed;
  border: 1px solid #f3c4b6;
  border-radius: 12px;
  padding: 14px 12px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.footer-stats {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-stats span {
  color: var(--brand);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
}

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Floating download bar */
.float-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16, 36, 64, 0.08);
}

.float-download.show {
  transform: translateY(0);
}

.float-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-text {
  flex: 1;
  min-width: 0;
}

.float-text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.float-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-download .btn {
  flex-shrink: 0;
  min-width: 132px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb span {
  margin: 0 6px;
}

/* Page hero compact */
.page-hero {
  padding: 18px 0 8px;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  margin: 8px 0;
}

.page-hero .lead {
  color: var(--muted);
  margin-bottom: 14px;
}

/* Animations */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-panel,
.app-item,
.content-block,
.steps,
.feature-list {
  animation: rise-in 0.55s ease both;
}

.app-item:nth-child(2) { animation-delay: 0.05s; }
.app-item:nth-child(3) { animation-delay: 0.1s; }
.app-item:nth-child(4) { animation-delay: 0.15s; }

@media (min-width: 768px) {
  .hero {
    padding: 42px 0 16px;
  }

  .hero-panel {
    padding: 42px 48px;
  }

  .grid-apps {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav a {
    font-size: 0.9rem;
  }

  .float-text span {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .nav {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
