:root {
  --bg: #08111f;
  --bg-soft: #0d1728;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --muted: #a7b2c5;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #e9b872;
  --brand-strong: #f7d59b;
  --accent: #8fd3ff;
  --success: #7dd3a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(233, 184, 114, 0.22), transparent 34%),
    radial-gradient(circle at 78% 4%, rgba(143, 211, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #09101e 0%, #111827 46%, #07101d 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell { position: relative; overflow: hidden; }
.site-header {
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 12px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 258px; }
.brand img { width: 42px; height: 42px; }
.brand img.brand-logo {
  width: 156px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.brand strong { display: block; font-size: 17px; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .18em; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  font-size: 14px;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.08); }
.header-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #24170a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(233,184,114,.28);
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 18px;
}
.section-pad { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 92px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr); align-items: center; gap: 54px; padding-top: 78px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.06em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.82; }
.hero-desc { font-size: 18px; max-width: 710px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
  font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #211505; box-shadow: 0 16px 40px rgba(233,184,114,.24); }
.btn.secondary { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.07); }
.btn.secondary:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
}
.hero-stats strong { display: block; font-size: 20px; color: var(--text); }
.hero-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  box-shadow: var(--shadow);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(233,184,114,.45), transparent 36%, rgba(143,211,255,.28));
  z-index: -1;
}
.panel-top, .portal-toolbar { display: flex; align-items: center; gap: 7px; padding: 4px 2px 14px; color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.panel-top span, .portal-toolbar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.panel-top em, .portal-toolbar em { margin-left: auto; font-style: normal; }
.portrait-card {
  min-height: 392px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 26%, rgba(247,213,155,.34), transparent 20%),
    linear-gradient(135deg, rgba(233,184,114,.24), rgba(143,211,255,.11)),
    #111827;
  border: 1px solid rgba(255,255,255,.14);
}
.portrait-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(233,184,114,.2); filter: blur(24px); left: 50%; top: 18%; transform: translateX(-50%); }
.portrait-face {
  position: absolute;
  width: 190px;
  height: 250px;
  border-radius: 48% 48% 40% 40%;
  left: 50%;
  top: 76px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 35% 42%, #3a271f 0 4px, transparent 5px),
    radial-gradient(circle at 65% 42%, #3a271f 0 4px, transparent 5px),
    radial-gradient(ellipse at 50% 62%, rgba(140,78,61,.5) 0 18px, transparent 19px),
    linear-gradient(180deg, #f0c4aa, #c9876f);
  box-shadow: inset 0 -18px 40px rgba(79,36,28,.26), 0 34px 70px rgba(0,0,0,.28);
}
.portrait-face::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 116px;
  border-radius: 52% 52% 34% 34%;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #22120d, #5b382a);
  clip-path: polygon(8% 100%, 0 36%, 18% 6%, 51% 0, 84% 9%, 100% 44%, 92% 100%, 67% 48%, 35% 54%);
}
.portrait-face::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 146px;
  border-radius: 45% 45% 18% 18%;
  background: linear-gradient(135deg, #263145, #141a28);
  left: 50%;
  top: 208px;
  transform: translateX(-50%);
  z-index: -1;
}
.retouch-tags { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.retouch-tags span {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,17,31,.68);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 9px 12px;
  color: #edf2fb;
  font-size: 13px;
}
.task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.task-board article { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.task-board b, .task-board span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.task-board strong { display: block; font-size: 22px; margin: 6px 0; }
.logo-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .08em;
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.narrow { max-width: 520px; margin-bottom: 0; }
.cards, .services-grid, .download-grid, .advantage-grid { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.card, .download-card, .advantage, .contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.075);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.card { padding: 26px; min-height: 260px; }
.card-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #251705;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  font-weight: 900;
  margin-bottom: 28px;
}
.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(233,184,114,.26);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 86% 20%, rgba(233,184,114,.16), transparent 28%),
    rgba(255,255,255,.075);
}
.quote-strip strong {
  display: block;
  font-size: 22px;
}
.quote-strip p {
  margin: 6px 0 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-slot {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.08)),
    radial-gradient(circle at 50% 24%, rgba(143,211,255,.16), transparent 34%);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.case-slot::before {
  content: "";
  min-height: 152px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent),
    repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 16px);
}
.case-slot span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.case-slot strong {
  display: block;
  font-size: 24px;
}
.case-slot p {
  margin: 0;
}
.split-section { display: grid; grid-template-columns: .74fr 1.26fr; gap: 52px; align-items: start; }
.timeline { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 54px 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
}
.step b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(233,184,114,.16);
  color: var(--brand-strong);
}
.step span { font-size: 18px; font-weight: 900; }
.step p { margin: 0; }
.system-section {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 38px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--muted); }
.check-list li { position: relative; padding-left: 30px; line-height: 1.65; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.tip { font-size: 13px; margin-top: 18px; color: #cbd5e1; }
.portal-shell {
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.portal-placeholder {
  min-height: 400px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 22%, rgba(233,184,114,.16), transparent 26%),
    rgba(8,17,31,.42);
}
.portal-placeholder p { max-width: 520px; }
.portal-placeholder a { color: var(--brand-strong); font-weight: 800; }
#portalFrame { display: none; width: 100%; min-height: 400px; border: 0; border-radius: 22px; background: #fff; }
.secure-preview {
  min-height: 430px;
  background:
    radial-gradient(circle at 80% 18%, rgba(143,211,255,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
}
.secure-flow {
  display: grid;
  gap: 14px;
  min-height: 350px;
  padding: 10px;
}
.secure-flow article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(8,17,31,.44);
}
.secure-flow b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #251705;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 14px 34px rgba(233,184,114,.2);
}
.secure-flow strong {
  display: block;
  font-size: 21px;
}
.secure-flow p {
  margin: 6px 0 0;
  font-size: 14px;
}
.download-grid { grid-template-columns: repeat(3, 1fr); }
.download-card { padding: 26px; display: flex; min-height: 260px; flex-direction: column; justify-content: space-between; gap: 22px; }
.badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(233,184,114,.18); color: var(--brand-strong); font-size: 12px; font-weight: 900; margin-bottom: 16px; }
.badge.muted { background: rgba(255,255,255,.08); color: var(--muted); }
.advantage-grid { grid-template-columns: repeat(4, 1fr); }
.advantage { padding: 24px; }
.advantage strong { font-size: 22px; display: block; margin-bottom: 12px; }
.contact-card {
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr .84fr;
  gap: 34px;
  background:
    radial-gradient(circle at 16% 12%, rgba(233,184,114,.24), transparent 24%),
    rgba(255,255,255,.075);
}
.contact-info { display: grid; gap: 12px; }
.contact-info a, .contact-info span { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.06); color: var(--text); }
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  color: var(--muted);
}
.site-footer p { margin: 6px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
@media (max-width: 980px) {
  .site-header { border-radius: 22px; align-items: flex-start; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .header-cta { display: none; }
  .hero, .split-section, .system-section, .contact-card { grid-template-columns: 1fr; }
  .services-grid, .advantage-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .section-head.narrow { max-width: none; margin-bottom: 28px; }
  .quote-strip { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .section-pad { width: min(100% - 28px, var(--max)); padding: 68px 0; }
  .site-header, .logo-strip, .site-footer { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 54px; }
  .hero-stats, .services-grid, .advantage-grid, .case-grid, .task-board { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; align-items: start; }
  .step p { grid-column: 2; }
  .contact-card { padding: 24px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .brand { min-width: auto; }
  .brand img.brand-logo { width: 132px; height: 40px; }
  .brand small { display: none; }
  .brand span { display: none; }
}
