:root {
  --blue: #1769e8;
  --sky: #16a3d9;
  --mint: #16a06f;
  --orange: #f1762f;
  --violet: #6d55d8;
  --pink: #d94f8d;
  --ink: #101426;
  --muted: #667085;
  --line: #e6ebf2;
  --soft: #f7f9fc;
  --paper: #ffffff;
  --shadow: 0 18px 50px rgba(22, 34, 64, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(20px, 3.4vw, 48px);
  border-bottom: 1px solid rgba(216, 226, 240, 0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(23, 44, 84, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px 0 8px;
  border-radius: 7px;
  color: #11172b;
  min-width: max-content;
  font-weight: 800;
  font-size: 19px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.brand:hover,
.brand.active {
  background: #f3f8ff;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(23, 105, 232, 0.16);
}

.brand span {
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
}

.nav-link,
.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3a445d;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.nav-button::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.55;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-group:hover .nav-button::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-link:hover,
.nav-button:hover {
  background: rgba(23, 105, 232, 0.07);
  color: var(--blue);
}

.nav-link.active,
.nav-button.active {
  color: var(--blue);
  font-weight: 800;
}

.nav-link.active::before,
.nav-button.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1769e8, #16a3d9);
  transform: translateX(-50%);
}

.nav-group {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(220, 228, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(20, 32, 62, 0.13);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 160ms ease;
}

.dropdown.wide {
  min-width: 230px;
}

.dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: #3b445c;
  font-size: 14px;
}

.dropdown a:hover,
.dropdown a.active {
  background: #f1f8ff;
  color: var(--blue);
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.icon-button.solid {
  background: linear-gradient(135deg, #1769e8 0%, #16a3d9 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 106, 254, 0.24);
}

.icon-button.ghost {
  border: 1px solid rgba(220, 228, 240, 0.92);
  background: rgba(255, 255, 255, 0.7);
  color: #263047;
}

.icon-button:hover {
  transform: translateY(-1px);
}

.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3a445d;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.chip-button:hover {
  background: rgba(23, 105, 232, 0.07);
  color: var(--blue);
}

.chip-button svg {
  display: block;
  flex: none;
}

#themeToggle .icon-sun {
  display: none;
}

html[data-theme="dark"] #themeToggle .icon-moon {
  display: none;
}

html[data-theme="dark"] #themeToggle .icon-sun {
  display: block;
}

.lang-switch {
  position: relative;
}

.lang-menu[hidden] {
  display: none !important;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  gap: 4px;
  min-width: 188px;
  padding: 8px;
  border: 1px solid rgba(220, 228, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(20, 32, 62, 0.13);
  backdrop-filter: blur(16px);
}

.lang-menu.open {
  display: grid;
}

.lang-menu button,
.lang-menu a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3b445c;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.lang-menu span {
  min-width: 0;
}

.lang-menu em {
  margin-left: auto;
  padding-left: 12px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

.lang-menu em:empty {
  display: none;
}

.lang-menu button:hover,
.lang-menu a:hover {
  background: #f1f8ff;
  color: var(--blue);
}

.lang-menu button.active,
.lang-menu a.active {
  background: #eef5ff;
  color: var(--blue);
  font-weight: 800;
}

.lang-menu button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.lang-menu button:disabled:hover {
  background: transparent;
  color: #3b445c;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(220, 228, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(23, 44, 84, 0.08);
  backdrop-filter: blur(16px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

#app {
  min-height: 72vh;
  outline: 0;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(226, 242, 255, 0.95), rgba(243, 252, 246, 0.94) 48%, rgba(255, 245, 236, 0.95)),
    #edf7f5;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.6;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  top: -140px;
  left: 10vw;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(23, 105, 232, 0.34), transparent 70%);
}

.glow-b {
  right: 26vw;
  bottom: -170px;
  width: 470px;
  height: 470px;
  background: radial-gradient(circle, rgba(22, 160, 111, 0.3), transparent 70%);
  animation-delay: 3s;
}

.glow-c {
  top: 60px;
  right: -130px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(109, 85, 216, 0.26), transparent 70%);
  animation-delay: 6s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(40px, 26px, 0) scale(1.08);
  }
}

.hero-stage {
  position: absolute;
  top: 0;
  right: 3vw;
  bottom: 0;
  width: min(900px, 60vw);
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(214, 224, 240, 0.95);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 34, 72, 0.18);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #f6f9fe;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e35f56;
}

.browser-bar i:nth-child(2) {
  background: #f0b429;
}

.browser-bar i:nth-child(3) {
  background: #34a866;
}

.browser-bar em {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.browser-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-admin {
  position: absolute;
  top: 128px;
  right: 0;
  width: min(660px, 86%);
}

.phone-frame {
  margin: 0;
  overflow: hidden;
  border: 6px solid #101626;
  border-radius: 34px;
  background: #101626;
  box-shadow: 0 30px 70px rgba(10, 22, 52, 0.3);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: #fff;
}

.hero-phone {
  position: absolute;
  aspect-ratio: 1290 / 2796;
}

.hero-phone.main {
  right: 470px;
  bottom: 42px;
  width: 252px;
  transform: rotate(-3deg);
}

.hero-phone.side {
  right: 56px;
  bottom: 96px;
  width: 206px;
  transform: rotate(3.5deg);
}

.phone-frame {
  position: relative;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 7px;
  border: 1px solid rgba(218, 228, 240, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(16, 34, 72, 0.16);
  color: #1d2438;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  animation: floaty 5.4s ease-in-out infinite;
}

.float-chip i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.float-chip i.blue {
  background: linear-gradient(135deg, #1769e8, #16a3d9);
}

.float-chip i.mint {
  background: linear-gradient(135deg, #16a06f, #3dbd84);
}

.float-chip i.violet {
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
}

.float-chip i.orange {
  background: linear-gradient(135deg, #f1762f, #f3a347);
}

.chip-a {
  top: 116px;
  left: 56px;
  animation-delay: 0.3s;
}

.chip-b {
  bottom: 64px;
  left: 444px;
  animation-delay: 1.6s;
}

.chip-c {
  top: 80px;
  right: 16px;
  animation-delay: 0.9s;
}

.chip-d {
  bottom: 138px;
  left: -16px;
  animation-delay: 2.2s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 24%, rgba(255, 255, 255, 0.42) 38%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 560px;
  padding: 130px 6vw 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 15px 6px 6px;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 105, 232, 0.1), rgba(22, 160, 111, 0.08));
  color: #1d3a6e;
  font-size: 13px;
  font-weight: 800;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1769e8, #16a3d9);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: #0b1020;
  font-size: 70px;
  line-height: 1.06;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero h1 .title-accent {
  display: flex;
  align-items: baseline;
  min-height: 1.3em;
  margin-top: 12px;
  font-size: 42px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.22;
}

.hero h1 .title-accent span {
  background: linear-gradient(120deg, #1769e8 0%, #16a06f 60%, #f1762f 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.type-caret {
  width: 4px;
  height: 0.92em;
  margin-left: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, #1769e8, #16a3d9);
  transform: translateY(0.12em);
  animation: caret-blink 1.05s steps(1) infinite;
}

@keyframes caret-blink {
  0%,
  55% {
    opacity: 1;
  }
  56%,
  100% {
    opacity: 0;
  }
}

.hero p.lead,
.page-hero p.lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: #344054;
  font-size: 19px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 480px;
  margin-top: 42px;
}

.hero-point {
  position: relative;
  min-height: 86px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hero-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 34, 72, 0.12);
}

.hero-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1769e8, #16a3d9);
}

.hero-point:nth-child(2)::before {
  background: linear-gradient(90deg, #16a06f, #3dbd84);
}

.hero-point:nth-child(3)::before {
  background: linear-gradient(90deg, #f1762f, #f3a347);
}

.hero-point:nth-child(4)::before {
  background: linear-gradient(90deg, #6d55d8, #9a71e8);
}

.hero-point strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.hero-point span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.shot-figure {
  position: relative;
  min-width: 0;
  margin: 0;
}

.shot-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shot-zoom:hover {
  transform: translateY(-4px);
}

.zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(13, 18, 33, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: 180ms ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.shot-zoom:hover .zoom-hint,
.shot-zoom:focus-visible .zoom-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mini-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff, #eff5fd);
}

.mini-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e35f56;
}

.mini-bar i:nth-child(2) {
  background: #f0b429;
}

.mini-bar i:nth-child(3) {
  background: #34a866;
}

.mini-bar em {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.shot-figure.phone {
  width: 196px;
}

.shot-figure.phone .shot-zoom {
  overflow: hidden;
  border: 6px solid #101626;
  border-radius: 30px;
  background: #101626;
  box-shadow: 0 18px 44px rgba(10, 22, 52, 0.18);
}

.shot-figure.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 22px;
  background: #fff;
}

.shot-figure.phone .shot-zoom::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
}

.shot-figure.wide {
  width: min(540px, 100%);
}

.shot-figure.poster {
  width: min(320px, 100%);
}

.shot-figure.wide .shot-zoom,
.shot-figure.poster .shot-zoom {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 34, 72, 0.1);
}

.shot-figure.wide img,
.shot-figure.poster img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.shot-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.shot-carousel {
  position: relative;
  width: calc(100% + 12vw);
  max-width: none;
  margin: 6px -6vw 0;
  padding: 0 3vw;
}

.carousel-track {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  padding: 26px 0 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: 224px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 240ms ease, opacity 240ms ease;
  will-change: transform, opacity;
}

.carousel-item .phone-frame {
  display: block;
  aspect-ratio: 1290 / 2796;
}

.carousel-item.active {
  cursor: zoom-in;
}

.carousel-item.active .phone-frame {
  box-shadow: 0 36px 80px rgba(10, 22, 52, 0.34);
}

.carousel-caption {
  min-height: 26px;
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(23, 105, 232, 0.18);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dots button.active {
  width: 26px;
  background: linear-gradient(90deg, #1769e8, #16a3d9);
}

@media (min-width: 941px) {
  .carousel-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

.admin-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 30px auto 0;
}

.admin-duo .shot-figure {
  width: 100%;
}

.feature-map-wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.feature-map-wrap .shot-figure {
  width: 100%;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1160px;
  margin: 22px auto 0;
}

.dev-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}

.code-win {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(20, 28, 50, 0.85);
  border-radius: 14px;
  background: #0b1020;
  box-shadow: 0 28px 64px rgba(10, 18, 40, 0.32);
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}

.code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e35f56;
}

.code-bar i:nth-child(2) {
  background: #f0b429;
}

.code-bar i:nth-child(3) {
  background: #34a866;
}

.code-bar em {
  margin-left: 8px;
  color: rgba(220, 232, 255, 0.55);
  font-size: 12px;
  font-style: normal;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.code-win pre {
  flex: 1;
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  color: #c9d6f2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.85;
}

.tk-cmd {
  color: #7fb0ff;
  font-weight: 700;
}

.tk-flag {
  color: #9a8cf2;
}

.tk-str {
  color: #5fd3a6;
}

.tk-comment {
  color: rgba(201, 214, 242, 0.42);
}

.api-rows {
  display: grid;
  gap: 10px;
  align-content: stretch;
}

.api-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.api-row:hover {
  transform: translateX(4px);
  border-color: rgba(23, 105, 232, 0.32);
  box-shadow: 0 14px 32px rgba(16, 34, 72, 0.1);
}

.api-row > svg {
  flex: none;
  color: #9aa7bd;
  transition: color 180ms ease, transform 180ms ease;
}

.api-row:hover > svg {
  color: var(--blue);
  transform: translateX(3px);
}

.api-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.api-chip.blue {
  background: rgba(23, 105, 232, 0.1);
  color: #1769e8;
}

.api-chip.mint {
  background: rgba(22, 160, 111, 0.12);
  color: #119468;
}

.api-chip.violet {
  background: rgba(109, 85, 216, 0.12);
  color: #6d55d8;
}

.api-chip.orange {
  background: rgba(241, 118, 47, 0.13);
  color: #e0661f;
}

.api-row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.api-row-text strong {
  color: var(--ink);
  font-size: 15px;
}

.api-row-text em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 12, 24, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(1240px, 96vw);
  margin: 0;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(1240px, 92vw);
  max-height: 82vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.stats-band {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  padding: 0 6vw;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 26px;
  border: 1px solid rgba(218, 228, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 64px rgba(16, 34, 72, 0.13);
  backdrop-filter: blur(14px);
}

.stat-item strong {
  display: block;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
}

.stat-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.grad-blue,
.grad-mint,
.grad-violet,
.grad-orange {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-blue {
  background-image: linear-gradient(120deg, #1769e8, #16a3d9);
}

.grad-mint {
  background-image: linear-gradient(120deg, #16a06f, #3dbd84);
}

.grad-violet {
  background-image: linear-gradient(120deg, #6d55d8, #9a71e8);
}

.grad-orange {
  background-image: linear-gradient(120deg, #f1762f, #f3a347);
}

.reveal {
  opacity: 0;
  translate: 0 22px;
}

.reveal.revealed {
  animation: rise 0.62s cubic-bezier(0.22, 0.68, 0.32, 1) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.section {
  padding: 88px 6vw;
}

.section.alt {
  background:
    radial-gradient(rgba(23, 105, 232, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f4f8ff 0%, #f6faf7 100%);
  background-size: 22px 22px, 100% 100%;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto 30px;
}

.section-header h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.step-card,
.api-card,
.doc-card,
.price-card,
.download-card,
.contact-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 34, 72, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover,
.step-card:hover,
.api-card:hover,
.doc-card:hover,
.price-card:hover,
.download-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 232, 0.26);
  box-shadow: 0 24px 52px rgba(16, 34, 72, 0.12);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.feature-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(16, 34, 72, 0.08);
}

.feature-card h3,
.step-card h3,
.api-card h3,
.doc-card h3,
.price-card h3,
.download-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.feature-card p,
.step-card p,
.api-card p,
.doc-card p,
.price-card p,
.download-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-card a,
.doc-card a,
.api-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 800;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 34, 72, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(16, 34, 72, 0.12);
}

.cap-card.tone-blue:hover {
  border-color: rgba(23, 105, 232, 0.35);
}

.cap-card.tone-mint:hover {
  border-color: rgba(22, 160, 111, 0.35);
}

.cap-card.tone-violet:hover {
  border-color: rgba(109, 85, 216, 0.35);
}

.cap-card.tone-orange:hover {
  border-color: rgba(241, 118, 47, 0.35);
}

.cap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cap-card img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 10px 20px rgba(16, 34, 72, 0.08);
  transition: transform 200ms ease;
}

.cap-card:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.cap-step {
  color: #dde6f3;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
}

.cap-card h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 19px;
}

.cap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-tags em {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--soft);
  color: #5b6780;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cap-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  color: #6b7690;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, gap 180ms ease;
}

.cap-card:hover .cap-more {
  gap: 11px;
}

.cap-card.tone-blue:hover .cap-more {
  color: var(--blue);
}

.cap-card.tone-mint:hover .cap-more {
  color: var(--mint);
}

.cap-card.tone-violet:hover .cap-more {
  color: var(--violet);
}

.cap-card.tone-orange:hover .cap-more {
  color: var(--orange);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  min-height: 176px;
  padding: 20px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1769e8, #16a3d9);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 105, 232, 0.28);
  font-weight: 900;
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, #16a06f, #3dbd84);
  box-shadow: 0 8px 18px rgba(22, 160, 111, 0.28);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, #f1762f, #f3a347);
  box-shadow: 0 8px 18px rgba(241, 118, 47, 0.28);
}

.step-card:nth-child(4) .step-number {
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
  box-shadow: 0 8px 18px rgba(109, 85, 216, 0.28);
}

.step-card:nth-child(5) .step-number {
  background: linear-gradient(135deg, #d94f8d, #ef7fb1);
  box-shadow: 0 8px 18px rgba(217, 79, 141, 0.28);
}

.band {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 105, 232, 0.22), rgba(22, 160, 111, 0.14)),
    #111b31;
  color: #fff;
}

.band::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -70px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 105, 232, 0.5), transparent 70%);
}

.band::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -70px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 160, 111, 0.38), transparent 70%);
}

.band > * {
  position: relative;
  z-index: 1;
}

.band h2 {
  margin: 0;
  font-size: 32px;
}

.band p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.band.small {
  padding: 28px;
}

.band.small h2 {
  font-size: 26px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 34, 72, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.sec-card::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.55;
  transition: opacity 200ms ease, transform 200ms ease;
}

.sec-card.tone-blue::after {
  background: radial-gradient(circle, rgba(23, 105, 232, 0.12), transparent 70%);
}

.sec-card.tone-mint::after {
  background: radial-gradient(circle, rgba(22, 160, 111, 0.12), transparent 70%);
}

.sec-card.tone-violet::after {
  background: radial-gradient(circle, rgba(109, 85, 216, 0.12), transparent 70%);
}

.sec-card.tone-orange::after {
  background: radial-gradient(circle, rgba(241, 118, 47, 0.12), transparent 70%);
}

.sec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(16, 34, 72, 0.12);
}

.sec-card:hover::after {
  opacity: 1;
  transform: scale(1.25);
}

.sec-card.tone-blue:hover {
  border-color: rgba(23, 105, 232, 0.34);
}

.sec-card.tone-mint:hover {
  border-color: rgba(22, 160, 111, 0.34);
}

.sec-card.tone-violet:hover {
  border-color: rgba(109, 85, 216, 0.34);
}

.sec-card.tone-orange:hover {
  border-color: rgba(241, 118, 47, 0.34);
}

.sec-glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
}

.tone-blue .sec-glyph {
  background: linear-gradient(135deg, #1769e8, #16a3d9);
  box-shadow: 0 8px 18px rgba(23, 105, 232, 0.26);
}

.tone-mint .sec-glyph {
  background: linear-gradient(135deg, #16a06f, #3dbd84);
  box-shadow: 0 8px 18px rgba(22, 160, 111, 0.26);
}

.tone-violet .sec-glyph {
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
  box-shadow: 0 8px 18px rgba(109, 85, 216, 0.26);
}

.tone-orange .sec-glyph {
  background: linear-gradient(135deg, #f1762f, #f3a347);
  box-shadow: 0 8px 18px rgba(241, 118, 47, 0.26);
}

.sec-card h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17.5px;
}

.sec-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #6b7690;
  font-size: 13.5px;
  font-weight: 800;
  transition: color 180ms ease, gap 180ms ease;
}

.sec-card:hover .sec-more {
  gap: 10px;
}

.sec-card.tone-blue:hover .sec-more {
  color: var(--blue);
}

.sec-card.tone-mint:hover .sec-more {
  color: var(--mint);
}

.sec-card.tone-violet:hover .sec-more {
  color: var(--violet);
}

.sec-card.tone-orange:hover .sec-more {
  color: var(--orange);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 34, 72, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(16, 34, 72, 0.12);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
}

.os-android .os-icon {
  background: linear-gradient(135deg, #16a06f, #3dbd84);
}

.os-ios .os-icon {
  background: linear-gradient(135deg, #1f2937, #4b5563);
}

.os-windows .os-icon {
  background: linear-gradient(135deg, #1769e8, #16a3d9);
}

.os-macos .os-icon {
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
}

.os-android:hover {
  border-color: rgba(22, 160, 111, 0.4);
}

.os-ios:hover {
  border-color: rgba(75, 85, 99, 0.5);
}

.os-windows:hover {
  border-color: rgba(23, 105, 232, 0.4);
}

.os-macos:hover {
  border-color: rgba(109, 85, 216, 0.4);
}

.platform-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.platform-head em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.platform-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.next-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.next-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.next-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 232, 0.3);
  box-shadow: 0 16px 36px rgba(16, 34, 72, 0.1);
}

.next-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.next-card strong {
  color: var(--ink);
  font-size: 16px;
}

.next-card.next {
  text-align: right;
}

.page-hero {
  position: relative;
  padding: 124px 5vw 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(238, 246, 255, 0.95), rgba(255, 250, 244, 0.95)),
    #f8fbff;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -90px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 105, 232, 0.16), transparent 70%);
  filter: blur(18px);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -190px;
  left: 30vw;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 160, 111, 0.12), transparent 70%);
  filter: blur(18px);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 800;
}

.lang-notice {
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(23, 105, 232, 0.22);
  border-radius: var(--radius);
  background: rgba(23, 105, 232, 0.07);
  color: #1d3a6e;
  font-size: 13.5px;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-top: 20px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #2a3c61;
  font-size: 13px;
  font-weight: 700;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.step-list li:hover {
  border-color: rgba(23, 105, 232, 0.28);
  box-shadow: 0 12px 28px rgba(16, 34, 72, 0.07);
}

.step-dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1769e8, #16a3d9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.step-list li:nth-child(2) .step-dot {
  background: linear-gradient(135deg, #16a06f, #3dbd84);
}

.step-list li:nth-child(3) .step-dot {
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
}

.step-list li:nth-child(4) .step-dot {
  background: linear-gradient(135deg, #f1762f, #f3a347);
}

.step-list li:nth-child(5) .step-dot {
  background: linear-gradient(135deg, #d94f8d, #ef7fb1);
}

.step-list li:nth-child(6) .step-dot {
  background: linear-gradient(135deg, #1769e8, #6d55d8);
}

.step-list strong {
  color: var(--ink);
  font-size: 15.5px;
}

.step-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 180ms ease;
}

.faq-item[open] {
  border-color: rgba(23, 105, 232, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--blue);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: #8a96ad;
}

.faq-icon::before {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  top: 2px;
  left: 8px;
  width: 2px;
  height: 14px;
  transition: transform 200ms ease;
}

.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
}

.faq-item > p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.85;
}

.page-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 44px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 5vw 90px;
}

.side-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.side-title {
  padding: 2px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.side-nav a:hover,
.side-nav a.active {
  background: #eef5ff;
  color: var(--blue);
}

.content-stack {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.content-block {
  min-width: 0;
}

.content-block h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.content-block h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.content-block p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
}

.pill-list,
.check-list,
.api-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li {
  position: relative;
  min-height: 48px;
  padding: 12px 12px 12px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344054;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.api-list li {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f4f7fb;
  color: #18233c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  align-items: center;
  word-break: break-all;
}

.code-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1020;
  color: #dce8ff;
}

.code-block pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  line-height: 1.7;
}

.code-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

th {
  background: #f8fafc;
  color: #18233c;
  font-size: 14px;
}

td {
  color: #475467;
  font-size: 14px;
}

.price-card {
  padding: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 34, 72, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(16, 34, 72, 0.13);
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.plan-card.free::before {
  background: linear-gradient(90deg, #1769e8, #16a3d9);
}

.plan-card.pro::before {
  background: linear-gradient(90deg, #16a06f, #3dbd84);
}

.plan-card.team::before {
  background: linear-gradient(90deg, #6d55d8, #9a71e8);
}

.plan-card.enterprise::before {
  background: linear-gradient(90deg, #f1762f, #f3a347);
}

.plan-tag {
  display: inline-flex;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.plan-card.free .plan-tag {
  background: #eef5ff;
  color: #1769e8;
}

.plan-card.pro .plan-tag {
  background: #e9faf2;
  color: #16a06f;
}

.plan-card.team .plan-tag {
  background: #f1edff;
  color: #6d55d8;
}

.plan-card.enterprise .plan-tag {
  background: #fff1e7;
  color: #f1762f;
}

.plan-card h3 {
  margin: 2px 0 0;
  font-size: 19px;
}

.plan-price {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
}

.plan-price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-specs {
  display: grid;
  gap: 8px;
  margin: 2px 0 10px;
  padding: 0;
  list-style: none;
}

.plan-specs li {
  position: relative;
  padding-left: 18px;
  color: #475467;
  font-size: 13.5px;
  line-height: 1.55;
}

.plan-specs li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.plan-card .icon-button {
  margin-top: auto;
}

.plan-card.recommended {
  border-color: rgba(109, 85, 216, 0.42);
  box-shadow: 0 18px 44px rgba(109, 85, 216, 0.16);
}

.pricing-section .section-header {
  align-items: end;
}

.source-price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 34px;
}

.source-price-strip.featured {
  margin-top: 8px;
}

.source-price-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 105, 232, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 105, 232, 0.1), rgba(22, 160, 111, 0.06)),
    var(--paper);
  box-shadow: 0 18px 46px rgba(16, 34, 72, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.source-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1769e8, #16a06f);
}

.source-price-card:nth-child(2)::before {
  background: linear-gradient(90deg, #16a06f, #6d55d8);
}

.source-price-card:nth-child(3)::before {
  background: linear-gradient(90deg, #6d55d8, #f1762f);
}

.source-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 232, 0.42);
  box-shadow: 0 26px 58px rgba(16, 34, 72, 0.14);
}

.source-price-card span {
  width: max-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
}

.source-price-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.source-price-card em {
  color: #0b1020;
  font-size: 46px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.source-price-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.source-contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 1240px;
  margin: -12px auto 34px;
  padding: 22px 24px;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 105, 232, 0.08), rgba(241, 118, 47, 0.06)),
    var(--paper);
  box-shadow: 0 16px 38px rgba(16, 34, 72, 0.08);
}

.source-contact-box .eyebrow {
  margin: 0 0 6px;
}

.source-contact-box h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.source-contact-box p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.source-contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.source-contact-item {
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 13px 16px;
  border: 1px solid rgba(218, 226, 238, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

.source-contact-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-contact-item strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

a.source-contact-item:hover {
  border-color: rgba(23, 105, 232, 0.42);
  box-shadow: 0 10px 24px rgba(23, 105, 232, 0.1);
}

.plan-feature-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 8px;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(218, 226, 238, 0.82);
}

.plan-feature-header .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.plan-feature-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

.plan-feature-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.plan-grid.compact .plan-card {
  padding: 22px 22px 20px;
}

.plan-grid.compact .plan-price {
  font-size: 30px;
}

.plan-ribbon {
  position: absolute;
  top: 16px;
  right: -32px;
  padding: 4px 38px;
  background: linear-gradient(135deg, #6d55d8, #9a71e8);
  box-shadow: 0 6px 14px rgba(109, 85, 216, 0.3);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(38deg);
}

.price-card .price {
  margin: 16px 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
}

.price-card .price small {
  color: var(--muted);
  font-size: 14px;
}

.download-card,
.contact-card,
.doc-card,
.api-card {
  padding: 22px;
}

.download-card .icon-shell {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #eef5ff;
}

.download-card .icon-shell img {
  width: 36px;
  height: 36px;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #fff7ed;
  color: #7c2d12;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(620px 260px at 88% 0%, rgba(23, 105, 232, 0.2), transparent 70%),
    radial-gradient(520px 240px at 6% 100%, rgba(22, 160, 111, 0.15), transparent 70%),
    #0e1629;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: 46px 6vw 30px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-brand em {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-style: normal;
}

.footer-col {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.footer-col strong {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  transition: color 150ms ease, transform 150ms ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 6vw;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

@media (max-width: 1380px) {
  .hero-phone.side,
  .chip-b {
    display: none;
  }

  .hero-stage {
    width: min(700px, 54vw);
  }

  .hero-admin {
    top: 150px;
    width: min(540px, 86%);
  }

  .hero-phone.main {
    right: 40px;
    bottom: 56px;
    width: 232px;
    transform: rotate(-2.5deg);
  }

  .chip-c {
    top: 96px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    padding-right: 12px;
  }

  .nav-link,
  .nav-button {
    padding: 0 9px;
  }

  .header-actions .ghost {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .hero-stage {
    width: min(600px, 50vw);
  }

  .hero-admin {
    width: min(480px, 88%);
  }

  .hero-phone.main {
    right: 28px;
    width: 206px;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    justify-content: start;
    gap: 10px;
    min-height: 60px;
    padding: 0 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    justify-self: start;
  }

  .menu-toggle {
    position: static;
    grid-column: 3;
    grid-row: 1;
    z-index: 2000;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    justify-self: end;
    background: #101426;
    border-color: rgba(16, 20, 38, 0.16);
  }

  .menu-toggle span {
    background: #fff;
  }

  .primary-nav {
    position: fixed;
    grid-column: 1 / -1;
    top: 68px;
    right: 12px;
    bottom: auto;
    left: 12px;
    display: none;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    align-content: start;
    justify-content: start;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(220, 228, 240, 0.92);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 50px rgba(22, 34, 64, 0.16);
    backdrop-filter: blur(18px);
  }

  .primary-nav.open {
    display: flex;
  }

  .nav-link,
  .nav-button {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
  }

  .nav-group {
    width: 100%;
  }

  .dropdown {
    position: static;
    display: grid;
    visibility: visible;
    min-width: 0;
    margin: 2px 0 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    background: #f7faff;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions .icon-button {
    display: none;
  }

  .hero-canvas {
    opacity: 0.28;
  }

  .hero-admin,
  .hero-phone.side,
  .float-chip {
    display: none;
  }

  .hero-stage {
    width: auto;
    right: 0;
  }

  .hero-phone.main {
    right: 26px;
    bottom: 64px;
    width: 216px;
  }

  .admin-duo {
    grid-template-columns: 1fr;
  }

  .dev-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 104px;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 14px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-band {
    margin-top: -30px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 56px;
  }

  .primary-nav {
    top: 62px;
  }

  .brand span {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-canvas {
    display: none;
  }

  .hero-scrim {
    background: #eef5ff;
  }

  .hero-content {
    max-width: 100vw;
  }

  .hero-content,
  .page-hero-inner {
    min-width: 0;
  }

  .hero-content > *,
  .page-hero-inner > * {
    max-width: calc(100vw - 40px);
  }

  .hero-content {
    width: 100%;
    padding: 84px 20px 52px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.14;
    word-break: break-all;
  }

  .hero h1 .title-accent {
    font-size: 23px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero p.lead,
  .page-hero p.lead {
    max-width: 100%;
    font-size: 16px;
    word-break: break-all;
  }

  .hero-actions .icon-button {
    width: 100%;
  }

  .hero-points,
  .grid.three,
  .grid.four,
  .grid.two,
  .workflow,
  .check-list,
  .side-nav {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .page-hero {
    padding: 112px 20px 36px;
  }

  .page-layout {
    padding: 28px 20px 58px;
  }

  .band {
    padding: 22px;
  }

  .band h2 {
    font-size: 26px;
  }

  .carousel-track {
    gap: 20px;
    padding: 18px calc(50% - 86px) 22px;
  }

  .carousel-item {
    width: 172px;
  }

  .stats-band {
    margin-top: -20px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shot-figure.wide,
  .shot-figure.poster {
    width: 100%;
  }

  .platform-grid,
  .next-nav {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
  }

  .footer-inner {
    padding: 24px 20px;
  }
}

html[data-theme="dark"] {
  --ink: #e9eefa;
  --muted: #98a5bd;
  --line: #243049;
  --soft: #101a2f;
  --paper: #151f38;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0b1326;
  color: var(--ink);
}

html[data-theme="dark"] .site-header {
  border-color: rgba(48, 62, 92, 0.7);
  background: rgba(15, 23, 42, 0.85);
}

html[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .brand {
  color: #edf2ff;
}

html[data-theme="dark"] .brand:hover,
html[data-theme="dark"] .brand.active {
  background: #18233f;
}

html[data-theme="dark"] .primary-nav {
  border-color: rgba(44, 58, 88, 0.85);
  background: rgba(17, 26, 46, 0.84);
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .nav-button {
  color: #c4cee4;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-button:hover {
  background: rgba(86, 140, 255, 0.12);
  color: #7fb0ff;
}

html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .nav-button.active {
  background: transparent;
  color: #7fb0ff;
}

html[data-theme="dark"] .dropdown,
html[data-theme="dark"] .lang-menu {
  border-color: rgba(48, 62, 92, 0.92);
  background: rgba(17, 26, 46, 0.98);
}

html[data-theme="dark"] .dropdown a,
html[data-theme="dark"] .lang-menu button,
html[data-theme="dark"] .lang-menu a {
  color: #c4cee4;
}

html[data-theme="dark"] .dropdown a:hover,
html[data-theme="dark"] .dropdown a.active,
html[data-theme="dark"] .lang-menu button:hover,
html[data-theme="dark"] .lang-menu button.active,
html[data-theme="dark"] .lang-menu a:hover,
html[data-theme="dark"] .lang-menu a.active {
  background: #1a2440;
  color: #7fb0ff;
}

html[data-theme="dark"] .lang-menu em {
  color: #8593ad;
}

html[data-theme="dark"] .lang-menu button:disabled:hover {
  background: transparent;
  color: #c4cee4;
}

html[data-theme="dark"] .icon-button.ghost {
  border-color: rgba(56, 70, 102, 0.92);
  background: rgba(20, 30, 52, 0.7);
  color: #d7e0f2;
}

html[data-theme="dark"] .chip-button {
  color: #c4cee4;
}

html[data-theme="dark"] .chip-button:hover {
  background: rgba(86, 140, 255, 0.12);
  color: #7fb0ff;
}

html[data-theme="dark"] .menu-toggle {
  border-color: rgba(56, 70, 102, 0.92);
  background: #1a2440;
}

html[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0d1730 0%, #0e1c33 48%, #14213a 100%);
}

html[data-theme="dark"] .hero-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
}

html[data-theme="dark"] .hero-scrim {
  background: linear-gradient(90deg, rgba(11, 19, 38, 0.97) 0%, rgba(11, 19, 38, 0.92) 24%, rgba(11, 19, 38, 0.42) 38%, rgba(11, 19, 38, 0) 50%);
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-hero h1 {
  color: #f2f6ff;
}

html[data-theme="dark"] .hero p.lead,
html[data-theme="dark"] .page-hero p.lead {
  color: #b6c2d9;
}

html[data-theme="dark"] .hero-badge {
  border-color: rgba(86, 140, 255, 0.3);
  background: linear-gradient(90deg, rgba(36, 74, 158, 0.32), rgba(20, 98, 74, 0.26));
  color: #bcd2f5;
}

html[data-theme="dark"] .hero-point {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(20, 30, 52, 0.8);
}

html[data-theme="dark"] .float-chip {
  border-color: rgba(56, 70, 102, 0.92);
  background: rgba(20, 30, 52, 0.94);
  color: #d7e0f2;
}

html[data-theme="dark"] .browser-frame {
  border-color: rgba(56, 70, 102, 0.95);
  background: #131c33;
}

html[data-theme="dark"] .browser-bar {
  border-bottom-color: var(--line);
  background: #18223c;
}

html[data-theme="dark"] .mini-bar {
  border-bottom-color: var(--line);
  background: linear-gradient(180deg, #18223c, #141d35);
}

html[data-theme="dark"] .stats-inner {
  border-color: rgba(48, 62, 92, 0.92);
  background: rgba(17, 26, 46, 0.94);
}

html[data-theme="dark"] .section.alt {
  background:
    radial-gradient(rgba(86, 140, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #0e1830 0%, #0f1b2f 100%);
  background-size: 22px 22px, 100% 100%;
}

html[data-theme="dark"] .eyebrow {
  color: #7fb0ff;
}

html[data-theme="dark"] .feature-card a,
html[data-theme="dark"] .doc-card a,
html[data-theme="dark"] .api-card a,
html[data-theme="dark"] .breadcrumb a {
  color: #7fb0ff;
}

html[data-theme="dark"] .pill-list li,
html[data-theme="dark"] .check-list li {
  border-color: var(--line);
  background: #151f38;
  color: #c8d2e8;
}

html[data-theme="dark"] .api-list li {
  background: #18223c;
  color: #cdd9ee;
}

html[data-theme="dark"] .side-nav {
  border-color: var(--line);
  background: #131c33;
}

html[data-theme="dark"] .side-nav a {
  color: #c4cee4;
}

html[data-theme="dark"] .side-nav a:hover,
html[data-theme="dark"] .side-nav a.active {
  background: #1a2440;
  color: #7fb0ff;
}

html[data-theme="dark"] .table-wrap {
  border-color: var(--line);
  background: #131c33;
}

html[data-theme="dark"] th {
  background: #18223c;
  color: #dbe4f6;
}

html[data-theme="dark"] td {
  color: #a9b6cf;
}

html[data-theme="dark"] .notice {
  border-left-color: #f1762f;
  background: rgba(241, 118, 47, 0.12);
  color: #f3b58c;
}

html[data-theme="dark"] .page-hero {
  background: linear-gradient(90deg, rgba(15, 25, 48, 0.96), rgba(20, 26, 44, 0.96)), #0d1528;
}

html[data-theme="dark"] .lang-notice {
  border-color: rgba(86, 140, 255, 0.3);
  background: rgba(36, 74, 158, 0.18);
  color: #bcd2f5;
}

html[data-theme="dark"] .hero-tags span {
  border-color: rgba(86, 140, 255, 0.24);
  background: rgba(20, 30, 52, 0.8);
  color: #bcd2f5;
}

html[data-theme="dark"] .faq-icon::before,
html[data-theme="dark"] .faq-icon::after {
  background: #7c8aa6;
}

html[data-theme="dark"] .shot-figure.wide .shot-zoom,
html[data-theme="dark"] .shot-figure.poster .shot-zoom {
  border-color: var(--line);
  background: #131c33;
}

html[data-theme="dark"] .plan-card.free .plan-tag {
  background: rgba(23, 105, 232, 0.18);
  color: #7fb0ff;
}

html[data-theme="dark"] .plan-card.pro .plan-tag {
  background: rgba(22, 160, 111, 0.18);
  color: #5fd3a6;
}

html[data-theme="dark"] .plan-card.team .plan-tag {
  background: rgba(109, 85, 216, 0.22);
  color: #b39bf2;
}

html[data-theme="dark"] .plan-card.enterprise .plan-tag {
  background: rgba(241, 118, 47, 0.18);
  color: #f3a06a;
}

html[data-theme="dark"] .plan-specs li {
  color: #b3bfd6;
}

html[data-theme="dark"] .source-price-card {
  border-color: rgba(86, 140, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(86, 140, 255, 0.12), rgba(61, 189, 132, 0.08)),
    var(--paper);
}

html[data-theme="dark"] .source-price-card span {
  background: rgba(86, 140, 255, 0.16);
  color: #7fb0ff;
}

html[data-theme="dark"] .source-price-card em {
  color: #f2f6ff;
}

html[data-theme="dark"] .source-contact-box {
  border-color: rgba(86, 140, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(86, 140, 255, 0.12), rgba(241, 118, 47, 0.08)),
    var(--paper);
}

html[data-theme="dark"] .source-contact-item {
  border-color: rgba(48, 62, 92, 0.92);
  background: rgba(20, 30, 52, 0.78);
}

html[data-theme="dark"] .source-contact-item strong {
  color: #f2f6ff;
}

html[data-theme="dark"] .plan-feature-header {
  border-top-color: rgba(48, 62, 92, 0.92);
}

html[data-theme="dark"] .step-card p,
html[data-theme="dark"] .feature-card p {
  color: var(--muted);
}

html[data-theme="dark"] .cap-step {
  color: #2a3858;
}

html[data-theme="dark"] .cap-tags em {
  background: #1a2440;
  color: #aab8d4;
}

html[data-theme="dark"] .cap-more {
  color: #8fa0c0;
}

html[data-theme="dark"] .sec-more {
  color: #8fa0c0;
}

html[data-theme="dark"] .api-chip.blue {
  background: rgba(86, 140, 255, 0.16);
  color: #7fb0ff;
}

html[data-theme="dark"] .api-chip.mint {
  background: rgba(61, 189, 132, 0.16);
  color: #5fd3a6;
}

html[data-theme="dark"] .api-chip.violet {
  background: rgba(154, 113, 232, 0.18);
  color: #b39bf2;
}

html[data-theme="dark"] .api-chip.orange {
  background: rgba(243, 163, 71, 0.16);
  color: #f3a06a;
}

html[data-theme="dark"] .code-win {
  border-color: rgba(46, 60, 92, 0.8);
}

html[data-theme="dark"] .carousel-dots button {
  background: rgba(127, 176, 255, 0.22);
}

html[data-theme="dark"] .carousel-dots button.active {
  background: linear-gradient(90deg, #1769e8, #16a3d9);
}

@media (max-width: 640px) {
  body {
    background: #f7f9fc;
  }

  .site-header {
    min-height: 58px;
    padding: 0 12px;
    border-bottom-color: rgba(218, 228, 240, 0.78);
  }

  .brand {
    min-height: 44px;
    gap: 8px;
    padding: 0;
  }

  .brand img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .brand span {
    font-size: 17px;
  }

  .header-actions {
    gap: 4px;
  }

  .chip-button {
    min-width: 38px;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 7px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    box-shadow: none;
  }

  .primary-nav {
    top: 64px;
    right: 10px;
    left: 10px;
    gap: 5px;
    max-height: calc(100dvh - 82px);
    padding: 10px;
    border-radius: 8px;
  }

  .nav-link,
  .nav-button {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 14px;
  }

  .dropdown {
    margin-bottom: 6px;
    padding: 6px;
    border-radius: 7px;
  }

  .dropdown a {
    min-height: 36px;
    font-size: 13.5px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, #f8fbff 0%, #eef7ff 45%, #f7faf7 100%),
      #f8fbff;
  }

  .hero-canvas {
    display: none !important;
  }

  .hero-grid,
  .glow,
  .hero-admin,
  .hero-phone.side,
  .float-chip {
    display: none;
  }

  .hero-stage {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 330px;
  }

  .hero-phone.main {
    right: 50%;
    bottom: 24px;
    width: min(188px, 49vw);
    transform: translateX(50%) rotate(-2deg);
  }

  .phone-frame {
    border-width: 5px;
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(12, 28, 62, 0.26);
  }

  .phone-frame img {
    border-radius: 22px;
  }

  .phone-frame::after {
    border-radius: 22px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.92) 49%, rgba(248, 251, 255, 0) 70%),
      linear-gradient(90deg, rgba(23, 105, 232, 0.08), rgba(22, 160, 111, 0.06));
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 82px 18px 48px;
  }

  .hero-content > *,
  .page-hero-inner > * {
    max-width: none;
  }

  .hero-badge {
    max-width: 100%;
    margin-bottom: 14px;
    padding: 5px 10px 5px 5px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero h1 .title-accent {
    min-height: 2.4em;
    margin-top: 10px;
    font-size: 24px;
    line-height: 1.24;
  }

  .type-caret {
    width: 3px;
  }

  .hero p.lead,
  .page-hero p.lead {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.68;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
  }

  .hero-actions .icon-button:first-child {
    grid-column: 1 / -1;
  }

  .hero-actions .icon-button {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 13.5px;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    margin-top: 18px;
  }

  .hero-point {
    z-index: 2;
    min-height: 64px;
    padding: 11px 11px 10px;
    border-color: rgba(218, 228, 240, 0.85);
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-point strong {
    font-size: 18px;
  }

  .hero-point span {
    margin-top: 5px;
    font-size: 12px;
  }

  .stats-band {
    margin-top: -44px;
    padding: 0 14px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(16, 34, 72, 0.12);
  }

  .stat-item {
    min-width: 0;
  }

  .stat-item strong {
    font-size: 20px;
  }

  .stat-item span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  .section {
    padding: 48px 18px;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 12.5px;
  }

  .section-header h2 {
    font-size: 25px;
    line-height: 1.22;
  }

  .section-header p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
  }

  .grid {
    gap: 12px;
  }

  .cap-card {
    gap: 10px;
    padding: 17px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(16, 34, 72, 0.055);
  }

  .cap-head {
    align-items: center;
  }

  .cap-card img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .cap-step {
    font-size: 24px;
  }

  .cap-card h3 {
    font-size: 18px;
  }

  .cap-card p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .cap-tags em {
    padding: 3px 8px;
    font-size: 11.5px;
  }

  .shot-carousel {
    margin-top: 0;
    padding: 0;
  }

  .carousel-track {
    justify-content: flex-start;
    gap: 18px;
    padding: 14px calc(50% - 92px) 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }

  .carousel-item {
    width: 184px;
  }

  .carousel-caption {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .admin-duo {
    gap: 14px;
    margin-top: 22px;
  }

  .workflow {
    gap: 10px;
  }

  .step-card {
    min-height: 0;
    padding: 16px;
    border-radius: 8px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .plan-card {
    gap: 8px;
    padding: 19px 17px 17px;
    border-radius: 8px;
  }

  .source-price-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 10px auto 24px;
  }

  .source-price-card {
    gap: 8px;
    min-height: auto;
    padding: 20px 17px;
    border-radius: 8px;
  }

  .source-price-card strong {
    font-size: 19px;
  }

  .source-price-card em {
    font-size: 34px;
  }

  .source-contact-box {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: -8px auto 24px;
    padding: 18px 16px;
  }

  .source-contact-box h3 {
    font-size: 21px;
  }

  .source-contact-list {
    justify-content: stretch;
  }

  .source-contact-item {
    flex: 1 1 100%;
    min-width: 0;
    padding: 12px 14px;
  }

  .source-contact-item strong {
    font-size: 18px;
  }

  .plan-feature-header {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
    padding-top: 16px;
  }

  .plan-feature-header h3 {
    font-size: 23px;
  }

  .plan-feature-header p:last-child {
    font-size: 14px;
    line-height: 1.7;
  }

  .plan-price {
    font-size: 30px;
  }

  .plan-ribbon {
    top: 14px;
    right: -34px;
  }

  .band {
    padding: 22px 18px;
    border-radius: 8px;
  }

  .band h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .band p {
    font-size: 14px;
    line-height: 1.75;
  }

  .band-actions,
  .map-actions,
  .page-links,
  .platform-actions {
    gap: 9px;
  }

  .band-actions .icon-button,
  .map-actions .icon-button,
  .page-links .icon-button,
  .platform-actions .icon-button {
    width: 100%;
  }

  .dev-panel {
    gap: 14px;
  }

  .code-win pre {
    padding: 14px;
  }

  .api-row {
    gap: 10px;
    min-height: 76px;
    padding: 12px;
    border-radius: 8px;
  }

  .api-chip {
    width: 48px;
    min-height: 28px;
    font-size: 11px;
  }

  .api-row-text strong {
    font-size: 14px;
  }

  .api-row-text em {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .page-hero {
    padding: 88px 18px 32px;
  }

  .page-layout {
    padding: 24px 18px 48px;
  }

  .side-nav {
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
  }

  .side-title {
    padding: 8px 10px;
  }

  .content-block {
    padding: 18px;
    border-radius: 8px;
  }

  .content-block h2 {
    font-size: 21px;
  }

  .sec-card,
  .platform-card {
    padding: 17px;
    border-radius: 8px;
  }

  .footer-inner {
    padding: 26px 18px 22px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 16px;
  }

  .chip-button span {
    display: none;
  }

  .hero {
    min-height: 788px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero h1 .title-accent {
    font-size: 22px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .icon-button:first-child {
    grid-column: auto;
  }

  .stats-inner,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .carousel-item {
    width: 172px;
  }

  .carousel-track {
    padding-right: calc(50% - 86px);
    padding-left: calc(50% - 86px);
  }
}

@media (max-width: 640px) {
  html[data-theme="dark"] body {
    background: #0b1326;
  }

  html[data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, #0d1730 0%, #101c33 52%, #0e1a2f 100%),
      #0d1730;
  }

  html[data-theme="dark"] .hero-scrim {
    background:
      linear-gradient(180deg, rgba(13, 23, 48, 0.98) 0%, rgba(13, 23, 48, 0.92) 49%, rgba(13, 23, 48, 0) 70%),
      linear-gradient(90deg, rgba(86, 140, 255, 0.09), rgba(61, 189, 132, 0.05));
  }

  html[data-theme="dark"] .hero-point,
  html[data-theme="dark"] .stats-inner {
    border-color: rgba(48, 62, 92, 0.92);
    background: rgba(17, 26, 46, 0.9);
  }

  html[data-theme="dark"] .hero-badge {
    border-color: rgba(86, 140, 255, 0.28);
    background: rgba(36, 74, 158, 0.22);
  }

  html[data-theme="dark"] .primary-nav {
    background: rgba(17, 26, 46, 0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glow,
  .float-chip {
    animation: none;
  }

  .shot-zoom,
  .feature-card,
  .step-card,
  .api-card,
  .doc-card,
  .price-card,
  .download-card,
  .contact-card,
  .hero-point,
  .icon-button {
    transition: none;
  }
}
