:root {
  --ink: #10272c;
  --muted: #5e7277;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #dce4e1;
  --teal: #0b6b75;
  --teal-dark: #073f47;
  --orange: #ef7b45;
  --lime: #b9d94d;
  --navy: #0b3037;
  --shadow: 0 18px 50px rgba(12, 44, 49, 0.12);
  --radius: 8px;
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 225, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  color: #365057;
  border-radius: 5px;
  font-size: 14px;
  transition: 160ms ease;
}

.main-nav > a:hover {
  color: var(--teal-dark);
  background: #edf3f1;
}

.main-nav .nav-cta {
  margin-left: 4px;
  color: #fff;
  background: var(--teal-dark);
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--teal);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  color: #fff;
  background: #082b32;
}

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

.hero-media {
  background-image: url("./assets/hero-network.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 31, 36, 0.96) 0%, rgba(5, 39, 45, 0.86) 43%, rgba(5, 39, 45, 0.45) 72%, rgba(5, 39, 45, 0.58) 100%),
    linear-gradient(0deg, rgba(3, 24, 28, 0.48), rgba(3, 24, 28, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 70px;
  padding-block: 84px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe3cf;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d7e5e5;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--orange);
}

.button-primary:hover {
  background: #dc6732;
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-light {
  color: var(--navy);
  background: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  color: #bed1d3;
  list-style: none;
  font-size: 13px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-board {
  align-self: end;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 35, 40, 0.74);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.board-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d2e5e5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-header time {
  margin-left: auto;
  color: #8eaeb2;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(185, 217, 77, 0.12);
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.12);
}

.board-stats div {
  padding: 16px 10px;
  background: rgba(5, 29, 34, 0.76);
  text-align: center;
}

.board-stats dt {
  color: #9db6ba;
  font-size: 11px;
}

.board-stats dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.board-note {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aac0c3;
  font-size: 12px;
}

.board-note p {
  margin: 0;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.trust-grid span,
.trust-grid strong,
.trust-grid small {
  display: block;
}

.trust-grid strong {
  font-size: 14px;
}

.trust-grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 34px;
}

.section-heading h2,
.guide-intro h2,
.faq-intro h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading > p,
.guide-intro > p,
.faq-intro > p,
.final-cta p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

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

.promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 50px;
  align-items: center;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(239, 123, 69, 0.28), transparent 24%),
    linear-gradient(120deg, var(--teal-dark), #0d5961);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.promo-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.promo-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: #d1e5e5;
}

.code-zone {
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.code-label {
  display: block;
  margin-bottom: 8px;
  color: #b6d1d2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.promo-code {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: var(--navy);
  border: 0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.promo-code code {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.copy-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #dceceb;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.featured-section {
  background: var(--surface);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.featured-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: #b5c8c6;
  box-shadow: var(--shadow);
}

.featured-card.is-highlight {
  border-top: 4px solid var(--orange);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.region-tag,
.recommend-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.region-tag {
  color: var(--teal-dark);
  background: #e7f1ef;
}

.recommend-tag {
  color: #7b3516;
  background: #ffeadc;
}

.featured-card h3 {
  margin: 20px 0 4px;
  font-size: 21px;
  line-height: 1.25;
}

.plan-focus {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.featured-price {
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.featured-price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.featured-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  color: #50666b;
  list-style: none;
  font-size: 13px;
}

.featured-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-card li svg {
  color: var(--teal);
}

.featured-card .button {
  width: 100%;
  margin-top: auto;
  color: #fff;
  background: var(--teal-dark);
}

.featured-card .button:hover {
  background: var(--teal);
}

.plans-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("./assets/hero-network.jpg") center/cover fixed;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #cad7d4;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  cursor: pointer;
}

.filter-button span {
  color: var(--muted);
  font-size: 11px;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.filter-button.is-active span,
.filter-button:hover span {
  color: #dce9e8;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(12, 44, 49, 0.06);
}

.plan-card[hidden] {
  display: none;
}

.plan-card.is-highlight {
  border-color: #ef9a6f;
}

.plan-card h3 {
  margin: 13px 0 0;
  font-size: 19px;
}

.plan-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 18px;
}

.plan-card .price-row strong {
  font-size: 31px;
  line-height: 1;
}

.plan-card .price-row span {
  color: var(--muted);
  font-size: 13px;
}

.plan-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.plan-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #53696e;
  font-size: 12px;
}

.plan-meta svg {
  color: var(--teal);
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
  color: #fff;
  background: var(--teal-dark);
}

.plan-card .button:hover {
  background: var(--teal);
}

.guide-section {
  color: #fff;
  background: var(--navy);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 80px;
}

.guide-intro > p:not(.section-kicker) {
  margin-top: 18px;
  color: #b9ced1;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.guide-steps article {
  position: relative;
  min-height: 320px;
  padding: 30px 22px;
  background: #0b3037;
}

.guide-steps article > span {
  color: #6b8b90;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.guide-steps svg {
  display: block;
  width: 30px;
  height: 30px;
  margin: 52px 0 18px;
  color: var(--orange);
}

.guide-steps h3 {
  margin: 0;
  font-size: 18px;
}

.guide-steps p {
  margin: 10px 0 0;
  color: #a9c0c4;
  font-size: 13px;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.faq-intro > p:not(.section-kicker) {
  margin-top: 18px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  margin: -6px 0 24px;
  color: var(--muted);
}

.final-cta {
  padding-block: 58px;
  color: #fff;
  background: var(--teal);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta p:not(.section-kicker) {
  margin-top: 14px;
  color: #d4e6e6;
}

.site-footer {
  padding: 64px 0 26px;
  color: #b5c6c8;
  background: #061f24;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.55fr;
  gap: 70px;
}

.footer-brand {
  color: #fff;
}

.footer-brand small {
  color: #8fa8ac;
}

.footer-grid p {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 13px;
}

.footer-grid h3 {
  margin: 2px 0 18px;
  color: #fff;
  font-size: 14px;
}

.footer-grid > div:last-child a {
  display: block;
  margin: 10px 0;
  font-size: 13px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  color: #718b8f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.mobile-sticky {
  display: none;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  color: #fff;
  background: #163d43;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

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

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 74px;
  }

  .hero-board {
    width: min(100%, 520px);
    margin: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

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

  .promo-panel,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .code-zone {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .guide-layout,
  .faq-layout {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 640px);
  }

  html {
    scroll-padding-top: 68px;
  }

  body {
    padding-bottom: 88px;
  }

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

  .menu-button {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    z-index: 120;
    inset: 65px 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    justify-content: space-between;
    padding: 14px;
    font-size: 16px;
  }

  .main-nav .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 31, 36, 0.97), rgba(5, 39, 45, 0.78)),
      linear-gradient(0deg, rgba(3, 24, 28, 0.38), rgba(3, 24, 28, 0.08));
  }

  .hero-inner {
    min-height: auto;
    padding-block: 58px 38px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-points {
    gap: 10px 16px;
  }

  .hero-board {
    width: 100%;
    margin-bottom: 0;
  }

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

  .trust-grid > div,
  .trust-grid > div:nth-child(3) {
    min-height: 88px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 66px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .promo-section {
    padding-top: 50px;
  }

  .promo-panel {
    padding: 28px 22px;
  }

  .promo-code code {
    font-size: 19px;
  }

  .featured-grid,
  .plans-grid,
  .guide-steps {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .plan-card {
    min-height: auto;
  }

  .guide-layout {
    gap: 32px;
  }

  .guide-steps article {
    min-height: auto;
  }

  .guide-steps svg {
    margin: 30px 0 14px;
  }

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

  .final-cta .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-sticky {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
    color: #fff;
    background: rgba(6, 31, 36, 0.97);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(110%);
    transition: transform 180ms ease;
  }

  .mobile-sticky.is-visible {
    transform: translateY(0);
  }

  .mobile-sticky span,
  .mobile-sticky strong {
    display: block;
  }

  .mobile-sticky span {
    color: #93aeb2;
    font-size: 10px;
  }

  .mobile-sticky strong {
    font-size: 13px;
  }

  .mobile-sticky a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    color: #10272c;
    background: var(--lime);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
