:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #dce3ee;
  --blue: #2468e8;
  --blue-dark: #102a63;
  --teal: #0aa88f;
  --orange: #f59e0b;
  --green: #17a34a;
  --red: #ef4444;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
  color-scheme: light;
  font-family:
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 227, 238, 0.8);
  display: flex;
  gap: 32px;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
  z-index: 10;
}

.site-header.is-elevated {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  align-items: center;
  background: var(--blue);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.nav {
  align-items: center;
  color: #475569;
  display: flex;
  font-size: 15px;
  gap: clamp(18px, 3vw, 38px);
}

.nav a {
  padding: 12px 0;
  position: relative;
}

.nav a::after {
  background: var(--blue);
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

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

.header-action,
.primary-action,
.secondary-action,
.plan button,
.form-submit,
.footer a {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-action,
.primary-action,
.plan button,
.form-submit,
.footer a {
  background: var(--blue);
  color: #fff;
}

.header-action {
  min-height: 42px;
  min-width: 118px;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.primary-action:hover,
.header-action:hover,
.plan button:hover,
.form-submit:hover,
.footer a:hover {
  background: #1d58c7;
  box-shadow: 0 16px 34px rgba(36, 104, 232, 0.26);
  transform: translateY(-2px);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero {
  align-items: center;
  color: #fff;
  display: grid;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  padding: clamp(80px, 11vw, 128px) clamp(22px, 6vw, 88px);
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(7, 15, 35, 0.9) 0%, rgba(7, 15, 35, 0.74) 34%, rgba(7, 15, 35, 0.22) 68%, rgba(7, 15, 35, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 15, 35, 0.42), rgba(7, 15, 35, 0));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
  position: relative;
  z-index: 2;
  animation: hero-copy-in 720ms ease both;
}

.hero-visual {
  animation: hero-visual-in 900ms ease both;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  transform: scale(1.02);
  width: 100%;
}

@keyframes hero-copy-in {
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.02);
  }
}

.eyebrow,
.summary-kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7dd3fc;
}

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

h1 {
  font-size: clamp(48px, 8vw, 94px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 640px;
}

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

.trust-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-band div {
  padding: 34px clamp(22px, 5vw, 76px);
}

.trust-band strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.trust-band span {
  color: var(--muted);
  line-height: 1.7;
}

.section,
.process {
  padding: clamp(74px, 9vw, 112px) clamp(22px, 6vw, 88px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 300px;
  padding: 28px 24px 22px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.plan:hover,
.plan.is-selected {
  border-color: rgba(36, 104, 232, 0.72);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.plan.is-featured {
  background: #f8fbff;
}

.plan-label {
  background: #eaf2ff;
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 42px;
  padding: 7px 16px;
}

.plan h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.price {
  color: var(--orange);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 14px;
}

.plan p:not(.price) {
  color: var(--muted);
  line-height: 1.7;
  min-height: 54px;
}

.plan button {
  margin-top: 12px;
  width: 100%;
}

.checkout-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.checkout-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.checkout-form,
.order-summary {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-form label,
.checkout-form legend {
  color: #334155;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: var(--ink);
  display: block;
  height: 50px;
  margin-top: 10px;
  outline: none;
  padding: 0 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 104, 232, 0.12);
}

fieldset {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

legend {
  flex: 0 0 100%;
  margin-bottom: 4px;
}

.radio-line {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  min-height: 46px;
  min-width: 134px;
  padding: 0 14px;
}

.form-submit {
  width: 190px;
}

.order-summary h3 {
  font-size: 34px;
  margin-bottom: 30px;
}

.order-summary dl {
  display: grid;
  gap: 20px;
  margin: 0 0 28px;
}

.order-summary dl div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  font-weight: 900;
  margin: 0;
}

.summary-note {
  background: #eef6ff;
  border-left: 4px solid var(--blue);
  color: #274060;
  line-height: 1.8;
  margin: 0;
  padding: 14px 16px;
}

.process {
  background: #0f172a;
  color: #fff;
}

.process .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 180px;
  padding-top: 24px;
}

.timeline span {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 20px;
  width: 44px;
}

.timeline strong {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

details p {
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 0;
}

.footer {
  align-items: center;
  background: #0b1220;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 38px clamp(22px, 6vw, 88px);
}

.footer p {
  color: rgba(255, 255, 255, 0.64);
  margin: 8px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

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

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .plans,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout,
  .trust-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    height: 68px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 68px);
    padding: 76px 20px 54px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 15, 35, 0.92), rgba(7, 15, 35, 0.72)),
      linear-gradient(0deg, rgba(7, 15, 35, 0.38), rgba(7, 15, 35, 0));
  }

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

  .hero-actions a {
    width: 100%;
  }

  .plans,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section,
  .process {
    padding-inline: 20px;
  }

  .form-submit {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}
