:root {
  --peach-50: #fff5f7;
  --peach-100: #ffe4ec;
  --peach-200: #ffc9d9;
  --peach-300: #ffa3bd;
  --peach-400: #f97ba1;
  --peach-500: #e8577a;
  --peach-600: #d13d63;
  --peach-700: #ab2c4e;
  --peach-800: #7d1f38;
  --peach-900: #4d1222;
  --ink-900: #1a1014;
  --ink-800: #241820;
  --ink-700: #33232d;
  --ink-600: #4a3542;
  --ink-500: #6b5563;
  --ink-400: #8f7a88;
  --ink-300: #b9a8b3;
  --ink-200: #ddd2d9;
  --ink-100: #f2ecf0;
  --ink-50: #faf7f9;
  --white: #ffffff;
  --bg: #fdf8fa;
  --bg-alt: #ffffff;
  --text: #241820;
  --text-soft: #6b5563;
  --text-mute: #8f7a88;
  --border: rgba(232, 87, 122, 0.14);
  --border-soft: rgba(36, 24, 32, 0.08);
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 8px rgba(125, 31, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(125, 31, 56, 0.09);
  --shadow-lg: 0 18px 48px rgba(125, 31, 56, 0.14);
  --shadow-glow: 0 12px 40px rgba(232, 87, 122, 0.28);
  --grad-hero: linear-gradient(135deg, #ff9db8 0%, #e8577a 42%, #a83a8c 100%);
  --grad-accent: linear-gradient(120deg, #e8577a 0%, #f97ba1 50%, #b45ad6 100%);
  --grad-soft: linear-gradient(145deg, rgba(255, 228, 236, 0.9), rgba(255, 245, 247, 0.6));
  --grad-line: linear-gradient(90deg, transparent, rgba(232, 87, 122, 0.5), transparent);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --gap: clamp(16px, 2.4vw, 28px);
  --section-y: clamp(40px, 6vw, 84px);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.42s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140d11;
    --bg-alt: #1c1218;
    --text: #f6eef2;
    --text-soft: #cbb7c2;
    --text-mute: #9c8591;
    --border: rgba(249, 123, 161, 0.2);
    --border-soft: rgba(255, 255, 255, 0.08);
    --card: rgba(38, 25, 32, 0.72);
    --card-solid: #241820;
    --glass: rgba(40, 26, 34, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --ink-50: #1c1218;
    --ink-100: #2a1c24;
    --ink-200: #3a2833;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
    --grad-soft: linear-gradient(145deg, rgba(88, 32, 52, 0.55), rgba(30, 18, 24, 0.4));
    --grad-hero: linear-gradient(135deg, #7d2b52 0%, #b8406b 45%, #6a2f8f 100%);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.78;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 8% -8%, rgba(249, 123, 161, 0.16), transparent 62%),
    radial-gradient(1000px 520px at 96% 4%, rgba(180, 90, 214, 0.13), transparent 60%),
    radial-gradient(900px 620px at 50% 108%, rgba(232, 87, 122, 0.1), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(232, 87, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 87, 122, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}

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

a {
  color: var(--peach-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--peach-500);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--peach-400);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  scroll-margin-top: 90px;
}

h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  letter-spacing: -0.025em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 2.9vw, 2.05rem);
  position: relative;
  padding-left: 0.62em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  box-shadow: 0 0 16px rgba(232, 87, 122, 0.55);
}

h3 {
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  color: var(--text);
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.5em;
  padding-left: 0.15em;
}

li::marker {
  color: var(--peach-500);
  font-weight: 700;
}

strong, b {
  color: var(--text);
  font-weight: 700;
}

blockquote {
  margin: 1.2em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--peach-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--grad-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0;
  color: var(--text);
  font-style: italic;
  font-size: 1.02em;
}

hr {
  border: 0;
  height: 1px;
  background: var(--grad-line);
  margin: 2.4em 0;
}

::selection {
  background: rgba(232, 87, 122, 0.26);
  color: var(--text);
}

/* ============ HEADER / NAV ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 6px 26px rgba(125, 31, 56, 0.07);
  animation: slideDown 0.6s var(--ease-out) both;
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad-line);
  opacity: 0.85;
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.72rem clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  flex-wrap: wrap;
}

header nav > a:first-child {
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: transparent;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  padding: 0.34em 0.2em;
  position: relative;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}

header nav > a:first-child::after {
  content: "";
  position: absolute;
  left: 0.2em;
  right: 0.2em;
  bottom: 0.1em;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

header nav > a:first-child:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 16px rgba(232, 87, 122, 0.4));
}

header nav > a:first-child:hover::after {
  transform: scaleX(1);
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.18rem;
  margin-left: auto;
}

header nav ul li {
  margin: 0;
  padding: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.42em 0.86em;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}

header nav ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-accent);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--dur) var(--ease);
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

header nav ul li a:hover::before,
header nav ul li a:focus-visible::before {
  opacity: 1;
}

/* ============ MAIN LAYOUT ============ */
main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(16px, 3vw, 28px) clamp(48px, 7vw, 90px);
}

main > section {
  margin-bottom: var(--section-y);
  animation: fadeUp 0.7s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 26%;
}

/* ============ BREADCRUMB ============ */
nav[aria-label="面包屑"] {
  margin-bottom: clamp(16px, 2.6vw, 26px);
}

nav[aria-label="面包屑"] ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  width: fit-content;
}

nav[aria-label="面包屑"] ol li {
  margin: 0;
  padding: 0;
  color: var(--text-mute);
  display: flex;
  align-items: center;
}

nav[aria-label="面包屑"] ol li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--peach-400);
  font-weight: 700;
}

nav[aria-label="面包屑"] ol li a {
  color: var(--text-soft);
  font-weight: 600;
}

nav[aria-label="面包屑"] ol li a:hover {
  color: var(--peach-500);
}

/* ============ HERO ============ */
section[aria-labelledby="hero-title"] {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5.4vw, 62px) clamp(22px, 4vw, 54px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--grad-hero);
  background-size: 220% 220%;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  isolation: isolate;
  animation: heroShift 16s ease-in-out infinite alternate, fadeUp 0.8s var(--ease-out) both;
}

section[aria-labelledby="hero-title"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 320px at 88% 6%, rgba(255, 255, 255, 0.34), transparent 62%),
    radial-gradient(460px 300px at 6% 96%, rgba(255, 255, 255, 0.18), transparent 60%);
  mix-blend-mode: screen;
}

section[aria-labelledby="hero-title"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  right: -140px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 68%);
  filter: blur(6px);
  animation: floatBlob 12s ease-in-out infinite;
}

section[aria-labelledby="hero-title"] h1 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
  text-shadow: 0 4px 26px rgba(74, 12, 32, 0.35);
  margin-bottom: 0.5em;
  position: relative;
}

section[aria-labelledby="hero-title"] h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 0.5em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.7);
}

section[aria-labelledby="hero-title"] p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  max-width: 78ch;
  text-shadow: 0 2px 14px rgba(74, 12, 32, 0.24);
}

section[aria-labelledby="hero-title"] p:last-child {
  margin-bottom: 0;
}

/* ============ GENERIC CARDS ============ */
section[aria-labelledby="about-title"],
section[aria-labelledby="products-title"],
section[aria-labelledby="solutions-title"],
section[aria-labelledby="cases-title"],
section[aria-labelledby="news-title"],
section[aria-labelledby="articles-title"],
section[aria-labelledby="faq-title"],
section[aria-labelledby="howto-title"],
section[aria-labelledby="contact-title"],
section[aria-labelledby="sitemap-title"],
section[aria-labelledby="links-title"],
section[aria-labelledby="legal-title"] {
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

section[aria-labelledby="about-title"]:hover,
section[aria-labelledby="products-title"]:hover,
section[aria-labelledby="solutions-title"]:hover,
section[aria-labelledby="cases-title"]:hover,
section[aria-labelledby="news-title"]:hover,
section[aria-labelledby="articles-title"]:hover,
section[aria-labelledby="faq-title"]:hover,
section[aria-labelledby="howto-title"]:hover,
section[aria-labelledby="contact-title"]:hover,
section[aria-labelledby="sitemap-title"]:hover,
section[aria-labelledby="links-title"]:hover,
section[aria-labelledby="legal-title"]:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 87, 122, 0.32);
  box-shadow: var(--shadow-lg);
}

section[aria-labelledby="about-title"] > h3,
section[aria-labelledby="products-title"] > h3,
section[aria-labelledby="solutions-title"] > h3,
section[aria-labelledby="cases-title"] > h3,
section[aria-labelledby="howto-title"] > h3,
section[aria-labelledby="contact-title"] > h3,
section[aria-labelledby="legal-title"] > h3 {
  margin-top: 1.5em;
  padding-bottom: 0.4em;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

section[aria-labelledby="about-title"] > h3:first-of-type,
section[aria-labelledby="products-title"] > h3:first-of-type,
section[aria-labelledby="solutions-title"] > h3:first-of-type,
section[aria-labelledby="cases-title"] > h3:first-of-type,
section[aria-labelledby="howto-title"] > h3:first-of-type,
section[aria-labelledby="contact-title"] > h3:first-of-type,
section[aria-labelledby="legal-title"] > h3:first-of-type {
  margin-top: 0.6em;
}

section[aria-labelledby="about-title"] > h3::before,
section[aria-labelledby="products-title"] > h3::before,
section[aria-labelledby="solutions-title"] > h3::before,
section[aria-labelledby="cases-title"] > h3::before,
section[aria-labelledby="howto-title"] > h3::before,
section[aria-labelledby="contact-title"] > h3::before,
section[aria-labelledby="legal-title"] > h3::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--grad-accent);
  box-shadow: 0 0 12px rgba(232, 87, 122, 0.6);
  transform: rotate(45deg);
}

/* ============ LISTS AS CARDS (products / solutions) ============ */
section[aria-labelledby="products-title"] > ul,
section[aria-labelledby="solutions-title"] > ul,
section[aria-labelledby="howto-title"] > ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
  margin: 1.2em 0 0.4em;
}

section[aria-labelledby="products-title"] > ul li,
section[aria-labelledby="solutions-title"] > ul li,
section[aria-labelledby="howto-title"] > ul li {
  margin: 0;
  padding: 0.95em 1.1em 0.95em 2.5em;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--grad-soft);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

section[aria-labelledby="products-title"] > ul li::before,
section[aria-labelledby="solutions-title"] > ul li::before,
section[aria-labelledby="howto-title"] > ul li::before {
  content: "";
  position: absolute;
  left: 1.05em;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 10px rgba(232, 87, 122, 0.65);
}

section[aria-labelledby="products-title"] > ul li:hover,
section[aria-labelledby="solutions-title"] > ul li:hover,
section[aria-labelledby="howto-title"] > ul li:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(232, 87, 122, 0.4);
  box-shadow: var(--shadow-glow);
}

/* ============ ABOUT HISTORY LIST (timeline) ============ */
section[aria-labelledby="about-title"] > ul {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 0.6em;
  position: relative;
}

section[aria-labelledby="about-title"] > ul::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--grad-line);
}

section[aria-labelledby="about-title"] > ul li {
  position: relative;
  margin: 0 0 0.9em;
  padding: 0.55em 0.9em 0.55em 2.3em;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}

section[aria-labelledby="about-title"] > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--peach-500);
  box-shadow: 0 0 0 4px rgba(232, 87, 122, 0.14);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}

section[aria-labelledby="about-title"] > ul li:hover {
  background: var(--grad-soft);
  transform: translateX(6px);
}

section[aria-labelledby="about-title"] > ul li:hover::before {
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(232, 87, 122, 0.22);
}

/* ============ NEWS / ARTICLES ============ */
section[aria-labelledby="news-title"] article,
section[aria-labelledby="articles-title"] article {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: var(--card-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

section[aria-labelledby="news-title"] article::before,
section[aria-labelledby="articles-title"] article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur) var(--ease-out);
}

section[aria-labelledby="news-title"] article:hover,
section[aria-labelledby="articles-title"] article:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 87, 122, 0.36);
  box-shadow: var(--shadow-lg);
}

section[aria-labelledby="news-title"] article:hover::before,
section[aria-labelledby="articles-title"] article:hover::before {
  transform: scaleY(1);
}

section[aria-labelledby="news-title"] article h3,
section[aria-labelledby="articles-title"] article h3 {
  margin-bottom: 0.35em;
  transition: color var(--dur) var(--ease);
}

section[aria-labelledby="news-title"] article:hover h3,
section[aria-labelledby="articles-title"] article:hover h3 {
  color: var(--peach-500);
}

section[aria-labelledby="news-title"] article p,
section[aria-labelledby="articles-title"] article p {
  margin-bottom: 0.5em;
}

section[aria-labelledby="news-title"] article p:first-of-type,
section[aria-labelledby="articles-title"] article p:first-of-type {
  display: inline-block;
  padding: 0.16em 0.75em;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--peach-600);
  background: rgba(232, 87, 122, 0.12);
  border: 1px solid rgba(232, 87, 122, 0.22);
  margin-bottom: 0.7em;
}

section[aria-labelledby="articles-title"] article p:last-child {
  margin-bottom: 0;
}

section[aria-labelledby="articles-title"] article p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.42em 1.05em;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: var(--grad-accent);
  box-shadow: 0 6px 18px rgba(232, 87, 122, 0.28);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}

section[aria-labelledby="articles-title"] article p:last-child a::after {
  content: "→";
  transition: transform var(--dur) var(--ease-out);
}

section[aria-labelledby="articles-title"] article p:last-child a:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.06);
}

section[aria-labelledby="articles-title"] article p:last-child a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
section[aria-labelledby="faq-title"] {
  display: grid;
  gap: 0.7rem;
}

section[aria-labelledby="faq-title"] > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.3em;
}

section[aria-labelledby="faq-title"] details {
  border-radius: var(--radius-md);
  background: var(--card-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}

section[aria-labelledby="faq-title"] details:hover {
  border-color: rgba(232, 87, 122, 0.34);
  box-shadow: var(--shadow-md);
}

section[aria-labelledby="faq-title"] details[open] {
  border-color: rgba(232, 87, 122, 0.42);
  box-shadow: var(--shadow-md);
  background: var(--grad-soft);
}

section[aria-labelledby="faq-title"] summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.02em 3.2em 1.02em 1.25em;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  user-select: none;
}

section[aria-labelledby="faq-title"] summary::-webkit-details-marker {
  display: none;
}

section[aria-labelledby="faq-title"] summary::before {
  content: "";
  position: absolute;
  right: 1.15em;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border-right: 2.5px solid var(--peach-500);
  border-bottom: 2.5px solid var(--peach-500);
  transform: rotate(45deg) scale(0.86);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}

section[aria-labelledby="faq-title"] details[open] summary::before {
  transform: rotate(-135deg) scale(0.86);
}

section[aria-labelledby="faq-title"] summary:hover {
  color: var(--peach-500);
  background: rgba(232, 87, 122, 0.06);
}

section[aria-labelledby="faq-title"] details p {
  margin: 0;
  padding: 0 1.25em 1.15em;
  color: var(--text-soft);
  animation: fadeUp 0.4s var(--ease-out) both;
}

/* ============ HOWTO ============ */
section[aria-labelledby="howto-title"] ol {
  counter-reset: howto;
  list-style: none;
  padding: 0;
  margin: 1.1em 0 1.4em;
  display: grid;
  gap: 0.75rem;
}

section[aria-labelledby="howto-title"] ol li {
  counter-increment: howto;
  position: relative;
  margin: 0;
  padding: 1em 1.15em 1em 3.5em;
  border-radius: var(--radius-md);
  background: var(--card-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

section[aria-labelledby="howto-title"] ol li::before {
  content: counter(howto);
  position: absolute;
  left: 0.85em;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  height: 2em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  background: var(--grad-accent);
  box-shadow: 0 4px 14px rgba(232, 87, 122, 0.36);
}

section[aria-labelledby="howto-title"] ol li:hover {
  transform: translateX(6px);
  border-color: rgba(232, 87, 122, 0.4);
  box-shadow: var(--shadow-md);
}

/* ============ CONTACT ============ */
section[aria-labelledby="contact-title"] p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  align-items: baseline;
  padding: 0.5em 0;
  margin: 0;
  border-bottom: 1px dashed var(--border-soft);
  transition: padding-left var(--dur) var(--ease), color var(--dur) var(--ease);
}

section[aria-labelledby="contact-title"] p:last-of-type {
  border-bottom: 0;
}

section[aria-labelledby="contact-title"] p:hover {
  padding-left: 0.5em;
  color: var(--text);
}

/* ============ SITEMAP / LINKS ============ */
section[aria-labelledby="sitemap-title"] ul,
section[aria-labelledby="links-title"] ul {
  list-style: none;
  padding: 0;
  margin: 0.8em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

section[aria-labelledby="sitemap-title"] ul li,
section[aria-labelledby="links-title"] ul li {
  margin: 0;
}

section[aria-labelledby="sitemap-title"] ul li a,
section[aria-labelledby="links-title"] ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 1.15em;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--card-solid);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

section[aria-labelledby="sitemap-title"] ul li a::before,
section[aria-labelledby="links-title"] ul li a::before {
  content: "◆";
  font-size: 0.6em;
  color: var(--peach-400);
  transition: transform var(--dur) var(--ease-out);
}

section[aria-labelledby="sitemap-title"] ul li a:hover,
section[aria-labelledby="links-title"] ul li a:hover {
  color: var(--white);
  background: var(--grad-accent);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

section[aria-labelledby="sitemap-title"] ul li a:hover::before,
section[aria-labelledby="links-title"] ul li a:hover::before {
  color: var(--white);
  transform: rotate(90deg);
}

/* ============ LEGAL ============ */
section[aria-labelledby="legal-title"] h3 + p {
  padding: 1em 1.15em;
  border-radius: var(--radius-md);
  background: var(--grad-soft);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(30px, 4.4vw, 52px) clamp(16px, 3vw, 28px) clamp(24px, 3vw, 36px);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background: var(--grad-hero);
  background-size: 180% 180%;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -10px 40px rgba(125, 31, 56, 0.18);
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 240px at 12% 0%, rgba(255, 255, 255, 0.2), transparent 62%),
    radial-gradient(460px 220px at 88% 100%, rgba(255, 255, 255, 0.14), transparent 62%);
  pointer-events: none;
}

footer p {
  position: relative;
  margin: 0 auto 0.55em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  max-width: 62ch;
}

footer p:last-child {
  margin-bottom: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

footer p:first-child {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ============ KEYFRAMES ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes heroShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  header nav {
    padding: 0.65rem clamp(14px, 3vw, 22px);
  }

  header nav ul {
    gap: 0.2rem 0.1rem;
  }

  header nav ul li a {
    padding: 0.38em 0.68em;
    font-size: 0.875rem;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 120px;
  }

  header nav {
    justify-content: center;
    text-align: center;
  }

  header nav > a:first-child {
    width: 100%;
    text-align: center;
    padding-bottom: 0.2em;
  }

  header nav ul {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  header nav ul li a {
    padding: 0.34em 0.6em;
    font-size: 0.82rem;
  }

  section[aria-labelledby="hero-title"] {
    border-radius: var(--radius-lg);
    text-align: center;
  }

  section[aria-labelledby="hero-title"] h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  section[aria-labelledby="hero-title"] p {
    text-align: left;
  }

  h2 {
    padding-left: 0.55em;
  }

  section[aria-labelledby="about-title"] > ul li:hover,
  section[aria-labelledby="howto-title"] ol li:hover,
  section[aria-labelledby="contact-title"] p:hover {
    transform: none;
  }

  section[aria-labelledby="products-title"] > ul,
  section[aria-labelledby="solutions-title"] > ul,
  section[aria-labelledby="howto-title"] > ul {
    grid-template-columns: 1fr;
  }

  footer {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
}

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

  section[aria-labelledby="hero-title"] {
    padding: 26px 18px;
  }

  section[aria-labelledby="about-title"],
  section[aria-labelledby="products-title"],
  section[aria-labelledby="solutions-title"],
  section[aria-labelledby="cases-title"],
  section[aria-labelledby="news-title"],
  section[aria-labelledby="articles-title"],
  section[aria-labelledby="faq-title"],
  section[aria-labelledby="howto-title"],
  section[aria-labelledby="contact-title"],
  section[aria-labelledby="sitemap-title"],
  section[aria-labelledby="links-title"],
  section[aria-labelledby="legal-title"] {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  blockquote {
    padding: 0.9em 1em;
  }
}

/* ============ MOTION / PRINT ============ */
@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;
  }

  main > section {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  header,
  footer,
  nav[aria-label="面包屑"] {
    display: none;
  }

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

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