:root {
  --blue: #1768ff;
  --blue-deep: #0d4ed8;
  --navy: #07142d;
  --navy-soft: #132344;
  --ink: #0a1730;
  --muted: #5d6d89;
  --line: #dbe5f3;
  --paper: #f7faff;
  --white: #ffffff;
  --shell: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0, rgba(247, 250, 255, 0.98) 72%, #f2f7ff 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 75, 168, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 75, 168, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), transparent 78%);
}

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

.page-shell {
  width: calc(100% - 96px);
  max-width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.page-glow-left {
  top: 18%;
  left: -360px;
  background: radial-gradient(circle, rgba(23, 104, 255, 0.16) 0, rgba(23, 104, 255, 0) 70%);
}

.page-glow-right {
  top: -210px;
  right: -160px;
  background: radial-gradient(circle, rgba(50, 195, 255, 0.18) 0, rgba(50, 195, 255, 0) 70%);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 229, 243, 0.78);
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.brand img {
  display: block;
  width: 142px;
  height: auto;
}

.brand span {
  position: relative;
  color: #4d5d77;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand span::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 1px;
  height: 20px;
  content: "";
  background: var(--line);
  transform: translateY(-50%);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  padding: 12px 8px;
  color: #40516d;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 44px;
  padding: 0 19px;
  border-radius: 11px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding: 0 29px;
  border-radius: 14px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 16px 34px rgba(23, 104, 255, 0.24);
}

.button-secondary {
  color: #173152;
  border-color: #d3deed;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(33, 68, 119, 0.06);
}

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

.button-primary:hover {
  box-shadow: 0 20px 38px rgba(23, 104, 255, 0.3);
}

.button-secondary:hover {
  border-color: #a9c2e6;
  background: #fff;
}

.button:focus-visible,
.header-link:focus-visible {
  outline: 3px solid rgba(23, 104, 255, 0.28);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 156px);
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #35608f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(23, 104, 255, 0.1);
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0 24px;
  color: var(--navy);
  font-size: 72px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  margin-top: 38px;
}

.hero-notes {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: #71809a;
  font-size: 13px;
  font-weight: 650;
}

.hero-notes i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b8c7db;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.visual-aura {
  position: absolute;
  inset: -45px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 104, 255, 0.2) 0, rgba(23, 104, 255, 0.06) 38%, rgba(23, 104, 255, 0) 72%);
}

.flow-panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
  color: #f7faff;
  border: 1px solid rgba(112, 153, 220, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(35, 113, 255, 0.42), transparent 38%),
    linear-gradient(145deg, #0b1a36 0%, #07142d 70%);
  box-shadow: 0 38px 80px rgba(4, 20, 53, 0.24);
}

.flow-panel::after {
  position: absolute;
  top: -84px;
  right: -78px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.panel-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-head > div {
  display: grid;
  gap: 6px;
}

.panel-kicker {
  color: #7890b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.panel-head strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  color: #8ec4ff;
  border: 1px solid rgba(105, 172, 255, 0.24);
  border-radius: 999px;
  background: rgba(26, 88, 175, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.panel-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45c7ff;
  box-shadow: 0 0 0 5px rgba(69, 199, 255, 0.1);
}

.flow-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.flow-line {
  position: absolute;
  top: 67px;
  right: 16%;
  left: 16%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(82, 147, 255, 0.15), rgba(80, 174, 255, 0.72), rgba(82, 147, 255, 0.15));
}

.flow-node {
  position: relative;
  display: flex;
  min-height: 185px;
  padding: 18px 10px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 164, 215, 0.16);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.035);
}

.flow-node-core {
  border-color: rgba(73, 145, 255, 0.4);
  background: linear-gradient(180deg, rgba(40, 112, 231, 0.28), rgba(25, 73, 147, 0.12));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transform: translateY(-12px);
}

.node-index {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #5c7295;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 1px solid rgba(130, 170, 231, 0.22);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.node-icon svg,
.node-icon img {
  width: 29px;
  height: 29px;
}

.node-icon svg {
  fill: none;
  stroke: #8fb7ef;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-icon-dpay {
  border-color: rgba(82, 153, 255, 0.48);
  background: #fff;
  box-shadow: 0 12px 24px rgba(23, 104, 255, 0.22);
}

.flow-node strong {
  font-size: 14px;
}

.flow-node small {
  margin-top: 4px;
  color: #7086a8;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.panel-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 160, 211, 0.14);
}

.panel-foot span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8a9dbc;
  font-size: 10px;
  white-space: nowrap;
}

.panel-foot i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f7cff;
}

.visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 0 8px;
}

.visual-caption span {
  color: #8a9ab3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.visual-caption strong {
  color: #3e526e;
  font-size: 13px;
}

.site-footer {
  color: #8593a9;
  border-top: 1px solid rgba(219, 229, 243, 0.72);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

@media (max-width: 1080px) {
  .page-shell {
    width: calc(100% - 64px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .flow-panel {
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: calc(100% - 48px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 66px;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-visual {
    max-width: 620px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  body::before {
    background-size: 44px 44px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    width: 116px;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-link {
    padding: 10px 6px;
    font-size: 13px;
  }

  .button-small {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .button-small svg {
    display: none;
  }

  .hero {
    gap: 48px;
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 45px;
    line-height: 1.14;
    letter-spacing: -0.045em;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .button-large {
    width: 100%;
    min-height: 54px;
  }

  .hero-notes {
    gap: 9px;
    margin-top: 24px;
    font-size: 11px;
  }

  .flow-panel {
    padding: 21px 16px 18px;
    border-radius: 22px;
  }

  .panel-head strong {
    font-size: 17px;
  }

  .panel-status {
    min-height: 25px;
    padding: 0 8px;
    font-size: 9px;
  }

  .flow-stage {
    gap: 7px;
    margin-top: 34px;
  }

  .flow-line {
    top: 57px;
  }

  .flow-node {
    min-height: 150px;
    padding: 15px 5px 12px;
    border-radius: 14px;
  }

  .flow-node-core {
    transform: translateY(-8px);
  }

  .node-index {
    top: 9px;
    left: 9px;
    font-size: 8px;
  }

  .node-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 13px;
    border-radius: 14px;
  }

  .node-icon svg,
  .node-icon img {
    width: 24px;
    height: 24px;
  }

  .flow-node strong {
    font-size: 12px;
  }

  .flow-node small {
    font-size: 9px;
  }

  .panel-foot {
    gap: 4px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .panel-foot span {
    gap: 4px;
    font-size: 9px;
  }

  .visual-caption {
    display: none;
  }

  .footer-inner {
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }
}

@media (max-width: 370px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 104px;
  }

  .header-link {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-notes {
    font-size: 10px;
  }

  .panel-status {
    display: none;
  }
}

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