:root {
  --primary: #0a1a2f;
  --primary-light: #12294a;
  --primary-dark: #060f1c;
  --accent: #f0c040;
  --accent-light: #f7d76a;
  --accent-glow: rgba(240, 192, 64, 0.25);
  --bg: #f5f7fb;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --text: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #8895a7;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(10, 26, 47, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 26, 47, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 26, 47, 0.12);
  --shadow-glow: 0 0 30px rgba(240, 192, 64, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #0d1f38;
    --primary-light: #16345c;
    --primary-dark: #050b14;
    --accent: #f0c040;
    --accent-light: #f7d76a;
    --accent-glow: rgba(240, 192, 64, 0.2);
    --bg: #0b1220;
    --bg-card: #111c30;
    --bg-glass: rgba(17, 28, 48, 0.78);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    --text: #e8edf5;
    --text-secondary: #a8b5c8;
    --text-muted: #6b7d94;
    --border: #1e2d45;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 30px rgba(240, 192, 64, 0.1);
  }
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(10, 26, 47, 0.04), transparent);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(10, 26, 47, 0.008) 2px,
      rgba(10, 26, 47, 0.008) 4px
    );
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
  position: relative;
}

a:hover {
  color: var(--accent-light);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.15em;
}

@media (prefers-color-scheme: dark) {
  h1 {
    background: linear-gradient(135deg, #e8edf5 0%, var(--accent-light) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width var(--transition-slow);
}

section:hover > h2::after {
  width: 80px;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  margin-bottom: 0.6rem;
  color: var(--primary);
}

@media (prefers-color-scheme: dark) {
  h3 {
    color: var(--accent-light);
  }
}

h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

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

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

/* ===== Header / Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

header:hover {
  box-shadow: var(--shadow-md);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

nav > a:first-child {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  transition: transform var(--transition), filter var(--transition);
}

nav > a:first-child:hover {
  transform: scale(1.04);
  filter: brightness(1.15);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

nav ul li a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

nav ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

nav ul li a:hover {
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-1px);
}

nav ul li a:hover::before {
  opacity: 1;
}

/* ===== Main ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

article > header {
  position: static;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  margin-bottom: 1rem;
}

article > header h1 {
  margin-bottom: 0.75rem;
}

article > header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
}

/* ===== Sections ===== */
section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: shimmer 3s linear infinite;
}

section:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-3px);
  border-color: rgba(240, 192, 64, 0.2);
}

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

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

section > p:first-of-type {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== Brand Section ===== */
#brand {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(240, 192, 64, 0.04) 100%);
}

/* ===== Products Section ===== */
#products {
  background: linear-gradient(135deg, rgba(10, 26, 47, 0.03) 0%, var(--bg-card) 100%);
}

/* ===== Solutions ===== */
#solutions {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(10, 26, 47, 0.04) 100%);
}

/* ===== Cases ===== */
#cases {
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.03) 0%, var(--bg-card) 100%);
}

#cases h3 {
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.75rem;
}

/* ===== Articles ===== */
#articles article {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#articles article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

#articles article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240, 192, 64, 0.25);
}

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

#articles article h3 {
  margin-bottom: 0.35rem;
}

#articles article h3 a {
  color: var(--text);
  font-weight: 600;
  transition: color var(--transition);
}

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

#articles article p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

#articles article > a:last-child {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
}

#articles article > a:last-child::after {
  content: "→";
  transition: transform var(--transition);
}

#articles article > a:last-child:hover {
  gap: 0.6rem;
  color: var(--accent-light);
}

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

/* ===== FAQ ===== */
#faq details {
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--bg);
}

#faq details[open] {
  border-color: rgba(240, 192, 64, 0.3);
  box-shadow: var(--shadow-sm);
}

#faq details:hover {
  border-color: rgba(240, 192, 64, 0.35);
}

#faq summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition);
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

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

#faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-glow);
}

#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--primary-dark);
}

#faq summary:hover {
  background: var(--accent-glow);
}

#faq details p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  animation: fadeSlideIn 0.35s ease-out;
}

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

/* ===== HowTo ===== */
#howto ol {
  counter-reset: howto-counter;
  margin-bottom: 1.5rem;
}

#howto ol > li {
  counter-increment: howto-counter;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  list-style: none;
}

#howto ol > li::before {
  content: counter(howto-counter);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--accent-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto ol > li:hover {
  transform: translateX(4px);
  border-color: rgba(240, 192, 64, 0.3);
  box-shadow: var(--shadow-sm);
}

#howto ol > li:hover::before {
  transform: scale(1.1);
  box-shadow: 0 4px 14px var(--accent-glow);
}

#howto ul {
  margin-bottom: 1.25rem;
}

#howto ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ===== Contact ===== */
#contact ul li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: padding-left var(--transition);
}

#contact ul li:hover {
  padding-left: 0.5rem;
  color: var(--text);
}

#contact ul li:last-child {
  border-bottom: none;
}

/* ===== Sitemap ===== */
#sitemap ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

#sitemap ul li a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

#sitemap ul li a:hover {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* ===== Links ===== */
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#links ul li a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

#links ul li a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px var(--accent-glow);
}

/* ===== Footer ===== */
footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

footer section {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow var(--transition), border-color var(--transition);
}

footer section:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(240, 192, 64, 0.15);
  transform: none;
}

footer section::before {
  display: none;
}

footer section h2 {
  font-size: 1rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

footer section h2::after {
  width: 28px;
  height: 2px;
}

footer section:hover h2::after {
  width: 48px;
}

footer section p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}

footer > p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.4rem 1rem;
  line-height: 1.6;
}

footer > p:last-child {
  padding-bottom: 1rem;
}

/* ===== Scroll Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

section {
  animation: fadeInUp 0.6s ease-out both;
}

section:nth-child(1) { animation-delay: 0.05s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.2s; }
section:nth-child(5) { animation-delay: 0.25s; }
section:nth-child(6) { animation-delay: 0.3s; }
section:nth-child(7) { animation-delay: 0.35s; }
section:nth-child(8) { animation-delay: 0.4s; }
section:nth-child(9) { animation-delay: 0.45s; }
section:nth-child(10) { animation-delay: 0.5s; }
section:nth-child(11) { animation-delay: 0.55s; }
section:nth-child(12) { animation-delay: 0.6s; }

#articles article {
  animation: fadeInLeft 0.5s ease-out both;
}

#articles article:nth-child(1) { animation-delay: 0.1s; }
#articles article:nth-child(2) { animation-delay: 0.15s; }
#articles article:nth-child(3) { animation-delay: 0.2s; }
#articles article:nth-child(4) { animation-delay: 0.25s; }
#articles article:nth-child(5) { animation-delay: 0.3s; }
#articles article:nth-child(6) { animation-delay: 0.35s; }
#articles article:nth-child(7) { animation-delay: 0.4s; }
#articles article:nth-child(8) { animation-delay: 0.45s; }
#articles article:nth-child(9) { animation-delay: 0.5s; }
#articles article:nth-child(10) { animation-delay: 0.55s; }

#faq details {
  animation: scaleIn 0.4s ease-out both;
}

#faq details:nth-child(1) { animation-delay: 0.05s; }
#faq details:nth-child(2) { animation-delay: 0.1s; }
#faq details:nth-child(3) { animation-delay: 0.15s; }
#faq details:nth-child(4) { animation-delay: 0.2s; }
#faq details:nth-child(5) { animation-delay: 0.25s; }
#faq details:nth-child(6) { animation-delay: 0.3s; }
#faq details:nth-child(7) { animation-delay: 0.35s; }
#faq details:nth-child(8) { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }

  nav > a:first-child {
    font-size: 1.15rem;
  }

  nav ul {
    gap: 0.15rem;
  }

  nav ul li a {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  main {
    padding: 1.5rem 1rem 3rem;
  }

  section {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
  }

  article > header {
    padding: 1.75rem 0.5rem 1rem;
  }

  #howto ol > li {
    padding: 1rem 1rem 1rem 3rem;
  }

  #howto ol > li::before {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
    left: 0.75rem;
    top: 1rem;
  }

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

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

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.85rem;
  }

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

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

  nav ul li a {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
  }

  main {
    padding: 1rem 0.75rem 2.5rem;
  }

  section {
    padding: 1.15rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
  }

  section:hover {
    transform: none;
  }

  h2 {
    font-size: 1.15rem;
  }

  h3 {
    font-size: 1rem;
  }

  article > header {
    padding: 1.25rem 0.25rem 0.75rem;
  }

  article > header p {
    font-size: 0.78rem;
    flex-direction: column;
    gap: 0.15rem;
  }

  #articles article {
    padding: 1rem;
  }

  #articles article:hover {
    transform: none;
  }

  #faq summary {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  #faq details p {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
  }

  #howto ol > li {
    padding: 0.85rem 0.85rem 0.85rem 2.6rem;
  }

  #howto ol > li::before {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    left: 0.65rem;
    top: 0.85rem;
  }

  #sitemap ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #links ul {
    gap: 0.35rem;
  }

  #links ul li a {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
  }

  footer section {
    padding: 1.1rem;
  }

  footer > p {
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  nav ul li a {
    font-size: 0.72rem;
    padding: 0.25rem 0.45rem;
  }

  section {
    padding: 1rem 0.85rem;
  }

  #sitemap ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  #sitemap ul li a {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }
}

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

  section:hover {
    transform: none;
  }
}

/* ===== Selection ===== */
::selection {
  background: var(--accent);
  color: var(--primary-dark);
}

::-moz-selection {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* ===== Print ===== */
@media print {
  header,
  nav,
  footer,
  #sitemap,
  #links {
    display: none;
  }

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

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

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}