/* Shared design system — 聚美声服 */
:root {
  --color-primary: #2468f2;
  --color-primary-dark: #122449;
  --color-primary-light: #508cff;
  --color-primary-bg: #edf3ff;
  --color-accent: #2468f2;
  --color-accent-hover: #1454dc;
  --color-accent-light: #edf3ff;
  --color-bg: #fff;
  --color-bg-alt: #f6f8fc;
  --color-bg-dark: #edf2fa;
  --color-text: #17243d;
  --color-text-secondary: #63718a;
  --color-text-muted: #79859b;
  --color-text-white: #fff;
  --color-border: #e3e9f2;
  --color-border-light: #eef1f7;
  --shadow-sm: 0 4px 16px #17386506;
  --shadow-md: 0 12px 36px #1738650b;
  --shadow-lg: 0 20px 60px #17386512;
  --radius-sm: 5px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1248px;
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  --font-zh:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-en: "Arial", "Helvetica Neue", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 26px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;
  --font-size-5xl: 60px;
  --transition: 0.22s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-zh);
  color: var(--color-text);
  background: #fff;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #2468f2;
  outline-offset: 5px;
}
::selection {
  color: #174bbb;
  background: #dce9ff;
}
[hidden] {
  display: none !important;
}
svg {
  vertical-align: middle;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.container {
  max-width: var(--max-width);
  padding: 0 24px;
  margin: 0 auto;
}
.section {
  padding: var(--section-padding);
}
.section-alt {
  background: var(--color-bg-alt);
}
.section-dark {
  background: var(--color-primary-dark);
  color: #fff;
}
.eyebrow {
  display: block;
  color: var(--color-primary);
  font: 600 12px/1.5 var(--font-en);
  letter-spacing: 2.8px;
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: var(--font-size-3xl);
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-title p {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 730px;
  margin: auto;
}
.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-heading-row .section-title {
  text-align: left;
  margin: 0;
}
.section-heading-row .section-title p {
  margin: 0;
}
.section-heading-row .text-link {
  flex-shrink: 0;
  margin-bottom: 8px;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}
.text-link .icon {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}
.text-link:hover .icon {
  transform: translateX(4px);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 20px #2468f22b;
  transform: translateY(-2px);
}
.btn-outline {
  color: var(--color-text);
  border-color: #cbd5e6;
  background: #ffffff70;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: #edf3ff;
  color: var(--color-primary);
}
.btn-outline-light {
  color: #fff;
  border-color: #ffffff66;
}
.btn-outline-light:hover {
  background: #ffffff18;
}
.btn-lg {
  padding: 14px 30px;
  min-height: 52px;
  font-size: 16px;
}
.btn-sm {
  padding: 10px 20px;
  min-height: 40px;
  font-size: 13px;
}
.card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.navbar {
  height: 80px;
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: #ffffffef;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e8eef580;
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px #132d5810;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.navbar-logo {
  flex-shrink: 0;
}
.navbar-logo img {
  width: 166px;
  height: 42px;
}
.navbar-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 30px;
}
.navbar-nav li {
  height: 100%;
}
.navbar-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  color: #46536a;
  font-size: 14px;
  white-space: nowrap;
}
.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar-nav a.active,
.navbar-nav a:hover {
  color: var(--color-primary);
}
.navbar-nav a.active::after,
.navbar-nav a:hover::after {
  transform: scaleX(1);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-consult {
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.nav-consult:hover {
  color: var(--color-primary);
}
.navbar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggle span {
  width: 21px;
  height: 2px;
  background: var(--color-text);
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.navbar-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: #fff;
  color: var(--color-primary);
  padding: 12px 24px;
}
.skip-link:focus {
  top: 8px;
}
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 68px;
  text-align: center;
  background: linear-gradient(110deg, #f5f8ff, #edf5ff 60%, #f0efff);
}
.page-header::before,
.page-header::after {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  border: 55px solid #fff8;
  border-radius: 50%;
  z-index: -1;
  transform: rotate(-25deg) scaleY(0.65);
}
.page-header::before {
  right: -60px;
  top: 0;
  box-shadow: 0 0 0 1px #d4e3ff;
}
.page-header::after {
  left: -170px;
  top: 100px;
  width: 340px;
  height: 340px;
  border-width: 38px;
}
.page-header h1 {
  font-size: 44px;
  line-height: 1.4;
  font-weight: 650;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.page-header p {
  color: var(--color-text-secondary);
  font-size: 17px;
  max-width: 640px;
  margin: auto;
}
.page-header .eyebrow {
  margin-bottom: 16px;
}
.page-header .header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 26px;
  font-size: 13px;
  color: #3868ac;
}
.page-header .header-links a:hover {
  color: var(--color-primary);
}
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 67px 0;
  text-align: center;
  color: #fff;
  background: #2468f2;
}
.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  width: 510px;
  height: 510px;
  border: 1px solid #ffffff23;
  border-radius: 50%;
  top: -110px;
  pointer-events: none;
}
.cta-section::before {
  left: -140px;
  box-shadow:
    0 0 0 50px #ffffff05,
    0 0 0 100px #ffffff05;
}
.cta-section::after {
  right: -100px;
  box-shadow:
    0 0 0 50px #ffffff05,
    0 0 0 100px #ffffff05;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 16px;
  color: #e0eaff;
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-section .btn-primary:hover {
  background: #eff5ff;
}
.footer {
  background: #111e36;
  color: #a0afc7;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.25fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #ffffff12;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 650;
  margin-bottom: 18px;
}
.footer-brand img {
  width: 34px;
  height: 34px;
}
.footer-col h4 {
  color: #f0f4fc;
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 21px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.9;
  max-width: 270px;
  margin-bottom: 9px;
}
.footer-col > a:not(.footer-brand) {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: #fff;
}
.footer-note {
  font: 10px/1.5 var(--font-en);
  letter-spacing: 1.7px;
  color: #7386a3;
  margin-top: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  color: #7789a5;
  font-size: 11px;
}
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  box-shadow: var(--shadow-md);
  background: #fff;
  color: #527398;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.scroll-fade {
  opacity: 1;
}
.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-ready.visible {
  opacity: 1;
  transform: none;
}
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--color-primary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1100px) {
  .navbar-nav {
    gap: 20px;
  }
  .nav-consult {
    display: none;
  }
  .footer-grid {
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .navbar {
    height: 70px;
  }
  .navbar .container {
    gap: 12px;
  }
  .navbar-actions {
    margin-left: auto;
  }
  .navbar-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .navbar-logo img {
    width: 148px;
    height: 38px;
  }
  .navbar-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 15px 25px #17243d12;
    padding: 12px 24px 22px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }
  .navbar-nav.active {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .navbar-nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border-light);
  }
  .navbar-nav a::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  :root {
    --section-padding: 60px 0;
    --font-size-3xl: 28px;
    --font-size-4xl: 34px;
  }
  .container {
    padding: 0 20px;
  }
  .navbar .container {
    padding: 0 16px;
  }
  .navbar-logo img {
    width: 138px;
  }
  .navbar-actions .btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .section-title {
    margin-bottom: 30px;
  }
  .section-title h2 {
    font-size: 27px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .section-title p {
    font-size: 14px;
  }
  .section-heading-row {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading-row .text-link {
    margin: 18px 0 0;
  }
  .page-header {
    padding: 126px 0 50px;
  }
  .page-header h1 {
    font-size: 34px;
  }
  .page-header p {
    font-size: 14px;
  }
  .page-header::before {
    right: -280px;
  }
  .page-header::after {
    left: -300px;
  }
  .cta-section {
    padding: 48px 0;
  }
  .cta-content h2 {
    font-size: 26px;
  }
  .cta-content p {
    font-size: 14px;
  }
  .cta-actions .btn {
    font-size: 14px;
    padding: 12px 22px;
  }
  .footer {
    padding-top: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding-bottom: 32px;
  }
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-col h4 {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .footer-brand {
    font-size: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    font-size: 10px;
  }
  .back-to-top {
    bottom: 18px;
    right: 16px;
  }
}
@media (max-width: 370px) {
  .navbar .container {
    gap: 8px;
  }
  .navbar-logo img {
    width: 122px;
  }
  .navbar-toggle {
    width: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
