:root {
  color-scheme: dark;
  --bg: #090d17;
  --bg-soft: #101725;
  --panel: rgba(17, 24, 38, 0.88);
  --panel-strong: #151d2d;
  --text: #f6f1e8;
  --muted: #aeb6c6;
  --gold: #dca955;
  --gold-soft: #f3d7a1;
  --wine: #6d2638;
  --line: rgba(224, 189, 126, 0.18);
  --success: #75c69a;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --content: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% -10%, rgba(109, 38, 56, 0.26), transparent 34rem),
    radial-gradient(circle at -5% 35%, rgba(220, 169, 85, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: #1a1510;
}

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

.site-header {
  width: var(--content);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 169, 85, 0.52);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 12px;
  box-shadow: inset 0 0 18px rgba(220, 169, 85, 0.08);
}

.top-nav { display: flex; align-items: center; gap: 30px; }

.top-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] { color: var(--text); }

main { width: var(--content); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: center; z-index: -3; }

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 17, 0.97) 0%, rgba(7, 11, 20, 0.9) 31%, rgba(7, 11, 20, 0.28) 68%, rgba(7, 11, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 8, 14, 0.55), transparent 50%);
}

.hero-copy {
  width: min(590px, 68%);
  padding: 116px 0 96px 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 740;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1 {
  max-width: 8em;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 34rem;
  margin: 28px 0 0;
  color: #d3d7df;
  font-size: 1.08rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary { background: var(--gold-soft); color: #21170b; }
.button-primary:hover { background: #ffe3aa; }

.button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(7, 10, 18, 0.32);
  backdrop-filter: blur(12px);
}

.button-ghost:hover { border-color: rgba(243, 215, 161, 0.62); }

.hero-note {
  position: absolute;
  left: 72px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c4cad4;
  font-size: 0.86rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(117, 198, 154, 0.12);
}

.service-section { padding: 92px 0 70px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.section-heading > p { margin: 0 0 8px; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 330px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(22, 30, 46, 0.96), rgba(12, 18, 29, 0.92));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 169, 85, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.service-card.featured {
  background:
    radial-gradient(circle at 88% 14%, rgba(220, 169, 85, 0.2), transparent 12rem),
    linear-gradient(145deg, #2a1a20, #151522 65%);
}

.card-index {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(246, 241, 232, 0.28);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 169, 85, 0.28);
  border-radius: 14px;
  color: var(--gold-soft);
  font-size: 1.45rem;
}

.service-card h3 { margin: 38px 0 10px; font-size: 1.35rem; }
.service-card p { margin: 0; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 30px; color: var(--gold-soft); font-weight: 650; }

.site-footer {
  width: var(--content);
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a { color: var(--gold-soft); }

.journey-section { padding: 92px 0; }
.step-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step-list li { padding: 28px 28px 0 0; display: flex; gap: 18px; }
.step-list li > span { color: var(--gold); font-family: Georgia, serif; font-size: 1.65rem; }
.step-list h3 { margin: 3px 0 6px; }
.step-list p { margin: 0; color: var(--muted); }

.notice-band { margin: 0 0 88px; padding: 34px 38px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(109,38,56,.28), rgba(17,24,38,.9)); }
.notice-band h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-weight: 500; }
.notice-band ul { margin: 0; padding-left: 1.25rem; color: #d2d6de; }

.page-hero { padding: 82px 5vw 76px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 88% 10%, rgba(109,38,56,.4), transparent 26rem), linear-gradient(145deg, #151d2d, #0c121d); box-shadow: var(--shadow); }
.page-hero h1 { max-width: 10em; font-size: clamp(3rem, 7vw, 5.6rem); }
.page-hero > p:last-of-type { max-width: 44rem; margin: 24px 0 0; color: #c9ced8; font-size: 1.08rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.guide-layout { padding: 78px 0 92px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; }
.guide-main { min-width: 0; }
.guide-heading { margin: 0 0 28px; display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
.guide-heading:not(:first-child) { margin-top: 68px; }
.guide-heading > span { color: rgba(243,215,161,.45); font-family: Georgia, serif; font-size: 2rem; }
.guide-heading h2 { margin: 0 0 6px; font-family: Georgia, "Songti SC", serif; font-size: 2rem; font-weight: 500; }
.guide-heading p { margin: 0; color: var(--muted); }
.detail-steps { margin: 0 0 0 78px; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.detail-steps li { padding: 0 0 28px 28px; }
.detail-steps b { color: var(--gold-soft); }
.detail-steps p { margin: 5px 0 0; color: var(--muted); }
.guide-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); }
.aside-card h3 { margin: 0 0 12px; }
.aside-card p { margin: 0; color: var(--muted); }
.aside-card small { display: block; margin-top: 12px; color: var(--muted); }
.muted-card { background: rgba(14,20,31,.58); }
.check-list { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.check-list li { padding: 9px 0 9px 24px; position: relative; border-top: 1px solid rgba(224,189,126,.1); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); }
.callout, .danger-callout { margin: 28px 0 0 78px; padding: 22px 24px; border-left: 3px solid var(--gold); background: rgba(220,169,85,.08); }
.callout p, .danger-callout p { margin: 6px 0 0; color: var(--muted); }
.danger-callout { border-left-color: #d66a6a; background: rgba(109,38,56,.18); }
.security-banner { margin: 26px 0 0; padding: 22px 26px; display: flex; gap: 18px; border: 1px solid rgba(220,169,85,.38); border-radius: var(--radius-md); background: rgba(220,169,85,.1); }
.security-banner > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #181008; font-weight: 800; }
.security-banner p { margin: 4px 0 0; color: #d7d4cd; }
code { padding: .12em .38em; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.22); color: var(--gold-soft); overflow-wrap: anywhere; }
.config-list { margin: 0 0 0 78px; border-top: 1px solid var(--line); }
.config-list > div { padding: 18px 0; display: grid; grid-template-columns: 150px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.config-list dt { color: var(--muted); }
.config-list dd { margin: 0; }
.faq-section { padding: 78px 0 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 42px 24px 0; cursor: pointer; position: relative; font-size: 1.08rem; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; color: var(--gold); font-size: 1.45rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -8px 0 24px; color: var(--muted); }

.demo-sequence { margin: 70px 0 10px; }
.demo-intro { margin: 0 0 28px 78px; }
.demo-intro h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 500; }
.demo-intro > p:last-child { margin: 9px 0 0; color: var(--muted); }
.demo-card { margin: 0 0 26px 78px; padding: 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(17,24,38,.72); overflow: hidden; }
.demo-number { grid-row: 1; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(220,169,85,.38); border-radius: 50%; color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.2rem; }
.demo-copy h3 { margin: 0 0 4px; }
.demo-copy p { margin: 0; color: var(--muted); }
.demo-card img { grid-column: 1 / -1; width: 100%; height: auto; margin-top: 18px; display: block; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #dfe9e3; }

@media (max-width: 860px) {
  :root { --content: min(100% - 28px, 720px); }
  .site-header { min-height: 72px; }
  .top-nav { gap: 18px; }
  .hero { min-height: 620px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5, 9, 17, 0.96), rgba(5, 9, 17, 0.6)); }
  .hero-copy { width: 84%; padding: 106px 0 110px 36px; }
  .hero-note { left: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .step-list { grid-template-columns: 1fr; }
  .notice-band { grid-template-columns: 1fr; gap: 18px; }
  .guide-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 560px) {
  :root { --content: calc(100% - 22px); }
  .brand { font-size: 0.94rem; }
  .site-header { align-items: flex-start; padding: 18px 0 12px; flex-direction: column; gap: 12px; }
  .top-nav { width: 100%; gap: 20px; overflow-x: auto; padding-bottom: 5px; white-space: nowrap; }
  .top-nav a { display: inline; }
  .hero { min-height: 610px; border-radius: 22px; }
  .hero-image { object-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 9, 17, 0.96) 0%, rgba(5, 9, 17, 0.76) 64%, rgba(5, 9, 17, 0.28)); }
  .hero-copy { width: 100%; padding: 252px 22px 98px; }
  h1 { font-size: clamp(3.2rem, 17vw, 4.5rem); }
  .hero-lede { margin-top: 20px; font-size: 1rem; }
  .hero-actions { margin-top: 28px; }
  .button { width: 100%; }
  .hero-note { left: 22px; right: 22px; bottom: 24px; }
  .section-heading { align-items: start; flex-direction: column; gap: 2px; }
  .service-section { padding-top: 68px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .page-hero { padding: 58px 24px; }
  .page-hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .guide-layout { padding-top: 58px; }
  .guide-heading { grid-template-columns: 42px 1fr; gap: 12px; }
  .detail-steps, .callout, .danger-callout, .config-list { margin-left: 0; }
  .config-list > div { grid-template-columns: 1fr; gap: 5px; }
  .security-banner { padding: 20px; }
  .demo-intro, .demo-card { margin-left: 0; }
  .demo-card { padding: 16px; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; }
  .demo-number { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
