:root {
  color-scheme: light;
  --ink: #15152a;
  --muted: #65657b;
  --line: rgba(92, 72, 164, 0.14);
  --purple: #7652ef;
  --purple-dark: #5a37d6;
  --blue: #3b83f6;
  --cyan: #20b7d7;
  --surface: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 70px rgba(64, 48, 129, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(124, 90, 246, 0.12), transparent 27rem),
    radial-gradient(circle at 92% 20%, rgba(46, 183, 218, 0.12), transparent 26rem),
    #f8f8ff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(104, 86, 168, 0.1);
  background: rgba(249, 249, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand img { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; box-shadow: 0 9px 24px rgba(94, 58, 212, 0.2); }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 15px; letter-spacing: 0.02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.site-header nav { display: flex; gap: 32px; color: #4e4e64; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, .footer-links a:hover { color: var(--purple-dark); }
.header-action {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid rgba(104, 72, 220, 0.22);
  border-radius: 12px;
  background: white;
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(68, 49, 135, 0.08);
}

main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 92px 0 80px;
}

.eyebrow { color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.hero h1 { max-width: 720px; margin: 18px 0 24px; font-size: clamp(42px, 5.2vw, 70px); line-height: 1.12; letter-spacing: -0.04em; }
.hero h1 span { background: linear-gradient(115deg, var(--purple-dark), var(--blue) 58%, var(--cyan)); background-clip: text; color: transparent; }
.hero-copy > p { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}
.primary-action { background: linear-gradient(110deg, var(--purple-dark), var(--blue), var(--cyan)); color: white; box-shadow: 0 16px 34px rgba(75, 81, 220, 0.25); }
.secondary-action { border: 1px solid var(--line); background: rgba(255,255,255,.82); color: #45455c; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 28px 0 0; padding: 0; color: #66657b; font-size: 13px; list-style: none; }
.hero-assurances li::before { content: "✓"; margin-right: 7px; color: #23a879; font-weight: 900; }

.hero-visual { position: relative; min-height: 470px; }
.hero-glow { position: absolute; inset: 15% 8%; border-radius: 50%; background: linear-gradient(120deg, rgba(121,76,239,.3), rgba(31,181,217,.28)); filter: blur(64px); }
.workflow-card, .metric-card { position: absolute; z-index: 2; border: 1px solid rgba(105, 83, 188, 0.16); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.workflow-card-main { inset: 72px 20px 76px 18px; display: flex; flex-direction: column; justify-content: center; padding: 42px; border-radius: 34px; transform: rotate(-1.5deg); }
.card-label { color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.workflow-card strong { margin-top: 10px; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.04em; }
.workflow-steps { display: flex; align-items: center; margin-top: 58px; color: #69677b; font-size: 13px; font-weight: 700; }
.workflow-steps span { padding: 9px 12px; border-radius: 11px; background: #f1effb; }
.workflow-steps span.is-active { background: linear-gradient(125deg, var(--purple), var(--blue)); color: white; }
.workflow-steps i { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(111,76,230,.5), rgba(57,152,226,.28)); }
.metric-card { display: grid; min-width: 160px; padding: 17px 20px; border-radius: 18px; }
.metric-card small { color: var(--muted); font-size: 11px; }
.metric-card strong { margin-top: 3px; font-size: 16px; }
.metric-card-top { top: 24px; right: 0; }
.metric-card-bottom { bottom: 30px; left: 0; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1180px, calc(100% - 40px)); margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 12px 40px rgba(56,49,100,.06); }
.trust-strip span { padding: 17px 20px; text-align: center; color: #5a596d; font-size: 13px; font-weight: 700; }
.trust-strip span + span { border-left: 1px solid var(--line); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 118px 0 20px; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading.compact { margin-bottom: 30px; }
.section-heading h2, .security-panel h2, .cta-section h2 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.035em; }
.section-heading p, .security-panel p, .cta-section p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 238px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.8); box-shadow: 0 18px 55px rgba(56,46,115,.07); }
.feature-index { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, rgba(119,80,239,.13), rgba(44,176,220,.15)); color: var(--purple-dark); font-size: 12px; font-weight: 900; }
.feature-card h3 { margin: 30px 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.security-section { width: 100%; margin-top: 100px; padding: 100px max(20px, calc((100% - 1180px) / 2)); background: linear-gradient(135deg, #17152f, #1b2450 58%, #103a55); color: white; }
.security-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.security-panel .eyebrow { color: #9b88ff; }
.security-panel p { color: #c3c3d8; }
.security-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.security-list article { display: grid; min-height: 112px; padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.06); }
.security-list strong { font-size: 16px; }
.security-list span { align-self: end; color: #b7bad1; font-size: 13px; }

.service-section { padding-bottom: 110px; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.policy-grid a { display: grid; min-height: 112px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.84); transition: transform .18s ease, box-shadow .18s ease; }
.policy-grid a:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(66,47,140,.1); }
.policy-grid span { align-self: end; color: var(--muted); font-size: 13px; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(1180px, calc(100% - 40px)); margin: 0 auto 80px; padding: 44px 48px; border-radius: 28px; background: linear-gradient(120deg, rgba(117,78,237,.11), rgba(49,159,230,.11)); border: 1px solid var(--line); }
.cta-section h2 { font-size: clamp(26px, 3vw, 38px); }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; padding: 42px max(20px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); background: rgba(255,255,255,.66); }
.site-footer p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #56546a; font-size: 13px; font-weight: 700; }
.compliance-meta { display: grid; justify-items: end; color: #858397; font-size: 12px; }

.legal-page { min-height: 100vh; background: #f8f8ff; }
.legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-main > header { margin-bottom: 30px; }
.legal-main h1 { margin: 10px 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.2; }
.legal-main > header p { color: var(--muted); }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.legal-card h2 { margin: 34px 0 10px; font-size: 20px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #555469; font-size: 15px; }
.legal-card li + li { margin-top: 8px; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--purple); border-radius: 8px; background: #f4f0ff; }

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security-panel { grid-template-columns: 1fr; gap: 42px; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
  .compliance-meta { justify-items: start; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding: 10px 16px; }
  .brand img { width: 36px; height: 36px; border-radius: 11px; }
  .brand small { display: none; }
  .header-action { padding: 9px 12px; font-size: 12px; }
  .hero { width: min(100% - 28px, 1180px); min-height: auto; padding: 60px 0 48px; }
  .hero h1 { font-size: 38px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-assurances { display: grid; }
  .hero-visual { min-height: 340px; }
  .workflow-card-main { inset: 46px 4px 48px; padding: 28px 22px; border-radius: 26px; }
  .workflow-card strong { font-size: 32px; }
  .workflow-steps { margin-top: 40px; }
  .workflow-steps span { padding: 7px 8px; font-size: 11px; }
  .metric-card { min-width: 136px; padding: 13px 16px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); width: calc(100% - 28px); }
  .trust-strip span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip span:nth-child(4) { border-top: 1px solid var(--line); }
  .section { width: calc(100% - 28px); padding-top: 82px; }
  .feature-grid, .security-list, .policy-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .security-section { margin-top: 70px; padding: 74px 14px; }
  .cta-section { align-items: stretch; flex-direction: column; width: calc(100% - 28px); padding: 30px 24px; }
  .site-footer { padding: 34px 20px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); }
  .legal-main { width: calc(100% - 28px); padding-top: 54px; }
}
