:root {
  --bg: #fffafc;
  --paper: #ffffff;
  --ink: #20182d;
  --muted: #74697f;
  --soft: #f4edf7;
  --line: rgba(52, 38, 70, 0.1);
  --accent: #ff8fbd;
  --violet: #7c5cff;
  --shadow: 0 28px 70px rgba(52, 38, 70, 0.1);
  --radius-xl: 34px;
  --radius-md: 22px;
  --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 10% 5%, #fff2f8 0, transparent 30%), radial-gradient(circle at 88% 0, #f0e9ff 0, transparent 28%), var(--bg);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; border: 0; overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(255, 250, 252, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-shell,
.search-shell,
.section,
.footer-grid,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-lockup img { filter: drop-shadow(0 12px 28px rgba(124, 92, 255, 0.14)); }
.brand-lockup strong { display: block; font-size: 18px; letter-spacing: 0.04em; }
.brand-lockup em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: -4px; }
.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4d425d;
  font-size: 14px;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.main-nav a:hover, .main-nav a:focus { background: #fff; color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(52, 38, 70, 0.08); }
.search-shell { padding-bottom: 16px; display: grid; gap: 8px; }
.fake-search {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(52, 38, 70, 0.06);
}
.fake-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
  color: var(--ink);
}
.fake-search button,
.primary-btn,
.secondary-btn,
.share-btn,
.form-card button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.fake-search button, .primary-btn, .form-card button {
  background: #2f2842;
  color: #fff;
  padding: 12px 22px;
  white-space: nowrap;
  box-shadow: 0 16px 30px rgba(47, 40, 66, 0.16);
}
.secondary-btn, .share-btn {
  background: #fff;
  color: var(--ink);
  padding: 12px 22px;
  border: 1px solid var(--line);
}
.fake-search button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.share-btn:hover,
.form-card button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.search-note { margin: 0; color: var(--muted); font-size: 13px; }

.hero {
  min-height: calc(100vh - 130px);
  display: grid;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #76546a;
  background: rgba(255, 225, 238, 0.72);
  border: 1px solid rgba(255, 143, 189, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  margin-bottom: 24px;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.16; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 860px; }
h2 { font-size: clamp(30px, 5vw, 52px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0; }
.lead { margin-top: 24px; font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.domain-pill { margin-top: 24px; display: inline-flex; gap: 8px; color: #51465e; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; box-shadow: 0 14px 36px rgba(52, 38, 70, 0.06); }
.hero-media { position: relative; }
.hero-media figure { margin: 0; background: #fff; padding: 14px; border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-media img { border-radius: 26px; }
.hero-media figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.floating-card {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: min(260px, 52%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.floating-card strong { display: block; font-size: 26px; }
.floating-card span { color: var(--muted); font-size: 13px; }

.section { padding-top: 92px; padding-bottom: 92px; }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; max-width: 780px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 17px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 20px 60px rgba(52, 38, 70, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 92, 255, 0.18); }
.card p { color: var(--muted); margin-top: 12px; }
.card .tag-list { margin-top: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tag-list li, .tag { background: #fff; border: 1px solid var(--line); color: #5c506b; border-radius: 999px; padding: 6px 10px; font-size: 12px; }

.brand-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.brand-panel img { border-radius: 24px; background: var(--soft); }
.brand-copy { display: grid; gap: 18px; }
.brand-copy p { color: var(--muted); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.metric { padding: 20px; border-radius: 20px; background: linear-gradient(180deg, #fff, #fff7fb); border: 1px solid var(--line); }
.metric strong { display: block; font-size: 30px; }
.metric span { color: var(--muted); font-size: 13px; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(52, 38, 70, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover, .video-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-card figure { position: relative; margin: 0; overflow: hidden; }
.video-card img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; transition: transform .45s ease; }
.video-card:hover img { transform: scale(1.035); }
.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(.92);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--ink);
  opacity: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 42px rgba(47, 40, 66, 0.18);
  transition: opacity .25s ease, transform .25s ease;
}
.video-card:hover .play-button,
.video-card:focus-within .play-button { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-body { padding: 22px; display: grid; gap: 12px; }
.video-body p { color: var(--muted); }
.video-stats { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; color: #665a72; font-size: 13px; border-top: 1px solid var(--line); }
.video-label { position: absolute; left: 14px; top: 14px; background: rgba(47, 40, 66, 0.88); color: #fff; border-radius: 999px; padding: 7px 11px; font-size: 12px; }

.gallery-strip { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.gallery-card { min-height: 310px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, #fff, #f7f1ff); }
.gallery-card p { color: var(--muted); margin-top: 14px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0; color: #4e425c; font-size: 16px; }
.quote cite { margin-top: 20px; font-style: normal; color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; max-width: 960px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 48px rgba(52, 38, 70, 0.05); }
.faq-item button { width: 100%; text-align: left; padding: 22px 24px; background: transparent; border: 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--ink); }
.faq-item button span { font-weight: 700; }
.faq-panel { display: none; padding: 0 24px 24px; color: var(--muted); }
.faq-item.is-open .faq-panel { display: block; }
.faq-icon { transition: transform .25s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.form-card { display: grid; gap: 14px; }
.form-card input, .form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
}
.form-card textarea { min-height: 128px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { border-color: rgba(124, 92, 255, 0.34); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.08); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.copy-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

.page-hero { padding-top: 72px; padding-bottom: 42px; }
.breadcrumb { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.breadcrumb a { color: #56466f; border-bottom: 1px solid rgba(86,70,111,.18); }
.article-list { display: grid; gap: 18px; }
.article-card { display: grid; gap: 12px; }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline .card { border-left: 4px solid rgba(124, 92, 255, 0.22); }
.notice { background: #fff7fb; border: 1px solid rgba(255, 143, 189, 0.22); border-radius: 22px; padding: 20px; color: #69566b; }

.site-footer { margin-top: 58px; background: #211b2d; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr .85fr; gap: 34px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .brand-lockup em, .site-footer p, .site-footer a { color: rgba(255,255,255,0.72); }
.site-footer h2 { font-size: 18px; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; color: rgba(255,255,255,0.68); font-size: 14px; }

@media (max-width: 980px) {
  .header-shell { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 10px; }
  .main-nav { justify-content: flex-start; }
  .hero-grid, .brand-panel, .gallery-strip, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .video-grid, .testimonial-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .floating-card { right: 12px; bottom: 12px; }
}

@media (max-width: 640px) {
  .header-shell, .search-shell, .section, .footer-grid, .footer-bottom { padding-left: 18px; padding-right: 18px; }
  .main-nav { gap: 4px; }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
  .fake-search { border-radius: 24px; flex-direction: column; }
  .fake-search button { width: 100%; }
  .hero { padding-top: 50px; padding-bottom: 50px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .grid-3, .grid-2, .video-grid, .testimonial-grid, .footer-grid, .metric-row { grid-template-columns: 1fr; }
  .hero-actions, .footer-bottom { flex-direction: column; }
  .floating-card { position: static; width: 100%; margin-top: 14px; }
  .card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
