:root {
  --brand: #5b3df5;
  --brand-2: #7a5cff;
  --brand-3: #9b86ff;
  --brand-4: #c2b4ff;
  --brand-soft: rgba(91, 61, 245, 0.12);
  --brand-soft-2: rgba(122, 92, 255, 0.08);
  --bg: #f6f5fb;
  --bg-2: #ffffff;
  --bg-3: #f0eefb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.65);
  --border: rgba(91, 61, 245, 0.14);
  --border-strong: rgba(91, 61, 245, 0.26);
  --text: #1c1830;
  --text-2: #4a4463;
  --text-3: #6f6890;
  --text-inv: #ffffff;
  --shadow-sm: 0 2px 8px rgba(40, 25, 90, 0.06);
  --shadow: 0 12px 32px rgba(40, 25, 90, 0.1);
  --shadow-lg: 0 24px 60px rgba(40, 25, 90, 0.16);
  --shadow-brand: 0 14px 34px rgba(91, 61, 245, 0.28);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --grad-brand: linear-gradient(120deg, #5b3df5 0%, #7a5cff 45%, #a48cff 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(91, 61, 245, 0.14) 0%, rgba(194, 180, 255, 0.1) 100%);
  --grad-hero: linear-gradient(125deg, #4b2fe0 0%, #6b4dfb 35%, #9b7bff 68%, #c9b6ff 100%);
  --grad-text: linear-gradient(92deg, #5b3df5 0%, #8a6bff 55%, #b39bff 100%);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --header-h: 72px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.42s;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b18;
    --bg-2: #14112a;
    --bg-3: #1a1633;
    --surface: rgba(28, 23, 54, 0.72);
    --surface-solid: #1a1633;
    --glass: rgba(30, 25, 60, 0.55);
    --glass-strong: rgba(32, 27, 64, 0.82);
    --glass-border: rgba(155, 134, 255, 0.22);
    --border: rgba(155, 134, 255, 0.18);
    --border-strong: rgba(155, 134, 255, 0.34);
    --text: #f0edff;
    --text-2: #c6bff0;
    --text-3: #9c94c8;
    --brand-soft: rgba(122, 92, 255, 0.2);
    --brand-soft-2: rgba(122, 92, 255, 0.12);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 26px 64px rgba(0, 0, 0, 0.58);
    --shadow-brand: 0 14px 36px rgba(91, 61, 245, 0.42);
    --grad-brand-soft: linear-gradient(135deg, rgba(122, 92, 255, 0.22) 0%, rgba(60, 45, 130, 0.16) 100%);
    --grad-hero: linear-gradient(125deg, #2a1c7a 0%, #4b2fe0 40%, #7a5cff 75%, #9b86ff 100%);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 8% -8%, var(--brand-soft-2) 0%, transparent 62%),
    radial-gradient(900px 560px at 96% 4%, rgba(155, 134, 255, 0.14) 0%, transparent 60%),
    radial-gradient(800px 700px at 50% 108%, rgba(122, 92, 255, 0.1) 0%, transparent 64%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

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

a:hover {
  color: var(--brand-2);
}

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

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

h1 {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  box-shadow: 0 0 18px rgba(122, 92, 255, 0.55);
}

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

h4 {
  font-size: 1.05rem;
}

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

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--brand-2);
}

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

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

blockquote {
  margin: 0 0 1.2em;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--brand-2);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

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

blockquote p {
  margin-bottom: 0.6em;
  color: var(--text);
  font-size: 1.02rem;
}

blockquote footer {
  font-size: 0.86rem;
  color: var(--text-3);
}

address {
  font-style: normal;
}

::selection {
  background: rgba(122, 92, 255, 0.3);
  color: var(--text);
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-2), var(--brand-4));
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg);
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 6px 30px rgba(40, 25, 90, 0.07);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.brand svg {
  border-radius: 12px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.5s var(--ease-out), filter 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.06);
  filter: brightness(1.08);
}

#site-header nav {
  flex: 1 1 auto;
}

#site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

#site-header nav li {
  margin: 0;
}

#site-header nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

#site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.32s var(--ease);
}

#site-header nav a:hover {
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

#site-header nav a:hover::after {
  width: 46%;
}

#site-header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

#site-header input[type="search"] {
  width: 220px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: width 0.36s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

#site-header input[type="search"]::placeholder {
  color: var(--text-3);
}

#site-header input[type="search"]:focus {
  width: 270px;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px var(--brand-soft);
  outline: none;
}

#site-header button[type="submit"] {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--grad-brand);
  background-size: 160% 160%;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background-position 0.6s var(--ease);
}

#site-header button[type="submit"]:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 40px rgba(91, 61, 245, 0.4);
}

#site-header button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

/* ============ MAIN LAYOUT ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px 80px;
}

main > nav[aria-label="面包屑导航"] {
  padding: 20px 0 4px;
}

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

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

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-3);
  opacity: 0.55;
}

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

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

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

/* ============ SECTIONS ============ */
main > section {
  position: relative;
  margin: 0 0 34px;
  padding: 40px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: rise-in 0.85s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 26%;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

main > section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(600px 260px at 100% 0%, var(--brand-soft-2), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

main > section:hover::after {
  opacity: 1;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports not (animation-timeline: view()) {
  main > section {
    animation: rise-in 0.7s var(--ease-out) both;
  }
}

main > section > * {
  position: relative;
  z-index: 1;
}

/* ============ HERO ============ */
#hero {
  margin-top: 18px;
  padding: 56px 40px 48px;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  background-size: 200% 200%;
  border: none;
  box-shadow: var(--shadow-lg);
  color: #fff;
  isolation: isolate;
  animation: hero-shift 18s ease-in-out infinite alternate;
}

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

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(420px 420px at 88% 12%, rgba(255, 255, 255, 0.24), transparent 62%),
    radial-gradient(520px 520px at 6% 96%, rgba(255, 255, 255, 0.16), transparent 66%);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 4px 26px rgba(30, 12, 90, 0.4);
  max-width: 20ch;
}

#hero > p {
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(30, 12, 90, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 34px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.hero-actions a:first-child {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 8, 60, 0.3);
}

.hero-actions a:first-child:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 46px rgba(20, 8, 60, 0.4);
  color: var(--brand);
}

.hero-actions a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-actions a:last-child:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

#hero figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 24px 60px rgba(20, 8, 60, 0.32);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 34px 80px rgba(20, 8, 60, 0.42);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figure svg circle {
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease);
  transform-origin: center;
}

#hero figure:hover svg circle {
  filter: brightness(1.12);
}

#hero figcaption {
  padding: 12px 20px 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============ PAGE ANCHOR NAV ============ */
main > nav[aria-label="页面锚点导航"] {
  margin: 0 0 34px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

main > nav[aria-label="页面锚点导航"] h2 {
  font-size: 1.05rem;
  padding-left: 0;
  margin-bottom: 16px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

main > nav[aria-label="页面锚点导航"] h2::before {
  display: none;
}

main > nav[aria-label="页面锚点导航"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

main > nav[aria-label="页面锚点导航"] li {
  margin: 0;
}

main > nav[aria-label="页面锚点导航"] a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: color 0.26s var(--ease), background-color 0.26s var(--ease), border-color 0.26s var(--ease), transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

main > nav[aria-label="页面锚点导航"] a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ============ PRODUCT / SOLUTION / CASE CARDS ============ */
#products h3,
#solutions h3,
#applications h3,
#knowledge h3 {
  margin-top: 1.6em;
  padding: 18px 22px 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  border-bottom: none;
}

#products h3 + p,
#solutions h3 + p,
#applications h3 + p,
#knowledge h3 + p {
  margin-top: 0;
  padding: 0 22px 18px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

#products h3 + p:hover,
#solutions h3 + p:hover,
#applications h3 + p:hover,
#knowledge h3 + p:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#products h3:first-of-type,
#solutions h3:first-of-type,
#applications h3:first-of-type,
#knowledge h3:first-of-type {
  margin-top: 1.1em;
}

/* ============ ADVANTAGES LIST ============ */
#advantages {
  margin-top: 2em;
}

#advantages + ul,
#products ul,
#applications ul,
#history + ul,
#culture + ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

#advantages + ul li,
#products ul li,
#applications ul li,
#history + ul li,
#culture + ul li {
  margin: 0;
  padding: 18px 22px 18px 54px;
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

#advantages + ul li::before,
#products ul li::before,
#applications ul li::before,
#history + ul li::before,
#culture + ul li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--grad-brand);
  box-shadow: 0 4px 14px rgba(91, 61, 245, 0.4);
  transition: transform 0.32s var(--ease);
}

#advantages + ul li::after,
#products ul li::after,
#applications ul li::after,
#history + ul li::after,
#culture + ul li::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 29px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  pointer-events: none;
}

#advantages + ul li:hover,
#products ul li:hover,
#applications ul li:hover,
#history + ul li:hover,
#culture + ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#advantages + ul li:hover::before,
#products ul li:hover::before,
#applications ul li:hover::before,
#history + ul li:hover::before,
#culture + ul li:hover::before {
  transform: scale(1.12) rotate(-6deg);
}

/* ============ CASES / REVIEWS ============ */
#cases article,
#reviews blockquote {
  margin-bottom: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.36s var(--ease), box-shadow 0.36s var(--ease), border-color 0.36s var(--ease);
}

#cases article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.42s var(--ease-out);
}

#cases article:hover::before {
  transform: scaleY(1);
}

#cases article:hover,
#reviews blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#cases article h3 {
  color: var(--brand);
}

#reviews blockquote {
  border-left: 1px solid var(--border);
  padding-left: 30px;
}

#reviews blockquote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 16px;
  font-size: 3.4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--brand-3);
  opacity: 0.35;
  pointer-events: none;
}

/* ============ NEWS ============ */
#news ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

#news li {
  margin: 0;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

#news li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#news li h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  transition: color 0.28s var(--ease);
}

#news li:hover h3 {
  color: var(--brand);
}

#news li time {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

#news li p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* ============ ARTICLES ============ */
#articles article {
  margin-bottom: 20px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.36s var(--ease), box-shadow 0.36s var(--ease), border-color 0.36s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#articles article h3 {
  color: var(--text);
  margin-bottom: 6px;
}

#articles article:hover h3 {
  color: var(--brand);
}

#articles article > time {
  display: block;
  margin-bottom: 12px;
}

#articles article > p {
  font-size: 0.96rem;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--grad-brand-soft);
  border-left: 3px solid var(--brand-3);
}

#articles article > a[href^="#article-"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
}

#articles article > a[href^="#article-"]::after {
  content: "\2192";
  transition: transform 0.28s var(--ease);
}

#articles article > a[href^="#article-"]:hover {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(91, 61, 245, 0.4);
}

#articles article > a[href^="#article-"]:hover::after {
  transform: translateX(4px);
}

#articles article > div[id^="article-"] {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  animation: fade-slide 0.5s var(--ease-out) both;
}

#articles article > div[id^="article-"] p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.92;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ FAQ ============ */
#faq h3 {
  margin-top: 0;
  padding: 20px 24px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  border-bottom: none;
  font-size: 1.04rem;
  position: relative;
  transition: color 0.28s var(--ease), background-color 0.28s var(--ease);
}

#faq h3::after {
  content: "Q";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(91, 61, 245, 0.35);
}

#faq h3 + p {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 18px 24px 22px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.96rem;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

#faq h3 + p:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#faq h3:first-of-type {
  margin-top: 0.6em;
}

/* ============ HOWTO ============ */
#howto ol {
  counter-reset: howto-step;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: howto-step;
  position: relative;
  margin: 0;
  padding: 18px 22px 18px 66px;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

#howto ol li::before {
  content: counter(howto-step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(91, 61, 245, 0.36);
  transition: transform 0.32s var(--ease);
}

#howto ol li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.1) rotate(-6deg);
}

#howto ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#howto ul li {
  margin: 0;
  padding: 16px 20px 16px 46px;
  position: relative;
  border-radius: var(--radius-sm);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 0.94rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
  background: var(--grad-brand);
  box-shadow: 0 3px 10px rgba(91, 61, 245, 0.35);
}

#howto ul li:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

/* ============ CONTACT ============ */
#contact address {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

#contact address p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.96rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#contact address p:last-child {
  border-bottom: none;
}

#contact address a {
  font-weight: 700;
  word-break: break-all;
}

#contact h3 {
  margin-top: 1.4em;
}

/* ============ AUTHOR / SITEMAP / LINKS / LEGAL ============ */
#author p,
#privacy p,
#disclaimer p,
#copyright p {
  font-size: 0.96rem;
}

#author h3 {
  margin-top: 1.5em;
  padding-left: 14px;
  border-left: 3px solid var(--brand-3);
}

#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: block;
  padding: 11px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.26s var(--ease), background-color 0.26s var(--ease), border-color 0.26s var(--ease), transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

#copyright p:last-child {
  margin-top: 1.4em;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-3);
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  margin-top: 20px;
  padding: 48px 22px 40px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--glass-border);
  text-align: center;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  background-size: 200% 100%;
  animation: hero-shift 8s linear infinite alternate;
}

footer nav {
  margin-bottom: 24px;
}

footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

footer nav li {
  margin: 0;
}

footer nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  transition: color 0.26s var(--ease);
}

footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.32s var(--ease);
}

footer nav a:hover {
  color: var(--brand);
}

footer nav a:hover::after {
  width: 100%;
}

footer p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-3);
}

footer p:first-of-type {
  font-weight: 700;
  color: var(--text-2);
  font-size: 0.96rem;
}

footer p:last-child {
  margin-bottom: 0;
  font-size: 0.84rem;
  opacity: 0.85;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .header-inner {
    gap: 12px;
  }

  #site-header nav a {
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  #site-header input[type="search"] {
    width: 170px;
  }

  #site-header input[type="search"]:focus {
    width: 210px;
  }

  main > section {
    padding: 34px 26px;
  }

  #hero {
    padding: 44px 28px 40px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  #site-header nav {
    order: 3;
    flex-basis: 100%;
  }

  #site-header nav ul {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  #site-header nav ul::-webkit-scrollbar {
    height: 4px;
  }

  #site-header nav a {
    white-space: nowrap;
  }

  #site-header form[role="search"] {
    margin-left: auto;
  }

  main {
    padding: 0 16px 64px;
  }

  main > section {
    padding: 28px 20px;
    border-radius: var(--radius);
  }

  #hero {
    padding: 36px 22px 32px;
  }

  #hero h1 {
    max-width: none;
  }

  .hero-actions a {
    flex: 1 1 100%;
    justify-content: center;
  }

  #products h3,
  #solutions h3,
  #applications h3,
  #knowledge h3,
  #faq h3 {
    padding: 16px 18px 12px;
  }

  #products h3 + p,
  #solutions h3 + p,
  #applications h3 + p,
  #knowledge h3 + p,
  #faq h3 + p {
    padding: 0 18px 16px;
  }

  #faq h3 + p {
    padding: 16px 18px 20px;
  }

  #cases article,
  #reviews blockquote,
  #articles article {
    padding: 22px 20px;
  }

  #articles article > p {
    padding: 12px 14px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .brand span {
    font-size: 1rem;
  }

  #site-header form[role="search"] {
    flex-basis: 100%;
    order: 4;
  }

  #site-header input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #site-header input[type="search"]:focus {
    width: auto;
  }

  main > section {
    padding: 24px 16px;
    margin-bottom: 22px;
  }

  #hero {
    padding: 30px 18px 26px;
  }

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

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  #advantages + ul,
  #products ul,
  #applications ul,
  #history + ul,
  #culture + ul,
  #news ul,
  #howto ul {
    grid-template-columns: 1fr;
  }

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

  #howto ol li {
    padding: 16px 16px 16px 58px;
  }

  #contact address {
    padding: 20px 18px;
  }

  footer {
    padding: 36px 16px 30px;
  }

  footer nav ul {
    gap: 6px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  #site-header,
  footer,
  main > nav,
  .hero-actions {
    display: none !important;
  }

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

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