:root {
  --c-primary: #e86a8a;
  --c-primary-dark: #c94f6d;
  --c-primary-light: #f7a8bc;
  --c-accent: #7c6cf0;
  --c-accent-light: #b3aaf7;
  --c-bg: #fdf7f9;
  --c-bg-alt: #ffffff;
  --c-card: rgba(255, 255, 255, 0.72);
  --c-card-solid: #ffffff;
  --c-text: #2d2733;
  --c-text-soft: #6b6273;
  --c-text-mute: #9a92a3;
  --c-border: rgba(232, 106, 138, 0.16);
  --c-shadow: rgba(180, 90, 120, 0.12);
  --c-shadow-strong: rgba(180, 90, 120, 0.22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #fde4ec 0%, #f7d9f0 30%, #e6ddfb 65%, #dceefb 100%);
  --grad-btn: linear-gradient(135deg, #e86a8a 0%, #c96ae8 100%);
  --grad-line: linear-gradient(90deg, #e86a8a, #7c6cf0);
  --font-base: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-primary: #f28aa5;
    --c-primary-dark: #e86a8a;
    --c-primary-light: #f7b8c9;
    --c-accent: #9d8ff5;
    --c-accent-light: #c3baf9;
    --c-bg: #16121b;
    --c-bg-alt: #1d1824;
    --c-card: rgba(42, 34, 52, 0.62);
    --c-card-solid: #241d2e;
    --c-text: #f2ecf6;
    --c-text-soft: #c2b8ce;
    --c-text-mute: #8b8199;
    --c-border: rgba(242, 138, 165, 0.2);
    --c-shadow: rgba(0, 0, 0, 0.4);
    --c-shadow-strong: rgba(0, 0, 0, 0.6);
    --grad-hero: linear-gradient(135deg, #2a1b2a 0%, #251e35 35%, #1e2438 70%, #17222f 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(232, 106, 138, 0.08), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(124, 108, 240, 0.08), transparent 46%),
    radial-gradient(circle at 50% 92%, rgba(232, 106, 138, 0.06), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--c-primary-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--c-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  position: relative;
  padding-bottom: 0.5em;
}

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

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--c-primary-dark);
}

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

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--c-primary);
}

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

blockquote {
  margin: 1.2em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--c-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px var(--c-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 32px var(--c-shadow-strong);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 247, 249, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 4px 24px rgba(180, 90, 120, 0.06);
}

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(22, 18, 27, 0.72);
  }
}

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

header > div > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

header > div > a:first-child svg {
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(232, 106, 138, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

header > div > a:first-child:hover svg {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(232, 106, 138, 0.6);
}

header nav {
  flex: 1 1 auto;
}

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

header nav li {
  margin: 0;
}

header nav a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--c-text-soft);
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav a:hover {
  color: var(--c-primary-dark);
  background: rgba(232, 106, 138, 0.12);
  transform: translateY(-1px);
}

header form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

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

header form input[type="search"] {
  width: 180px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-card-solid);
  color: var(--c-text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: width 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

header form input[type="search"]:focus {
  width: 220px;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(232, 106, 138, 0.14);
  outline: none;
}

header form button {
  padding: 0.5rem 1.05rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--grad-btn);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

header form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 106, 138, 0.4);
  filter: brightness(1.05);
}

header form button:active {
  transform: translateY(0);
}

body > a:first-child {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.7rem 1.2rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}

body > a:first-child:focus {
  left: 0;
}

main {
  display: block;
}

main > section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  animation: fadeUp 0.7s var(--ease) both;
}

main > section:nth-of-type(1) {
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

main > section:nth-of-type(1)::before,
main > section:nth-of-type(1)::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

main > section:nth-of-type(1)::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(232, 106, 138, 0.35), transparent 68%);
  animation: float 12s ease-in-out infinite;
}

main > section:nth-of-type(1)::after {
  width: 360px;
  height: 360px;
  bottom: -180px;
  left: -80px;
  background: radial-gradient(circle, rgba(124, 108, 240, 0.3), transparent 68%);
  animation: float 15s ease-in-out infinite reverse;
}

main > section:nth-of-type(1) > * {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

main > section:nth-of-type(1) h1 {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--c-primary-dark);
  text-shadow: none;
}

main > section:nth-of-type(1) p {
  font-size: 1.02rem;
  max-width: 780px;
  color: var(--c-text-soft);
}

main > section:nth-of-type(1) > nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

main > section:nth-of-type(1) > nav li {
  margin: 0;
}

main > section:nth-of-type(1) > nav a {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--c-primary-dark);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(180, 90, 120, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

main > section:nth-of-type(1) > nav a:hover {
  transform: translateY(-3px);
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 106, 138, 0.4);
}

@media (prefers-color-scheme: dark) {
  main > section:nth-of-type(1) > nav a {
    background: rgba(60, 48, 72, 0.6);
    border-color: rgba(242, 138, 165, 0.25);
    color: var(--c-primary-light);
  }
}

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

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

main > nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--c-text-mute);
}

main > nav[aria-label="面包屑导航"] a {
  color: var(--c-text-soft);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

main > nav[aria-label="面包屑导航"] a:hover {
  color: var(--c-primary-dark);
  background: rgba(232, 106, 138, 0.1);
}

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

main > section:not(:nth-of-type(1)) {
  position: relative;
}

main > section:not(:nth-of-type(1)) > h2 {
  margin-top: 0;
}

main > section#brand,
main > section#products,
main > section#solutions,
main > section#cases,
main > section#news,
main > section#articles,
main > section#knowledge,
main > section#howto,
main > section#faq,
main > section#contact,
main > section#sitemap,
main > section#links {
  background: var(--c-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--c-shadow);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

main > section#brand:hover,
main > section#products:hover,
main > section#solutions:hover,
main > section#cases:hover,
main > section#news:hover,
main > section#articles:hover,
main > section#knowledge:hover,
main > section#howto:hover,
main > section#faq:hover,
main > section#contact:hover,
main > section#sitemap:hover,
main > section#links:hover {
  box-shadow: 0 14px 44px var(--c-shadow-strong);
}

main > section#brand h3,
main > section#products h3,
main > section#solutions h3,
main > section#cases h3,
main > section#news h3,
main > section#articles h3,
main > section#knowledge h3,
main > section#howto h3,
main > section#faq h3,
main > section#contact h3 {
  margin-top: 1.8em;
  padding-left: 0.75em;
  border-left: 4px solid var(--c-primary);
  transition: border-color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

main > section#brand h3:hover,
main > section#products h3:hover,
main > section#solutions h3:hover,
main > section#cases h3:hover,
main > section#news h3:hover,
main > section#articles h3:hover,
main > section#knowledge h3:hover,
main > section#howto h3:hover,
main > section#faq h3:hover {
  border-color: var(--c-accent);
  padding-left: 0.95em;
}

main > section#brand ul,
main > section#products ul,
main > section#solutions ul,
main > section#knowledge ul,
main > section#howto ul,
main > section#contact ul,
main > section#sitemap ul,
main > section#links ul {
  list-style: none;
  padding-left: 0;
}

main > section#brand ul li,
main > section#products ul li,
main > section#solutions ul li,
main > section#knowledge ul li,
main > section#howto ul li {
  position: relative;
  padding-left: 1.6em;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

main > section#brand ul li::before,
main > section#products ul li::before,
main > section#solutions ul li::before,
main > section#knowledge ul li::before,
main > section#howto ul li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-line);
  box-shadow: 0 0 0 3px rgba(232, 106, 138, 0.14);
}

main > section#brand ul li:hover,
main > section#products ul li:hover,
main > section#solutions ul li:hover,
main > section#knowledge ul li:hover,
main > section#howto ul li:hover {
  transform: translateX(4px);
  color: var(--c-text);
}

main > section#howto ol {
  counter-reset: howto;
  list-style: none;
  padding-left: 0;
}

main > section#howto ol > li {
  counter-increment: howto;
  position: relative;
  padding: 0.9em 1em 0.9em 3.4em;
  margin-bottom: 0.7em;
  background: var(--c-card-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

main > section#howto ol > li::before {
  content: counter(howto);
  position: absolute;
  left: 0.85em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.9em;
  height: 1.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(232, 106, 138, 0.35);
}

main > section#howto ol > li:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-light);
  box-shadow: 0 8px 24px var(--c-shadow);
}

main > section#news > ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

main > section#news > ul > li {
  margin: 0;
  padding: 1.3rem 1.4rem;
  background: var(--c-card-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px var(--c-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

main > section#news > ul > li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

main > section#news > ul > li:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--c-shadow-strong);
  border-color: var(--c-primary-light);
}

main > section#news > ul > li:hover::before {
  transform: scaleX(1);
}

main > section#news h3 {
  margin: 0 0 0.4em;
  font-size: 1.05rem;
  border: none;
  padding-left: 0;
}

main > section#news h3 a {
  color: var(--c-text);
  transition: color 0.25s var(--ease);
}

main > section#news h3 a:hover {
  color: var(--c-primary-dark);
}

main > section#news p {
  font-size: 0.88rem;
  margin-bottom: 0.5em;
}

main > section#news p:first-of-type {
  color: var(--c-text-mute);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

main > section#articles article {
  background: var(--c-card-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 18px var(--c-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

main > section#articles article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-line);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

main > section#articles article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--c-shadow-strong);
  border-color: var(--c-primary-light);
}

main > section#articles article:hover::after {
  transform: scaleY(1);
}

main > section#articles h3 {
  margin: 0 0 0.35em;
  border: none;
  padding-left: 0;
  font-size: 1.12rem;
}

main > section#articles h3 a {
  color: var(--c-text);
  background-image: linear-gradient(var(--c-primary), var(--c-primary));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}

main > section#articles h3 a:hover {
  color: var(--c-primary-dark);
  background-size: 100% 2px;
}

main > section#articles p {
  font-size: 0.92rem;
  margin-bottom: 0.6em;
}

main > section#articles p:first-of-type {
  color: var(--c-text-mute);
  font-size: 0.8rem;
}

main > section#articles p:last-child {
  margin-bottom: 0;
}

main > section#articles p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(232, 106, 138, 0.1);
  color: var(--c-primary-dark);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

main > section#articles p:last-child a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

main > section#articles p:last-child a:hover {
  background: var(--grad-btn);
  color: #fff;
  transform: translateX(2px);
}

main > section#articles p:last-child a:hover::after {
  transform: translateX(3px);
}

main > section#faq details {
  background: var(--c-card-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.2rem 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 3px 14px var(--c-shadow);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  overflow: hidden;
}

main > section#faq details[open] {
  border-color: var(--c-primary-light);
  box-shadow: 0 10px 30px var(--c-shadow-strong);
}

main > section#faq details:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-light);
}

main > section#faq summary {
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 600;
  color: var(--c-text);
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.25s var(--ease);
}

main > section#faq summary::-webkit-details-marker {
  display: none;
}

main > section#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 106, 138, 0.12);
  color: var(--c-primary-dark);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

main > section#faq details[open] summary {
  color: var(--c-primary-dark);
}

main > section#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--grad-btn);
  color: #fff;
}

main > section#faq summary:hover::after {
  background: var(--c-primary);
  color: #fff;
}

main > section#faq details > p {
  margin: 0 0 1rem;
  padding-top: 0.2rem;
  border-top: 1px dashed var(--c-border);
  padding-top: 0.9rem;
  font-size: 0.94rem;
  animation: fadeIn 0.4s var(--ease);
}

main > section#contact ul,
main > section#sitemap ul,
main > section#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
}

main > section#contact ul li,
main > section#sitemap ul li,
main > section#links ul li {
  margin: 0;
  padding: 0.65rem 1rem;
  background: var(--c-card-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--c-text-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

main > section#contact ul li:hover,
main > section#sitemap ul li:hover,
main > section#links ul li:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-light);
  box-shadow: 0 6px 18px var(--c-shadow);
}

main > section#sitemap a,
main > section#links a {
  color: var(--c-text-soft);
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

main > section#sitemap a:hover,
main > section#links a:hover {
  color: var(--c-primary-dark);
}

main > section#links ul li {
  position: relative;
  padding-left: 1.9rem;
}

main > section#links ul li::before {
  content: "🔗";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.7;
}

footer {
  margin-top: 3rem;
  padding: 3rem 1.25rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(232, 106, 138, 0.06));
  border-top: 1px solid var(--c-border);
}

@media (prefers-color-scheme: dark) {
  footer {
    background: linear-gradient(180deg, transparent, rgba(242, 138, 165, 0.06));
  }
}

footer > div {
  max-width: var(--maxw);
  margin: 0 auto 1.6rem;
}

footer > div:first-child h2 {
  font-size: 1.4rem;
  padding-bottom: 0;
  margin-bottom: 0.4em;
}

footer > div:first-child h2::after {
  display: none;
}

footer > div:first-child p {
  font-size: 0.9rem;
  margin-bottom: 0.35em;
  color: var(--c-text-soft);
}

footer > div:first-child p:first-of-type {
  font-weight: 500;
  color: var(--c-primary-dark);
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer nav li {
  margin: 0;
}

footer nav a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font-size: 0.86rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

footer nav a:hover {
  background: var(--grad-btn);
  color: #fff;
  transform: translateY(-2px);
}

footer > div:nth-child(3) {
  max-width: var(--maxw);
  margin: 0 auto 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

footer > div:nth-child(3) h3 {
  font-size: 1rem;
  margin: 0 0 0.5em;
  color: var(--c-primary-dark);
  border: none;
  padding: 0;
}

footer > div:nth-child(3) p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--c-text-mute);
  margin: 0;
}

footer > div:last-child {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

footer > div:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--grad-btn);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(232, 106, 138, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

footer > div:last-child a::before {
  content: "↑";
}

footer > div:last-child a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 106, 138, 0.5);
  color: #fff;
}

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

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

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

@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 (max-width: 960px) {
  header > div {
    gap: 0.8rem;
  }

  header form input[type="search"] {
    width: 150px;
  }

  header form input[type="search"]:focus {
    width: 180px;
  }
}

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

  header > div {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }

  header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav ul {
    flex-wrap: nowrap;
    gap: 0.1rem;
    padding-bottom: 0.2rem;
  }

  header nav a {
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 0.35rem 0.65rem;
  }

  header form {
    margin-left: auto;
  }

  header form input[type="search"] {
    width: 120px;
    padding: 0.42rem 0.75rem;
    font-size: 0.84rem;
  }

  header form input[type="search"]:focus {
    width: 150px;
  }

  header form button {
    padding: 0.42rem 0.8rem;
    font-size: 0.84rem;
  }

  main > section {
    padding: 1.8rem 1rem;
  }

  main > section:nth-of-type(1) {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  main > section:nth-of-type(1) > nav a {
    padding: 0.5rem 1rem;
    font-size: 0.86rem;
  }

  main > section#brand,
  main > section#products,
  main > section#solutions,
  main > section#cases,
  main > section#news,
  main > section#articles,
  main > section#knowledge,
  main > section#howto,
  main > section#faq,
  main > section#contact,
  main > section#sitemap,
  main > section#links {
    border-radius: var(--radius-md);
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  main > section#news > ul {
    grid-template-columns: 1fr;
  }

  main > section#articles article {
    padding: 1.2rem 1.1rem;
  }

  main > section#howto ol > li {
    padding: 0.8em 0.9em 0.8em 3em;
  }

  main > section#contact ul,
  main > section#sitemap ul,
  main > section#links ul {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 2rem 1rem 1.5rem;
  }

  footer > div:nth-child(3) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  blockquote {
    padding: 0.9em 1.1em;
  }
}

@media (max-width: 420px) {
  header > div > a:first-child span {
    font-size: 1rem;
  }

  header form input[type="search"] {
    width: 96px;
  }

  header form input[type="search"]:focus {
    width: 120px;
  }

  main > section#articles h3 {
    font-size: 1.02rem;
  }
}

@media print {
  header,
  footer,
  main > section:nth-of-type(1)::before,
  main > section:nth-of-type(1)::after,
  body > a:first-child {
    display: none !important;
  }

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

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

  a {
    color: #000;
    text-decoration: underline;
  }
}
</details>