:root {
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --secondary: #EC4899;
  --accent: #06B6D4;
  --bg: #F8F7FC;
  --bg-alt: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --text: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #7A7A9A;
  --border: rgba(124, 58, 237, 0.12);
  --border-strong: rgba(124, 58, 237, 0.25);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow: 0 8px 24px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);
  --shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.25);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F1A;
    --bg-alt: #16162A;
    --bg-card: rgba(30, 30, 54, 0.72);
    --bg-glass: rgba(30, 30, 54, 0.55);
    --text: #F0EEFF;
    --text-secondary: #C4C0E0;
    --text-muted: #8A86A8;
    --border: rgba(167, 139, 250, 0.15);
    --border-strong: rgba(167, 139, 250, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -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 20% -10%, rgba(124, 58, 237, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(236, 72, 153, 0.08), transparent),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(6, 182, 212, 0.06), transparent);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  position: relative;
  padding-bottom: 0.6em;
  margin-bottom: 1.2em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: var(--text);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  color: var(--primary-dark);
}

@media (prefers-color-scheme: dark) {
  h4 {
    color: var(--primary-light);
  }
}

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

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

blockquote {
  position: relative;
  padding: 1.5em 1.75em 1.5em 3.5em;
  margin: 1.5em 0;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.6em;
  top: 0.1em;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.35;
}

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

blockquote p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5em;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: right;
}

blockquote cite::before {
  content: "— ";
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

header[role="banner"]:hover {
  box-shadow: var(--shadow);
}

nav[aria-label="主导航"] {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

nav[aria-label="主导航"] > div:first-child {
  flex-shrink: 0;
}

nav[aria-label="主导航"] > div:first-child a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

nav[aria-label="主导航"] > div:first-child a::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
  flex-shrink: 0;
}

nav[aria-label="主导航"] ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

nav[aria-label="主导航"] ul::-webkit-scrollbar {
  display: none;
}

nav[aria-label="主导航"] ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

nav[aria-label="主导航"] ul li a:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 80px;
}

section {
  padding: 48px 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

section[id] {
  position: relative;
}

#hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(124, 58, 237, 0.18), transparent),
    radial-gradient(ellipse 40% 35% at 75% 60%, rgba(236, 72, 153, 0.14), transparent),
    radial-gradient(ellipse 45% 30% at 50% 90%, rgba(6, 182, 212, 0.1), transparent);
  animation: heroFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3%, 2%) scale(1.05);
  }
}

#hero h1 {
  max-width: 900px;
  margin: 0 auto 0.6em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fadeInUp 0.8s ease-out both;
}

#hero > p {
  max-width: 720px;
  margin: 0 auto 2em;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

#hero figure {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border-strong);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.35);
}

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

#hero figcaption {
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

section:not(#hero) {
  animation: fadeInUp 0.6s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@supports not (animation-timeline: view()) {
  section:not(#hero) {
    animation: none;
    opacity: 1;
  }
}

#brand,
#products,
#advantages,
#solutions,
#applications,
#cases,
#testimonials,
#news,
#articles,
#knowledge,
#faq,
#howto,
#contact,
#sitemap,
#links {
  position: relative;
}

#brand,
#advantages,
#cases,
#articles,
#howto,
#sitemap {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

#products,
#solutions,
#testimonials,
#knowledge,
#contact,
#links {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

#applications,
#news,
#faq {
  padding: 48px 8px;
}

#news article,
#articles article {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.4em;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  transition: color var(--transition-fast);
}

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

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6em;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.08);
}

#news article p,
#articles article p {
  font-size: 0.95rem;
  margin-bottom: 0.8em;
}

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  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: 8px;
}

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

#cases h3 {
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  border-radius: 2px;
}

#testimonials blockquote {
  margin: 16px 0;
}

#faq details {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#faq details:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

#faq details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}

#faq summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--transition-fast), background var(--transition-fast);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

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

#faq summary:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.04);
}

#faq details p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  margin-bottom: 0;
  animation: fadeInUp 0.3s ease-out both;
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 64px;
  margin-bottom: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

#howto ul {
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

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

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-3px);
  color: var(--primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
  background: var(--bg-alt);
}

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

#contact p {
  font-size: 0.95rem;
  line-height: 2;
}

#contact p br {
  display: block;
  content: "";
  margin-bottom: 2px;
}

footer[role="contentinfo"] {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 20px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 6s linear infinite;
}

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

footer[role="contentinfo"] > section {
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding: 0;
}

footer[role="contentinfo"] h2 {
  font-size: 1rem;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  color: var(--text);
}

footer[role="contentinfo"] h2::after {
  width: 32px;
  height: 3px;
}

footer[role="contentinfo"] p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.6em;
}

footer[role="contentinfo"] > p {
  max-width: var(--max-width);
  margin: 0 auto 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

footer[role="contentinfo"] > p:first-of-type {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
  }

  nav[aria-label="主导航"] {
    padding: 0 16px;
  }

  nav[aria-label="主导航"] ul li a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  main {
    padding: 0 16px 64px;
  }

  section {
    padding: 36px 0;
  }

  #brand,
  #advantages,
  #cases,
  #articles,
  #howto,
  #sitemap,
  #products,
  #solutions,
  #testimonials,
  #knowledge,
  #contact,
  #links {
    padding: 36px 24px;
    margin: 16px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --radius: 14px;
    --radius-lg: 20px;
  }

  body {
    font-size: 15px;
  }

  nav[aria-label="主导航"] {
    flex-direction: column;
    height: auto;
    padding: 10px 12px;
    gap: 8px;
  }

  nav[aria-label="主导航"] > div:first-child {
    width: 100%;
    text-align: center;
  }

  nav[aria-label="主导航"] > div:first-child a {
    justify-content: center;
    font-size: 1.15rem;
  }

  nav[aria-label="主导航"] ul {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 4px;
    gap: 2px;
  }

  nav[aria-label="主导航"] ul li a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 12px 56px;
  }

  section {
    padding: 28px 0;
  }

  section[id] {
    scroll-margin-top: 120px;
  }

  #hero {
    padding: 40px 0 32px;
  }

  #hero figure {
    border-radius: var(--radius);
  }

  #brand,
  #advantages,
  #cases,
  #articles,
  #howto,
  #sitemap,
  #products,
  #solutions,
  #testimonials,
  #knowledge,
  #contact,
  #links {
    padding: 28px 18px;
    margin: 12px 0;
  }

  #applications,
  #news,
  #faq {
    padding: 28px 4px;
  }

  #news article,
  #articles article {
    padding: 18px;
    margin-bottom: 12px;
  }

  #faq summary {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  #faq details p {
    padding: 0 18px 16px;
  }

  #howto ol li {
    padding: 14px 16px 14px 56px;
  }

  #howto ol li::before {
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

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

  #sitemap ul li a,
  #links ul li a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  blockquote {
    padding: 1.2em 1.2em 1.2em 2.8em;
  }

  blockquote::before {
    font-size: 2.8rem;
    left: 0.4em;
  }

  footer[role="contentinfo"] {
    padding: 32px 12px 24px;
  }
}

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.05rem;
  }

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

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

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

  #howto ol li {
    padding: 12px 12px 12px 48px;
  }

  #howto ol li::before {
    left: 10px;
    width: 26px;
    height: 26px;
    font-size: 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;
  }

  section:not(#hero) {
    animation: none;
    opacity: 1;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"]::before {
    display: none;
  }

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

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

  section {
    page-break-inside: avoid;
  }
}

::selection {
  background: rgba(124, 58, 237, 0.25);
  color: var(--text);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}