:root {
  --brand: #e63946;
  --brand-2: #ff6b35;
  --brand-3: #ffb703;
  --grad: linear-gradient(135deg, #e63946 0%, #ff6b35 55%, #ffb703 100%);
  --grad-soft: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(255, 183, 3, 0.12));
  --bg: #fff7f3;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #26161a;
  --text-soft: #6b5a5e;
  --line: rgba(230, 57, 70, 0.14);
  --shadow: 0 10px 30px rgba(190, 60, 70, 0.12);
  --shadow-lg: 0 22px 60px rgba(190, 60, 70, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --blur: saturate(160%) blur(16px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14090c;
    --bg-2: #1b0e12;
    --surface: rgba(38, 20, 24, 0.66);
    --surface-solid: #221216;
    --text: #f6e9eb;
    --text-soft: #c0a8ad;
    --line: rgba(255, 107, 53, 0.22);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.62);
    --grad-soft: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 183, 3, 0.14));
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 8% -8%, rgba(230, 57, 70, 0.16), transparent 62%),
    radial-gradient(900px 560px at 96% 4%, rgba(255, 183, 3, 0.2), transparent 60%),
    radial-gradient(800px 700px at 50% 108%, rgba(255, 107, 53, 0.14), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(230, 57, 70, 0.24);
  color: var(--text);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--brand-2);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(230, 57, 70, 0.45);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============ Header / Nav ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(190, 60, 70, 0.08);
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

header nav > a {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  transition: transform 0.3s var(--ease);
}

header nav > a::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.16);
  -webkit-text-fill-color: initial;
  flex: none;
}

header nav > a:hover {
  transform: translateY(-1px) scale(1.02);
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex: 1;
}

header nav ul li a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav ul li a:hover {
  color: var(--brand);
  background: var(--grad-soft);
  transform: translateY(-2px);
}

/* ============ Main / Sections ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px 40px;
}

section {
  margin: 34px 0;
  padding: 38px 34px;
  background: var(--surface);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: rise 0.7s var(--ease) both;
}

section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 42%);
  opacity: 0.6;
}

@media (prefers-color-scheme: dark) {
  section::after {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 42%);
  }
}

section > * {
  position: relative;
  z-index: 1;
}

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

@supports (animation-timeline: view()) {
  section {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }
  @keyframes reveal {
    from {
      opacity: 0.2;
      transform: translateY(40px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* ============ Hero ============ */
#hero {
  margin-top: 30px;
  padding: 64px 44px;
  background:
    radial-gradient(700px 380px at 88% 10%, rgba(255, 255, 255, 0.28), transparent 60%),
    var(--grad);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 62%);
  filter: blur(6px);
  animation: floaty 12s ease-in-out infinite;
  z-index: 0;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 30% 30%, #000, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}

@keyframes floaty {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-26px, 22px, 0) scale(1.08);
  }
}

#hero h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  text-shadow: 0 6px 26px rgba(120, 20, 30, 0.32);
}

#hero p {
  max-width: 780px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 16px;
}

#hero p a {
  display: inline-block;
  margin: 8px 12px 0 0;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(120, 20, 30, 0.2);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#hero p a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--brand);
  box-shadow: 0 14px 30px rgba(120, 20, 30, 0.3);
}

/* ============ Headings ============ */
h2 {
  font-size: clamp(1.28rem, 2.6vw, 1.72rem);
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 18px;
  padding-left: 18px;
  position: relative;
  letter-spacing: 0.01em;
  color: var(--text);
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 6px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
  flex: none;
}

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

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

/* ============ Lists ============ */
ul,
ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

ol {
  counter-reset: step;
}

ul li,
ol li {
  position: relative;
  padding: 9px 14px 9px 40px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  background: rgba(230, 57, 70, 0.05);
  border: 1px solid transparent;
  transition: background 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.14);
}

ol li {
  counter-increment: step;
}

ol li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

ul li:hover,
ol li:hover {
  background: var(--grad-soft);
  border-color: var(--line);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(190, 60, 70, 0.12);
}

/* ============ Blockquote (客户评价) ============ */
blockquote {
  margin: 16px 0;
  padding: 22px 24px 18px 26px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-left: 5px solid transparent;
  border-image: var(--grad) 1;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 18px;
  font-size: 3.6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(230, 57, 70, 0.16);
  pointer-events: none;
}

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

blockquote p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
}

blockquote footer {
  font-size: 0.88rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============ Articles (新闻中心) ============ */
article {
  padding: 22px 24px;
  margin: 16px 0;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(190, 60, 70, 0.08);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
  position: relative;
  overflow: hidden;
}

article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.3);
}

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

article h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

article h3::before {
  display: none;
}

article h3:hover {
  color: var(--brand);
}

article time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

article p {
  margin-bottom: 10px;
}

article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.28);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
}

article > a::after {
  content: "\2192";
  transition: transform 0.28s var(--ease);
}

article > a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 57, 70, 0.36);
  filter: saturate(120%);
}

article > a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ 特别样式 ============ */
#faq h3 {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.02rem;
  padding: 14px 18px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--text);
  transition: background 0.3s var(--ease);
}

#faq h3::before {
  content: "Q";
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  transform: none;
  flex: none;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.28);
}

#faq h3 + p {
  margin: 0 0 6px;
  padding: 16px 18px 18px 52px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--line);
  border-top: none;
  background: var(--surface-solid);
  position: relative;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

#faq h3 + p::before {
  content: "A";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  background: rgba(230, 57, 70, 0.12);
}

#faq h3:hover {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 183, 3, 0.16));
}

#faq h3:hover + p {
  box-shadow: 0 10px 24px rgba(190, 60, 70, 0.12);
  transform: translateY(1px);
}

/* ============ Contact 信息块 ============ */
#contact ul li::before {
  background: var(--brand-2);
}

/* ============ Sitemap / Links 网格 ============ */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

#sitemap ul li,
#links ul li {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

#sitemap ul li:hover,
#links ul li:hover {
  transform: none;
  box-shadow: none;
  background: none;
}

#sitemap ul li::before,
#links ul li::before {
  display: none;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  text-align: center;
  box-shadow: 0 4px 14px rgba(190, 60, 70, 0.06);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 30px rgba(230, 57, 70, 0.3);
}

/* ============ Footer ============ */
footer {
  margin-top: 20px;
  padding: 46px 22px 34px;
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.06), rgba(255, 183, 3, 0.08));
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

footer > section {
  max-width: var(--maxw);
  margin: 0 auto 18px;
  padding: 24px 26px;
  background: var(--surface);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: none;
}

footer > section h2 {
  font-size: 1.02rem;
  padding-left: 14px;
  margin-bottom: 10px;
}

footer > section h2::before {
  width: 4px;
}

footer > section p {
  margin: 0;
  font-size: 0.9rem;
}

footer > p {
  max-width: var(--maxw);
  margin: 10px auto;
  padding: 0 6px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

footer > p:first-of-type {
  color: var(--brand);
  font-weight: 700;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  header nav {
    padding: 10px 16px;
    gap: 10px;
  }
  header nav ul {
    gap: 2px;
  }
  header nav ul li a {
    padding: 6px 10px;
    font-size: 0.86rem;
  }
  section {
    padding: 28px 22px;
    border-radius: 18px;
    margin: 24px 0;
  }
  #hero {
    padding: 44px 24px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  header nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 14px;
  }
  header nav::-webkit-scrollbar {
    display: none;
  }
  header nav > a {
    flex: none;
    font-size: 1.02rem;
  }
  header nav ul {
    flex-wrap: nowrap;
    flex: none;
  }
  main {
    padding: 0 14px 28px;
  }
  section {
    padding: 24px 18px;
    border-radius: 16px;
    margin: 18px 0;
  }
  #hero {
    padding: 34px 20px;
    border-radius: 20px;
  }
  #hero h1 {
    font-size: 1.42rem;
  }
  #hero p {
    font-size: 0.94rem;
  }
  #hero p a {
    display: block;
    margin: 10px 0 0;
    text-align: center;
  }
  h2 {
    font-size: 1.18rem;
    padding-left: 14px;
  }
  h2::before {
    width: 5px;
  }
  h3 {
    font-size: 1rem;
  }
  ul li,
  ol li {
    padding: 8px 12px 8px 36px;
  }
  ul li::before {
    left: 14px;
  }
  blockquote {
    padding: 18px 18px 14px 20px;
  }
  blockquote::before {
    font-size: 2.8rem;
  }
  article {
    padding: 18px 18px;
  }
  #faq h3 {
    padding: 12px 14px;
    font-size: 0.96rem;
  }
  #faq h3 + p {
    padding: 14px 14px 16px 46px;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
  #sitemap ul li a,
  #links ul li a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
  footer {
    padding: 28px 14px 24px;
  }
  footer > section {
    padding: 18px 16px;
  }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ Print ============ */
@media print {
  header,
  footer,
  #hero::before,
  #hero::after {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  section {
    box-shadow: none;
    border: 1px solid #ccc;
    animation: none;
    page-break-inside: avoid;
  }
}