:root {
  --bg: #0b0c0f;
  --bg-elevated: #12141a;
  --fg: #f5f5f7;
  --muted: #a1a1aa;
  --line: rgba(255,255,255,.08);
  --accent: #5ac8fa;
  --accent-2: #2997ff;
  --danger: #ff453a;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 50% -10%, #1b2433 0%, var(--bg) 55%);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(11,12,15,.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.brand { font-weight: 650; letter-spacing: .02em; font-size: 1.05rem; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #041018 !important; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; font-size: .9rem;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }
.hero {
  padding: 96px 0 64px; text-align: center;
  animation: rise .8s ease both;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 700;
}
.hero p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 720px; margin: 0 auto 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--fg); font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.08); color: var(--fg); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #041018 !important; border: none;
}

.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(90,200,250,.35); }
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; }
.price-card.highlight { border-color: rgba(90,200,250,.45); background: linear-gradient(180deg, rgba(41,151,255,.12), rgba(255,255,255,.02)); }
.price { font-size: 2rem; font-weight: 700; margin: 14px 0 4px; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent-2); color: white; font-size: .75rem;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.muted { color: var(--muted); }
.note-danger {
  color: var(--danger); font-weight: 600; margin: 8px 0 28px;
  padding: 14px 16px; border: 1px solid rgba(255,69,58,.35);
  border-radius: 12px; background: rgba(255,69,58,.08);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.clean { width: 100%; border-collapse: collapse; min-width: 720px; }
table.clean th, table.clean td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: .95rem;
}
table.clean th { background: rgba(255,255,255,.03); color: var(--muted); font-weight: 600; }
table.clean tr:last-child td { border-bottom: none; }

.form {
  max-width: 640px; margin: 0 auto; display: grid; gap: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #0e1016; color: var(--fg);
  font: inherit;
}
.form textarea { min-height: 120px; resize: vertical; }
.site-footer {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 28px 24px 48px; text-align: center; font-size: .9rem;
}
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feature-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

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

@media (max-width: 900px) {
  .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
}

/* Admin */
.admin-body { background: #0f1115; color: var(--fg); font-family: var(--font); margin: 0; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { border-right: 1px solid var(--line); padding: 24px 16px; background: #0c0e13; }
.admin-side a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted); margin-bottom: 4px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.05); color: var(--fg); }
.admin-main { padding: 28px; }
.admin-main h1 { margin-top: 0; font-size: 1.6rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; font-size: .92rem; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.flash { padding: 10px 12px; border-radius: 10px; background: rgba(90,200,250,.12); border: 1px solid rgba(90,200,250,.3); margin-bottom: 16px; }

.eyebrow { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-weight: 700; margin: 0 0 12px; }
.lead { color: #d4d4d8; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-with-media {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; text-align: left; padding-top: 72px;
}
.hero-with-media .hero-actions { justify-content: flex-start; }
.hero-with-media h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.hero-media {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #090b10;
}
.hero-media img { display: block; width: 100%; height: auto; }
.section-intro { max-width: 720px; margin: -8px 0 28px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin: 0; line-height: 1.45; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item {
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; background: #0a0c12; }
.gallery-item figcaption { padding: 10px 12px 14px; color: var(--muted); font-size: .88rem; }
.split {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start;
}
.cta-card { position: sticky; top: 88px; }
.shot-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px;
}
.shot-row img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line);
}
.story {
  display: grid; gap: 18px;
}
.story-block {
  padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.story-block h3 { margin: 0 0 8px; }
.story-block p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .hero-with-media, .split, .gallery, .shot-row { grid-template-columns: 1fr; }
  .hero-with-media { text-align: center; }
  .hero-with-media .hero-actions { justify-content: center; }
  .hero-with-media .lead { margin-left: auto; margin-right: auto; }
  .gallery-item img, .shot-row img { height: 200px; }
  .cta-card { position: static; }
}

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scenario-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  background: rgba(255,255,255,.03);
}
.scenario-card h3 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.4; }
.scenario-shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px;
}
.scenario-shot img { display:block; width:100%; height:140px; object-fit:cover; }
.motion-section { text-align: center; }
.motion-frame {
  max-width: 920px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #090b10;
  aspect-ratio: 16 / 9; position: relative;
}
.motion-track { position: relative; width: 100%; height: 100%; }
.motion-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  animation: motionFade 12s infinite;
}
.motion-slide:nth-child(1) { animation-delay: 0s; }
.motion-slide:nth-child(2) { animation-delay: 3s; }
.motion-slide:nth-child(3) { animation-delay: 6s; }
.motion-slide:nth-child(4) { animation-delay: 9s; }
.motion-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.motion-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #f5f5f7; font-size: .92rem; text-align: left;
}
@keyframes motionFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 900px) {
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-shot img { height: 180px; }
}

/* ===== cooler motion polish ===== */
body::before {
  content: "";
  position: fixed; inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(41,151,255,.18), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(90,200,250,.12), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(94,92,230,.10), transparent 40%);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none; z-index: -1;
}
@keyframes aurora {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.08); }
}
.site-header { transition: background .3s ease, border-color .3s ease; }
.card, .scenario-card, .gallery-item, .price-card {
  backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.card:hover, .scenario-card:hover, .gallery-item:hover, .price-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(41,151,255,.18);
  border-color: rgba(90,200,250,.45);
}
.btn-primary {
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 0 rgba(90,200,250,.45);
  animation: pulseGlow 2.8s ease-in-out infinite;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 3.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90,200,250,.0); }
  50% { box-shadow: 0 0 28px 2px rgba(90,200,250,.28); }
}
.hero h1 {
  background: linear-gradient(120deg, #fff 20%, #5ac8fa 55%, #2997ff 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleShine 6s ease infinite;
  background-size: 200% auto;
}
@keyframes titleShine { to { background-position: 200% center; } }
.gallery-item img, .hero-media img, .scenario-shot img, .motion-slide img {
  transition: transform .6s ease;
}
.gallery-item:hover img, .scenario-card:hover .scenario-shot img { transform: scale(1.04); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, #2997ff, #5ac8fa);
  transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px;
}
.stat {
  text-align: center; padding: 18px 12px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.stat strong {
  display: block; font-size: 1.6rem; background: linear-gradient(135deg,#fff,#5ac8fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== restrained polish (architect) ===== */
body.product-page::before { display: none; }
body.product-page .btn-primary { animation: none; }
body.product-page .btn-primary::after { display: none; }
body.product-page .hero h1 {
  background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--fg);
  animation: none;
}
body.product-page .card:hover,
body.product-page .gallery-item:hover,
body.product-page .scenario-card:hover {
  transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
/* keep homepage btn sheen milder */
.btn-primary { animation: none; }
.btn-primary::after { animation-duration: 5s; opacity: .55; }
.home-only-glow .btn-primary { animation: pulseGlow 3.2s ease-in-out infinite; }
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch;
}
.compare-col {
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  background: rgba(255,255,255,.03);
}
.compare-col h3 { margin: 0 0 12px; font-size: 1.1rem; }
.compare-col ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.compare-vs {
  align-self: center; width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center; font-weight: 700; color: #041018;
  background: linear-gradient(135deg, #2997ff, #5ac8fa);
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .compare-vs { margin: 4px auto; }
}

/* AI chat widget */
.ai-chat { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.ai-chat-toggle {
  width: 56px; height: 56px; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 700; color: #041018;
  background: linear-gradient(135deg, #2997ff, #5ac8fa);
  box-shadow: 0 12px 30px rgba(41,151,255,.35);
}
.ai-chat-panel {
  position: absolute; right: 0; bottom: 70px; width: min(360px, calc(100vw - 32px));
  height: 460px; display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(12,14,20,.96);
  backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.ai-chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.ai-chat-head button {
  background: transparent; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer;
}
.ai-chat-messages { flex: 1; overflow: auto; padding: 12px; display: grid; gap: 8px; }
.ai-msg { max-width: 90%; padding: 10px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; }
.ai-msg-user { justify-self: end; background: rgba(41,151,255,.22); }
.ai-msg-assistant { justify-self: start; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.ai-msg-busy { opacity: .7; font-style: italic; }
.ai-chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.ai-chat-form input {
  flex: 1; border-radius: 10px; border: 1px solid var(--line); background: #0e1016;
  color: var(--fg); padding: 10px 12px; font: inherit;
}
.ai-chat-form button {
  border: none; border-radius: 10px; padding: 0 14px; cursor: pointer; font-weight: 600;
  background: linear-gradient(135deg, #2997ff, #5ac8fa); color: #041018;
}

.ai-chat-panel { pointer-events: auto; }
.ai-chat-head { position: relative; z-index: 2; }
.ai-chat-head button {
  width: 32px; height: 32px; line-height: 1; border-radius: 8px;
  background: rgba(255,255,255,.06) !important; color: var(--fg) !important;
  cursor: pointer; pointer-events: auto;
}
.ai-chat-head button:hover { background: rgba(255,255,255,.12) !important; }
.ai-chat-panel[hidden] { display: none !important; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .01em;
}
.brand-logo {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: 0 0 18px rgba(90,200,250,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 26px rgba(90,200,250,.55);
}
.site-footer { display: grid; gap: 8px; }
.footer-support {
  color: #7a7a85; font-size: .85rem; letter-spacing: .02em;
}

/* ===== richer FX pass ===== */
body.home-page {
  --fx-accent: rgba(90,200,250,.55);
}
body.home-page::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  animation: gridDrift 28s linear infinite;
  opacity: .55;
}
@keyframes gridDrift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-56px, -56px, 0); }
}
.pointer-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(41,151,255,.22), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .35s ease;
}
body.home-page .pointer-glow.is-on { opacity: 1; }
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.benefit-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px;
  background: linear-gradient(160deg, rgba(41,151,255,.10), rgba(255,255,255,.02));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .35s ease;
}
.benefit-card::before {
  content: ""; position: absolute; inset: -40% auto auto -30%; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(90,200,250,.35), transparent 70%);
  filter: blur(8px); opacity: .7;
}
.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(90,200,250,.5);
  box-shadow: 0 28px 70px rgba(41,151,255,.22);
}
.benefit-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #041018; background: linear-gradient(135deg,#2997ff,#5ac8fa);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.benefit-card h3 { margin: 0 0 8px; position: relative; }
.benefit-card p { margin: 0; color: var(--muted); position: relative; font-size: .95rem; }
.compare-col-good {
  border-color: rgba(90,200,250,.35);
  background: linear-gradient(180deg, rgba(41,151,255,.14), rgba(255,255,255,.02));
}
.compare-vs {
  box-shadow: 0 0 24px rgba(90,200,250,.45);
  animation: vsPulse 2.4s ease-in-out infinite;
}
@keyframes vsPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.motion-frame {
  box-shadow: 0 0 0 1px rgba(90,200,250,.2), 0 40px 100px rgba(0,0,0,.55), 0 0 80px rgba(41,151,255,.15);
}
.motion-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: frameSheen 7s ease-in-out infinite;
}
@keyframes frameSheen {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.stat {
  position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(90,200,250,.4); }
.stat strong { font-variant-numeric: tabular-nums; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.hero .hero-actions .btn { animation: rise .9s ease both; }
.hero .hero-actions .btn:nth-child(2) { animation-delay: .08s; }
@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: 1fr; }
  body.home-page::after { opacity: .28; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page::after, .pointer-glow, .btn-primary::after, .motion-frame::after, .compare-vs { animation: none !important; }
}
/* ===== SPEC home-compare (UI素材设计师) ===== */:root {
  --bg-deep: #0b0f14;
  --bg-card: #121820;
  --bg-card-left: #161a1f;
  --bg-card-right: #0e1a22;
  --border: #1e2a36;
  --border-glow: rgba(0, 229, 255, 0.2);
  --text: #e8eef5;
  --text-muted: #8b9aab;
  --pain: #ff6b4a;
  --gain: #00e5ff;
  --gain-soft: #39ff14;
}

.home-compare {
  background: var(--bg-deep);
  color: var(--text);
  padding: 64px 24px;
}

.home-compare__title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 8px;
}

.home-compare__sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 40px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-col {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.compare-col--pain {
  background: var(--bg-card-left);
}

.compare-col--gain {
  background: var(--bg-card-right);
  border-color: var(--border-glow);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.08);
}

.compare-col__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.compare-item svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.compare-col--pain .compare-item { color: var(--pain); }
.compare-col--gain .compare-item { color: var(--gain); }

.compare-item__title {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 4px;
  font-size: 15px;
}

.compare-item__body {
  color: var(--text-muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.stat__value {
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gain);
}

.stat__label {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.stat__note {
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 16px;
  opacity: 0.8;
}

/* 入场动效 */
@media (prefers-reduced-motion: no-preference) {
  .compare-item,
  .stat {
    opacity: 0;
    transform: translateY(16px);
    animation: compare-in 0.55s ease forwards;
  }
  .compare-item:nth-child(2) { animation-delay: 0.08s; }
  .compare-item:nth-child(3) { animation-delay: 0.16s; }
  .compare-item:nth-child(4) { animation-delay: 0.24s; }
  .compare-item:nth-child(5) { animation-delay: 0.32s; }
  .stat:nth-child(1) { animation-delay: 0.2s; }
  .stat:nth-child(2) { animation-delay: 0.28s; }
  .stat:nth-child(3) { animation-delay: 0.36s; }
}

@keyframes compare-in {
  to { opacity: 1; transform: none; }
}

.home-compare .compare-item__icon {
  width: 28px; height: 28px; display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.home-compare .compare-col--gain:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.16);
}
.home-compare .stats-row .stat__value { color: var(--gain); }
/* homepage glow particles light */
body.home-page::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  opacity: .5;
}
@media (prefers-reduced-motion: reduce) {
  .home-compare .compare-item, .home-compare .stat { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* contact-page-form-center */
body.contact-page .form { margin-left: auto; margin-right: auto; width: 100%; max-width: 640px; }
body.contact-page .hero, body.contact-page .flash { text-align: center; }
body.contact-page .flash { max-width: 640px; margin-left: auto; margin-right: auto; }
.home-compare { width: 100%; box-sizing: border-box; }
.home-compare .compare-grid, .home-compare .stats-row { margin-left: auto; margin-right: auto; }

/* contact-rail: title + form as one centered column */
body.contact-page .wrap {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.contact-rail {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  box-sizing: border-box;
  width: 100%;
}
.contact-rail__head {
  text-align: center;
  margin-bottom: 28px;
}
.contact-rail__head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -.02em;
}
.contact-rail__head .muted {
  margin: 0 auto;
  max-width: 36em;
}
.contact-rail .flash {
  margin: 0 0 18px;
  text-align: center;
}
.contact-rail .form,
.contact-rail .contact-form {
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}