:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #132833;
  background: #f5f8fb;
  --ink: #132833;
  --muted: #5f7480;
  --line: #dbe6ec;
  --paper: #ffffff;
  --teal: #2fb6a3;
  --blue: #386f8f;
  --yellow: #e2a941;
  --red: #d9605b;
  --progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(237, 245, 246, 0.8), transparent 420px),
    #f5f8fb;
  color: var(--ink);
  overflow-x: hidden;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: var(--progress);
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--yellow));
  box-shadow: 0 0 18px rgba(47, 182, 163, 0.42);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(245, 248, 251, 0.9);
  border-bottom: 1px solid rgba(219, 230, 236, 0.86);
  backdrop-filter: blur(14px);
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(245, 248, 251, 0.96);
  border-bottom-color: rgba(174, 194, 205, 0.9);
  box-shadow: 0 14px 38px rgba(16, 39, 52, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 8px 16px rgba(47, 182, 163, 0.18));
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(32px, 6vw, 82px) clamp(20px, 5vw, 72px) 54px;
  overflow: hidden;
  background: #dfeaf1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 31, 42, 0.9) 0%, rgba(9, 31, 42, 0.72) 38%, rgba(9, 31, 42, 0.22) 68%, rgba(9, 31, 42, 0.06) 100%),
    radial-gradient(circle at 18% 26%, rgba(131, 240, 223, 0.18), transparent 24%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 10% 9% auto;
  width: min(340px, 34vw);
  height: min(340px, 34vw);
  border: 1px solid rgba(131, 240, 223, 0.22);
  border-radius: 999px;
  opacity: 0.65;
  transform: translate3d(0, 0, 0);
  animation: hero-ring 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.06);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 14px;
}

.hero .eyebrow {
  color: #83f0df;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #062621;
  box-shadow: 0 14px 28px rgba(47, 182, 163, 0.26);
}

.button.primary:hover {
  box-shadow: 0 18px 34px rgba(47, 182, 163, 0.34);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  border-color: rgba(131, 240, 223, 0.68);
  background: rgba(255, 255, 255, 0.1);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  margin: 44px 0 0;
}

.metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transform: translateY(0);
  transition: transform 220ms ease, background-color 220ms ease;
}

.metrics div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.metrics dt {
  font-weight: 900;
  font-size: 18px;
}

.metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 44px;
}

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

.feature {
  position: relative;
  overflow: hidden;
  min-height: 228px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature::after,
.selection-card::after,
.pricing-card::after,
.delivery-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 182, 163, 0.48), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.interactive-card {
  --mx: 50%;
  --my: 50%;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(47, 182, 163, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.interactive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 182, 163, 0.42);
  box-shadow: 0 24px 54px rgba(16, 39, 52, 0.13);
}

.interactive-card:hover::before {
  opacity: 1;
}

.interactive-card:hover::after {
  opacity: 1;
}

.feature p,
.delivery-panel li,
.selection-card p,
.pricing-card p,
.pricing-card li,
.cta p {
  color: var(--muted);
  line-height: 1.72;
}

.icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--blue);
  font-weight: 900;
}

.more-capabilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 39, 52, 0.06);
}

.more-capabilities span {
  color: var(--muted);
}

.more-capabilities strong {
  padding: 8px 12px;
  border-radius: 8px;
  background: #edf5f6;
  color: #102734;
  font-size: 14px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.more-capabilities strong:hover {
  background: #dff1ef;
  transform: translateY(-2px);
}

.workflow-section {
  position: relative;
  overflow: hidden;
  background: #102734;
  color: #fff;
}

.workflow-section::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -10%;
  width: min(640px, 60vw);
  height: min(640px, 60vw);
  border: 1px solid rgba(131, 240, 223, 0.28);
  border-radius: 50%;
  opacity: 0.5;
  animation: slow-spin 26s linear infinite;
}

.workflow-section h2 {
  max-width: 900px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.step {
  position: relative;
  min-height: 180px;
  padding: 28px;
  background: #102734;
  transition: background-color 260ms ease, transform 260ms ease;
}

.step::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 24px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.step.is-visible::after,
.step:hover::after {
  transform: scaleX(1);
}

.step:hover {
  background: #173746;
  transform: translateY(-4px);
}

.step strong {
  display: block;
  margin-bottom: 18px;
  font-size: 24px;
}

.step span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.selection-section {
  background: #edf5f6;
}

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

.selection-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 30px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d6e5e8;
}

.selection-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 32px;
  margin-bottom: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #102734;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.delivery-panel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.delivery-panel ul {
  margin: 0;
  padding-left: 20px;
}

.delivery-panel li + li {
  margin-top: 16px;
}

.pricing-section {
  background: #ffffff;
}

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

.pricing-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f8fb;
}

.pricing-card.trial {
  border-color: rgba(56, 111, 143, 0.28);
}

.pricing-card.standard {
  border-color: rgba(47, 182, 163, 0.3);
}

.pricing-card.pro {
  border-color: rgba(226, 169, 65, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), #ffffff 54%),
    #fffaf0;
  box-shadow: 0 20px 54px rgba(226, 169, 65, 0.13);
}

.recommended-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: #102734;
  color: #f7e8b9;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(16, 39, 52, 0.18);
}

.pricing-card.long-term {
  border-color: rgba(91, 101, 156, 0.34);
}

.plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 8px;
  background: #102734;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.pricing-card h3 {
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 70px;
  margin-bottom: 16px;
  color: #102734;
  line-height: 1;
  font-weight: 900;
}

.plan-price span {
  font-size: 24px;
}

.plan-price strong {
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
}

.plan-price em {
  color: var(--muted);
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
}

.plan-price.pending strong {
  font-size: clamp(30px, 3vw, 42px);
}

.pricing-card p {
  min-height: 82px;
  margin-bottom: 24px;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(219, 230, 236, 0.86);
}

.pricing-card li span {
  flex: 0 0 auto;
  color: var(--muted);
}

.pricing-card li strong {
  color: #102734;
  text-align: right;
  word-break: break-word;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(60px, 8vw, 100px);
  padding: clamp(34px, 5vw, 58px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(16, 39, 52, 0.08);
}

.cta div {
  max-width: 760px;
}

.qr-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(220px, 24vw, 320px);
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f8fb;
  text-align: center;
}

.qr-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #ffffff;
}

.qr-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: var(--delay, 0ms);
}

@keyframes hero-ring {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.42;
  }

  50% {
    transform: translate3d(-18px, 10px, 0) scale(1.04);
    opacity: 0.72;
  }
}

@keyframes slow-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-grid .reveal:nth-child(3n + 2),
.selection-grid .reveal:nth-child(2),
.workflow .reveal:nth-child(2),
.pricing-grid .reveal:nth-child(2) {
  --delay: 90ms;
}

.feature-grid .reveal:nth-child(3n),
.selection-grid .reveal:nth-child(3),
.workflow .reveal:nth-child(3),
.pricing-grid .reveal:nth-child(3) {
  --delay: 180ms;
}

.workflow .reveal:nth-child(4),
.pricing-grid .reveal:nth-child(4) {
  --delay: 270ms;
}

@media (max-width: 1320px) {
  .selection-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .scroll-progress {
    height: 2px;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(9, 31, 42, 0.88) 0%, rgba(9, 31, 42, 0.78) 52%, rgba(9, 31, 42, 0.42) 100%);
  }

  .hero::before {
    width: 220px;
    height: 220px;
    right: -54px;
    bottom: 12%;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .feature-grid,
  .selection-grid,
  .workflow,
  .split {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-card {
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 54px;
  }

  .button {
    width: 100%;
  }

  .feature,
  .selection-card,
  .delivery-panel,
  .step {
    padding: 22px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 24px;
  }

  .recommended-badge {
    top: 14px;
    right: 14px;
  }

  .pricing-card p {
    min-height: 0;
  }

  .pricing-card li {
    display: block;
  }

  .pricing-card li strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none !important;
  }

  .hero::before,
  .workflow-section::before {
    animation: none;
  }
}
