:root {
  --pink-50: #fdf2f6;
  --pink-100: #fce4ec;
  --pink-200: #f8bbd0;
  --pink-300: #f48fb1;
  --pink-400: #ec6a95;
  --pink-500: #e8547c;
  --pink-600: #d63d66;
  --pink-700: #b02a4e;
  --purple-50: #faf5ff;
  --purple-100: #f3e5f5;
  --purple-200: #e1bee7;
  --purple-400: #ab47bc;
  --purple-600: #8e24aa;
  --green-50: #e8f5e9;
  --green-600: #2e7d32;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --white: #ffffff;
  --black: #000000;
  --bg-primary: #ffffff;
  --bg-secondary: #fdf2f6;
  --bg-card: #ffffff;
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-muted: #9e9e9e;
  --border-color: #eeeeee;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(232, 84, 124, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

[data-theme="dark"] {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #1f2940;
  --text-primary: #eaeaea;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --border-color: #2a3a5c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --pink-50: #2a1a24;
  --pink-100: #3d1f30;
  --gray-50: #1a1a2e;
  --gray-100: #1f2940;
  --gray-200: #2a3a5c;
  --gray-300: #3a4a6c;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--pink-500);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--pink-600);
  opacity: 0.9;
}

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

ul, ol {
  list-style: none;
  padding-left: 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-slow);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

blockquote {
  border-left: 4px solid var(--pink-400);
  background: var(--pink-50);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

blockquote p {
  margin-bottom: 0.5rem;
}

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

details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

details:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
}

details[open] {
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}

summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: background var(--transition-fast);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--pink-100);
  color: var(--pink-500);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition-base), background var(--transition-base);
}

details[open] summary::before {
  content: "−";
  background: var(--pink-500);
  color: var(--white);
  transform: rotate(180deg);
}

summary:hover {
  background: var(--pink-50);
}

details > p {
  padding: 0 1.25rem 1.25rem;
  margin-bottom: 0;
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 84, 124, 0.1);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-base);
}

[data-theme="dark"] header[role="banner"] {
  background: rgba(26, 26, 46, 0.78);
  border-bottom-color: rgba(232, 84, 124, 0.15);
}

header[role="banner"] > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

header[role="banner"] a[aria-label="桃花视频首页"] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pink-500);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

header[role="banner"] a[aria-label="桃花视频首页"]:hover {
  transform: scale(1.03);
  opacity: 1;
}

header[role="banner"] svg {
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(232, 84, 124, 0.3);
  transition: box-shadow var(--transition-base);
}

header[role="banner"] a[aria-label="桃花视频首页"]:hover svg {
  box-shadow: 0 4px 16px rgba(232, 84, 124, 0.45);
}

header nav[role="navigation"] {
  flex: 1;
  min-width: 0;
}

header nav[role="navigation"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

header nav[role="navigation"] a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

header nav[role="navigation"] a:hover {
  color: var(--pink-500);
  background: var(--pink-50);
  transform: translateY(-1px);
  opacity: 1;
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

header form[role="search"] input[type="search"] {
  width: 160px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  transition: width var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-slow);
  outline: none;
}

header form[role="search"] input[type="search"]:focus {
  width: 220px;
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(232, 84, 124, 0.15);
}

header form[role="search"] input[type="search"]::placeholder {
  color: var(--text-muted);
}

header form[role="search"] button {
  padding: 0.45rem 1rem;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  white-space: nowrap;
}

header form[role="search"] button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 84, 124, 0.4);
}

header form[role="search"] button:active {
  transform: translateY(0);
}

#theme-toggle {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

#theme-toggle:hover {
  border-color: var(--pink-400);
  color: var(--pink-500);
  background: var(--pink-50);
  transform: translateY(-1px);
}

#menu-toggle {
  display: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

#menu-toggle:hover {
  border-color: var(--pink-400);
  color: var(--pink-500);
  background: var(--pink-50);
}

nav[aria-label="面包屑导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--gray-400);
}

nav[aria-label="面包屑导航"] a {
  color: var(--text-muted);
  font-weight: 500;
}

nav[aria-label="面包屑导航"] a:hover {
  color: var(--pink-500);
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

main > section {
  margin-top: 4rem;
  scroll-margin-top: 80px;
}

main > section:first-of-type {
  margin-top: 2rem;
}

#hero {
  position: relative;
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 40%, #e8f5e9 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

[data-theme="dark"] #hero {
  background: linear-gradient(135deg, #2a1a24 0%, #1f1a3a 40%, #1a2a24 100%);
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 84, 124, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(142, 36, 170, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--pink-600), var(--purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#hero > p {
  position: relative;
  z-index: 1;
  max-width: 800px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

#hero > div:first-of-type {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

#hero > div:first-of-type a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
}

#hero > div:first-of-type a:first-child {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 84, 124, 0.4);
}

#hero > div:first-of-type a:first-child:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 84, 124, 0.5);
  opacity: 1;
}

#hero > div:first-of-type a:last-child {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--pink-600);
  border: 1px solid rgba(232, 84, 124, 0.3);
}

[data-theme="dark"] #hero > div:first-of-type a:last-child {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pink-300);
}

#hero > div:first-of-type a:last-child:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

[data-theme="dark"] #hero > div:first-of-type a:last-child:hover {
  background: rgba(255, 255, 255, 0.15);
}

#hero > div[aria-label="Banner轮播"] {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

#hero figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

[data-theme="dark"] #hero figure {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#hero figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[data-theme="dark"] #hero figcaption {
  background: rgba(0, 0, 0, 0.2);
}

#hero dl {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

#hero dl > div {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="dark"] #hero dl > div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

#hero dl > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

#hero dt {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

#hero dd {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

main > section:not(#hero) {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}

main > section:not(#hero) > h2 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

main > section:not(#hero) > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-400));
  border-radius: var(--radius-full);
}

main > section:not(#hero) h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--pink-600);
}

[data-theme="dark"] main > section:not(#hero) h3 {
  color: var(--pink-300);
}

#products ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

#products ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--pink-50);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

[data-theme="dark"] #products ul li {
  background: rgba(232, 84, 124, 0.08);
}

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

#products ul li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  background: var(--pink-100);
}

#cases blockquote {
  position: relative;
  background: linear-gradient(135deg, var(--pink-50), var(--purple-50));
  border-left: none;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem 1.5rem 3.5rem;
  margin: 1rem 0;
  font-style: normal;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="dark"] #cases blockquote {
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.08), rgba(142, 36, 170, 0.08));
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--pink-300);
  font-family: Georgia, serif;
}

#cases blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#cases blockquote p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

#news article,
#articles article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--pink-400), var(--purple-400));
  opacity: 0;
  transition: opacity var(--transition-base);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-200);
}

#news article:hover::before,
#articles article:hover::before {
  opacity: 1;
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

#news article:hover h3,
#articles article:hover h3 {
  color: var(--pink-500);
}

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

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink-500);
  margin-top: 0.5rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

#news article a::after,
#articles article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

#news article a:hover,
#articles article a:hover {
  gap: 0.6rem;
  color: var(--pink-600);
}

#news article a:hover::after,
#articles article a:hover::after {
  transform: translateX(3px);
}

#knowledge h3 {
  position: relative;
  padding-left: 1rem;
}

#knowledge h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: 1em;
  background: linear-gradient(180deg, var(--pink-400), var(--purple-400));
  border-radius: var(--radius-full);
}

#howto ol {
  counter-reset: step-counter;
  margin: 1rem 0;
}

#howto ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

[data-theme="dark"] #howto ol li {
  background: rgba(255, 255, 255, 0.04);
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pink-500), var(--purple-400));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

#howto ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  background: var(--pink-50);
}

[data-theme="dark"] #howto ol li:hover {
  background: rgba(232, 84, 124, 0.1);
}

#howto ul {
  margin: 0.75rem 0;
}

#howto ul li {
  position: relative;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

#howto ul li::before {
  content: "•";
  position: absolute;
  left: 0.75rem;
  color: var(--pink-500);
  font-weight: 700;
  font-size: 1.1rem;
}

#howto ul li:hover {
  background: var(--pink-50);
}

[data-theme="dark"] #howto ul li:hover {
  background: rgba(232, 84, 124, 0.08);
}

#contact dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

#contact dl > div {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

[data-theme="dark"] #contact dl > div {
  background: rgba(255, 255, 255, 0.04);
}

#contact dl > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--pink-50);
}

[data-theme="dark"] #contact dl > div:hover {
  background: rgba(232, 84, 124, 0.1);
}

#contact dt {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#contact dd {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.6;
}

#contact dd a {
  font-weight: 600;
}

#contact ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

#contact ul li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--green-50);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="dark"] #contact ul li {
  background: rgba(46, 125, 50, 0.1);
}

#contact ul li::before {
  content: "✓";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--green-600);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}

#contact ul li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#sitemap nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

#sitemap nav > ul > li {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

[data-theme="dark"] #sitemap nav > ul > li {
  background: rgba(255, 255, 255, 0.04);
}

#sitemap nav > ul > li:hover {
  background: var(--pink-50);
  transform: translateX(4px);
}

[data-theme="dark"] #sitemap nav > ul > li:hover {
  background: rgba(232, 84, 124, 0.1);
}

#sitemap nav > ul > li > a {
  font-weight: 600;
  font-size: 0.95rem;
}

#sitemap nav ul ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--pink-200);
}

#sitemap nav ul ul li {
  padding: 0.25rem 0;
}

#sitemap nav ul ul a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

#sitemap nav ul ul a:hover {
  color: var(--pink-500);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#links ul li a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

[data-theme="dark"] #links ul li a {
  background: rgba(255, 255, 255, 0.04);
}

#links ul li a:hover {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(232, 84, 124, 0.35);
  opacity: 1;
}

footer[role="contentinfo"] {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem 2rem;
  margin-top: 2rem;
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

footer[role="contentinfo"] > div {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

footer[role="contentinfo"] > div:first-child {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

footer[role="contentinfo"] h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

footer[role="contentinfo"] h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

footer[role="contentinfo"] > div:not(:first-child) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

footer[role="contentinfo"] ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

footer[role="contentinfo"] ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

footer[role="contentinfo"] ul li a:hover {
  color: var(--pink-500);
  padding-left: 4px;
  opacity: 1;
}

footer[role="contentinfo"] address {
  font-style: normal;
}

footer[role="contentinfo"] address p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

footer[role="contentinfo"] address a {
  color: var(--pink-500);
  font-weight: 500;
}

footer[role="contentinfo"] address a:hover {
  color: var(--pink-600);
}

footer[role="contentinfo"] #privacy,
footer[role="contentinfo"] #disclaimer,
footer[role="contentinfo"] #copyright {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

footer[role="contentinfo"] #privacy h3,
footer[role="contentinfo"] #disclaimer h3,
footer[role="contentinfo"] #copyright h3 {
  font-size: 0.9rem;
  color: var(--pink-500);
  margin-bottom: 0.5rem;
}

footer[role="contentinfo"] #privacy p,
footer[role="contentinfo"] #disclaimer p,
footer[role="contentinfo"] #copyright p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

footer[role="contentinfo"] > div:last-child {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-bottom: 0;
}

footer[role="contentinfo"] > div:last-child p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

footer[role="contentinfo"] small {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.85;
}

#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(232, 84, 124, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  padding: 0;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(232, 84, 124, 0.55);
}

#back-to-top:active {
  transform: translateY(-2px);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 84, 124, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(232, 84, 124, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

main > section {
  animation: fadeInUp 0.6s ease both;
}

main > section:nth-child(2) { animation-delay: 0.05s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.15s; }
main > section:nth-child(5) { animation-delay: 0.2s; }
main > section:nth-child(6) { animation-delay: 0.25s; }
main > section:nth-child(7) { animation-delay: 0.3s; }
main > section:nth-child(8) { animation-delay: 0.35s; }
main > section:nth-child(9) { animation-delay: 0.4s; }

::selection {
  background: var(--pink-200);
  color: var(--pink-700);
}

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

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

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

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

@media (max-width: 1024px) {
  header nav[role="navigation"] ul {
    gap: 0.15rem;
  }
  header nav[role="navigation"] a {
    font-size: 0.8rem;
    padding: 0.3rem 0.55rem;
  }
  header form[role="search"] input[type="search"] {
    width: 130px;
  }
  header form[role="search"] input[type="search"]:focus {
    width: 170px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  header[role="banner"] > div {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }

  header nav[role="navigation"] {
    order: 10;
    width: 100%;
    display: none;
    padding-top: 0.5rem;
  }

  header nav[role="navigation"].open {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  header nav[role="navigation"] ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  header nav[role="navigation"] a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
  }

  #menu-toggle {
    display: inline-block;
  }

  header form[role="search"] {
    order: 11;
    width: 100%;
    display: none;
    padding-top: 0.5rem;
  }

  header form[role="search"].open {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  header form[role="search"] input[type="search"] {
    flex: 1;
    width: auto;
  }

  header form[role="search"] input[type="search"]:focus {
    width: auto;
  }

  main {
    padding: 0 1rem 3rem;
  }

  main > section {
    margin-top: 2.5rem;
    scroll-margin-top: 70px;
  }

  #hero {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  #hero > div:first-of-type {
    flex-direction: column;
  }

  #hero > div:first-of-type a {
    width: 100%;
    justify-content: center;
  }

  #hero > div[aria-label="Banner轮播"] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #hero dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  #hero dl > div {
    padding: 1rem;
  }

  #hero dd {
    font-size: 1.3rem;
  }

  main > section:not(#hero) {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

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

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

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

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

  footer[role="contentinfo"] {
    padding: 2rem 1rem 1.5rem;
  }

  footer[role="contentinfo"] > div:not(:first-child) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  header[role="banner"] a[aria-label="桃花视频首页"] span {
    font-size: 1.05rem;
  }

  header[role="banner"] svg {
    width: 32px;
    height: 32px;
  }

  #hero h1 {
    font-size: 1.4rem;
  }

  #hero > p {
    font-size: 0.9rem;
  }

  #hero dl {
    grid-template-columns: 1fr 1fr;
  }

  #hero dd {
    font-size: 1.1rem;
  }

  main > section:not(#hero) > h2 {
    font-size: 1.2rem;
  }

  #news article,
  #articles article {
    padding: 1.15rem;
  }

  #cases blockquote {
    padding: 1.25rem 1.25rem 1.25rem 2.75rem;
  }

  #cases blockquote::before {
    font-size: 2.2rem;
    left: 0.75rem;
  }
}

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

@media print {
  header[role="banner"],
  #back-to-top,
  #theme-toggle,
  #menu-toggle,
  header form[role="search"] {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

@supports (backdrop-filter: blur(1px)) {
  header[role="banner"] {
    background: rgba(255, 255, 255, 0.65);
  }
  [data-theme="dark"] header[role="banner"] {
    background: rgba(26, 26, 46, 0.7);
  }
}

@supports not (backdrop-filter: blur(1px)) {
  header[role="banner"] {
    background: rgba(255, 255, 255, 0.95);
  }
  [data-theme="dark"] header[role="banner"] {
    background: rgba(26, 26, 46, 0.95);
  }
  #hero figure,
  #hero dl > div,
  #hero > div:first-of-type a:last-child {
    background: rgba(255, 255, 255, 0.85);
  }
  [data-theme="dark"] #hero figure,
  [data-theme="dark"] #hero dl > div,
  [data-theme="dark"] #hero > div:first-of-type a:last-child {
    background: rgba(40, 40, 60, 0.9);
  }
}