:root {
  --pink-50: #fff5f9;
  --pink-100: #ffe3ee;
  --pink-200: #ffd0e0;
  --pink-300: #ffb3cf;
  --pink-400: #ff8fb8;
  --pink-500: #ff6b9d;
  --pink-600: #e84a80;
  --pink-700: #c23468;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --text-strong: #2b1b26;
  --text-body: #5a4652;
  --text-muted: #8a7480;
  --bg-page: #fffafc;
  --bg-elev: #ffffff;
  --bg-soft: #fff0f6;
  --border-soft: rgba(255, 107, 157, 0.16);
  --shadow-sm: 0 2px 8px rgba(194, 52, 104, 0.08);
  --shadow-md: 0 10px 30px rgba(194, 52, 104, 0.12);
  --shadow-lg: 0 20px 50px rgba(194, 52, 104, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --grad-hero: linear-gradient(135deg, #ff9ec4 0%, #ff6b9d 45%, #a78bfa 100%);
  --grad-accent: linear-gradient(120deg, #ff6b9d, #a78bfa);
  --grad-soft: linear-gradient(135deg, #fff5f9, #f3ecff);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: blur(16px) saturate(160%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pink-50: #1e141a;
    --pink-100: #2a1a22;
    --pink-200: #3a2230;
    --text-strong: #fbeaf1;
    --text-body: #d6c3cc;
    --text-muted: #a48f9a;
    --bg-page: #140d11;
    --bg-elev: #1e141a;
    --bg-soft: #251820;
    --border-soft: rgba(255, 143, 184, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --grad-hero: linear-gradient(135deg, #7a2f4d 0%, #a13a63 45%, #4c3a8f 100%);
    --grad-soft: linear-gradient(135deg, #1e141a, #201830);
    --glass-bg: rgba(30, 20, 26, 0.6);
    --glass-border: rgba(255, 143, 184, 0.16);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 179, 207, 0.28), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(167, 139, 250, 0.22), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.12), transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-600);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--pink-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pink-500);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--text-strong);
  line-height: 1.35;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  position: relative;
  padding-bottom: 0.35em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 700;
}

h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pink-600);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--text-strong);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.6s var(--ease) both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

header nav > a {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-strong);
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

header nav > a:hover {
  text-decoration: none;
  opacity: 0.85;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

header nav ul li {
  margin: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  background: var(--pink-100);
  color: var(--pink-600);
  text-decoration: none;
  transform: translateY(-1px);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--pink-300);
}

main > nav[aria-label="面包屑导航"] ol li[aria-current="page"] {
  color: var(--pink-600);
  font-weight: 600;
}

section {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@supports not (animation-timeline: view()) {
  section {
    animation: fadeUp 0.7s var(--ease) both;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 157, 0.3);
}

#hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  border: none;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  color: #fff;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: floatBlob 12s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: floatBlob 15s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 24px) scale(1.08);
  }
}

#hero h1 {
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow: 0 2px 18px rgba(120, 20, 60, 0.28);
  margin-bottom: 0.75rem;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 62ch;
  font-size: 1.02rem;
}

#hero > div {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

#hero svg {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(120, 20, 60, 0.35);
  background: #fff;
  transition: transform 0.6s var(--ease);
}

#hero svg:hover {
  transform: translateY(-6px) scale(1.012);
}

#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal,
#meta-info {
  position: relative;
}

#brand {
  background: var(--grad-soft);
}

#products {
  background: var(--bg-elev);
}

#solutions {
  background: var(--grad-soft);
}

#cases {
  background: var(--bg-elev);
}

#news {
  background: var(--grad-soft);
}

#articles {
  background: var(--bg-elev);
}

#knowledge {
  background: var(--grad-soft);
}

#faq {
  background: var(--bg-elev);
}

#howto {
  background: var(--grad-soft);
}

#contact {
  background: var(--bg-elev);
}

#sitemap,
#links {
  background: var(--bg-soft);
}

#legal {
  background: var(--bg-elev);
}

#meta-info {
  background: var(--grad-soft);
  font-size: 0.92rem;
}

article {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 157, 0.32);
}

article:hover::before {
  opacity: 1;
}

article h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

article p {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

article p:last-child {
  margin-bottom: 0;
}

article a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

article a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

article a:hover::after {
  transform: translateX(4px);
}

#articles article {
  display: flex;
  flex-direction: column;
}

#articles article p:nth-of-type(1) {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

#cases p:not(:first-of-type):not(:last-of-type) {
  position: relative;
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--text-body);
}

#cases p:not(:first-of-type):not(:last-of-type)::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.1em;
  font-size: 1.5rem;
  color: var(--pink-400);
  font-style: normal;
  line-height: 1;
}

#faq h3 {
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 2.6rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin: 1.1rem 0 0.6rem;
  font-size: 1rem;
  cursor: default;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 50%;
}

#faq h3:hover {
  background: var(--pink-100);
  transform: translateX(3px);
}

#faq h3 + p {
  padding: 0 1.1rem 0 2.6rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

#howto h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto h4::before {
  content: "✓";
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 50%;
}

#howto h4:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#howto h4 + p {
  padding-left: 0.4rem;
  font-size: 0.95rem;
}

#howto h3:last-of-type + p {
  padding: 1rem 1.2rem;
  background: var(--bg-elev);
  border-left: 4px solid var(--pink-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

#contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

#contact ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  margin: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#contact ul li::before {
  content: "◈";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink-500);
  font-size: 0.9rem;
}

#contact ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 157, 0.35);
}

#sitemap ul,
#links ul,
#meta-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}

#sitemap ul li,
#links ul li,
#meta-info ul li {
  margin: 0;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 0.6rem 0.9rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  background: var(--grad-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#meta-info ul {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

#meta-info ul li {
  padding: 0.55rem 0.9rem;
  background: var(--bg-elev);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-body);
}

#legal h3 {
  color: var(--pink-600);
  margin-top: 1.4rem;
}

#legal p {
  font-size: 0.95rem;
}

footer {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-soft);
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer p {
  margin: 0 0 0.75rem;
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
}

footer nav ul li {
  margin: 0;
}

footer nav ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer nav ul li a:hover {
  color: var(--pink-500);
}

::selection {
  background: var(--pink-300);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-400), var(--purple-400));
  border-radius: 999px;
  border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--pink-500), var(--purple-500));
}

@media (max-width: 900px) {
  header nav {
    gap: 0.75rem;
  }

  header nav ul {
    gap: 0.2rem;
  }

  header nav ul li a {
    font-size: 0.84rem;
    padding: 0.3rem 0.55rem;
  }

  main {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  header nav {
    padding: 0.6rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  header nav ul {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  header nav ul li a {
    white-space: nowrap;
  }

  main {
    padding: 1rem 0.85rem 2.25rem;
    gap: 1.1rem;
  }

  section {
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
  }

  #hero {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.1rem;
  }

  #hero p {
    font-size: 0.95rem;
  }

  h2::after {
    width: 44px;
    height: 3px;
  }

  article {
    padding: 1rem 1.05rem;
  }

  #faq h3 {
    padding: 0.8rem 0.9rem 0.8rem 2.3rem;
    font-size: 0.95rem;
  }

  #faq h3 + p {
    padding: 0 0.6rem 0 2.3rem;
    font-size: 0.9rem;
  }

  #contact ul {
    grid-template-columns: 1fr;
  }

  #sitemap ul,
  #links ul,
  #meta-info ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

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

@media print {
  header,
  footer,
  #hero > div,
  #sitemap,
  #links {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}