/* 万重云官网 — 活泼高饱和蓝 + 插图装饰 + 动效（尊重 prefers-reduced-motion） */
:root {
  --brand: #0066ff;
  --brand-deep: #0047cc;
  --brand-bright: #3388ff;
  --sky: #00c6ff;
  --accent-warm: #ff8a34;
  --accent-mint: #00d4aa;
  --bg-page: #eef5ff;
  --bg-mesh-1: rgba(0, 102, 255, 0.08);
  --bg-mesh-2: rgba(0, 198, 255, 0.06);
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border: rgba(0, 102, 255, 0.12);
  --radius-card: 20px;
  --radius-btn: 10px;
  --max-width: 1200px;
  --shadow-glow: 0 12px 40px rgba(0, 102, 255, 0.18);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, var(--bg-mesh-1), transparent 55%),
    radial-gradient(700px 450px at 95% 5%, var(--bg-mesh-2), transparent 50%),
    radial-gradient(500px 400px at 50% 100%, rgba(255, 138, 52, 0.06), transparent 45%);
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(6px, -8px) rotate(1deg);
  }
  66% {
    transform: translate(-4px, 4px) rotate(-1deg);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmerLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 102, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 71, 204, 0.06);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

@media (min-width: 769px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: nowrap;
  }

  /* 导航与按钮在 DOM 中同在 wrap 内，展开后参与父级网格：中间列居中主导航 */
  .site-nav-wrap {
    display: contents;
  }

  .site-brand {
    grid-column: 1;
    justify-self: start;
  }

  .site-nav {
    grid-column: 2;
    justify-self: center;
    flex: none;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .site-actions {
    grid-column: 3;
    justify-self: end;
  }

  .nav-toggle {
    display: none;
  }
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand__img {
  flex-shrink: 0;
  height: 36px;
  width: auto;
  display: block;
}

.site-brand__title {
  font-size: clamp(17px, 3.1vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
}

.site-brand:hover .site-brand__title,
.site-brand:focus-visible .site-brand__title {
  color: #6b7280;
}

@media (max-width: 380px) {
  .site-brand__title {
    white-space: normal;
    max-width: 11em;
  }
}

/* 桌面端由上方 @media (min-width:769px) 设为 display:contents；移动端在下方面板内再设为 flex */
.site-nav-wrap {
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.site-nav a:hover {
  color: var(--brand);
  background: rgba(0, 102, 255, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

/* 当前页：浅底 + 品牌色字（与高饱和主按钮区分） */
.site-nav a.is-active {
  color: var(--brand-deep);
  background: #e8f2ff;
  box-shadow: none;
  transform: none;
}

.site-nav a.is-active:hover {
  color: var(--brand-deep);
  background: rgba(0, 102, 255, 0.12);
  box-shadow: none;
  transform: translateY(-1px);
}

.site-actions {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, filter 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  animation: gradientFlow 6s ease infinite;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.45);
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 32px rgba(0, 102, 255, 0.5);
  text-decoration: none;
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--brand-deep);
  border: 2px solid rgba(0, 102, 255, 0.35);
  box-shadow: 0 2px 12px rgba(0, 102, 255, 0.08);
}

.btn--outline:hover {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border-color: var(--brand);
  text-decoration: none;
  color: var(--brand-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #e8f2ff 42%, #dceaff 100%);
}

.hero__bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: floatSlow 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 320px;
  height: 320px;
  background: #0066ff;
  top: -120px;
  right: -80px;
}

.hero__orb--2 {
  width: 240px;
  height: 240px;
  background: #00c6ff;
  bottom: -60px;
  left: -40px;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 180px;
  height: 180px;
  background: #ff8a34;
  top: 40%;
  left: 35%;
  opacity: 0.25;
  animation-delay: -2s;
}

.hero__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  animation: pulseRing 2s ease-out infinite;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}

/* 仅第二行整句不换行，避免「企业」等被拆开；上一行仍为渐变，样式不变 */
.hero__title-sub {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-primary);
}

@media (max-width: 560px) {
  .hero__title-sub {
    white-space: normal;
    word-break: keep-all;
  }
}

.hero__title-gradient {
  background: linear-gradient(105deg, var(--brand-deep) 0%, var(--brand) 40%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: min(52em, 100%);
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.hero__meta-item {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 102, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero__meta-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.hero__meta strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__meta span {
  font-size: 13px;
  color: var(--text-secondary);
}

.hero__visual {
  position: relative;
  min-height: 300px;
}

.hero__illustration {
  position: relative;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}

.hero__illustration svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-left: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 71, 204, 0.2));
}

.hero__float-card {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 102, 255, 0.15);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
  box-shadow: var(--shadow-card);
  animation: floatY 4s ease-in-out infinite;
}

.hero__float-card--1 {
  top: 8%;
  left: 0;
  animation-delay: -1s;
}

.hero__float-card--2 {
  bottom: 18%;
  right: 0;
  color: var(--accent-warm);
  border-color: rgba(255, 138, 52, 0.35);
  animation-delay: -2s;
}

.hero__panel {
  margin-top: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, #f0f7ff 100%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 102, 255, 0.14);
  padding: 22px 22px 18px;
  position: relative;
  overflow: hidden;
}

.hero__panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sky), var(--accent-warm));
  background-size: 200% 100%;
  animation: gradientFlow 4s ease infinite;
}

.hero__panel-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero__mock-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 102, 255, 0.08);
  transition: border-color 0.2s, transform 0.2s;
}

.hero__mock-row:hover {
  border-color: rgba(0, 102, 255, 0.25);
  transform: translateX(4px);
}

.hero__mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--sky));
  flex-shrink: 0;
}

.section {
  padding: 72px 24px;
}

.section--alt {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.section--vivid {
  background: linear-gradient(135deg, #e8f2ff 0%, #f0f9ff 50%, #fff5f0 100%);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__head {
  text-align: center;
  max-width: min(920px, 96vw);
  margin: 0 auto 44px;
}

.section__head-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 10px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  text-wrap: balance;
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px 22px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 102, 255, 0.28);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.14) 0%, rgba(0, 198, 255, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand-deep);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.bento__item {
  padding: 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 71, 204, 0.06);
  transition: transform 0.25s;
}

.bento__item:hover {
  transform: scale(1.02);
}

.bento__item--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #0066ff 0%, #0088ff 50%, #00a8cc 100%);
  color: #fff;
  border: none;
}

.bento__item--wide p {
  color: rgba(255, 255, 255, 0.92);
  margin: 8px 0 0;
  font-size: 14px;
}

.bento__item--wide h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.bento__stat {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
}

.bento__item:not(.bento__item--wide) .bento__stat {
  margin-bottom: 6px;
}

.bento__label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

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

.step-card {
  text-align: center;
  padding: 26px 16px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.step-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.step-card__num {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sky) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.tech-pill {
  padding: 10px 18px;
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tech-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2);
}

.cta-banner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 24px 72px;
}

.cta-banner__inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0047cc 0%, #0066ff 35%, #0099ff 70%, #00c6ff 100%);
  background-size: 200% 200%;
  animation: gradientFlow 10s ease infinite;
  border-radius: var(--radius-card);
  padding: 44px 40px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-glow);
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 45%);
  pointer-events: none;
}

.cta-banner__inner > * {
  position: relative;
  z-index: 1;
}

.cta-banner__inner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.cta-banner__inner p {
  margin: 0;
  opacity: 0.95;
  font-size: 15px;
  max-width: 480px;
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  animation: none;
}

.cta-banner .btn--primary:hover {
  background: #f8fbff;
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  padding: 32px 24px 40px;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__brand img {
  height: 28px;
  width: auto;
}

.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.site-footer__links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--brand-deep);
  text-decoration: none;
}

.site-footer__copy {
  margin: 0;
}

.tutorial-inline-code {
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.88em;
  background: rgba(0, 102, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--brand-deep);
}

/* 定价页顶区：流动曲线 + 文案 + 小标签（非三柱示意块） */
.pricing-hero {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 52px 24px 32px;
  text-align: center;
  background: linear-gradient(165deg, #eef6ff 0%, #ffffff 50%, #e8f2ff 100%);
}

.pricing-hero__glow {
  position: absolute;
  left: 50%;
  top: -100px;
  width: min(920px, 140vw);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 70% 55% at 50% 60%, rgba(0, 102, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.pricing-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(920px, 100%);
  margin: 0 auto;
}

/* 波浪线容器：左右渐隐，避免线条在边缘「突然断掉」 */
.pricing-hero__wave-wrap {
  max-width: min(640px, 94vw);
  margin: 0 auto 6px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 6%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 6%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.35) 94%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.pricing-hero__wave {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.96;
}

.pricing-hero__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--brand);
  opacity: 0.9;
}

.pricing-hero__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #003d99 0%, #0066ff 38%, #00a3cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-hero__lead {
  display: inline-block;
  margin: 0 auto 20px;
  max-width: none;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.pricing-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pricing-hero__chip {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 102, 255, 0.22);
  box-shadow: 0 4px 18px rgba(0, 71, 204, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-hero__chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.14);
}

/* 定价整页：顶区与价格表共用连续背景，消除白块断层 */
body.page-pricing {
  background: linear-gradient(
    180deg,
    #e6f0ff 0%,
    #edf5ff 11%,
    #f0f7ff 22%,
    #f3f8ff 34%,
    #f6faff 46%,
    #f8fbfe 58%,
    #fafcfe 72%,
    #f6f8fc 88%,
    var(--bg-page) 100%
  );
}

body.page-pricing .pricing-hero {
  background: transparent;
}

body.page-pricing .section.section--alt {
  background: transparent;
}

body.page-pricing .site-footer {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-top-color: rgba(0, 102, 255, 0.1);
}

body.page-pricing .price-note {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(240, 247, 255, 0.95));
  border-color: rgba(0, 102, 255, 0.22);
}

/* 定价页：略压低全局网格层，让整页纵向渐变更连贯 */
body.page-pricing::before {
  opacity: 0.55;
}

/* 功能介绍页：整页连续背景，顶区用元素图，与下方 Tab 区无「白线断层」 */
body.page-features {
  background: linear-gradient(
    180deg,
    #e6f0ff 0%,
    #edf5ff 11%,
    #f0f7ff 22%,
    #f3f8ff 36%,
    #f6faff 50%,
    #f8fbfe 65%,
    #f6f8fc 82%,
    var(--bg-page) 100%
  );
}

body.page-features::before {
  opacity: 0.5;
}

body.page-tutorial {
  background: linear-gradient(
    180deg,
    #e6f0ff 0%,
    #edf5ff 11%,
    #f0f7ff 22%,
    #f3f8ff 36%,
    #f6faff 50%,
    #f8fbfe 65%,
    #f6f8fc 82%,
    var(--bg-page) 100%
  );
}

body.page-tutorial::before {
  opacity: 0.5;
}

body.page-tutorial .page-hero {
  background: transparent;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

body.page-tutorial .page-hero p.tutorial-hero-lead {
  display: inline-block;
  max-width: none;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

body.page-tutorial .section.section--alt {
  background: transparent;
}

body.page-tutorial .site-footer {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-top-color: rgba(0, 102, 255, 0.1);
}

body.page-features .feat-tabs {
  background: transparent;
  padding-top: 4px;
}

body.page-features .site-footer {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-top-color: rgba(0, 102, 255, 0.1);
}

.features-hero {
  position: relative;
  text-align: center;
  padding: 36px 24px 20px;
  overflow: hidden;
}

.features-hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 15% 15%, rgba(0, 102, 255, 0.11), transparent 58%),
    radial-gradient(ellipse 70% 45% at 90% 8%, rgba(0, 198, 255, 0.09), transparent 52%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(255, 138, 52, 0.05), transparent 48%);
}

.features-hero__element {
  position: relative;
  z-index: 0;
  max-width: min(760px, 100%);
  margin: 0 auto 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.features-hero__element svg {
  width: 100%;
  height: auto;
  display: block;
}

.features-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  margin: 0 auto;
}

.features-hero__tag {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--brand);
  opacity: 0.9;
}

.features-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.features-hero__lead {
  margin: 0 auto;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: balance;
}

/* 功能页：Tabs + 丰富卡片 */
.page-hero {
  padding: 48px 24px 32px;
  text-align: center;
  background: linear-gradient(180deg, #e8f2ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.page-hero__deco {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 65%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero p {
  position: relative;
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-hero--split {
  text-align: left;
}

.page-hero--split .page-hero__split {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 36px;
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: center;
}

.page-hero--split h1 {
  margin-top: 0;
}

.page-hero--split p {
  margin: 0;
  max-width: none;
}

.page-hero__art {
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #eef6ff);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 12px;
}

.page-hero__art svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .page-hero--split .page-hero__split {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
  }

  .page-hero--split h1,
  .page-hero--split p {
    text-align: center;
  }

  .page-hero--split .page-hero__art {
    max-width: 280px;
    margin: 0 auto;
  }
}

.feat-tabs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 56px;
}

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

.feat-tabs__bar button {
  font-family: inherit;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid rgba(0, 102, 255, 0.2);
  background: #fff;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.feat-tabs__bar button:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.feat-tabs__bar button.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.4);
}

.feat-tab-panel {
  display: none;
  animation: tabFade 0.45s ease;
}

.feat-tab-panel.is-active {
  display: block;
}

/* 功能介绍：图文穿插大板块 */
.feat-showcase {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 28px 36px;
  align-items: center;
  padding: 26px 28px 26px 30px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.feat-row:hover {
  border-color: rgba(0, 102, 255, 0.28);
  box-shadow: var(--shadow-glow);
}

.feat-row--reverse {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
}

.feat-row--reverse .feat-row__media {
  order: -1;
}

.feat-row__media {
  min-width: 0;
}

.feat-figure {
  margin: 0;
  border-radius: 18px;
  background: linear-gradient(155deg, #f0f7ff 0%, #ffffff 55%, #e8f4ff 100%);
  border: 1px solid rgba(0, 102, 255, 0.14);
  padding: 14px 16px 12px;
  overflow: hidden;
  position: relative;
}

.feat-figure::after {
  content: '';
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--sky), var(--accent-warm));
  opacity: 0.35;
}

.feat-figure svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feat-row__body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feat-row__body h3 span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.14), rgba(0, 198, 255, 0.12));
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.feat-row__body > p.desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feat-row__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feat-row__body li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px dashed rgba(0, 102, 255, 0.1);
  line-height: 1.55;
}

.feat-row__body li:last-child {
  border-bottom: none;
}

.feat-row__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand), var(--sky));
}

.feat-row__body .api-tags {
  margin-top: 12px;
}

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

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feat-block {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.feat-block:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.feat-block h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-block h3 span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 198, 255, 0.1));
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.feat-block > p.desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feat-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feat-block li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px dashed rgba(0, 102, 255, 0.1);
}

.feat-block li:last-child {
  border-bottom: none;
}

.feat-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand), var(--sky));
}

.feat-highlight {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-mini {
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbff, #eef6ff);
  border: 1px solid rgba(0, 102, 255, 0.12);
  text-align: center;
}

.feat-mini strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.feat-mini span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.api-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.api-tags span {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-deep);
}

/* 定价 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.price-card--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.22);
}

.price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shimmerLine 3.5s ease-in-out infinite;
}

.price-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a34, #ff6b1a);
  color: #fff;
  z-index: 1;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.price-card__desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 44px;
}

.price-card__amount {
  margin-bottom: 6px;
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card__amount small {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.price-card ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: 900;
  font-size: 13px;
}

.price-note {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #f0f7ff, #fff);
  border: 1px dashed rgba(0, 102, 255, 0.35);
  font-size: 14px;
  color: var(--text-secondary);
}

.price-note strong {
  color: var(--text-primary);
}

@keyframes bookFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes pageFlip {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.92);
  }
}

.tutorial-hero-svg {
  margin: 0 auto 28px;
  max-width: 320px;
  display: block;
  animation: bookFloat 4s ease-in-out infinite;
}

.tutorial-hero-svg .page-1 {
  animation: pageFlip 2.2s ease-in-out infinite;
  transform-origin: left center;
}

@media (prefers-reduced-motion: reduce) {
  .tutorial-hero-svg,
  .tutorial-hero-svg .page-1 {
    animation: none;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* 教程占位 */
.placeholder-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  text-align: center;
}

.placeholder-illus {
  margin: 0 auto 24px;
  width: min(100%, 280px);
}

.placeholder-page h1 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 900;
}

.placeholder-page p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.split-section:last-child {
  margin-bottom: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-btn);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero__visual {
    order: -1;
    min-height: 0;
  }

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

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

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

  .bento__item--wide {
    grid-column: span 2;
  }

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

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

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

  .feat-row,
  .feat-row--reverse {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .feat-row__media {
    order: -1;
  }

  .feat-row--reverse .feat-row__media {
    order: -1;
  }

  .feat-highlight {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex: none;
    display: none;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .site-nav-wrap.is-open {
    display: flex;
  }

  .site-nav {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
  }

  .site-actions {
    width: 100%;
    margin-top: 8px;
  }

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

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

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

  .bento__item--wide {
    grid-column: span 1;
  }

  .hero__float-card {
    display: none;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feat-tabs__bar {
    flex-direction: column;
  }

  .feat-tabs__bar button {
    width: 100%;
  }
}

/* —— 介绍与教程页：左侧目录 + 右侧长文 —— */
.tutorial-hub-section {
  padding-top: 0 !important;
}

.tutorial-hub {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  grid-template-columns: minmax(260px, 312px) minmax(0, 1fr);
  gap: 36px 44px;
  align-items: start;
}

.tutorial-hub__aside {
  position: sticky;
  top: 72px;
  align-self: start;
  z-index: 30;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  margin-top: 0;
}

.tutorial-hub__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tutorial-hub__tab {
  display: block;
  width: 100%;
  padding: 16px 18px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(0, 102, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.tutorial-hub__tab:hover {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.08);
}

.tutorial-hub__tab.is-active {
  border-color: var(--brand);
  background: linear-gradient(135deg, #f0f7ff, #fff);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.12);
}

.tutorial-hub__tab:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.tutorial-hub__content {
  min-width: 0;
}

.tutorial-panel[hidden] {
  display: none !important;
}

.tutorial-doc-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tutorial-doc-head__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tutorial-doc-head__subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.tutorial-doc-head__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: min(960px, 100%);
  text-wrap: balance;
}

/* 文字类教程（使用指南 / 开发文档） */
.tutorial-text {
  max-width: min(1100px, 100%);
  padding-bottom: 24px;
}

.tutorial-text__sec {
  margin-bottom: 28px;
}

.tutorial-text__sec:last-child {
  margin-bottom: 0;
}

.tutorial-text__sec h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.tutorial-text__sec p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.tutorial-text__sec p:last-child {
  margin-bottom: 0;
}

.tutorial-text__sec ul,
.tutorial-text__sec ol {
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.tutorial-text__sec li {
  margin-bottom: 8px;
}

.tutorial-text__sec li:last-child {
  margin-bottom: 0;
}

/* 使用指南：左文右图（窄屏自动上下堆叠） */
.tutorial-text-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, min(38vw, 420px));
  gap: 22px 32px;
  align-items: start;
}

.tutorial-text-split__copy > h3:first-child {
  margin-top: 0;
}

.tutorial-text-split__fig {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f1f5f9;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.tutorial-text-split__fig img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.tutorial-text-split__cap {
  display: block;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.tutorial-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tutorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-bottom: 44px;
}

.tutorial-row:last-child {
  margin-bottom: 0;
}

/* 仅运营总后台：桌面端一行一块（宽屏截图） */
.tutorial-rows--ops-single .tutorial-row {
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.tutorial-cell {
  min-width: 0;
}

.tutorial-shot {
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.tutorial-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.tutorial-shot--wide {
  background: #eef2f8;
}

.tutorial-cell__title {
  margin: 16px 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.tutorial-cell p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.tutorial-cell p:last-child {
  margin-bottom: 0;
}

.tutorial-deploy-body {
  padding-bottom: 8px;
}

@media (max-width: 960px) {
  .tutorial-hub {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }

  .tutorial-hub__aside {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    z-index: auto;
  }

  .tutorial-hub__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tutorial-hub__tab {
    flex: 1 1 auto;
    min-width: min(280px, 100%);
    text-align: center;
  }

  .tutorial-row {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .tutorial-rows--ops-single .tutorial-row {
    margin-bottom: 40px;
  }

  .tutorial-text-split {
    grid-template-columns: 1fr;
  }
}

/* 使用指南 · 竖向步骤卡：上文下屏，避免左右分栏高度空洞 */
.tutorial-text--guide-stack {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 8px;
}

/* 运营后台指南：宽屏截图，卡片区略加宽 */
.tutorial-text--guide-stack-wide {
  max-width: min(920px, 100%);
}

.tutorial-text--guide-stack-wide .tutorial-guide-step__figure {
  max-width: min(1080px, 100%);
}

.tutorial-guide-step {
  margin-bottom: 28px;
  padding: 28px 26px 32px;
  border-radius: 20px;
  background: linear-gradient(165deg, #fbfdff 0%, #ffffff 55%, #f5f9ff 100%);
  border: 1px solid rgba(0, 102, 255, 0.1);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.tutorial-guide-step:last-child {
  margin-bottom: 0;
}

.tutorial-guide-step__text {
  margin-bottom: 22px;
}

.tutorial-guide-step__text h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.tutorial-guide-step__text p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.tutorial-guide-step__text p:last-of-type {
  margin-bottom: 0;
}

.tutorial-guide-step__text ul {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.tutorial-guide-step__text li {
  margin-bottom: 8px;
}

.tutorial-guide-step__text li:last-child {
  margin-bottom: 0;
}

.tutorial-guide-step__figure {
  margin: 0 auto;
  max-width: min(340px, 88vw);
  border-radius: 18px;
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.tutorial-guide-step__figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.tutorial-guide-step__figure figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 640px) {
  .tutorial-guide-step {
    padding: 22px 18px 24px;
  }

  .tutorial-guide-step__text h3 {
    font-size: 17px;
  }
}
