:root {
  --bg-primary: #06172b;
  --bg-secondary: #0b2a4a;
  --bg-tertiary: #0f3559;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.11);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
  --text-primary: #eaf4ff;
  --text-secondary: #a8c6e0;
  --text-muted: #6f8ba6;
  --accent: #00c2ff;
  --accent-2: #2ee6a8;
  --accent-3: #7b6cff;
  --gradient-banner: linear-gradient(135deg, #0b2a4a 0%, #0a3d62 30%, #065a7a 60%, #0a7a8a 100%);
  --gradient-accent: linear-gradient(135deg, #00c2ff, #2ee6a8);
  --gradient-text: linear-gradient(120deg, #00c2ff, #2ee6a8, #7b6cff);
  --border-radius: 18px;
  --border-radius-sm: 12px;
  --border-radius-lg: 26px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-width: 1200px;
  --header-height: 68px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #eef5fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e3eef9;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-card-hover: rgba(255, 255, 255, 0.92);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(11, 42, 74, 0.1);
    --glass-shadow: 0 8px 32px rgba(11, 42, 74, 0.1);
    --text-primary: #0b2a4a;
    --text-secondary: #2c4f6e;
    --text-muted: #5d7a94;
    --accent: #0077cc;
    --accent-2: #0a9e72;
    --accent-3: #5a4bd6;
    --gradient-banner: linear-gradient(135deg, #d6ecff 0%, #bfe3ff 30%, #a8e6f0 60%, #c8f5e4 100%);
  }
}

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

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 194, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(46, 230, 168, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(123, 108, 255, 0.1), transparent 60%);
  pointer-events: none;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
}

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

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-accent);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

section:hover > h2::after,
section:focus-within > h2::after {
  width: 96px;
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  margin-bottom: 0.5em;
  color: var(--text-primary);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
}

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

header nav > a {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
  transition: filter var(--transition), transform var(--transition);
}

header nav > a:hover {
  filter: brightness(1.25);
  transform: translateY(-1px);
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
}

header nav ul li a {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 999px;
  position: relative;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

header nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width var(--transition);
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

header nav ul li a:hover::after,
header nav ul li a:focus-visible::after {
  width: 60%;
}

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

main > nav[aria-label="面包屑导航"] {
  margin: 18px 0 6px;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  gap: 6px;
}

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "›";
  color: var(--text-muted);
  opacity: 0.7;
}

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

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

section {
  margin: 42px 0;
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--glass-shadow);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

section:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 194, 255, 0.3);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 194, 255, 0.08);
  transform: translateY(-3px);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  section {
    animation: none;
    opacity: 1;
    transform: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

#hero {
  position: relative;
  margin-top: 26px;
  padding: clamp(38px, 7vw, 72px) clamp(24px, 5vw, 56px);
  background: var(--gradient-banner);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  text-align: center;
  opacity: 1;
  transform: none;
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 194, 255, 0.35), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(46, 230, 168, 0.28), transparent 45%),
    radial-gradient(circle at 50% 88%, rgba(123, 108, 255, 0.3), transparent 48%);
  animation: aurora 14s ease-in-out infinite alternate;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 23, 43, 0) 55%, rgba(6, 23, 43, 0.35));
  pointer-events: none;
}

@keyframes aurora {
  0% { transform: translate3d(-4%, -3%, 0) scale(1); }
  50% { transform: translate3d(3%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.03); }
}

#hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.6em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: heroText 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#hero p {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.94rem, 1.6vw, 1.06rem);
  line-height: 1.95;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  animation: heroText 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

#about h3,
#products h3,
#solutions h3,
#cases h3,
#howto h3 {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.16), rgba(46, 230, 168, 0.14));
  border: 1px solid rgba(0, 194, 255, 0.22);
  color: var(--accent);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

#about h3:hover,
#products h3:hover,
#solutions h3:hover,
#cases h3:hover,
#howto h3:hover {
  transform: translateX(4px);
  border-color: rgba(46, 230, 168, 0.5);
}

#about > p,
#products > p,
#solutions > p,
#cases > p {
  margin-bottom: 18px;
}

#products h3 + p,
#solutions h3 + p,
#cases h3 + p,
#about h3 + p {
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 3px solid transparent;
  border-image: var(--gradient-accent) 1;
  transition: padding-left var(--transition);
}

#products h3 + p:hover,
#solutions h3 + p:hover,
#cases h3 + p:hover,
#about h3 + p:hover {
  padding-left: 20px;
}

#news article,
#articles article {
  position: relative;
  margin: 0 0 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#news article:last-child,
#articles article:last-child {
  margin-bottom: 0;
}

#news article:hover,
#articles article:hover {
  transform: translateY(-5px) scale(1.008);
  background: var(--bg-card-hover);
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition), top var(--transition), bottom var(--transition);
}

#news article:hover::before,
#articles article:hover::before {
  opacity: 1;
  top: 10px;
  bottom: 10px;
}

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

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  position: relative;
}

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

#articles article a:hover::after {
  transform: translateX(5px);
}

#faq article {
  margin: 0 0 12px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#faq article:last-child {
  margin-bottom: 0;
}

#faq article:hover {
  transform: translateX(6px);
  background: var(--bg-card-hover);
  border-color: rgba(46, 230, 168, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

#faq article h3 {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--text-primary);
}

#faq article h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #06172b;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 14px rgba(0, 194, 255, 0.4);
  transition: transform var(--transition);
}

#faq article:hover h3::before {
  transform: rotate(-12deg) scale(1.12);
}

#faq article p {
  margin-bottom: 0;
  padding-left: 30px;
  font-size: 0.94rem;
}

#howto h3 {
  margin-top: 18px;
}

#howto h3:first-of-type {
  margin-top: 0;
}

#howto p {
  padding-left: 16px;
  border-left: 2px dashed rgba(0, 194, 255, 0.25);
  transition: border-color var(--transition), padding-left var(--transition);
}

#howto p:hover {
  border-color: var(--accent-2);
  padding-left: 22px;
}

#contact p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

#contact p:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 194, 255, 0.28);
  transform: translateX(5px);
}

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

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-align: center;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-4px);
  background: var(--gradient-accent);
  color: #06172b;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(0, 194, 255, 0.32);
  font-weight: 600;
}

footer {
  margin-top: 40px;
  padding: 44px 20px 36px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

footer section {
  max-width: var(--max-width);
  margin: 0 auto 18px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  transform: none;
  animation: none;
}

footer section:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

footer section h2 {
  font-size: 1rem;
  margin-bottom: 6px;
  padding-bottom: 0;
  color: var(--text-primary);
}

footer section h2::after {
  display: none;
}

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

footer section:first-child p {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  header nav {
    padding: 8px 16px;
    min-height: auto;
    justify-content: center;
  }

  header nav > a {
    width: 100%;
    text-align: center;
    padding: 6px 0;
  }

  header nav ul {
    justify-content: center;
    width: 100%;
    padding-bottom: 6px;
  }

  header nav ul li a {
    padding: 5px 9px;
    font-size: 0.82rem;
  }

  main {
    padding: 0 14px 44px;
  }

  section {
    padding: 24px 18px;
    margin: 30px 0;
    border-radius: var(--border-radius-sm);
  }

  #hero {
    padding: 40px 20px;
    border-radius: var(--border-radius);
  }

  #faq article h3,
  #faq article p {
    padding-left: 28px;
  }
}

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

  header nav ul {
    gap: 1px 2px;
  }

  header nav ul li a {
    padding: 4px 7px;
    font-size: 0.76rem;
  }

  section {
    padding: 20px 15px;
    margin: 22px 0;
  }

  #hero {
    padding: 34px 16px;
    margin-top: 16px;
  }

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

  #hero p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

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

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

  #news article,
  #articles article,
  #faq article {
    padding: 15px 14px;
  }

  footer {
    padding: 32px 14px 26px;
  }
}

@media (hover: none) {
  section:hover {
    transform: none;
  }
  #news article:hover,
  #articles article:hover,
  #faq article:hover {
    transform: none;
  }
}

::selection {
  background: rgba(0, 194, 255, 0.35);
  color: #ffffff;
}

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

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

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

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