.visual-media,
.mock-media,
.thumb-media {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.visual-media img,
.mock-media img,
.thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-media {
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 28px;
  background: #fff;
}

.mock-media {
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 32px;
  background: #fff;
}

.thumb-media {
  aspect-ratio: 2 / 1;
  height: auto;
  border-radius: 0;
  background: #fff;
}

.content-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #fafdff;
}

.content-block h3 {
  margin-bottom: 6px;
}

.content-block + .content-block {
  margin-top: 18px;
}

.block-desc,
.field-note,
.line-help {
  color: var(--muted);
  font-size: 13px;
}

.field-note {
  margin-top: 6px;
}

.line-help {
  margin-bottom: 10px;
}

.upload-box {
  border: 1px dashed #bfd5fb;
  border-radius: 16px;
  padding: 14px;
  background: #f8fbff;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.upload-row input[type="file"] {
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #dce7f7;
  border-radius: 12px;
  background: #fff;
}

.admin .inline-scroll-field {
  position: relative;
  display: block;
  width: 100%;
}

.admin .inline-scroll-field > input,
.admin .inline-scroll-field > textarea {
  position: relative;
  z-index: 0;
}

.admin .inline-scroll-viewport {
  position: absolute;
  inset: 1px;
  z-index: 1;
  display: none;
  overflow: hidden;
  align-items: center;
  padding: 13px 14px;
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.7;
  pointer-events: none;
}

.admin .inline-scroll-track {
  display: block;
  min-width: max-content;
  white-space: pre;
  will-change: transform;
}

.admin .inline-scroll-field.is-multiline .inline-scroll-viewport {
  align-items: flex-start;
}

.admin .inline-scroll-field.is-multiline .inline-scroll-track {
  min-width: 0;
  width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin .inline-scroll-field.is-measuring .inline-scroll-viewport {
  display: flex;
  visibility: hidden;
}

.admin .inline-scroll-field.is-overflowing:not(.is-focused) .inline-scroll-viewport {
  display: flex;
}

.admin .inline-scroll-field.is-overflowing:not(.is-focused) > input,
.admin .inline-scroll-field.is-overflowing:not(.is-focused) > textarea {
  color: transparent;
}

.admin .inline-scroll-field.is-overflowing:not(.is-focused) > input::selection,
.admin .inline-scroll-field.is-overflowing:not(.is-focused) > textarea::selection {
  color: transparent;
  background: transparent;
}

.admin .inline-scroll-field.is-overflowing:not(.is-focused):not(.is-y-overflowing) .inline-scroll-track {
  animation: inlineScrollX var(--inline-scroll-duration, 8s) ease-in-out infinite;
}

.admin .inline-scroll-field.is-overflowing.is-y-overflowing:not(.is-focused) .inline-scroll-track {
  animation: inlineScrollY var(--inline-scroll-duration, 9s) ease-in-out infinite;
}

@keyframes inlineScrollX {
  0%, 12% {
    transform: translateX(0);
  }
  48%, 62% {
    transform: translateX(calc(-1 * var(--inline-scroll-distance, 0px)));
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes inlineScrollY {
  0%, 12% {
    transform: translateY(0);
  }
  48%, 62% {
    transform: translateY(calc(-1 * var(--inline-scroll-distance, 0px)));
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin .inline-scroll-field.is-overflowing:not(.is-focused) .inline-scroll-track {
    animation: none;
    transform: translate(0, 0);
  }
}

.admin #caseModal .modal-card {
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.gallery-editor {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fafdff;
}

.gallery-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.gallery-editor-list {
  display: grid;
  gap: 14px;
}

.gallery-editor-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  background: #fff;
}

.gallery-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-fields {
  display: grid;
  gap: 12px;
}

.gallery-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-row-actions input[type="file"] {
  flex: 1;
  min-width: 220px;
  padding: 9px 10px;
  border: 1px solid #dce7f7;
  border-radius: 10px;
  background: #fff;
}

.mini-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.gallery-empty {
  border: 1px dashed #bfd5fb;
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  background: #fff;
  font-size: 14px;
}

.wechat-contact {
  margin-top: 18px;
}

.wechat-contact-empty {
  display: inline-grid;
  gap: 4px;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.25);
  color: #aebcda;
  font-size: 13px;
}

.wechat-contact-empty strong {
  color: #fff;
  font-size: 14px;
}

.wechat-contact-empty p {
  color: #aebcda;
  line-height: 1.5;
}

.wechat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.wechat-card.is-clickable {
  cursor: zoom-in;
}

.wechat-card.is-clickable:focus-visible {
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: 3px;
}

.wechat-qr {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
  display: block;
}

.wechat-meta {
  display: grid;
  gap: 4px;
}

.wechat-meta strong {
  color: #fff;
  font-size: 16px;
}

.wechat-meta span,
.wechat-meta p {
  color: #dce7ff;
  font-size: 13px;
  line-height: 1.5;
}

.qr-modal-card {
  width: min(460px, calc(100% - 32px));
}

.qr-modal-body {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.qr-modal-body img {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}

.qr-modal-body p {
  color: var(--muted);
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 170px));
  justify-content: center;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.stats-grid .card {
  width: 100%;
}

.home-section {
  padding: 56px 0;
}

.home-section .title {
  margin-bottom: 24px;
}

.home-section .title h2 {
  font-size: 34px;
}

.home-hero {
  padding: 34px 0 26px;
  background:
    radial-gradient(circle at 80% 28%, rgba(41, 110, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
}

.home-hero.has-bg {
  background:
    linear-gradient(90deg, rgba(246, 249, 255, 0.98) 0%, rgba(246, 249, 255, 0.94) 34%, rgba(246, 249, 255, 0.76) 56%, rgba(246, 249, 255, 0.26) 100%),
    var(--hero-bg-image) right center / auto calc(100% - 54px) no-repeat,
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.home-hero.has-bg .home-hero-grid {
  grid-template-columns: minmax(0, 560px);
  min-height: 500px;
}

.home-hero-copy h1 {
  font-size: 56px;
  line-height: 1.14;
  margin-bottom: 14px;
}

.home-hero-subtitle {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 14px;
}

.home-hero-copy .desc {
  max-width: 560px;
  margin-bottom: 24px;
}

.home-trust {
  gap: 18px;
}

.home-trust span {
  font-size: 13px;
}

.home-hero-media {
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-hero-media.is-fallback {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(236,243,255,.95));
  border: 1px solid #e6eefc;
  box-shadow: var(--shadow);
}

.home-hero-media.is-fallback .visual {
  width: 100%;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 28%, rgba(41, 110, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
}

.page-hero.has-bg {
  background:
    linear-gradient(90deg, rgba(246, 249, 255, 0.98) 0%, rgba(246, 249, 255, 0.94) 34%, rgba(246, 249, 255, 0.74) 56%, rgba(246, 249, 255, 0.24) 100%),
    var(--page-hero-bg-image) right center / auto calc(100% - 54px) no-repeat,
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.page-hero.has-bg .page-hero-grid {
  grid-template-columns: minmax(0, 560px);
  min-height: 460px;
}

.page-hero-copy .desc {
  max-width: 560px;
}

.home-business-grid,
.home-feature-grid,
.home-industry-grid,
.home-stats-grid {
  display: grid;
  gap: 18px;
  justify-content: center;
}

.home-business-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
}

.home-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
}

.home-industry-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
}

.home-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
}

.home-business-card,
.home-feature-card,
.home-industry-card,
.home-stat-card {
  border: 1px solid #e6eefc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 38, 85, 0.06);
}

.home-business-card {
  padding: 24px 24px 20px;
  display: grid;
  gap: 18px;
}

.home-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.home-card-head h3,
.home-feature-card h3,
.home-industry-copy h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.home-card-head p,
.home-feature-card p,
.home-industry-copy p,
.home-stat-card p {
  color: #6b7a92;
  font-size: 14px;
  line-height: 1.65;
}

.home-card-icon,
.home-feature-icon,
.home-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a6cff 0%, #5fa7ff 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(20, 99, 255, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}

.home-card-icon.is-image,
.home-feature-icon.is-image,
.home-stat-icon.is-image {
  padding: 10px;
  background: #eef4ff;
  box-shadow: none;
}

.home-card-icon img,
.home-feature-icon img,
.home-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-card-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.home-feature-section {
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
}

.home-feature-card {
  padding: 22px 16px 18px;
  text-align: center;
}

.home-feature-icon {
  margin: 0 auto 16px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.home-feature-card h3 {
  font-size: 18px;
}

.home-industry-card {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: end;
}

.home-industry-copy {
  display: grid;
  gap: 8px;
}

.home-industry-visual {
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f2f7ff, #ffffff);
  display: grid;
  place-items: center;
}

.home-industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-industry-visual.is-fallback span {
  font-size: 42px;
}

.home-stats-section .title {
  margin-bottom: 20px;
}

.home-stat-card {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 20px;
}

.home-stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.home-cta-wrap {
  padding-top: 20px;
}

.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 360px) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.22), transparent 20%),
    linear-gradient(135deg, #0e63ff 0%, #1c7cff 58%, #42b7ff 100%);
  box-shadow: 0 18px 42px rgba(20,99,255,.24);
}

.home-cta-copy h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 8px;
}

.home-cta-copy p {
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

.home-cta-visual {
  aspect-ratio: 36 / 11;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
}

.home-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-cta-visual.is-fallback {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.16);
}

.home-cta-visual.is-fallback span {
  position: absolute;
  inset: auto;
  display: block;
  border-radius: 16px;
  background: rgba(255,255,255,.15);
}

.home-cta-visual.is-fallback span:nth-child(1) {
  width: 74px;
  height: 74px;
  left: 18px;
  bottom: 14px;
}

.home-cta-visual.is-fallback span:nth-child(2) {
  width: 46px;
  height: 46px;
  right: 18px;
  top: 18px;
}

.home-cta-visual.is-fallback span:nth-child(3) {
  width: 120px;
  height: 14px;
  left: 18px;
  top: 22px;
  border-radius: 999px;
}

.home-cta-btn {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.chat-section {
  padding: 52px 0;
}

.chat-showcase-grid,
.chat-feature-grid,
.chat-metric-grid,
.chat-pricing-grid,
.chat-scene-grid {
  display: grid;
  gap: 18px;
  justify-content: center;
}

.chat-showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
}

.chat-showcase-card,
.chat-feature-card,
.chat-metric-card,
.chat-price-card,
.chat-scene-card {
  background: #fff;
  border: 1px solid #e6eefc;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(10, 38, 85, 0.06);
}

.chat-showcase-card {
  overflow: hidden;
}

.chat-showcase-media {
  aspect-ratio: 30 / 19;
  height: auto;
  background: linear-gradient(135deg, #edf4ff, #ffffff);
  display: grid;
  place-items: center;
}

.chat-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-showcase-media.is-fallback span {
  font-size: 54px;
}

.chat-showcase-body {
  padding: 18px 18px 20px;
}

.chat-showcase-body h3,
.chat-feature-card h3,
.chat-metric-card h3,
.chat-scene-card h3,
.chat-price-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.chat-showcase-body p,
.chat-feature-card p,
.chat-metric-card p,
.chat-scene-card p,
.chat-price-card p {
  color: #6b7a92;
  font-size: 14px;
  line-height: 1.65;
}

.chat-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
}

.chat-feature-card,
.chat-scene-card {
  padding: 22px 16px 18px;
  text-align: center;
}

.chat-feature-icon,
.chat-metric-icon,
.chat-scene-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a6cff 0%, #5fa7ff 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(20,99,255,.18);
  overflow: hidden;
}

.chat-feature-icon.is-image,
.chat-metric-icon.is-image,
.chat-scene-icon.is-image {
  padding: 10px;
  background: #eef4ff;
  box-shadow: none;
}

.chat-feature-icon img,
.chat-metric-icon img,
.chat-scene-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
}

.chat-metric-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-metric-icon {
  margin: 0;
  flex-shrink: 0;
}

.chat-metric-card strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.chat-pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
}

.chat-price-card {
  position: relative;
  padding: 26px 24px 24px;
  display: grid;
  gap: 14px;
}

.chat-price-card.is-hot {
  border-color: rgba(20,99,255,.4);
  box-shadow: 0 18px 36px rgba(20,99,255,.14);
}

.chat-price-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.chat-price-value {
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.chat-price-value small {
  font-size: 14px;
  color: #6b7a92;
  font-weight: 700;
}

.chat-price-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.chat-price-list li {
  font-size: 14px;
  color: #4d5f7d;
}

.chat-price-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
  margin-right: 8px;
}

.chat-scene-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 190px));
}

.chat-bottom-cta-wrap {
  padding-top: 16px;
}

.chat-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px auto;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0e63ff 0%, #1c7cff 58%, #42b7ff 100%);
  box-shadow: 0 18px 42px rgba(20,99,255,.24);
}

.chat-bottom-cta-copy h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 8px;
}

.chat-bottom-cta-copy p {
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

.chat-bottom-cta .btn {
  background: #fff;
  color: var(--blue);
}

.chat-bottom-cta-visual {
  height: 110px;
  border-radius: 18px;
  overflow: hidden;
}

.chat-bottom-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.chat-bottom-cta-visual.is-fallback {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
}

.chat-bottom-cta-visual.is-fallback span {
  position: absolute;
  display: block;
  border-radius: 14px;
  background: rgba(255,255,255,.15);
}

.chat-bottom-cta-visual.is-fallback span:nth-child(1) {
  width: 72px;
  height: 72px;
  left: 18px;
  bottom: 16px;
}

.chat-bottom-cta-visual.is-fallback span:nth-child(2) {
  width: 44px;
  height: 44px;
  right: 22px;
  top: 16px;
}

.chat-bottom-cta-visual.is-fallback span:nth-child(3) {
  width: 126px;
  height: 14px;
  left: 18px;
  top: 20px;
  border-radius: 999px;
}

.section-list {
  display: grid;
  gap: 14px;
}

.section-item-list {
  display: grid;
  gap: 14px;
}

.section-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.section-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-card-title {
  font-size: 16px;
  font-weight: 800;
}

.section-item-card {
  border: 1px solid #e6eefc;
  border-radius: 16px;
  background: #fbfdff;
  padding: 14px;
}

.section-image-preview {
  width: 92px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  justify-self: start;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e1ebfb;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.section-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-row + .toolbar-row {
  margin-top: 12px;
}

.mono-area {
  min-height: 140px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.case-cover-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.empty-media {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.thumb-media.empty-media {
  border-bottom: 1px solid var(--line);
}

.about-hero .page-hero-grid {
  align-items: center;
}

.about-section {
  padding: 46px 0;
}

.about-section .title {
  margin-bottom: 28px;
}

.about-section .title h2 {
  font-size: 34px;
}

.about-section .title p {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro-grid,
.about-metric-grid,
.about-capability-grid,
.about-culture-grid,
.about-partner-grid {
  display: grid;
  gap: 18px;
  justify-content: center;
}

.about-intro-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
}

.about-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
}

.about-capability-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
}

.about-culture-grid,
.about-partner-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
}

.about-intro-card,
.about-metric-card,
.about-capability-card,
.about-culture-card,
.about-partner-card {
  border: 1px solid #e6eefc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(10, 38, 85, 0.06);
}

.about-intro-card,
.about-metric-card,
.about-capability-card,
.about-culture-card {
  padding: 24px 22px;
}

.about-partner-card {
  padding: 20px 18px;
  text-align: center;
}

.about-card-icon,
.about-metric-icon,
.about-partner-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}

.about-partner-icon {
  margin: 0 auto 14px;
}

.about-intro-card h3,
.about-metric-card h3,
.about-capability-card h3,
.about-culture-card h3,
.about-partner-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.about-intro-card p,
.about-metric-card p,
.about-capability-card p,
.about-culture-card p,
.about-partner-card p {
  color: #6b7a92;
  font-size: 14px;
  line-height: 1.7;
}

.about-metric-card {
  text-align: center;
}

.about-metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.about-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  top: 31px;
  border-top: 2px dashed #c7dcff;
}

.about-timeline-item {
  position: relative;
  text-align: center;
}

.about-timeline-year {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.about-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
  margin: 12px auto 16px;
  position: relative;
  z-index: 1;
}

.about-timeline-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.about-timeline-item p {
  color: #6b7a92;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .visual-media,
  .mock-media {
    height: 320px;
  }

  .home-hero-grid,
  .page-hero-grid,
  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-hero.has-bg {
    background:
      linear-gradient(180deg, rgba(246, 249, 255, 0.96) 0%, rgba(246, 249, 255, 0.88) 42%, rgba(246, 249, 255, 0.62) 100%),
      var(--hero-bg-image) center bottom / min(92%, 680px) auto no-repeat,
      linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
  }

  .home-hero.has-bg .home-hero-grid {
    min-height: 420px;
  }

  .page-hero.has-bg {
    background:
      linear-gradient(180deg, rgba(246, 249, 255, 0.96) 0%, rgba(246, 249, 255, 0.88) 42%, rgba(246, 249, 255, 0.62) 100%),
      var(--page-hero-bg-image) center bottom / min(92%, 680px) auto no-repeat,
      linear-gradient(180deg, #f6f9ff 0%, #ffffff 92%);
  }

  .page-hero.has-bg .page-hero-grid {
    min-height: 380px;
  }

  .home-business-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  }

  .chat-showcase-grid,
  .home-industry-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  }

  .home-feature-grid,
  .chat-feature-grid,
  .chat-scene-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
  }

  .chat-metric-grid,
  .chat-pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  }

  .about-timeline {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .about-capability-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 210px));
  }

  .chat-bottom-cta {
    grid-template-columns: 1fr;
  }

  .gallery-editor-item {
    grid-template-columns: 150px 1fr;
  }

  .home-cta-btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .visual-media,
  .mock-media {
    min-height: 220px;
  }

  .section-card-head,
  .toolbar-row,
  .upload-row,
  .gallery-editor-head,
  .gallery-row-actions {
    align-items: stretch;
  }

  .gallery-editor-head,
  .gallery-editor-item,
  .gallery-row-actions {
    grid-template-columns: 1fr;
  }

  .gallery-editor-head,
  .gallery-row-actions {
    flex-direction: column;
  }

  .gallery-row-actions input[type="file"] {
    min-width: 0;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
  }

  .home-hero-copy h1 {
    font-size: 40px;
  }

  .home-hero-subtitle {
    font-size: 20px;
  }

  .home-business-grid,
  .home-feature-grid,
  .home-industry-grid,
  .home-stats-grid,
  .about-intro-grid,
  .about-metric-grid,
  .about-capability-grid,
  .about-culture-grid,
  .about-partner-grid,
  .about-timeline,
  .chat-showcase-grid,
  .chat-feature-grid,
  .chat-metric-grid,
  .chat-pricing-grid,
  .chat-scene-grid,
  .chat-bottom-cta {
    grid-template-columns: 1fr;
  }

  .home-industry-card {
    grid-template-columns: 1fr;
  }

  .home-cta {
    padding: 24px 20px;
  }

  .home-cta-copy h2 {
    font-size: 24px;
  }
}

.copyright a {
  color: #cfe0ff;
  transition: color .2s;
}

.copyright a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-separator {
  color: rgba(255, 255, 255, .38);
}

.news-card h3 {
  min-height: 56px;
  line-height: 1.35;
}

.news-card .case-body p {
  min-height: 48px;
}

.news-thumb img,
.news-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-thumb-fallback {
  background: linear-gradient(135deg, #f0f7ff, #fff);
}

.news-detail-cover {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.news-article-wrap {
  max-width: 880px;
}

.news-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(10, 38, 85, .07);
  padding: 42px;
  color: var(--text);
}

.news-article h2 {
  font-size: 28px;
  line-height: 1.35;
  margin: 28px 0 12px;
}

.news-article h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 22px 0 10px;
}

.news-article p,
.news-article li {
  color: #43536d;
  font-size: 16px;
  line-height: 1.95;
}

.news-article p + p,
.news-article ul,
.news-article ol,
.news-article blockquote {
  margin-top: 16px;
}

.news-article ul,
.news-article ol {
  padding-left: 1.4em;
}

.news-article a {
  color: var(--blue);
  font-weight: 800;
}

.news-article blockquote {
  border-left: 4px solid var(--blue);
  background: #f7fbff;
  padding: 14px 18px;
  border-radius: 12px;
}

.news-modal-card {
  width: min(960px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.rich-editor {
  height: 360px;
  max-height: 42vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce7f7;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  outline: none;
  color: var(--text);
  line-height: 1.85;
}

.rich-editor::-webkit-scrollbar {
  width: 10px;
}

.rich-editor::-webkit-scrollbar-track {
  background: #f2f6ff;
  border-radius: 999px;
}

.rich-editor::-webkit-scrollbar-thumb {
  background: #c7d7f2;
  border: 2px solid #f2f6ff;
  border-radius: 999px;
}

.rich-editor::-webkit-scrollbar-thumb:hover {
  background: #9fb8e4;
}

.rich-editor:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 99, 255, .08);
}

.rich-editor h2,
.rich-editor h3,
.rich-editor p,
.rich-editor ul,
.rich-editor ol {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .news-article {
    padding: 24px 20px;
  }

  .news-detail-cover {
    min-height: 220px;
  }

  .rich-editor {
    height: 300px;
    max-height: 48vh;
  }
}
