/**
 * 汇南科技全站基础样式
 * ------------------------------------------------------------
 * 提供现代排版、容器与基础组件，Aurora 设计体系在此基础上拓展。
 */
:root {
  --font-sans: "Inter", "Space Grotesk", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "Inter", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Fira Code", monospace;
  --text-base: 16px;
  --text-scale-sm: 0.9rem;
  --text-scale-md: 1rem;
  --text-scale-lg: 1.125rem;
  --text-scale-xl: clamp(2rem, 5vw, 3.2rem);
  --text-scale-xxl: clamp(2.6rem, 6vw, 4.2rem);
  --w-container: 1180px;
  --w-container-wide: 1320px;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-round: 999px;
  --shadow-sm: 0 12px 26px rgba(5, 11, 30, 0.12);
  --shadow-md: 0 28px 48px rgba(5, 11, 30, 0.2);
  --shadow-lg: 0 44px 80px rgba(2, 6, 18, 0.35);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --color-bg: #060812;
  --color-surface: rgba(12, 16, 32, 0.82);
  --color-surface-strong: rgba(20, 26, 48, 0.92);
  --color-border: rgba(114, 132, 255, 0.24);
  --color-border-soft: rgba(114, 132, 255, 0.12);
  --color-text: rgba(212, 220, 255, 0.78);
  --color-text-strong: #f6f8ff;
  --color-text-soft: rgba(178, 188, 228, 0.65);
  --color-accent: #20f4ff;
  --color-accent-soft: rgba(32, 244, 255, 0.16);
  --color-accent-2: #8366ff;
  --color-highlight: #ff6ec7;
}

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

html {
  font-size: var(--text-base);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

body.body--locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

main {
  position: relative;
  z-index: 2;
}

.page {
  min-height: 100vh;
  background: transparent;
}

.page--inner {
  padding-bottom: var(--space-3xl);
}

.container {
  width: min(calc(100% - 48px), var(--w-container));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - 48px), var(--w-container-wide));
  margin-inline: auto;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--compact {
  padding: var(--space-2xl) 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 20, 38, 0.7);
  color: rgba(210, 220, 255, 0.8);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.section__title {
  margin: 20px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  color: var(--color-text-strong);
  letter-spacing: -0.015em;
}

.section__subtitle {
  margin: 0;
  color: var(--color-text);
  opacity: 0.85;
  font-size: 1.02rem;
  max-width: 760px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-strong);
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--color-text);
}

blockquote {
  margin: var(--space-lg) 0;
  padding-left: var(--space-md);
  border-left: 3px solid rgba(131, 102, 255, 0.5);
  font-style: italic;
  color: rgba(214, 222, 255, 0.7);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stack {
  display: grid;
  gap: var(--space-md);
}

.stack--lg {
  gap: var(--space-lg);
}

.surface {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  padding: var(--space-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.surface--strong {
  background: var(--color-surface-strong);
  border-color: var(--color-border);
}

.surface--gradient {
  background:
    radial-gradient(circle at 18% 18%, rgba(32, 244, 255, 0.25), transparent 55%),
    radial-gradient(circle at 82% 12%, rgba(131, 102, 255, 0.3), transparent 60%),
    rgba(14, 19, 36, 0.92);
}

.surface__title {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.surface__subtitle {
  color: rgba(214, 222, 255, 0.7);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.surface__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.surface__list li {
  position: relative;
  padding-left: 20px;
  color: rgba(214, 222, 255, 0.78);
  font-size: 0.94rem;
}

.surface__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 244, 255, 0.8), transparent 60%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-round);
  background: rgba(20, 24, 48, 0.8);
  border: 1px solid rgba(114, 132, 255, 0.18);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 222, 255, 0.75);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(32, 244, 255, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-round);
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(32, 244, 255, 0.9), rgba(131, 102, 255, 0.9));
  color: #080b18;
  box-shadow: 0 18px 36px rgba(72, 118, 255, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(72, 118, 255, 0.55);
}

.btn--ghost {
  background: rgba(16, 22, 42, 0.85);
  border-color: rgba(124, 144, 255, 0.25);
  color: var(--color-text-strong);
}

.btn--ghost:hover {
  border-color: rgba(32, 244, 255, 0.4);
  box-shadow: 0 20px 34px rgba(8, 14, 32, 0.5);
}

.btn--plain {
  background: transparent;
  color: var(--color-accent);
  padding-inline: 0;
  letter-spacing: 0.16em;
}

.metric {
  display: grid;
  gap: 8px;
  align-content: start;
}

.metric__value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-strong);
  letter-spacing: -0.015em;
}

.metric__label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 222, 255, 0.6);
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 144, 255, 0.4), transparent);
  margin: var(--space-lg) 0;
}

.layout-split {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 1040px) {
  .layout-split--reverse {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }

  .layout-split--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.media-stack {
  position: relative;
  display: grid;
  gap: var(--space-sm);
  transform-style: preserve-3d;
}

.media-stack__primary {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(90, 112, 240, 0.45);
}

.media-stack__overlay {
  position: absolute;
  bottom: -12%;
  right: 10%;
  width: 48%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(32, 244, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.media-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-round);
  background: rgba(8, 12, 28, 0.82);
  border: 1px solid rgba(32, 244, 255, 0.25);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(214, 222, 255, 0.75);
  position: absolute;
  top: 12%;
  left: 12%;
}

.media-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-highlight);
  box-shadow: 0 0 12px rgba(255, 110, 199, 0.8);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(82, 106, 210, 0.2);
  background: rgba(12, 16, 32, 0.8);
}

.table thead {
  background: rgba(24, 32, 56, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: rgba(214, 222, 255, 0.7);
}

.table th,
.table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(60, 86, 200, 0.2);
}

.table tbody tr:hover {
  background: rgba(32, 244, 255, 0.08);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
}

.nav__toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.nav__toggle svg {
  width: 20px;
  height: 20px;
}

.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__menu.is-open {
  display: grid;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-round);
  padding: 10px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 222, 255, 0.7);
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--color-text-strong);
  background: rgba(26, 32, 58, 0.72);
  border: 1px solid rgba(114, 132, 255, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-round);
  background: rgba(18, 22, 38, 0.8);
  border: 1px solid rgba(124, 146, 255, 0.24);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(214, 222, 255, 0.68);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(32, 244, 255, 0.8);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: 12px;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  color: rgba(214, 222, 255, 0.78);
  font-size: 0.96rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 244, 255, 0.85), transparent 60%);
}

.form {
  display: grid;
  gap: var(--space-sm);
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(214, 222, 255, 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(98, 122, 210, 0.3);
  background: rgba(10, 14, 30, 0.92);
  color: var(--color-text-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(32, 244, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(32, 244, 255, 0.15);
  outline: none;
}

.page-hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 244, 255, 0.3), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(131, 102, 255, 0.35), transparent 70%),
    rgba(8, 10, 24, 0.92);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-md);
}

.hero__headline {
  font-size: var(--text-scale-xxl);
  letter-spacing: -0.015em;
}

.hero__lead {
  max-width: 760px;
  font-size: 1.08rem;
  color: rgba(214, 222, 255, 0.85);
}

.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(214, 222, 255, 0.65);
}

.page-hero__breadcrumb span {
  opacity: 0.6;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

.text-accent {
  color: var(--color-accent);
}

.text-soft {
  color: rgba(214, 222, 255, 0.65);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-accent);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .surface {
    padding: calc(var(--space-lg) - 0.4rem);
  }
}

@media (max-width: 960px) {
  .layout-split--balanced {
    grid-template-columns: 1fr;
  }

  .layout-split--reverse {
    grid-template-columns: 1fr;
  }

  .media-stack__overlay {
    position: relative;
    bottom: auto;
    right: auto;
    width: 70%;
    margin-top: -40px;
    margin-left: auto;
  }

  .media-chip {
    position: static;
    margin-bottom: 14px;
  }
}

@media (max-width: 720px) {
  .container,
  .container--wide {
    width: min(calc(100% - 32px), 720px);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: fixed;
    inset: 88px 20px auto 20px;
    background: rgba(8, 12, 28, 0.96);
    border: 1px solid rgba(114, 132, 255, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(14px);
    z-index: 50;
  }

  .nav__menu.is-open {
    display: grid;
  }

  .nav__link {
    justify-content: center;
    padding: 12px 18px;
  }

  .btn {
    width: 100%;
  }
}
