:root {
  --ink: #141820;
  --ink-soft: #2c3440;
  --muted: #5c6675;
  --paper: #f3f6fa;
  --paper-2: #e8eef5;
  --line: #d5dde8;
  --brand: #e85d04;
  --brand-deep: #c44a00;
  --brand-soft: #fff0e6;
  --ok: #0f766e;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(20, 24, 32, 0.12);
  --radius: 18px;
  --nav-h: 64px;
  --float-h: 72px;
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 93, 4, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(15, 118, 110, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, var(--paper) 40%, #eef3f8 100%);
  line-height: 1.7;
  padding-bottom: calc(var(--float-h) + 24px);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 252, 0.88);
  border-bottom: 1px solid rgba(213, 221, 232, 0.8);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.28);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-text span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 32, 0.15) 0%, rgba(20, 24, 32, 0.55) 55%, rgba(20, 24, 32, 0.82) 100%),
    url("../img/screenshot-home.png") center / cover no-repeat;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
  color: var(--white);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  line-height: 1.05;
  margin: 0 0 14px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.06em;
}

.hero-brand em {
  font-style: normal;
  color: #ffb78a;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: none;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 93, 4, 0.35);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.section-desc {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 40em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 221, 232, 0.9);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shot {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--white);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.shot.is-in {
  transform: translateY(0);
  opacity: 1;
}

.shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.shot figcaption {
  padding: 12px 14px 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-cloud a {
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.keyword-cloud a:hover {
  background: var(--brand-soft);
  border-color: #f2c4a0;
  color: var(--brand-deep);
}

.page-hero {
  padding: 40px 0 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.content-block {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}

.content-block h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.content-block p,
.content-block li {
  color: var(--ink-soft);
}

.content-block ul {
  margin: 0;
  padding-left: 1.2em;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7f0, #ffffff 45%, #eef8f6);
  border: 1px solid #f0d2bc;
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.download-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.meta-list li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.meta-list strong {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}

.panel-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(20, 24, 32, 0.16);
}

/* Disclaimer / Footer */
.disclaimer {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff4e8;
  border: 2px solid #e85d04;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  line-height: 1.6;
}

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-deep);
}

.copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Floating download bar */
.float-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(20, 24, 32, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}

.float-download.is-visible {
  transform: translateY(0);
}

.float-inner {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.float-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  min-width: 0;
}

.float-text strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.float-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.float-actions .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.92rem;
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: rise-in 0.7s ease both;
}

.hero-inner .hero-lead {
  animation-delay: 0.08s;
}

.hero-inner .cta-row {
  animation-delay: 0.16s;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid,
  .shots,
  .footer-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(247, 249, 252, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - var(--nav-h));
    align-items: end;
  }

  .float-text span {
    display: none;
  }
}

@media (max-width: 560px) {
  .meta-list {
    grid-template-columns: 1fr;
  }

  .cta-row .btn,
  .float-actions .btn {
    flex: 1;
  }

  .float-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .float-text {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
