:root {
  --ink: #0d1b2d;
  --ink-soft: #263a51;
  --muted: #657589;
  --quiet: #8a98a9;
  --paper: #fbfdff;
  --panel: rgba(255, 255, 255, 0.88);
  --line: #dbe7f2;
  --line-strong: #c6d6e5;
  --blue: #1777c9;
  --blue-deep: #0e3f69;
  --cyan: #18b8c8;
  --violet: #7568d8;
  --orange: #d98620;
  --green: #1b9d6b;
  --red: #cb5a4b;
  --shadow: 0 20px 54px rgba(18, 58, 101, 0.1);
  --shadow-soft: 0 12px 30px rgba(18, 58, 101, 0.07);
  --radius: 22px;
  font-family:
    "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -10%, rgba(24, 184, 200, 0.16), transparent 34rem),
    radial-gradient(circle at 8% 18%, rgba(117, 104, 216, 0.09), transparent 28rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 38%, #f6fbff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 74, 124, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 74, 124, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: gridMove 42s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.2)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

body.pricing-page main {
  padding-top: 116px;
}

body.pricing-page .header-area {
  background: rgba(255, 255, 255, 0.96);
}

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 231, 242, 0);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: rgba(198, 214, 229, 0.72);
  background: rgba(249, 253, 255, 0.78);
  box-shadow: 0 14px 32px rgba(18, 58, 101, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 12px;
  white-space: nowrap;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.version-chip,
.nav-chip,
.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #344b64;
  font-size: 13px;
  white-space: nowrap;
}

.nav-chip:hover,
.version-chip:hover {
  border-color: rgba(38, 127, 209, 0.28);
  color: var(--blue);
}

.contact-chip {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(23, 119, 201, 0.2);
}

.use-chip {
  background: #123a65;
  box-shadow: 0 12px 24px rgba(18, 58, 101, 0.18);
}

body.pricing-page > main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 58px 0 34px;
  animation: fadeUp 0.6s ease both;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(198, 214, 229, 0.78);
  border-radius: 34px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 44%, rgba(237, 250, 252, 0.82) 100%),
    linear-gradient(135deg, rgba(24, 184, 200, 0.12), rgba(117, 104, 216, 0.08));
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.intro-grid::before {
  content: "";
  position: absolute;
  inset: 18px 24px auto auto;
  width: 230px;
  height: 230px;
  background: url("../logo-v3.png") center / contain no-repeat;
  opacity: 0.05;
  transform: rotate(-10deg);
}

.intro-grid::after {
  content: "";
  position: absolute;
  inset: auto -80px 42px 44%;
  height: 120px;
  transform: skewX(-18deg);
  border: 1px solid rgba(24, 184, 200, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.intro-copy {
  position: relative;
  z-index: 1;
  padding: 8px 0 8px 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(23, 119, 201, 0.16);
  border-radius: 999px;
  color: #17679f;
  background: rgba(24, 184, 200, 0.07);
  font-size: 13px;
  font-weight: 680;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(24, 184, 200, 0.12);
}

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

h1 {
  margin-top: 18px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.86;
}

.intro-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.note-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3f566e;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.count-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  align-self: center;
  min-height: 260px;
  padding: 30px 28px;
  border: 1px solid rgba(24, 184, 200, 0.24);
  border-radius: 0 28px 28px 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(229, 248, 252, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 28px);
}

.count-panel::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(24, 184, 200, 0.28);
  border-radius: 50%;
}

.count-label {
  color: #17679f;
  font-size: 14px;
  font-weight: 760;
}

.count-number {
  margin-top: 16px;
  color: #071827;
  font-size: 74px;
  line-height: 0.9;
  font-weight: 820;
}

.count-number span {
  color: var(--cyan);
  font-size: 48px;
}

.count-panel p {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.74;
}

.custom-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(24, 184, 200, 0.24);
  border-radius: 20px;
  background: rgba(24, 184, 200, 0.07);
}

.custom-panel b {
  display: block;
  color: #0f5f88;
  font-size: 15px;
}

.custom-panel p {
  margin-top: 8px;
  color: #426077;
  font-size: 13px;
  line-height: 1.66;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.section-title {
  min-width: 0;
}

.section-kicker {
  margin-bottom: 10px;
  color: #176da8;
  font-size: 13px;
  font-weight: 780;
}

h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.head-note {
  position: relative;
  max-width: 470px;
  padding: 18px 22px 20px;
  border: 1px solid rgba(199, 216, 232, 0.82);
  background:
    radial-gradient(circle at 100% 0, rgba(24, 184, 200, 0.14), transparent 160px),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 18px);
}

.head-note span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #17679f;
  background: rgba(24, 184, 200, 0.1);
  font-size: 12px;
  font-weight: 760;
}

.head-note strong {
  display: block;
  margin-top: 10px;
  color: #173855;
  font-size: 17px;
  line-height: 1.5;
}

.head-note p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.pricing-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.98fr) minmax(0, 0.92fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  min-height: auto;
  padding: 36px 0 30px;
  isolation: isolate;
}

.pricing-board::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 76px -18px 50px -18px;
  border: 1px solid rgba(23, 119, 201, 0.12);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.62), rgba(24, 184, 200, 0.07)),
    repeating-linear-gradient(90deg, rgba(23, 119, 201, 0.055) 0 1px, transparent 1px 42px);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.plan-card {
  position: relative;
  isolation: isolate;
  --mx: 50%;
  --my: 35%;
  --tear: 0px;
  --tear-progress: 0;
  --tear-finish: 116px;
  --base-y: 0px;
  --base-r: 0deg;
  display: flex;
  flex-direction: row;
  min-height: 468px;
  padding: 0;
  border: 1px solid rgba(199, 216, 232, 0.84);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(36px 0, calc(100% - 52px) 0, 100% 44px, 100% calc(100% - 46px), calc(100% - 34px) 100%, 22px 100%, 0 calc(100% - 24px), 0 34px);
  transform: translateY(var(--base-y)) rotate(var(--base-r));
  will-change: transform;
  animation: cardFloatIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    filter 0.24s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: -1;
  width: 74%;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.2), transparent 190px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 42%);
  transition: opacity 0.22s ease;
}

.ticket-main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 30px;
}

.ticket-main::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -14px;
  bottom: 30px;
  width: 24px;
  opacity: var(--tear-progress);
  background:
    radial-gradient(circle at 50% 10px, rgba(23, 119, 201, 0.2) 0 3px, transparent 4px) 0 0 / 18px 20px repeat-y,
    linear-gradient(90deg, rgba(23, 119, 201, 0.22), rgba(24, 184, 200, 0.05), transparent);
  filter: drop-shadow(0 12px 18px rgba(18, 58, 101, 0.12));
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.ticket-stub {
  position: relative;
  flex: 0 0 106px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 30px 18px;
  border: 0;
  border-left: 1px dashed rgba(116, 143, 166, 0.42);
  appearance: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.16), transparent 100px),
    rgba(248, 252, 255, 0.74);
  color: #17425f;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  outline-offset: 4px;
  box-shadow: inset 10px 0 18px rgba(18, 58, 101, 0.04);
  transform: translateX(var(--tear));
  will-change: transform;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f8fcff;
  border: 1px solid rgba(199, 216, 232, 0.84);
}

.ticket-stub::before {
  top: -14px;
}

.ticket-stub::after {
  bottom: -14px;
}

.ticket-stub:focus-visible {
  outline: 3px solid rgba(24, 184, 200, 0.32);
}

.stub-label {
  color: #17679f;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
}

.stub-action {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.stub-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.plan-card:hover .ticket-stub {
  color: #0d5f8e;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.24), transparent 120px),
    rgba(238, 249, 252, 0.9);
  transform: translateX(calc(var(--tear) + 4px));
}

.plan-card.is-dragging:hover .ticket-stub {
  transform: translateX(var(--tear));
}

.plan-card.is-dragging {
  border-color: rgba(24, 184, 200, 0.36);
  box-shadow: 0 30px 72px rgba(18, 58, 101, 0.16);
}

.plan-card.is-dragging::after {
  opacity: 1;
}

.plan-card.is-dragging .ticket-stub {
  cursor: grabbing;
  transition: background 0.18s ease, color 0.18s ease;
}

.plan-card.is-dragging .stub-hint {
  color: #17679f;
  font-weight: 760;
}

.plan-card.is-tearing {
  pointer-events: none;
}

.plan-card.is-tearing .ticket-stub {
  animation: tearStub 0.52s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.plan-card.is-tearing .ticket-main::after {
  opacity: 1;
}

.plan-card.is-returning .ticket-stub {
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease, color 0.2s ease;
}

.plan-card.is-returning:hover .ticket-stub {
  transform: translateX(var(--tear));
}

.plan-card:hover {
  transform: translateY(calc(var(--base-y) - 8px)) rotate(calc(var(--base-r) + 0.25deg)) scale(1.008);
  border-color: rgba(23, 119, 201, 0.26);
  filter: saturate(1.04);
  box-shadow: 0 28px 70px rgba(18, 58, 101, 0.15);
}

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

.plan-card.standard {
  min-height: 492px;
  z-index: 3;
  order: -1;
  --base-y: -14px;
  --base-r: -0.25deg;
  animation-delay: 0.16s;
  margin-left: 0;
  border-color: rgba(23, 119, 201, 0.46);
  background:
    radial-gradient(circle at 88% 8%, rgba(24, 184, 200, 0.22), transparent 190px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 255, 0.92)),
    #fff;
  box-shadow: 0 34px 88px rgba(18, 58, 101, 0.18);
}

.plan-card.standard::before {
  height: 11px;
  width: 84%;
}

.plan-card.standard .ticket-main {
  padding-top: 38px;
}

.plan-card.standard .ticket-main::before {
  content: "标准版优先推荐";
  position: absolute;
  top: 16px;
  right: 24px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(24, 184, 200, 0.28);
  border-radius: 999px;
  color: #0f5f88;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(18, 58, 101, 0.1);
  font-size: 12px;
  font-weight: 820;
}

.plan-card.standard:hover {
  transform: translateY(calc(var(--base-y) - 9px)) rotate(0.1deg) scale(1.01);
}

.plan-card.youth {
  min-height: 476px;
  z-index: 2;
  order: 1;
  --base-y: 0px;
  --base-r: 0.18deg;
  animation-delay: 0.08s;
  margin-left: 0;
  margin-right: 0;
  border-color: rgba(117, 104, 216, 0.23);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 246, 255, 0.9)),
    #fff;
}

.plan-card.youth::before {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.plan-card.api {
  min-height: 456px;
  z-index: 1;
  order: 2;
  --base-y: 12px;
  --base-r: -0.18deg;
  animation-delay: 0.02s;
  margin-right: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.86)),
    #fff;
}

.plan-card.api::before {
  background: linear-gradient(90deg, #aeb9c6, #dbe7f2);
}

.plan-card.api:hover {
  transform: translateY(calc(var(--base-y) - 8px)) rotate(-0.06deg) scale(1.006);
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #146095;
  background: rgba(24, 184, 200, 0.1);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.plan-type.low {
  color: #696f7a;
  background: #eef3f7;
}

.plan-type.hot {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.plan-card h3 {
  font-size: 25px;
  line-height: 1.25;
}

.plan-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.price-line {
  margin-top: 24px;
  color: #071827;
  font-weight: 860;
}

.price-line .currency {
  font-size: 20px;
}

.price-line .amount {
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
}

.price-line .unit {
  color: var(--quiet);
  font-size: 15px;
  font-weight: 560;
}

.sub-price {
  margin-top: 10px;
  color: #31516c;
  font-size: 15px;
  font-weight: 680;
}

.standard-signal {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 184, 200, 0.28);
  background:
    linear-gradient(135deg, rgba(24, 184, 200, 0.12), rgba(23, 119, 201, 0.08)),
    rgba(255, 255, 255, 0.84);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 16px);
}

.standard-signal span {
  color: #17679f;
  font-size: 12px;
  font-weight: 820;
}

.standard-signal strong {
  color: #112f48;
  font-size: 15px;
  line-height: 1.45;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: #3e536a;
  font-size: 14px;
  line-height: 1.62;
}

.plan-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(24, 184, 200, 0.1);
}

.plan-card.youth .plan-list li::before {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(117, 104, 216, 0.1);
}

.plan-card.api .plan-list li::before {
  background: #aeb9c6;
  box-shadow: 0 0 0 4px rgba(174, 185, 198, 0.12);
}

.btn {
  position: relative;
  isolation: isolate;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -70%;
  z-index: -1;
  width: 44%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transition: left 0.55s ease;
}

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

.btn:hover::after {
  left: 125%;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 26px rgba(23, 119, 201, 0.22);
}

.btn-secondary {
  color: #2e326d;
  border-color: rgba(117, 104, 216, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.btn-muted {
  color: #455c73;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

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

.decision-lane {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  padding: 22px 0 18px;
}

.standard-showcase {
  padding-top: 18px;
}

.exclusive-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(23, 119, 201, 0.26);
  background:
    radial-gradient(circle at 18% 0%, rgba(24, 184, 200, 0.18), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 248, 255, 0.88)),
    #fff;
  box-shadow: 0 30px 76px rgba(18, 58, 101, 0.13);
  clip-path: polygon(34px 0, calc(100% - 48px) 0, 100% 44px, 100% 100%, 28px 100%, 0 calc(100% - 30px), 0 34px);
}

.exclusive-band::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 0;
  width: 86%;
  height: 10px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), rgba(117, 104, 216, 0.64));
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.exclusive-band::after {
  content: "STANDARD";
  position: absolute;
  right: 28px;
  bottom: 10px;
  z-index: 0;
  color: rgba(23, 119, 201, 0.055);
  font-size: clamp(54px, 9vw, 118px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.exclusive-lead,
.exclusive-grid {
  position: relative;
  z-index: 1;
}

.exclusive-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding: 8px 4px;
}

.exclusive-lead h2 {
  max-width: 480px;
}

.exclusive-lead p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.standard-cta {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 30px rgba(23, 119, 201, 0.2);
  font-size: 14px;
  font-weight: 780;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.standard-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(23, 119, 201, 0.26);
}

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

.exclusive-item {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(199, 216, 232, 0.82);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 26px rgba(18, 58, 101, 0.06);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 16px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.exclusive-item:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 184, 200, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(18, 58, 101, 0.11);
}

.exclusive-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 26px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #17679f;
  background: rgba(24, 184, 200, 0.1);
  font-size: 12px;
  font-weight: 820;
}

.exclusive-item b {
  display: block;
  color: #173855;
  font-size: 15px;
  line-height: 1.42;
}

.exclusive-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.exclusive-item.highlight {
  border-color: rgba(23, 119, 201, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(24, 184, 200, 0.18), transparent 130px),
    rgba(255, 255, 255, 0.9);
}

.exclusive-item.highlight span {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.decision-lane::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 70px -14px 30px -14px;
  border: 1px solid rgba(199, 216, 232, 0.45);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.4), rgba(24, 184, 200, 0.08)),
    repeating-linear-gradient(90deg, rgba(23, 119, 201, 0.07) 0 1px, transparent 1px 36px);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.decision-step {
  position: relative;
  --mx: 50%;
  --my: 50%;
  --tilt: -0.7deg;
  min-height: 202px;
  margin: 0;
  padding: 30px 32px 34px;
  border: 1px solid rgba(199, 216, 232, 0.84);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.16), transparent 170px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.82));
  box-shadow: var(--shadow-soft);
  clip-path: polygon(30px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%, 0 30px);
  transform: rotate(var(--tilt));
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}

.decision-step::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 42%, transparent 62%),
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.45), transparent 170px);
  transform: translateX(-28%);
  transition:
    opacity 0.25s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.decision-step:nth-child(2) {
  z-index: 2;
  margin-top: 22px;
  --tilt: 0.16deg;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(117, 104, 216, 0.16), transparent 170px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 255, 0.86));
}

.decision-step:nth-child(3) {
  z-index: 3;
  margin-top: 44px;
  --tilt: -0.18deg;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.2), transparent 170px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 249, 252, 0.9));
}

.decision-step:hover {
  transform: translateY(-7px) rotate(calc(var(--tilt) + 0.12deg));
  border-color: rgba(24, 184, 200, 0.34);
  filter: saturate(1.05);
  box-shadow: 0 26px 64px rgba(18, 58, 101, 0.14);
}

.decision-step:hover::after {
  opacity: 1;
  transform: translateX(18%);
}

.decision-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #17679f;
  background: rgba(24, 184, 200, 0.1);
  font-weight: 820;
}

.decision-step b {
  display: block;
  color: #173855;
  font-size: 17px;
}

.decision-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.matrix-shell {
  position: relative;
  isolation: isolate;
  --mx: 50%;
  --my: 0%;
}

.matrix-shell {
  border: 1px solid rgba(199, 216, 232, 0.86);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 26px);
}

.matrix-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--cyan), rgba(117, 104, 216, 0.72));
  clip-path: polygon(0 0, 78% 0, calc(78% - 18px) 100%, 0 100%);
}

.matrix-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.14), transparent 260px),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.48) 44%, transparent 58%);
  transition: opacity 0.24s ease;
}

.matrix-shell:hover::after {
  opacity: 1;
}

.matrix-tools {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 253, 255, 0.9);
}

.matrix-tools p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.toggle-all {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #33536b;
  background: #fff;
  cursor: pointer;
}

.matrix-scroll {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: auto;
  contain: inline-size;
}

.matrix-head,
.feature-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(280px, 1.2fr) repeat(3, minmax(112px, 0.45fr));
  gap: 14px;
  align-items: center;
  min-width: 880px;
}

.matrix-head {
  position: relative;
  z-index: 1;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: #25435e;
  background: rgba(248, 252, 255, 0.94);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 780;
}

.feature-group {
  border-bottom: 1px solid var(--line);
}

.feature-group:last-child {
  border-bottom: 0;
}

.group-button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
}

.group-info {
  display: grid;
  gap: 6px;
}

.group-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #17679f;
  background: rgba(24, 184, 200, 0.1);
  font-size: 12px;
}

.chevron {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #31516c;
  transition: transform 0.22s ease;
}

.feature-group.open .chevron {
  transform: rotate(180deg);
}

.group-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease;
}

.feature-group.open .group-panel {
  max-height: 1800px;
}

.feature-row {
  padding: 14px 20px;
  border-top: 1px solid rgba(219, 231, 242, 0.76);
  color: #3f5369;
  font-size: 14px;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.feature-row:hover {
  background: rgba(24, 184, 200, 0.045);
  transform: translateX(3px);
}

.feature-row.standard-only {
  background:
    linear-gradient(90deg, rgba(23, 119, 201, 0.06), transparent 62%),
    rgba(250, 253, 255, 0.86);
}

.feature-row.standard-only .feature-name {
  color: #0f5f88;
}

.feature-row.standard-only .support.yes,
.feature-row.standard-only .support.custom {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.feature-name {
  color: #263d54;
  font-weight: 680;
}

.feature-desc {
  color: var(--muted);
  line-height: 1.56;
}

.support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.support.yes {
  color: #11704c;
  background: rgba(27, 157, 107, 0.1);
}

.support.partial {
  color: #8a5614;
  background: rgba(217, 134, 32, 0.12);
}

.support.default {
  color: #17679f;
  background: rgba(24, 184, 200, 0.1);
}

.support.custom {
  color: #4f46a8;
  background: rgba(117, 104, 216, 0.12);
}

.support.no {
  color: #8a96a4;
  background: #eef3f7;
}

.motion-bit {
  opacity: 0;
  filter: blur(5px);
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
  transition-delay: var(--motion-delay, 0ms);
}

.motion-bit.is-visible {
  opacity: 1;
  filter: blur(0);
}

.contact-panel {
  position: relative;
  isolation: isolate;
  --mx: 72%;
  --my: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(199, 216, 232, 0.86);
  border-radius: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(24, 184, 200, 0.12), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 255, 0.88)),
    #fff;
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: auto 24px 18px auto;
  z-index: 0;
  width: 180px;
  height: 96px;
  border: 1px solid rgba(24, 184, 200, 0.14);
  transform: skewX(-18deg);
  background: rgba(24, 184, 200, 0.04);
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  z-index: 0;
  width: 26%;
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition:
    opacity 0.22s ease,
    left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-panel:hover::after {
  left: 108%;
  opacity: 1;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.contact-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #3f5369;
  font-size: 14px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.contact-item:hover {
  transform: translateX(-3px);
  border-color: rgba(24, 184, 200, 0.28);
  background: rgba(255, 255, 255, 0.94);
}

.contact-item b {
  color: var(--ink);
}

body.pricing-page > footer {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  background: transparent;
  background-image: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--quiet);
  font-size: 13px;
}

@keyframes gridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 76px 38px, 76px 38px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloatIn {
  from {
    opacity: 0;
    transform: translateY(calc(var(--base-y) + 22px)) rotate(calc(var(--base-r) - 1deg)) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(var(--base-y)) rotate(var(--base-r)) scale(1);
  }
}

@keyframes tearStub {
  0% {
    transform: translateX(var(--tear)) rotate(0deg);
    opacity: 1;
  }
  58% {
    transform: translateX(calc(var(--tear-finish) - 12px)) rotate(2.6deg);
    opacity: 0.98;
  }
  100% {
    transform: translateX(var(--tear-finish)) rotate(4deg);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .intro-grid,
  .pricing-board,
  .exclusive-band,
  .contact-panel,
  .decision-lane {
    grid-template-columns: 1fr;
  }

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

  .plan-card.api,
  .plan-card.youth,
  .plan-card.standard {
    --base-y: 0px;
    --base-r: 0deg;
    margin: 0;
  }

  .plan-card:hover,
  .plan-card.api:hover,
  .plan-card.youth:hover,
  .plan-card.standard:hover {
    transform: translateY(-6px);
  }

  .pricing-board {
    min-height: auto;
    gap: 18px;
    padding: 24px 0;
  }

  .exclusive-lead {
    min-height: auto;
  }

  .decision-step,
  .decision-step:nth-child(2),
  .decision-step:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }

  .decision-step:nth-child(2),
  .decision-step:nth-child(3) {
    margin-top: -12px;
  }

  .decision-step + .decision-step {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  main,
  body.pricing-page > footer {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner {
    height: auto;
    min-height: 68px;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .intro {
    padding-top: 34px;
  }

  .intro-grid,
  .intro-copy,
  .count-panel,
  .exclusive-band,
  .contact-panel {
    padding: 22px;
    border-radius: 22px;
    clip-path: none;
  }

  .intro-grid::after {
    display: none;
  }

  .pricing-board::before {
    display: none;
  }

  .intro-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .decision-step,
  .decision-step:nth-child(2),
  .decision-step:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }

  .decision-step:nth-child(2),
  .decision-step:nth-child(3) {
    margin-top: -14px;
  }

  .matrix-tools {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .matrix-head {
    top: auto;
  }

  .plan-card {
    padding: 0;
    border-radius: 0;
    clip-path: polygon(22px 0, calc(100% - 34px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 24px) 100%, 16px 100%, 0 calc(100% - 20px), 0 24px);
  }

  .ticket-main {
    padding: 24px 20px;
  }

  .ticket-main::after {
    top: 24px;
    bottom: 24px;
    right: -12px;
  }

  .ticket-stub {
    flex-basis: 84px;
    padding: 22px 10px;
  }

  .stub-action {
    font-size: 15px;
  }

  .stub-hint {
    font-size: 11px;
  }

  .contact-item {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 12px 14px;
  }

  body.pricing-page > footer {
    flex-direction: column;
  }
}
