:root {
  --bg: #fbfbff;
  --surface: #ffffff;
  --surface-soft: #f4f5ff;
  --ink: #161722;
  --muted: #5f6475;
  --line: #e8eaf5;
  --brand: #6f5cff;
  --brand-deep: #3c2fd1;
  --accent: #ff7a90;
  --green: #3fbf9f;
  --shadow: 0 18px 48px rgba(36, 41, 82, .10);
  --radius: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(111,92,255,.14), transparent 34rem), linear-gradient(180deg, #fff, var(--bg));
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px; z-index: 30; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(232,234,245,.9);
}
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; gap: 18px; }
.logo-wrap { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .03em; }
.logo-wrap img { width: 44px; height: 44px; border-radius: 14px; }
.logo-text { font-size: 1.22rem; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 9px 12px; border-radius: 999px; color: var(--muted); font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-deep); background: var(--surface-soft); }
.search-row { padding: 0 0 14px; }
.search-box { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px; box-shadow: 0 8px 24px rgba(36, 41, 82, .05); }
.search-box input { flex: 1; border: 0; outline: 0; padding: 10px 14px; font-size: 1rem; background: transparent; }
.btn, button.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; box-shadow: 0 14px 30px rgba(22,23,34,.14); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost { background: var(--surface-soft); color: var(--brand-deep); box-shadow: none; }
.hero { padding: 64px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: 34px; align-items: center; }
.kicker { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(111,92,255,.10); color: var(--brand-deep); font-weight: 800; font-size: .93rem; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 16px; letter-spacing: -.02em; }
h1 { font-size: clamp(2.18rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.72rem, 3vw, 2.72rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); }
p { margin: 0 0 14px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.stat { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.stat strong { display: block; font-size: 1.35rem; }
.hero-card { background: linear-gradient(145deg, #fff, #f7f6ff); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.hero-card figure { margin: 0; }
.hero-card img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 10px; font-weight: 800; color: var(--brand-deep); background: rgba(111,92,255,.10); font-size: .85rem; }
.badge.alt { color: #a22b48; background: rgba(255,122,144,.14); }
.breadcrumb { padding: 24px 0 0; color: var(--muted); font-size: .94rem; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head p { max-width: 680px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 36px rgba(36,41,82,.06); }
.card.soft { background: linear-gradient(145deg, #fff, var(--surface-soft)); }
.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-card .card-body { padding: 20px; }
.video-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 36px rgba(36,41,82,.06); }
.video-thumb { position: relative; overflow: hidden; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(22,23,34,.28); transition: opacity .24s ease; }
.play span { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--brand-deep); font-size: 1.6rem; transform: scale(.88); transition: transform .24s ease; }
.video-card:hover .play { opacity: 1; }
.video-card:hover .play span { transform: scale(1); }
.video-card:hover img { transform: scale(1.04); }
.video-card .content { padding: 18px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .9rem; margin: 12px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { font-size: .82rem; padding: 5px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); }
.timeline { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; align-items: start; }
.step .num { width: 44px; height: 44px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; }
.quote { position: relative; }
.quote .stars { color: #ff9b38; letter-spacing: 2px; }
.faq details { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 18px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 900; color: var(--ink); }
.faq details p { margin-top: 12px; }
.cta { background: linear-gradient(135deg, var(--brand-deep), #8c5cff 54%, var(--accent)); color: #fff; border-radius: 34px; padding: 34px; overflow: hidden; position: relative; }
.cta p, .cta .muted { color: rgba(255,255,255,.84); }
.footer { background: #10111d; color: #fff; margin-top: 40px; }
.footer .container { padding: 42px 0; }
.footer p, .footer a, .footer small { color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0,.7fr)); gap: 24px; }
.footer .logo-wrap img { background: #fff; }
.notice { font-size: .92rem; color: var(--muted); }
.domain-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--brand-deep); font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); transition: .24s ease; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
figcaption { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.share-panel { display: flex; flex-wrap: wrap; gap: 10px; }
.json-links { display: grid; gap: 10px; }
.json-links a { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; color: var(--brand-deep); font-weight: 800; }
@media (max-width: 920px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .section-head { display: block; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 22px, var(--max)); }
  .hero { padding-top: 38px; }
  .btn { width: 100%; }
  .hero-actions { display: grid; }
  .search-box { border-radius: 22px; align-items: stretch; flex-direction: column; }
  .search-box button { width: 100%; }
  .card, .cta { border-radius: 22px; padding: 20px; }
}
