:root {
  --brand-orange: #ff8a3d;
  --brand-pink: #e91e8c;
  --brand-violet: #7b2cbf;
  --brand-grad: linear-gradient(135deg, #ff8a3d 0%, #e91e8c 48%, #7b2cbf 100%);
  --bg: #f7f5f8;
  --bg-card: #ffffff;
  --text: #1a1520;
  --text-soft: #5c5366;
  --line: #e8e2ef;
  --shadow: 0 12px 40px rgba(123, 44, 191, 0.08);
  --radius: 16px;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 138, 61, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(233, 30, 140, 0.12), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(123, 44, 191, 0.08), transparent 55%),
    var(--bg);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-pink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-violet);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 226, 239, 0.9);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(233, 30, 140, 0.25);
}

.brand span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-violet);
  background: rgba(123, 44, 191, 0.08);
}

.nav-cta {
  background: var(--brand-grad) !important;
  color: #fff !important;
  padding: 10px 18px !important;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(233, 30, 140, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.12);
  color: #c45a12;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(233, 30, 140, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--brand-violet);
  border: 1px solid var(--line);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--text);
  display: block;
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.7);
  background: #111;
  transform: rotate(1.5deg);
  animation: floaty 5s ease-in-out infinite;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.hero-float {
  position: absolute;
  left: -18px;
  bottom: 40px;
  width: 42%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
  animation: floaty 6s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

.hero-float {
  animation-name: floaty2;
}

@keyframes floaty2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head .eyebrow {
  color: var(--brand-pink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-soft);
}

.prose {
  color: var(--text-soft);
}

.prose p {
  margin-bottom: 1em;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.6em 0 0.7em;
  line-height: 1.35;
}

.prose h2 {
  font-size: 1.45rem;
}

.prose h3 {
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose a {
  font-weight: 600;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shot {
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.shot:hover {
  transform: translateY(-4px);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  background: #fff;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.shot figcaption span {
  display: block;
  color: var(--text-soft);
  font-weight: 400;
  font-size: 0.82rem;
  margin-top: 4px;
}

/* Category */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cat-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.cat-card img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.cat-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cat-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--brand-violet);
  margin-bottom: 10px;
}

.faq p {
  color: var(--text-soft);
}

/* CTA band */
.cta-band {
  margin: 20px 0 60px;
  border-radius: 24px;
  padding: 40px 32px;
  background: var(--brand-grad);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(123, 44, 191, 0.28);
}

.cta-band h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.cta-band p {
  opacity: 0.92;
  max-width: 36em;
}

.cta-band .btn {
  background: #fff;
  color: var(--brand-violet);
}

/* Page hero for inner pages */
.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 42em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--brand-pink);
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  padding-bottom: 60px;
}

.main-card,
.side-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-card {
  padding: 28px 30px;
}

.side-card {
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.side-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.side-card a {
  display: block;
  padding: 8px 0;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--line);
}

.side-card a:last-child {
  border-bottom: none;
}

.side-card a:hover {
  color: var(--brand-pink);
}

/* Error pages */
.error-page {
  min-height: calc(100vh - var(--header-h) - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.error-page p {
  color: var(--text-soft);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: #1a1520;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  padding: 4px 0;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Download anchor highlight */
#download {
  scroll-margin-top: 90px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.download-panel img {
  border-radius: 18px;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .download-panel,
  .content-wrap {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-float {
    display: none;
  }

  .phone-frame {
    max-width: 320px;
    margin-inline: auto;
    transform: none;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .feature-grid,
  .cat-grid,
  .showcase-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cat-card {
    grid-template-columns: 72px 1fr;
  }

  .cat-card img {
    width: 72px;
    height: 96px;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .main-card {
    padding: 20px 18px;
  }
}
