:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --ink: #102033;
  --muted: #5d6b7d;
  --line: #dbe4ee;
  --primary: #1769ff;
  --primary-strong: #0e47bf;
  --teal: #13a88b;
  --amber: #f2a01f;
  --coral: #e75645;
  --shadow: 0 20px 60px rgba(20, 39, 74, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 80px;
  padding: 0 max(40px, calc((100vw - 1520px) / 2));
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 226px;
  height: 48px;
}

.brand img {
  display: block;
  width: 226px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #151d2d;
  font-size: 15px;
}

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

.language-switcher {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.language-switcher.open .language-menu {
  display: block;
}

.language-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
}

.language-menu a:hover,
.language-menu a.active {
  background: #edf5ff;
  color: var(--primary);
}

.ghost-link {
  color: var(--primary);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 778px;
  padding: 0 24px 128px;
  overflow: hidden;
  background: #eaf4ff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 660px 480px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 64px;
}

.award-row,
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.award-row {
  margin-bottom: 52px;
}

.award-row img {
  display: block;
  height: 20px;
  width: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: #030a16;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: #00264d;
  font-size: 20px;
  line-height: 1.55;
}

.hero-checks {
  display: grid;
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  position: relative;
  width: 100%;
  padding-left: 28px;
  color: #07162a;
  font-weight: 500;
}

.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.hero-actions,
.price-card .btn,
.checkout-form .btn {
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 105, 255, 0.2);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 42px;
}

.hero-actions .btn {
  min-width: 160px;
  min-height: 44px;
  border-radius: 5px;
  font-size: 16px;
}

.icon-cart,
.icon-code,
.icon-message {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.icon-cart::before {
  content: "";
  position: absolute;
  inset: 3px 2px 6px;
  border: 2px solid currentColor;
  border-top: 0;
}

.icon-cart::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -8px 0 0 -1px currentColor;
}

.icon-code::before {
  content: "</>";
  font-size: 15px;
  font-weight: 900;
  line-height: 18px;
}

.icon-message::before {
  content: "";
  position: absolute;
  inset: 3px 1px 5px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.icon-message::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-18deg);
}

.hero-stats {
  position: absolute;
  left: 50%;
  bottom: 53px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1200px, calc(100% - 48px));
  min-height: 112px;
  margin: 0;
  padding: 0 54px;
  border-radius: 8px;
  background: #fff;
  transform: translateX(-50%);
}

.hero-stats div {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-content: center;
  padding: 0 20px;
}

.hero-stats dt {
  align-self: end;
  color: #050d19;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stat-icon {
  display: block;
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hero-media {
  display: flex;
  justify-content: center;
  padding-top: 130px;
}

.hero-media img {
  display: block;
  width: min(465px, 100%);
  border-radius: 0;
  filter: none;
  box-shadow: none;
}

.product-section {
  background: #fff;
}

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

.product-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
}

.product-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(219, 228, 238, 0.65) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 228, 238, 0.65) 1px, transparent 1px),
    linear-gradient(145deg, #eef6ff, #effdf9);
  background-size: 42px 42px, 42px 42px, auto;
}

.product-visual span {
  position: absolute;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(23, 105, 255, 0.12);
}

.product-visual span:nth-child(1) { left: 28px; top: 44px; }
.product-visual span:nth-child(2) { right: 34px; top: 64px; background: var(--teal); }
.product-visual span:nth-child(3) { left: 72px; bottom: 36px; background: var(--amber); }
.product-visual span:nth-child(4) { right: 64px; bottom: 48px; }

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 50px;
  top: 50%;
  height: 2px;
  background: rgba(23, 105, 255, 0.22);
  transform: rotate(-18deg);
}

.product-visual::after {
  transform: rotate(22deg);
}

.coverage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.coverage-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.coverage-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 35%, rgba(23, 105, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 55%, rgba(19, 168, 139, 0.18), transparent 24%),
    linear-gradient(145deg, #f8fbff, #eefaf7);
  box-shadow: var(--shadow);
}

.map-point {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(219, 228, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(23, 45, 82, 0.1);
}

.map-point strong {
  color: var(--primary);
}

.map-point span {
  color: var(--muted);
  font-size: 12px;
}

.map-point.us { left: 12%; top: 22%; }
.map-point.uk { left: 44%; top: 12%; }
.map-point.br { left: 30%; bottom: 18%; }
.map-point.au { right: 10%; bottom: 18%; }
.map-point.fr { right: 18%; top: 35%; }

.map-line {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 2px;
  background: rgba(23, 105, 255, 0.18);
  transform-origin: center;
}

.map-line.one { top: 44%; transform: rotate(11deg); }
.map-line.two { top: 54%; transform: rotate(-15deg); }
.map-line.three { top: 62%; transform: rotate(26deg); }

.case-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.usecase-grid article a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
}

.code-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: center;
  padding: 88px 6vw;
  background: #102033;
  color: #fff;
}

.code-section .eyebrow,
.code-section p {
  color: #b9d8ff;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  position: relative;
  padding-left: 24px;
  color: #eaf2ff;
}

.feature-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.code-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #0b1728;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.code-tabs {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.08);
}

.code-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #cbd8ea;
  cursor: pointer;
}

.code-tabs button.active {
  background: #fff;
  color: var(--primary);
  font-weight: 900;
}

.code-card pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #d8e8ff;
  line-height: 1.7;
}

.tiktok-section {
  padding: 88px 6vw;
  background:
    linear-gradient(135deg, rgba(231, 86, 69, 0.1), transparent 28%),
    linear-gradient(45deg, rgba(23, 105, 255, 0.1), transparent 34%),
    #fff;
}

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

.scenario-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.scenario-grid h3 {
  margin: 0 0 10px;
}

.scenario-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.payment-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(23, 105, 255, 0.2);
  border-radius: 8px;
  background: #edf5ff;
}

.payment-note span {
  color: var(--muted);
}

.partner-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: center;
  padding: 88px 6vw;
  background: #f8fbff;
}

.partner-section p {
  color: var(--muted);
  line-height: 1.8;
}

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

.partner-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 45, 82, 0.06);
}

.partner-grid h3 {
  margin: 0 0 12px;
}

.partner-grid a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 auto;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 24px 32px;
  background: #fff;
}

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

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 6vw;
}

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

.section-heading h2,
.coverage-copy h2,
.integration-section h2,
.order-section h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.coverage-copy p,
.integration-section p,
.order-section p {
  color: var(--muted);
  line-height: 1.8;
}

.product-grid,
.price-grid,
.usecase-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card,
.price-card,
.usecase-grid article,
.guide-grid article,
.checkout-form,
.coverage-panel,
.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 45, 82, 0.06);
}

.product-card,
.usecase-grid article,
.guide-grid article {
  padding: 28px;
}

.product-card h3,
.price-card h3,
.usecase-grid h3,
.guide-grid h3 {
  margin: 16px 0 10px;
  font-size: 21px;
}

.product-card p,
.price-card p,
.usecase-grid p,
.guide-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.product-card ul,
.price-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li,
.price-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 22px;
  color: #36475d;
}

.product-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.product-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 800;
}

.product-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
}

.product-icon::before {
  color: var(--primary);
  font-weight: 900;
}

.product-icon.network::before {
  content: "IP";
}

.product-icon.shield::before {
  content: "ISP";
}

.product-icon.api::before {
  content: "API";
}

.coverage-section,
.integration-section,
.order-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 88px 6vw;
  background: #fff;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-list span,
.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #44576f;
  font-size: 13px;
}

.coverage-panel {
  padding: 28px;
  background: #f8fbff;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: var(--muted);
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8f7;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--primary));
}

.price-section {
  background: var(--bg);
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(23, 105, 255, 0.45);
  box-shadow: 0 20px 44px rgba(23, 105, 255, 0.14);
}

.price-card.selected {
  outline: 3px solid rgba(19, 168, 139, 0.24);
}

.price-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.plan-category {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.price-line {
  margin-top: 18px;
}

.price-line strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.price-line span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.order-section {
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f4 100%);
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #344258;
  font-weight: 700;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.selected-plan,
.terms,
.submit-btn,
.form-message {
  grid-column: 1 / -1;
}

.selected-plan {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #edf5ff;
}

.selected-plan span {
  color: var(--primary);
  font-weight: 800;
}

.terms {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.terms input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--coral);
}

.usecase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-section {
  background: #102033;
  color: #fff;
}

.integration-section .eyebrow,
.integration-section p {
  color: #b9d8ff;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-list li::before {
  content: counter(step);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list span {
  margin-top: 4px;
  color: #cbd8ea;
}

.guide-section {
  background: #fff;
}

.guide-grid article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.result-section {
  padding: 80px 6vw;
}

.result-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
}

.order-details {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.order-details div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

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

.order-details dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 36px;
  padding: 54px 6vw 32px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.floating-rail {
  position: fixed;
  right: 30px;
  top: 55%;
  z-index: 18;
  display: grid;
  gap: 16px;
}

.floating-rail a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 45, 82, 0.12);
}

.floating-rail .rail-primary {
  background: var(--primary);
  color: #fff;
}

.floating-rail span {
  position: relative;
  width: 28px;
  height: 28px;
  color: currentColor;
}

.support-card {
  position: fixed;
  top: 57%;
  right: 104px;
  z-index: 17;
  width: 220px;
  padding: 34px 22px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(22, 40, 72, 0.16);
}

.support-card::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 144px;
  width: 18px;
  height: 18px;
  background: #fff;
  transform: rotate(45deg);
}

.support-card button {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #99a8bd;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.support-card p {
  margin: 8px 0 16px;
  color: #111827;
  font-size: 14px;
  text-align: center;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.qr-code {
  display: block;
  width: 102px;
  height: 102px;
  margin: 0 auto;
  background: #fff;
  image-rendering: pixelated;
}

.rail-bell::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 16px;
  height: 18px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 14px 14px 4px 4px;
}

.rail-bell::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 8px 5px 0 -5px currentColor;
}

.rail-mail::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.rail-mail::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.rail-headset::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 22px;
  height: 18px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.rail-headset::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 4px;
  width: 20px;
  height: 14px;
  border-left: 5px solid currentColor;
  border-right: 5px solid currentColor;
  border-radius: 4px;
}

.rail-chat::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.rail-chat::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 3px;
  width: 11px;
  height: 9px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skew(-18deg);
}

.footer-brand p,
.legal {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.footer-columns h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.footer-columns a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
    padding: 0 20px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    right: 20px;
    left: 20px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .coverage-section,
  .integration-section,
  .order-section,
  .code-section,
  .partner-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 46px 22px 54px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 760px;
    padding-top: 0;
  }

  .hero-media {
    order: -1;
    padding-top: 0;
  }

  .hero-stats {
    position: static;
    width: 100%;
    min-height: auto;
    margin: 36px auto 0;
    padding: 8px 14px;
    transform: none;
  }

  .hero-stats div {
    padding: 18px 12px;
  }

  .support-card {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 38px;
  }

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

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

  .hero-stats,
  .trust-strip,
  .product-grid,
  .price-grid,
  .usecase-grid,
  .guide-grid,
  .checkout-form,
  .scenario-grid,
  .partner-grid,
  .product-grid.two,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .product-wide {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 180px;
  }

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

  .trust-strip div {
    padding: 20px 24px;
  }

  .section,
  .coverage-section,
  .integration-section,
  .order-section,
  .code-section,
  .tiktok-section,
  .partner-section {
    padding: 64px 22px;
  }

  .section-heading h2,
  .coverage-copy h2,
  .integration-section h2,
  .order-section h2 {
    font-size: 30px;
  }

  .selected-plan {
    display: grid;
  }

  .map-card {
    min-height: 360px;
  }

  .map-point {
    min-width: 104px;
    padding: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 42px 22px 28px;
  }

  .floating-rail {
    right: 14px;
    top: auto;
    bottom: 18px;
    gap: 10px;
  }

  .floating-rail a {
    width: 48px;
    height: 48px;
  }

  .floating-rail a:not(.rail-primary) {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

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

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

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

  .section-heading {
    text-align: left;
  }

  .hero-stats dt {
    font-size: 24px;
  }

  .code-card pre {
    font-size: 12px;
  }
}
