:root {
  color-scheme: light;
  --ink: #101848;
  --muted: #697196;
  --soft: #eef3fb;
  --paper: #f7faff;
  --white: #ffffff;
  --blue: #1737ff;
  --blue-2: #536cff;
  --navy: #060a37;
  --deep: #020528;
  --line: rgba(18, 30, 86, 0.1);
  --shadow: 0 24px 70px rgba(28, 45, 120, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.site-nav {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 40;
  width: min(1060px, calc(100vw - 48px));
  height: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 14px 0 20px;
  color: #e9eeff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(5, 10, 55, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 150px;
  min-width: 150px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  object-fit: contain;
}

.site-nav nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.site-nav nav a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav nav a {
  color: rgba(233, 238, 255, 0.82);
}

.site-nav nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  color: #081142;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 960px;
  padding: 132px 24px 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(37, 66, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 26%, rgba(77, 116, 255, 0.36), transparent 25rem),
    linear-gradient(180deg, #030735 0%, #070b3f 64%, #edf3fb 64%, #edf3fb 100%);
  background-size: 42px 100%, 100% 42px, auto, auto;
}

.hero::before,
.testimonial-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 33px,
      rgba(78, 121, 255, 0.28) 34px,
      transparent 58px
    );
  opacity: 0.36;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 288px;
  width: 120%;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50%;
  background: #edf3fb;
  clip-path: polygon(0 38%, 22% 38%, 35% 15%, 50% 36%, 65% 15%, 78% 38%, 100% 38%, 100% 100%, 0 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 22%, rgba(98, 128, 255, 0.26), transparent 18rem),
    radial-gradient(circle at 72% 30%, rgba(40, 185, 255, 0.2), transparent 18rem);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 16px;
  color: #4353a0;
  border-radius: 999px;
  background: #edf1ff;
  font-size: 12px;
  font-weight: 900;
}

.hero .pill {
  color: #dfe6ff;
  background: rgba(255, 255, 255, 0.12);
}

.hero h1 {
  max-width: 820px;
  margin: 22px auto 0;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 780px;
  margin: 24px auto 0;
  color: rgba(232, 237, 255, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #6d7dff);
  box-shadow: 0 16px 36px rgba(34, 58, 255, 0.28);
}

.secondary-btn {
  color: #ecf1ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.secondary-btn.light {
  color: #17205a;
  border-color: rgba(23, 32, 90, 0.14);
  background: #edf2ff;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 48px));
  height: 460px;
  margin: 70px auto 0;
}

.phone-panel,
.floating-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.phone-panel {
  left: 50%;
  bottom: -34px;
  width: min(360px, 86vw);
  min-height: 420px;
  transform: translateX(-50%);
  padding: 24px;
  color: var(--ink);
  text-align: left;
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.panel-top span {
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: #dfe5f4;
}

.message-row {
  padding: 16px;
  border-radius: 16px;
  background: #f3f6fd;
}

.message-row b,
.reply-box span,
.floating-card span,
.value-card span,
.chart-card span {
  display: block;
  color: #6b74a0;
  font-size: 12px;
  font-weight: 900;
}

.message-row p,
.reply-box p {
  margin-top: 8px;
  color: #18235f;
  font-size: 14px;
  line-height: 1.55;
}

.translated {
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1528bf, #5470ff);
}

.translated b,
.translated p {
  color: #fff;
}

.translate-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 4px;
  color: #6a74a2;
  font-size: 12px;
  font-weight: 800;
}

.translate-line i {
  height: 1px;
  flex: 1;
  background: #dce3f6;
}

.reply-box {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid #dfe6fb;
  border-radius: 16px;
  background: #fff;
}

.floating-card {
  padding: 18px;
  color: var(--ink);
  text-align: left;
}

.floating-card strong {
  display: block;
  margin-top: 7px;
  color: #17226a;
  font-size: 30px;
  line-height: 1;
}

.floating-card small {
  display: block;
  margin-top: 10px;
  color: #727ba5;
  line-height: 1.4;
}

.card-score {
  left: 4%;
  top: 70px;
  width: 230px;
}

.card-rate {
  left: 26%;
  top: 230px;
  width: 180px;
}

.card-safe {
  right: 4%;
  top: 70px;
  width: 238px;
  min-height: 190px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(145deg, rgba(74, 106, 255, 0.96), rgba(9, 20, 97, 0.92));
}

.card-safe span,
.card-safe small,
.card-safe strong {
  color: #fff;
}

.section {
  position: relative;
  width: min(1080px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2,
.testimonial-head h2,
.cta-panel h2 {
  margin-top: 13px;
  color: #17205a;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:last-child,
.cta-panel p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-section {
  padding-top: 72px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(25, 36, 96, 0.08);
}

.feature-card.active {
  color: #fff;
  background: linear-gradient(160deg, #0619c8, #1737ff);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #2334a4;
  background: #eef2ff;
  font-size: 13px;
  font-weight: 900;
}

.active .icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.feature-card h3 {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.25;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-card.active p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #2238d5;
  font-size: 12px;
  font-weight: 900;
}

.feature-card.active a {
  color: #fff;
}

.value-section {
  padding-top: 106px;
}

.value-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(25, 36, 96, 0.08);
}

.value-card strong {
  display: block;
  margin-top: 12px;
  color: #17205a;
  font-size: 42px;
  line-height: 1;
}

.value-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.portrait-card {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(160deg, #7587ff, #07125f);
}

.portrait-card img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.portrait-card span,
.portrait-card strong {
  color: #fff;
}

.portrait-card strong {
  font-size: 24px;
  line-height: 1.18;
}

.percent-card {
  position: relative;
  overflow: hidden;
}

.percent-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 100%;
  background: linear-gradient(180deg, #1534ff, #6374ff);
}

.wide-card {
  grid-column: span 2;
}

.wide-card h3 {
  margin-top: 12px;
  font-size: 28px;
}

.chart-card {
  grid-column: span 2;
}

.bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 120px;
  margin-top: 24px;
  padding: 0 6px;
}

.bars i {
  flex: 1;
  min-width: 12px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #1b38ff, #cfd8ff);
}

.workflow-section {
  width: min(1020px, calc(100vw - 44px));
  padding-top: 110px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.workflow-mock,
.step-card {
  border-radius: 18px;
}

.workflow-mock {
  min-height: 320px;
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background:
    radial-gradient(circle at 22% 72%, transparent 0 56px, rgba(255, 255, 255, 0.45) 57px, transparent 58px),
    linear-gradient(145deg, #0714af, #04105a);
  box-shadow: var(--shadow);
}

.mock-form {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.mock-form span {
  display: block;
  height: 38px;
  margin-bottom: 12px;
  padding: 11px 14px;
  color: #9ca5c4;
  border-radius: 7px;
  background: #eef2fb;
  font-size: 12px;
  font-weight: 800;
}

.mock-form button {
  width: 100%;
  height: 40px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  font-weight: 900;
}

.step-card {
  min-height: 149px;
  padding: 26px;
  background: #edf2fa;
}

.step-card span {
  color: #7f88b1;
  font-weight: 900;
}

.step-card h3 {
  margin-top: 13px;
  color: #17205a;
  font-size: 22px;
}

.step-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.testimonial-band {
  position: relative;
  margin-top: 120px;
  padding: 80px 0 120px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 52% 0%, rgba(74, 107, 255, 0.4), transparent 24rem),
    linear-gradient(180deg, #030735, #020527);
}

.testimonial-inner {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100vw - 44px));
  margin: 0 auto;
}

.testimonial-head {
  max-width: 560px;
}

.testimonial-head .eyebrow {
  color: #d8e0ff;
  background: rgba(255, 255, 255, 0.1);
}

.testimonial-head h2 {
  color: #fff;
}

.scene-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.scene-row article {
  min-height: 190px;
  padding: 28px;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.2);
}

.scene-row b {
  font-size: 22px;
}

.scene-row p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-section {
  padding-top: 92px;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-list details {
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(25, 36, 96, 0.06);
}

.faq-list summary {
  cursor: pointer;
  color: #17205a;
  font-weight: 900;
}

.faq-list p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.cta-section {
  width: min(1080px, calc(100vw - 44px));
  margin: 94px auto 0;
  padding-bottom: 78px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 58px 30px;
  text-align: center;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 120px;
  border: 3px dashed rgba(37, 56, 190, 0.24);
  border-radius: 50%;
}

.cta-panel::before {
  left: -40px;
  bottom: -36px;
}

.cta-panel::after {
  right: -40px;
  top: -38px;
}

.cta-panel p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel .primary-btn {
  margin-top: 26px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.cta-actions .primary-btn {
  margin-top: 0;
}

.site-footer {
  width: min(1080px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 44px 0 62px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 42px;
  align-items: start;
  color: #70789f;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #071050;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  object-fit: contain;
}

.site-footer p {
  max-width: 360px;
  margin-top: 16px;
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.site-footer span {
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-nav {
    top: 14px;
    width: calc(100vw - 24px);
  }

  .site-nav nav {
    display: none;
  }

  .brand {
    flex: 1;
  }

  .hero {
    min-height: 1040px;
  }

  .hero::after {
    bottom: 238px;
  }

  .hero-visual {
    height: 560px;
  }

  .card-score,
  .card-rate,
  .card-safe {
    display: none;
  }

  .phone-panel {
    bottom: 10px;
  }

  .feature-grid,
  .scene-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-layout,
  .workflow-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .wide-card,
  .chart-card {
    grid-column: span 1;
  }

  .workflow-mock {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 56px;
    padding-left: 14px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 12px;
  }

  .hero {
    min-height: 1030px;
    padding: 106px 18px 0;
  }

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

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero::after {
    bottom: 208px;
  }

  .phone-panel {
    padding: 18px;
  }

  .section,
  .workflow-section,
  .testimonial-inner,
  .cta-section,
  .site-footer {
    width: min(100% - 28px, 1080px);
  }

  .feature-grid,
  .scene-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .value-card,
  .step-card,
  .scene-row article {
    min-height: 0;
  }

  .workflow-mock {
    min-height: 260px;
    padding: 22px;
  }

  .testimonial-band {
    padding: 70px 0 90px;
  }

  .cta-panel {
    padding: 48px 22px;
  }
}
