:root {
  --obsidian: #0d0d12;
  --plum: #1a0b2e;
  --plum-2: #2a1244;
  --coral: #ff6b6b;
  --coral-2: #ff8f70;
  --gold: #d4af37;
  --teal: #28d7c4;
  --text: #e2e8f0;
  --muted: #9aa7bd;
  --line: rgba(226, 232, 240, .14);
  --glass: rgba(255, 255, 255, .055);
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 107, 107, .16), transparent 34rem),
    radial-gradient(circle at 82% 14%, rgba(40, 215, 196, .12), transparent 28rem),
    linear-gradient(135deg, var(--obsidian), var(--plum) 62%, #100915);
  font-family: "LXGW WenKai Screen", "Noto Serif SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

#aura-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .45;
  pointer-events: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  gap: 16px;
  background: #0d0d12;
  transition: opacity .6s ease, visibility .6s ease;
  animation: loader-fallback .6s ease 1.8s forwards;
}
.loader span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  border-top-color: var(--coral);
  animation: spin 1s linear infinite;
}
.loader strong { color: var(--gold); font-size: 13px; letter-spacing: .18em; }
body.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 13, 18, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.brand img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.brand b { display: block; font-size: 20px; color: #fff; }
.brand em { display: block; margin-top: 1px; font-size: 10px; color: var(--muted); font-style: normal; text-transform: uppercase; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }
.site-nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: #c9d3e3;
  font-size: 14px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.header-call {
  padding: 10px 16px;
  border-radius: 7px;
  color: #120b10;
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255,107,107,.28);
}
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 38px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 7px 6px; background: #fff; }

.hero, .page-hero, .section-pad, .contact-band, .article-detail {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 44px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-hero h1 {
  margin-bottom: 24px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
  font-weight: 900;
}
.hero h1 span { display: block; color: transparent; background: linear-gradient(95deg, #fff, var(--coral), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.hero-lead, .page-hero p {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.8;
}
.hero-actions, .center-action { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn.primary { border: 0; color: #160d12; background: linear-gradient(135deg, var(--coral), #ffb071); font-weight: 900; box-shadow: 0 14px 34px rgba(255,107,107,.3); }
.btn.ghost { color: #fff; background: rgba(255,255,255,.06); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(255,107,107,.22); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-trust span {
  padding: 9px 12px;
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 999px;
  color: #f4e8bd;
  background: rgba(212,175,55,.08);
  font-size: 13px;
}

.command-panel, .dashboard-mock, .lead-form, .qa-card, .service-card, .article-card, .timeline article, .process-detail article, .article-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}
.command-panel { padding: 18px; transform-style: preserve-3d; }
.panel-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.panel-head span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.panel-head span:nth-child(2) { background: var(--gold); }
.panel-head span:nth-child(3) { background: var(--teal); }
.panel-head b { margin-left: auto; font-weight: 700; }
.signal-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(310px, 86vw);
  aspect-ratio: 1;
  margin: 30px auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,.16), transparent 58%);
}
.signal-ring i {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255,255,255,.16);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}
.signal-ring i:nth-child(2) { inset: 8%; animation-delay: .7s; border-top-color: var(--gold); }
.signal-ring i:nth-child(3) { inset: 0; animation-delay: 1.4s; border-top-color: var(--teal); }
.signal-ring strong { font-size: 48px; color: #fff; }
.signal-ring em { display: block; color: var(--muted); font-style: normal; }
@keyframes pulse { 50% { transform: scale(1.05); opacity: .55; } }
.metric-row { margin: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.metric-row span { color: var(--muted); }
.metric-row b { color: #fff; }
progress { grid-column: 1 / -1; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
progress::-webkit-progress-bar { background: rgba(255,255,255,.08); }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.word-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.word-cloud span { padding: 8px 10px; border-radius: 7px; background: rgba(255,255,255,.07); color: #dce6f5; font-size: 13px; }

.section-pad { padding: 82px 0; }
.section-title { max-width: 760px; margin-bottom: 32px; }
.section-title h2, .contact-band h2, .deep-copy h2, .article-cta h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}
.section-title p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.qa-grid, .service-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.qa-card, .service-card, .article-card { padding: 24px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.qa-card:hover, .service-card:hover, .article-card:hover { transform: translateY(-6px); border-color: rgba(255,107,107,.42); background: rgba(255,255,255,.08); }
.qa-card h3, .service-card h3, .article-card h3 { color: #fff; line-height: 1.35; }
.qa-card p, .service-card p, .article-card p, .timeline p, .process-detail p { color: #aebbd0; line-height: 1.75; }
.service-card span, .article-card span { color: var(--gold); font-size: 12px; font-weight: 800; }
.service-card a { color: var(--coral); font-weight: 800; }

.timeline, .process-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.timeline article, .process-detail article { padding: 22px; }
.timeline span, .process-detail span { color: var(--coral); font-size: 28px; font-weight: 900; }

.contact-band {
  margin-block: 60px 90px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255,107,107,.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,107,107,.14), rgba(212,175,55,.08));
}

.page-hero.compact { padding: 90px 0 30px; }
.deep-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.dashboard-mock { min-height: 360px; padding: 22px; position: relative; overflow: hidden; }
.bars { position: absolute; inset: auto 28px 34px 28px; height: 210px; display: flex; gap: 14px; align-items: end; }
.bars i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--coral), rgba(255,107,107,.08)); }
.curve { position: absolute; inset: 76px 28px auto; height: 120px; border: 2px solid transparent; border-top-color: var(--teal); border-radius: 50%; transform: rotate(-7deg); }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; color: #cbd5e1; line-height: 1.7; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.contact-copy h1 { color: #fff; font-size: clamp(34px, 5vw, 62px); line-height: 1.08; }
.contact-copy p { color: var(--muted); line-height: 1.8; }
.contact-methods { display: grid; gap: 10px; margin: 24px 0; color: #fff; }
.contact-qr { border-radius: 8px; border: 8px solid #fff; }
.lead-form { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: grid; gap: 8px; color: #dbe4f1; font-weight: 700; }
.lead-form .wide { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(0,0,0,.22);
  outline: 0;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,107,107,.16); }
.lead-form button { width: max-content; }
.form-status { align-self: center; margin: 0; color: var(--gold); }
.hp { position: absolute; left: -9999px; opacity: 0; }

.article-detail { max-width: 900px; padding: 84px 0; }
.article-detail header h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; }
.article-detail header p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.8; }
.prose { color: #d7e1ef; line-height: 1.9; font-size: 17px; }
.prose h2 { margin-top: 42px; color: #fff; font-size: 28px; }
.prose h3 { color: #fff; }
.prose a { color: var(--coral); font-weight: 800; }
.prose ul { padding-left: 22px; }
.article-cta { margin-top: 42px; padding: 28px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.footer-grid, .footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.footer-grid {
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.1fr .75fr 1.1fr auto;
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 900; }
.site-footer h2 { color: #fff; font-size: 16px; }
.site-footer p, .site-footer a, .footer-bottom { color: var(--muted); line-height: 1.75; }
.footer-qr img { border-radius: 8px; border: 6px solid #fff; }
.footer-qr span { display: block; margin-top: 8px; text-align: center; color: var(--muted); font-size: 13px; }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 13px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { width: calc(100% - 24px); margin-top: 12px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13,13,18,.96);
  }
  .site-nav.open { display: grid; }
  .header-call { display: none; }
  .hero, .deep-section, .contact-page { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .qa-grid, .service-grid, .article-grid, .timeline, .process-detail, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero, .page-hero, .section-pad, .contact-band, .article-detail, .footer-grid, .footer-bottom { width: calc(100% - 28px); }
  .brand { min-width: 0; }
  .brand em { display: none; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .hero-lead, .page-hero p { font-size: 16px; }
  .qa-grid, .service-grid, .article-grid, .timeline, .process-detail, .footer-grid, .lead-form { grid-template-columns: 1fr; }
  .lead-form .wide { grid-column: auto; }
  .contact-band { align-items: flex-start; flex-direction: column; padding: 24px; }
  .section-pad { padding: 58px 0; }
  .command-panel { padding: 14px; }
  .signal-ring strong { font-size: 38px; }
  .footer-bottom { gap: 8px; flex-direction: column; }
}
