:root {
  --ys-primary: #3474ff;
  --ys-primary-hover: #1f5ee8;
  --ys-primary-soft: #eef4ff;
  --ys-navy: #082f5b;
  --ys-navy-deep: #061f3d;
  --ys-ink: #172238;
  --ys-text: #596578;
  --ys-muted: #8490a3;
  --ys-border: #e6ebf2;
  --ys-surface: #ffffff;
  --ys-bg: #f5f8fd;
  --ys-radius: 12px;
  --ys-radius-sm: 8px;
  --ys-shadow: 0 14px 40px rgba(18, 39, 79, 0.08);
  --ys-shadow-hover: 0 22px 48px rgba(18, 39, 79, 0.14);
  --ys-nav-height: 72px;
  --ys-tone-a: #9f1f36;
  --ys-tone-b: #751426;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body.ys-site {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--ys-nav-height);
  color: var(--ys-text);
  background: var(--ys-surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.ys-site a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.ys-site a:hover,
body.ys-site a:focus {
  text-decoration: none;
}

.oayx-header nav a:focus,
.oayx-header nav a:focus-visible {
  outline: none;
  box-shadow: none;
}

body.ys-site img {
  max-width: 100%;
}

body.ys-site button {
  font-family: inherit;
}

.ys-site .container {
  width: 100%;
  max-width: 1200px;
}

.ys-site h1,
.ys-site h2,
.ys-site h3,
.ys-site h4 {
  margin-top: 0;
  color: var(--ys-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ys-eyebrow {
  margin: 0 0 12px;
  color: var(--ys-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ys-eyebrow--light {
  color: #7aa8ff;
}

/* Header */
.ys-header {
  position: relative;
  z-index: 1030;
}

.ys-navbar.navbar {
  min-height: var(--ys-nav-height);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(18, 39, 79, 0.06);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.ys-navbar.navbar.navbar-fixed-top {
  position: fixed;
}

.ys-navbar.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(18, 39, 79, 0.1);
  backdrop-filter: blur(14px);
}

.ys-navbar-inner {
  min-height: var(--ys-nav-height);
}

.ys-navbar .navbar-header {
  min-height: var(--ys-nav-height);
}

.ys-navbar .navbar-brand.ys-brand {
  display: flex;
  align-items: center;
  height: var(--ys-nav-height);
  margin-left: 0;
  padding: 0;
  color: #203b65;
  font-size: 20px;
  font-weight: 700;
}

.ys-navbar .navbar-brand.ys-brand img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 42px;
}

.ys-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  margin-right: 9px;
  flex: 0 0 auto;
}

.ys-brand-mark i {
  position: absolute;
  display: block;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: skewX(-18deg);
}

.ys-brand-mark i:nth-child(1) {
  top: 3px;
  left: 2px;
  width: 28px;
  border-color: #5e8cff transparent #5e8cff #5e8cff;
}

.ys-brand-mark i:nth-child(2) {
  top: 11px;
  left: 7px;
  width: 23px;
  border-color: #3974ff transparent #3974ff #3974ff;
}

.ys-brand-mark i:nth-child(3) {
  top: 19px;
  left: 12px;
  width: 18px;
  border-color: #1855df transparent #1855df #1855df;
}

.ys-brand-mark--blue {
  width: 42px;
  height: 34px;
  color: var(--ys-primary);
  transform: scale(1.16);
}

.ys-brand-name {
  white-space: nowrap;
}

.ys-navbar .navbar-toggle {
  margin-top: 18px;
  margin-right: 0;
  border: 0;
  border-radius: 8px;
  background: var(--ys-primary-soft);
}

.ys-navbar .navbar-toggle .icon-bar {
  background: var(--ys-primary);
}

.ys-main-nav {
  display: flex;
  align-items: center;
}

.ys-navbar .ys-main-nav > li {
  position: relative;
}

.ys-navbar .ys-main-nav > li > a.ys-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--ys-nav-height);
  padding: 0 18px;
  color: #344259;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--ys-nav-height);
}

.ys-navbar .ys-main-nav > li > a.ys-nav-link i {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.55;
}

.ys-navbar .ys-main-nav > li > a.ys-nav-link::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--ys-primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ys-navbar .ys-main-nav > li.active > a.ys-nav-link,
.ys-navbar .ys-main-nav > li > a.ys-nav-link:hover,
.ys-navbar .ys-main-nav > li.open > a.ys-nav-link {
  color: var(--ys-primary);
}

.ys-navbar .ys-main-nav > li.active > a.ys-nav-link::after,
.ys-navbar .ys-main-nav > li > a.ys-nav-link:hover::after,
.ys-navbar .ys-main-nav > li.open > a.ys-nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.ys-dropdown.dropdown-menu {
  top: calc(100% - 8px);
  left: 50%;
  min-width: 168px;
  padding: 8px;
  border: 1px solid var(--ys-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 39, 79, 0.14);
  transform: translateX(-50%);
}

.ys-dropdown.dropdown-menu::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--ys-border);
  border-left: 1px solid var(--ys-border);
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.ys-dropdown.dropdown-menu > li > a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #4d5a6c;
  font-size: 14px;
}

.ys-dropdown.dropdown-menu > li > a:hover,
.ys-dropdown.dropdown-menu > li > a:focus {
  color: var(--ys-primary);
  background: var(--ys-primary-soft);
}

@media (min-width: 992px) {
  .ys-main-nav .dropdown:hover > .ys-dropdown {
    display: block;
  }
}

.ys-nav-actions {
  display: flex;
  align-items: center;
  height: var(--ys-nav-height);
}

.ys-navbar .ys-nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #3d7cff, #2161eb);
  box-shadow: 0 8px 20px rgba(52, 116, 255, 0.2);
  font-size: 14px;
  font-weight: 600;
}

.ys-navbar .ys-nav-contact i {
  margin-right: 7px;
}

.ys-navbar .ys-nav-contact:hover {
  color: #fff;
  background: linear-gradient(135deg, #2e6cf2, #1854d9);
  transform: translateY(-1px);
}

/* Shared buttons and headings */
.ys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.ys-btn i {
  margin-left: 8px;
  font-size: 13px;
}

.ys-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #3575ff, #1f5ee7);
  box-shadow: 0 10px 26px rgba(52, 116, 255, 0.22);
}

.ys-btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #2f6cf0, #174fce);
  transform: translateY(-2px);
}

.ys-btn-ghost {
  border-color: #dbe3ef;
  color: #435167 !important;
  background: #fff;
}

.ys-btn-ghost:hover {
  border-color: #b9c9e3;
  color: var(--ys-primary) !important;
  background: #f8fbff;
}

.ys-section {
  position: relative;
  padding: 86px 0;
}

.ys-section-head {
  margin-bottom: 34px;
}

.ys-section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.ys-section-title-row h2,
.ys-section-head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.3;
}

.ys-section-title-row p,
.ys-section-head > p:not(.ys-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--ys-text);
  font-size: 15px;
}

.ys-text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 0;
  color: var(--ys-primary) !important;
  font-size: 14px;
  font-weight: 600;
}

.ys-text-link i {
  margin-left: 7px;
  transition: transform 0.2s ease;
}

.ys-text-link:hover i {
  transform: translateX(4px);
}

.ys-text-link--light {
  color: #a9c7ff !important;
}

.ys-empty {
  padding: 54px 20px;
  border: 1px dashed #cdd7e7;
  border-radius: var(--ys-radius);
  color: var(--ys-muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.ys-empty--dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

/* Home hero */
.ys-hero {
  position: relative;
  min-height: 592px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 25%, rgba(52, 116, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 72%, #f5f9ff 100%);
}

.ys-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(78, 120, 185, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 120, 185, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.ys-hero-stage {
  position: relative;
  min-height: 592px;
}

.ys-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.ys-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.ys-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 54px;
  min-height: 592px;
  padding: 46px 0 58px;
}

.ys-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.ys-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 750;
  line-height: 1.2;
}

.ys-hero-summary {
  max-width: 510px;
  margin: 0 0 28px;
  color: #607087;
  font-size: 16px;
  line-height: 1.9;
}

.ys-hero-summary > :last-child {
  margin-bottom: 0;
}

.ys-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ys-hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ys-hero-image {
  display: block;
  width: 100%;
  max-height: 390px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(20, 48, 96, 0.18);
}

.ys-dashboard-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.58;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 36%, rgba(59, 136, 255, 0.15), transparent 28%),
    linear-gradient(145deg, #071a33, #0a2445 68%, #08203d);
  box-shadow: 0 28px 70px rgba(13, 41, 84, 0.22);
}

.ys-dashboard-preview::after {
  position: absolute;
  right: -24%;
  bottom: -40%;
  width: 62%;
  height: 75%;
  border: 1px solid rgba(64, 139, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.ys-dash-top {
  display: flex;
  align-items: center;
  height: 18px;
  margin-bottom: 8px;
}

.ys-dash-top span {
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #4b6f9e;
}

.ys-dash-top b {
  width: 30%;
  height: 5px;
  margin-left: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.ys-dash-layout {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  height: calc(100% - 26px);
}

.ys-dash-side {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 11px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ys-dash-side i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgba(160, 194, 245, 0.18);
}

.ys-dash-side i:first-child {
  background: rgba(65, 127, 255, 0.8);
}

.ys-dash-main {
  display: grid;
  grid-template-rows: 62px 1fr 34px;
  gap: 9px;
  min-width: 0;
}

.ys-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.ys-dash-kpis span {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.ys-dash-chart {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background:
    linear-gradient(rgba(116, 158, 222, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 158, 222, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.025);
  background-size: 30px 30px;
}

.ys-dash-chart i,
.ys-dash-chart b,
.ys-dash-chart em {
  position: absolute;
  top: 22%;
  left: 6%;
  display: block;
  width: 72%;
  height: 55%;
  border-top: 2px solid rgba(61, 138, 255, 0.78);
  border-radius: 50%;
  content: "";
  transform: rotate(-7deg);
}

.ys-dash-chart b {
  top: 38%;
  left: 18%;
  width: 67%;
  height: 45%;
  border-color: rgba(70, 204, 184, 0.62);
  transform: rotate(5deg);
}

.ys-dash-chart em {
  top: 56%;
  left: 34%;
  width: 44%;
  height: 28%;
  border-color: rgba(111, 114, 255, 0.58);
  transform: rotate(-14deg);
}

.ys-dash-lines {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 7px;
}

.ys-dash-lines span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.ys-hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e4e9f1;
  border-radius: 50%;
  color: #8390a3;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 49, 88, 0.1);
  transform: translateY(-50%);
}

.ys-hero-arrow:hover {
  color: var(--ys-primary);
  border-color: #bcd0f5;
}

.ys-hero-prev {
  left: max(18px, calc((100vw - 1320px) / 2));
}

.ys-hero-next {
  right: max(18px, calc((100vw - 1320px) / 2));
}

.ys-hero-dots {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ys-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cad5e7;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.ys-hero-dots button.is-active {
  width: 22px;
  background: var(--ys-primary);
}

/* Products */
.ys-products-section {
  background:
    radial-gradient(circle at 90% 15%, rgba(61, 122, 255, 0.08), transparent 20%),
    var(--ys-bg);
}

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

.ys-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17, 38, 76, 0.035);
}

.ys-product-card:hover {
  border-color: #d8e1ef;
  box-shadow: var(--ys-shadow-hover);
  transform: translateY(-4px);
}

.ys-product-card.ys-tone-1 { --ys-tone-a: #a31e37; --ys-tone-b: #701226; }
.ys-product-card.ys-tone-2 { --ys-tone-a: #2472b6; --ys-tone-b: #12446f; }
.ys-product-card.ys-tone-3 { --ys-tone-a: #4d3498; --ys-tone-b: #2c1e64; }
.ys-product-card.ys-tone-4 { --ys-tone-a: #0c5d52; --ys-tone-b: #073f3a; }
.ys-product-card.ys-tone-5 { --ys-tone-a: #1d3f77; --ys-tone-b: #152e59; }
.ys-product-card.ys-tone-6 { --ys-tone-a: #157065; --ys-tone-b: #0b4c47; }
.ys-product-card.ys-tone-7 { --ys-tone-a: #143c74; --ys-tone-b: #0a2b57; }
.ys-product-card.ys-tone-8 { --ys-tone-a: #583b20; --ys-tone-b: #3d2916; }

.ys-product-cover {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 20px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ys-tone-a), var(--ys-tone-b));
}

.ys-product-cover::before {
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.ys-product-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.8);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.ys-product-card:hover .ys-product-cover > img {
  opacity: 0.28;
  transform: scale(1.04);
}

.ys-product-cover-copy {
  position: relative;
  z-index: 2;
  max-width: 86%;
}

.ys-product-cover-label {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  line-height: 1;
}

.ys-product-cover h3 {
  margin: 13px 0 5px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.ys-product-cover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.ys-product-orbit {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 17px;
  display: block;
  width: 48px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.ys-product-orbit--two {
  right: 53px;
  bottom: -2px;
  width: 82px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.1);
}

.ys-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 16px;
}

.ys-product-badge,
.ys-case-industry {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 20px;
  padding: 0 7px;
  border-radius: 3px;
  color: #2d69dd;
  background: #eef4ff;
  font-size: 10px;
  line-height: 1;
}

.ys-product-title {
  margin: 9px 0 8px;
  font-size: 16px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ys-product-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 17px;
  color: #6b7789;
  font-size: 12px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ys-product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f2f6;
}

.ys-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
}

.ys-product-price small {
  width: 100%;
  color: #98a2b1;
  font-size: 10px;
}

.ys-product-price strong {
  color: #2c6eed;
  font-size: 17px;
  line-height: 1;
}

.ys-product-price strong em {
  font-size: 11px;
  font-style: normal;
}

.ys-product-price del {
  color: #aab3c0;
  font-size: 10px;
}

.ys-product-tag,
.ys-product-action {
  color: #66758b;
  font-size: 11px;
}

.ys-product-action {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #2d6de9;
  font-weight: 600;
}

.ys-product-action i,
.ys-case-link i {
  margin-left: 4px;
}

/* About */
.ys-about-section {
  overflow: hidden;
  background: #fff;
}

.ys-about-section::after {
  position: absolute;
  top: 18%;
  left: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 128, 255, 0.09), transparent 68%);
  content: "";
}

.ys-about-grid,
.ys-about-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 72px;
}

.ys-about-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.ys-about-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 7px;
  object-fit: contain;
}

.ys-about-title .ys-eyebrow {
  margin-bottom: 4px;
}

.ys-about-title h2 {
  margin: 0;
  font-size: 30px;
}

.ys-about-summary,
.ys-about-detail-lead {
  margin: 0 0 20px;
  color: #5f6c7f;
  font-size: 15px;
  line-height: 1.95;
}

.ys-about-media,
.ys-about-detail-media {
  overflow: hidden;
  border-radius: 12px;
  background: #edf3fc;
  box-shadow: var(--ys-shadow);
}

.ys-about-media {
  aspect-ratio: 1.65;
}

.ys-about-media img,
.ys-about-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-about-media-fallback {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(rgba(9, 36, 72, 0.1), rgba(7, 32, 65, 0.78)),
    linear-gradient(135deg, #aec8ea, #4f7cb3 55%, #1e4678);
}

.ys-about-media-fallback::before {
  position: absolute;
  top: -18%;
  right: -8%;
  width: 55%;
  height: 72%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.ys-about-media-fallback span {
  position: absolute;
  bottom: 0;
  width: 22%;
  border-radius: 80px 80px 0 0;
  background: rgba(255, 255, 255, 0.16);
}

.ys-about-media-fallback span:nth-child(1) {
  right: 8%;
  height: 54%;
}

.ys-about-media-fallback span:nth-child(2) {
  right: 31%;
  height: 40%;
}

.ys-about-media-fallback span:nth-child(3) {
  right: 52%;
  height: 31%;
}

.ys-about-media-fallback b {
  position: relative;
  z-index: 2;
  font-size: 26px;
  letter-spacing: 0.04em;
}

.ys-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border: 1px solid var(--ys-border);
  border-radius: 8px;
  background: #fff;
}

.ys-stats > div {
  position: relative;
  padding: 18px 20px;
}

.ys-stats > div + div::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--ys-border);
  content: "";
}

.ys-stats strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ys-ink);
  font-size: 26px;
  line-height: 1.25;
}

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

/* Why */
.ys-why-section,
.ys-why-listing {
  overflow: hidden;
  color: var(--ys-muted);
  background: #fff;
}

.ys-why-section::before,
.ys-why-listing::before {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(50, 104, 180, 0.08);
  border-radius: 50%;
  content: "";
}

.ys-section-head--light h2,
.ys-section-head--light h2,
.ys-section-head--light .ys-section-title-row h2 {
  color: #fff;
}

.ys-section-head--light .ys-section-title-row p,
.ys-section-head--light > p:not(.ys-eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

.ys-why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ys-why-card {
  min-height: 214px;
  padding: 28px 23px 24px;
  border: 1px solid #e4eaf2;
  border-radius: 9px;
  background: #f8fbff;
  text-align: center;
  box-shadow: 0 3px 12px rgba(17, 38, 76, 0.035);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ys-why-card:hover {
  border-color: #d6e0ed;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 38, 76, 0.08);
  transform: translateY(-3px);
}

.ys-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ys-tone-a), var(--ys-tone-b));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.ys-why-icon.ys-tone-1 { --ys-tone-a: #eeb445; --ys-tone-b: #d88715; }
.ys-why-icon.ys-tone-2 { --ys-tone-a: #4ca9ed; --ys-tone-b: #2377c0; }
.ys-why-icon.ys-tone-3 { --ys-tone-a: #3fc6b2; --ys-tone-b: #159682; }
.ys-why-icon.ys-tone-4 { --ys-tone-a: #9b78eb; --ys-tone-b: #704bc4; }

.ys-why-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--ys-primary);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ys-why-card h3 {
  margin: 0 0 10px;
  color: var(--ys-ink);
  font-size: 17px;
}

.ys-why-card p {
  margin: 0;
  color: #697789;
  font-size: 12px;
  line-height: 1.8;
}

.ys-why-card .ys-why-body {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9eef5;
  color: #7a8798;
  font-size: 12.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Cases */
.ys-cases-section {
  background:
    radial-gradient(circle at 8% 90%, rgba(48, 111, 235, 0.055), transparent 24%),
    #fff;
}

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

.ys-case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17, 38, 76, 0.035);
}

.ys-case-card:hover {
  border-color: #d8e1ef;
  box-shadow: var(--ys-shadow-hover);
  transform: translateY(-4px);
}

.ys-case-card.ys-tone-1 { --ys-tone-a: #9f1f36; --ys-tone-b: #741426; }
.ys-case-card.ys-tone-2 { --ys-tone-a: #1c4e7b; --ys-tone-b: #123453; }
.ys-case-card.ys-tone-3 { --ys-tone-a: #0e5b51; --ys-tone-b: #093f39; }
.ys-case-card.ys-tone-4 { --ys-tone-a: #253a91; --ys-tone-b: #172766; }
.ys-case-card.ys-tone-5 { --ys-tone-a: #683c98; --ys-tone-b: #46256f; }
.ys-case-card.ys-tone-6 { --ys-tone-a: #197069; --ys-tone-b: #0f504c; }
.ys-case-card.ys-tone-7 { --ys-tone-a: #3e3028; --ys-tone-b: #291d17; }
.ys-case-card.ys-tone-8 { --ys-tone-a: #683719; --ys-tone-b: #43230f; }

.ys-case-cover {
  position: relative;
  overflow: hidden;
  min-height: 130px;
  padding: 20px 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--ys-tone-a), var(--ys-tone-b));
}

.ys-case-cover::after {
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.ys-case-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.ys-case-cover-copy {
  position: relative;
  z-index: 2;
}

.ys-case-cover-copy > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.ys-case-cover h3 {
  margin: 8px 0 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.ys-case-cover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.ys-case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 17px 16px;
}

.ys-case-metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 11px 0 8px;
}

.ys-case-metric strong {
  color: #c5303d;
  font-size: 17px;
  line-height: 1.3;
}

.ys-case-metric span {
  color: #7e899a;
  font-size: 10px;
}

.ys-case-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  margin: 0 0 14px;
  color: #6d7889;
  font-size: 11px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ys-case-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: #536378;
  font-size: 11px;
  font-weight: 600;
}

.ys-case-card:hover .ys-case-link {
  color: var(--ys-primary);
}

/* Consult CTA */
.ys-consult-section {
  padding: 62px 0;
  background:
    radial-gradient(circle at 17% 12%, rgba(44, 106, 207, 0.26), transparent 23%),
    linear-gradient(130deg, #062a50, #092e59 58%, #071f3a);
}

.ys-consult-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  align-items: center;
  gap: 60px;
  min-height: 292px;
}

.ys-consult-copy h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 36px;
  line-height: 1.35;
}

.ys-consult-copy > p:not(.ys-eyebrow) {
  max-width: 660px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.ys-consult-time {
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: 12px !important;
}

.ys-consult-time i {
  margin-right: 7px;
}

.ys-consult-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px 24px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.ys-consult-card > p {
  margin: 0 0 12px;
  color: #293a52;
  font-size: 13px;
  font-weight: 600;
}

.ys-consult-card img,
.ys-consult-qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  margin-bottom: 15px;
  object-fit: contain;
  color: #adc2e4;
  background:
    linear-gradient(90deg, #263a54 5px, transparent 5px) 0 0 / 14px 14px,
    linear-gradient(#263a54 5px, transparent 5px) 0 0 / 14px 14px,
    #fff;
}

.ys-consult-qr-placeholder {
  font-size: 66px;
  background: #f5f8fd;
}

.ys-consult-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  border-radius: 3px;
  color: #fff;
  background: #3474ff;
  font-size: 12px;
  font-weight: 600;
}

.ys-consult-card > a:hover {
  background: #245fe1;
}

.ys-consult-card small {
  margin-top: 8px;
  color: #a0a9b6;
  font-size: 10px;
}

/* Page heroes */
.ys-page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background:
    radial-gradient(circle at 83% 25%, rgba(55, 121, 255, 0.13), transparent 23%),
    linear-gradient(180deg, #f8fbff, #f1f6fd);
}

.ys-page-hero::after {
  position: absolute;
  top: -50%;
  right: 2%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(76, 130, 220, 0.09);
  border-radius: 50%;
  content: "";
}

.ys-page-hero .container {
  position: relative;
  z-index: 1;
}

.ys-page-hero h1 {
  max-width: 850px;
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.25;
}

.ys-page-summary {
  max-width: 740px;
  margin: 0;
  color: #627084;
  font-size: 16px;
  line-height: 1.85;
}

.ys-page-hero--case {
  background:
    radial-gradient(circle at 85% 20%, rgba(41, 101, 194, 0.1), transparent 22%),
    linear-gradient(180deg, #fbfcfe, #f5f8fc);
}

.ys-page-hero--products {
  padding: 54px 0 34px;
}

.ys-page-hero--products .ys-breadcrumb {
  margin-bottom: 30px;
}

.ys-page-hero--products h1 {
  margin-bottom: 0;
}

.ys-page-hero--about {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body.ys-about-page,
body.ys-about-page main {
  background: #fff;
}

body.ys-why-page,
body.ys-why-page main,
body.ys-why-page .ys-page-hero {
  background: #fff;
}

body.ys-about-page .ys-about-detail {
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0,
    #fbfcfe 90px,
    #f7f9fc 180px,
    #f4f6f9 280px,
    #f4f6f9 100%
  );
}

body.ys-about-page .ys-about-detail-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
}

body.ys-about-page .ys-about-detail-copy {
  max-width: 560px;
}

body.ys-about-page .ys-about-title {
  gap: 12px;
  margin-bottom: 28px;
}

body.ys-about-page .ys-about-logo {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  border-radius: 8px;
}

body.ys-about-page .ys-about-title .ys-eyebrow {
  margin-bottom: 5px;
  font-size: 14px;
}

body.ys-about-page .ys-about-title h2 {
  font-size: 36px;
  line-height: 1.25;
}

body.ys-about-page .ys-about-detail-lead {
  margin-bottom: 26px;
  font-size: 18px;
  line-height: 1.9;
}

body.ys-about-page .ys-about-detail .ys-rich-text {
  font-size: 17px;
  line-height: 1.95;
}

.ys-page-hero--dark {
  padding: 86px 0 82px;
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 84% 22%, rgba(52, 126, 255, 0.24), transparent 25%),
    linear-gradient(135deg, #082f5b, #061f3d);
}

.ys-page-hero--dark::after {
  border-color: rgba(255, 255, 255, 0.08);
}

.ys-page-hero--dark h1 {
  color: #fff;
}

.ys-page-hero--dark .ys-page-summary {
  color: rgba(255, 255, 255, 0.63);
}

.ys-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 44px;
  color: #7d8b9e;
  font-size: 12px;
}

.ys-breadcrumb a {
  color: #596a80;
}

.ys-breadcrumb a:hover {
  color: var(--ys-primary);
}

.ys-breadcrumb i {
  color: #b0bac8;
  font-size: 10px;
}

.ys-breadcrumb--light,
.ys-breadcrumb--light a,
.ys-breadcrumb--light span {
  color: rgba(255, 255, 255, 0.56);
}

.ys-breadcrumb--light a:hover {
  color: #fff;
}

.ys-page-listing {
  padding-top: 48px;
}

.ys-page-listing--cases {
  padding-top: 54px;
}

.ys-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ys-border);
}

.ys-filter-label {
  flex: 0 0 auto;
  padding: 7px 0;
  color: #8995a6;
  font-size: 13px;
}

.ys-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ys-filters a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 5px;
  color: #5e6c80;
  font-size: 13px;
}

.ys-filters a:hover {
  color: var(--ys-primary);
  background: #f5f8fd;
}

.ys-filters a.is-active {
  color: var(--ys-primary);
  background: var(--ys-primary-soft);
  font-weight: 600;
}

.ys-product-grid--page,
.ys-case-grid--page {
  row-gap: 26px;
}

.ys-why-listing {
  padding-top: 56px;
  padding-bottom: 76px;
}

.ys-why-grid--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ys-why-grid--page .ys-why-card {
  min-height: 235px;
}

/* Pagination */
.ys-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 44px;
}

.ys-pagination a,
.ys-pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dfe5ee;
  border-radius: 5px;
  color: #627084;
  background: #fff;
  font-size: 13px;
}

.ys-pagination a:hover,
.ys-pagination a.is-active {
  border-color: var(--ys-primary);
  color: #fff;
  background: var(--ys-primary);
}

.ys-pagination .is-disabled {
  color: #c3cbd6;
  background: #f8fafc;
}

.ys-why-listing .ys-pagination a {
  border-color: #dfe5ee;
  color: #627084;
  background: #fff;
}

.ys-why-listing .ys-pagination a:hover,
.ys-why-listing .ys-pagination a.is-active {
  border-color: var(--ys-primary);
  color: #fff;
  background: var(--ys-primary);
}

.ys-why-listing .ys-pagination .is-disabled {
  border-color: #e8edf3;
  color: #c3cbd6;
  background: #f8fafc;
}

/* About detail */
.ys-about-detail {
  padding-top: 92px;
}

.ys-about-detail-grid {
  align-items: start;
}

.ys-about-detail-media {
  min-height: 410px;
}

.ys-about-media-fallback--large {
  min-height: 410px;
}

.ys-rich-text {
  color: #586578;
  font-size: 15px;
  line-height: 1.95;
  word-break: break-word;
}

.ys-rich-text > :first-child {
  margin-top: 0;
}

.ys-rich-text > :last-child {
  margin-bottom: 0;
}

.ys-rich-text h1,
.ys-rich-text h2,
.ys-rich-text h3,
.ys-rich-text h4,
.ys-rich-text h5 {
  margin: 1.6em 0 0.65em;
  color: var(--ys-ink);
  line-height: 1.45;
}

.ys-rich-text h2 {
  font-size: 24px;
}

.ys-rich-text h3 {
  font-size: 19px;
}

.ys-rich-text p {
  margin: 0 0 1.15em;
}

.ys-rich-text img {
  height: auto;
  max-width: 100%;
  margin: 1.5em auto;
  border-radius: 8px;
}

.ys-rich-text table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
}

.ys-rich-text th,
.ys-rich-text td {
  padding: 10px 12px;
  border: 1px solid var(--ys-border);
}

.ys-rich-text th {
  color: var(--ys-ink);
  background: #f7f9fc;
}

.ys-rich-text blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--ys-primary);
  color: #526176;
  background: #f7faff;
}

.ys-rich-text a {
  color: var(--ys-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ys-stats--about {
  max-width: 930px;
  margin-top: 60px;
}

/* Product detail */
.ys-product-detail-hero {
  padding: 48px 0 74px;
  background:
    radial-gradient(circle at 88% 16%, rgba(56, 119, 240, 0.1), transparent 24%),
    linear-gradient(180deg, #fbfdff, #f4f8fe);
}

.ys-product-detail-hero .ys-breadcrumb {
  margin-bottom: 38px;
}

.ys-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 62px;
}

.ys-product-detail-media {
  overflow: hidden;
  aspect-ratio: 1.42;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--ys-shadow);
}

.ys-product-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-detail-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(95, 160, 255, 0.5), transparent 25%),
    linear-gradient(135deg, #0b3566, #061e3b);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  text-align: center;
}

.ys-product-detail-copy h1 {
  margin: 16px 0 15px;
  font-size: 38px;
  line-height: 1.3;
}

.ys-detail-lead {
  margin: 0 0 20px;
  color: #5f6d80;
  font-size: 15px;
  line-height: 1.9;
}

.ys-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--ys-border);
  border-bottom: 1px solid var(--ys-border);
}

.ys-detail-price small {
  width: 100%;
  color: var(--ys-muted);
  font-size: 11px;
}

.ys-detail-price strong {
  color: var(--ys-primary);
  font-size: 29px;
  line-height: 1;
}

.ys-detail-price strong em {
  font-size: 14px;
  font-style: normal;
}

.ys-detail-price del {
  color: #9da7b5;
  font-size: 12px;
}

.ys-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #7d899a;
  font-size: 12px;
}

.ys-detail-meta i {
  margin-right: 5px;
  color: #96a8c0;
}

.ys-detail-actions {
  margin-top: 28px;
}

.ys-detail-actions .ys-btn {
  min-width: 144px;
}

.ys-detail-content-section {
  background: #fff;
}

.ys-detail-article {
  max-width: 930px;
  margin: 0 auto;
}

.ys-detail-heading {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ys-border);
}

.ys-detail-heading h2 {
  margin: 0;
  font-size: 27px;
}

.ys-attachments {
  margin-top: 36px;
  padding: 22px;
  border: 1px solid var(--ys-border);
  border-radius: 8px;
  background: #f9fbfe;
}

.ys-attachments h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.ys-attachments a {
  display: block;
  padding: 8px 0;
  color: var(--ys-primary);
  font-size: 14px;
}

.ys-attachments i {
  margin-right: 8px;
}

.ys-detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ys-border);
  border-bottom: 1px solid var(--ys-border);
}

.ys-detail-pager > a,
.ys-detail-pager > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 72px;
  padding: 15px 18px;
}

.ys-detail-pager > :nth-child(2) {
  border-left: 1px solid var(--ys-border);
  text-align: right;
}

.ys-detail-pager small {
  color: #9aa4b2;
  font-size: 11px;
}

.ys-detail-pager span,
.ys-detail-pager strong {
  overflow: hidden;
  color: #455369;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-detail-pager a:hover span {
  color: var(--ys-primary);
}

.ys-related {
  margin-top: 74px;
  padding-top: 36px;
  border-top: 1px solid var(--ys-border);
}

.ys-related .ys-section-title-row {
  margin-bottom: 26px;
}

.ys-related .ys-section-title-row h2 {
  font-size: 26px;
}

/* Article detail */
.ys-article-hero {
  padding: 48px 0 54px;
  background:
    radial-gradient(circle at 82% 20%, rgba(58, 122, 244, 0.08), transparent 22%),
    #f8fbff;
}

.ys-article-hero .ys-breadcrumb {
  margin-bottom: 38px;
}

.ys-article-heading {
  max-width: 860px;
}

.ys-article-category {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 3px;
  color: var(--ys-primary);
  background: var(--ys-primary-soft);
  font-size: 11px;
}

.ys-article-heading h1 {
  margin: 15px 0 17px;
  font-size: 38px;
  line-height: 1.35;
}

.ys-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #8490a2;
  font-size: 12px;
}

.ys-article-meta i {
  margin-right: 5px;
}

.ys-article-section {
  padding-top: 52px;
}

.ys-article-container {
  max-width: 900px !important;
}

.ys-article-cover {
  overflow: hidden;
  margin: 0 0 38px;
  border-radius: 10px;
}

.ys-article-cover img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.ys-article-lead {
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 3px solid #bcd1f7;
  color: #617086;
  font-size: 16px;
  line-height: 1.9;
}

/* Footer */
.ys-footer {
  color: rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 13% 0, rgba(44, 103, 187, 0.18), transparent 22%),
    #062a4e;
}

.ys-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr) minmax(220px, 0.72fr);
  gap: 54px;
  padding: 58px 0 45px;
}

.ys-footer-logo {
  display: inline-flex;
  align-items: center;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
}

.ys-footer-logo img {
  width: auto;
  max-width: 190px;
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.ys-footer-logo .ys-brand-mark {
  color: #83b0ff;
}

.ys-footer-slogan {
  max-width: 480px;
  margin: 18px 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.85;
}

.ys-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

.ys-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px 18px;
  padding-top: 5px;
}

.ys-footer-nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.ys-footer-nav a:hover {
  color: #fff;
}

.ys-footer-contact {
  padding-top: 5px;
}

.ys-footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

.ys-footer-contact i {
  width: 14px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.34);
  text-align: center;
}

.ys-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.ys-footer-bottom a {
  color: rgba(255, 255, 255, 0.34);
}

.ys-footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Float tools */
.ys-float-tools {
  position: fixed;
  z-index: 1020;
  right: 24px;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ys-float-tools > a,
.ys-float-tools > button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #2b67cc;
  box-shadow: 0 10px 24px rgba(8, 44, 91, 0.18);
  font-size: 16px;
}

.ys-float-tools > a:hover,
.ys-float-tools > button:hover {
  color: #fff;
  background: #3978e8;
}

.ys-float-tools .ys-backtop {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.ys-float-tools .ys-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ys-float-pop {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  display: none;
  padding: 7px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 37, 76, 0.18);
  transform: translateY(-50%);
}

.ys-float-qr:hover .ys-float-pop {
  display: block;
}

.ys-float-pop img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Reveal animation */
.ys-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.ys-product-card.ys-reveal:nth-child(2),
.ys-case-card.ys-reveal:nth-child(2),
.ys-why-card.ys-reveal:nth-child(2) {
  transition-delay: 0.05s;
}

.ys-product-card.ys-reveal:nth-child(3),
.ys-case-card.ys-reveal:nth-child(3),
.ys-why-card.ys-reveal:nth-child(3) {
  transition-delay: 0.1s;
}

.ys-product-card.ys-reveal:nth-child(4),
.ys-case-card.ys-reveal:nth-child(4),
.ys-why-card.ys-reveal:nth-child(4) {
  transition-delay: 0.15s;
}

/* Responsive */
@media (max-width: 1199px) {
  .ys-product-grid,
  .ys-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ys-hero-split {
    gap: 36px;
  }

  .ys-about-grid,
  .ys-about-detail-grid {
    gap: 48px;
  }

  .ys-footer-top {
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .ys-navbar .navbar-header {
    float: none;
  }

  .ys-navbar .navbar-toggle {
    display: block;
  }

  .ys-navbar .navbar-collapse {
    border: 0;
    background: #fff;
    box-shadow: 0 18px 36px rgba(18, 39, 79, 0.12);
  }

  .ys-main-nav {
    display: block;
    float: none !important;
    padding: 10px 0;
  }

  .ys-navbar .ys-main-nav > li > a.ys-nav-link {
    height: 44px;
    padding: 0 14px;
    line-height: 44px;
  }

  .ys-navbar .ys-main-nav > li > a.ys-nav-link::after {
    display: none;
  }

  .ys-dropdown.dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #f7f9fc;
    box-shadow: none;
    transform: none;
  }

  .ys-dropdown.dropdown-menu::before {
    display: none;
  }

  .ys-nav-actions {
    height: auto;
    padding: 12px 14px 18px;
  }

  .ys-navbar .ys-nav-contact {
    width: 100%;
  }

  .ys-hero,
  .ys-hero-stage,
  .ys-hero-split {
    min-height: 540px;
  }

  .ys-hero-split {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 0 54px;
  }

  .ys-hero-copy {
    max-width: 720px;
  }

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

  .ys-hero-visual {
    width: 100%;
    max-width: 720px;
  }

  .ys-hero-image {
    max-height: 310px;
  }

  .ys-dashboard-preview {
    aspect-ratio: 2 / 1;
  }

  .ys-hero-arrow {
    display: none;
  }

  .ys-section {
    padding: 70px 0;
  }

  .ys-section-title-row h2,
  .ys-section-head h2 {
    font-size: 28px;
  }

  .ys-product-grid,
  .ys-case-grid,
  .ys-why-grid,
  .ys-why-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-about-grid,
  .ys-about-detail-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ys-about-detail-media {
    min-height: 330px;
  }

  .ys-consult-panel {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
  }

  .ys-consult-copy h2 {
    font-size: 30px;
  }

  .ys-page-hero h1 {
    font-size: 36px;
  }

  .ys-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ys-product-detail-copy h1 {
    font-size: 32px;
  }

  .ys-footer-top {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .ys-footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --ys-nav-height: 62px;
  }

  body.ys-site {
    font-size: 14px;
  }

  .ys-site .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ys-navbar .navbar-brand.ys-brand {
    height: var(--ys-nav-height);
  }

  .ys-brand-mark {
    width: 29px;
    height: 24px;
    margin-right: 7px;
    transform: scale(0.86);
    transform-origin: left center;
  }

  .ys-brand-name {
    font-size: 18px;
  }

  .ys-navbar .navbar-toggle {
    margin-top: 14px;
  }

  .ys-hero,
  .ys-hero-stage {
    min-height: 0;
  }

  .ys-hero-split {
    min-height: 0;
    padding: 38px 0 46px;
  }

  .ys-hero-copy h1 {
    font-size: 32px;
    line-height: 1.28;
  }

  .ys-hero-summary {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.85;
  }

  .ys-hero-actions {
    gap: 9px;
  }

  .ys-btn {
    min-width: 0;
    height: 40px;
    padding: 0 17px;
    font-size: 13px;
  }

  .ys-dashboard-preview {
    aspect-ratio: 1.45;
  }

  .ys-hero-dots {
    bottom: 17px;
  }

  .ys-section {
    padding: 54px 0;
  }

  .ys-section-head {
    margin-bottom: 26px;
  }

  .ys-section-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .ys-section-title-row h2,
  .ys-section-head h2 {
    font-size: 24px;
  }

  .ys-section-title-row p,
  .ys-section-head > p:not(.ys-eyebrow) {
    font-size: 13px;
  }

  .ys-product-grid,
  .ys-case-grid,
  .ys-why-grid,
  .ys-why-grid--page {
    grid-template-columns: 1fr;
  }

  .ys-product-cover,
  .ys-case-cover {
    min-height: 142px;
  }

  .ys-about-title h2 {
    font-size: 25px;
  }

  .ys-about-detail {
    padding-top: 62px;
  }

  .ys-about-media-fallback {
    min-height: 220px;
  }

  .ys-about-detail-media,
  .ys-about-media-fallback--large {
    min-height: 270px;
  }

  .ys-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .ys-stats > div:nth-child(3)::before {
    display: none;
  }

  .ys-stats > div:nth-child(n+3) {
    border-top: 1px solid var(--ys-border);
  }

  .ys-stats strong {
    font-size: 23px;
  }

  .ys-consult-section {
    padding: 46px 0;
  }

  .ys-consult-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ys-consult-copy h2 {
    font-size: 26px;
  }

  .ys-consult-card {
    max-width: 320px;
  }

  .ys-page-hero {
    padding: 52px 0;
  }

  .ys-page-hero h1 {
    font-size: 29px;
  }

  .ys-page-summary {
    font-size: 14px;
  }

  .ys-breadcrumb {
    margin-bottom: 30px;
    gap: 6px;
  }

  .ys-filter-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 26px;
  }

  .ys-filter-label {
    padding: 0;
  }

  .ys-filters a {
    height: 32px;
    padding: 0 12px;
  }

  .ys-pagination {
    flex-wrap: wrap;
    margin-top: 34px;
  }

  .ys-pagination a,
  .ys-pagination > span {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
  }

  .ys-product-detail-hero {
    padding: 38px 0 54px;
  }

  .ys-product-detail-copy h1 {
    font-size: 27px;
  }

  .ys-detail-price strong {
    font-size: 25px;
  }

  .ys-detail-article {
    font-size: 14px;
  }

  .ys-detail-pager {
    grid-template-columns: 1fr;
  }

  .ys-detail-pager > :nth-child(2) {
    border-top: 1px solid var(--ys-border);
    border-left: 0;
  }

  .ys-article-hero {
    padding: 38px 0 44px;
  }

  .ys-article-heading h1 {
    font-size: 28px;
  }

  .ys-footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 0 34px;
  }

  .ys-footer-nav {
    max-width: 420px;
  }

  .ys-footer-contact {
    grid-column: auto;
    display: block;
  }

  .ys-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .ys-float-tools {
    right: 13px;
    bottom: 24px;
  }

  .ys-float-tools > a,
  .ys-float-tools > button {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767px) {
  body.ys-about-page .ys-about-detail-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  body.ys-about-page .ys-about-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.ys-about-page .ys-about-title h2 {
    font-size: 30px;
  }

  body.ys-about-page .ys-about-detail-lead {
    font-size: 16px;
  }

  body.ys-about-page .ys-about-detail .ys-rich-text {
    font-size: 15px;
  }
}

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

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

  .ys-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Soft background transitions between page-level colour zones. */
.ys-page-listing:not(.ys-why-listing) {
  background: linear-gradient(
    180deg,
    #f1f6fd 0,
    #f6f9fd 90px,
    #ffffff 210px,
    #ffffff 100%
  );
}

.ys-products-section {
  background:
    radial-gradient(circle at 90% 15%, rgba(61, 122, 255, 0.07), transparent 20%),
    linear-gradient(
      180deg,
      #f5f9ff 0,
      #f8fafd 120px,
      var(--ys-bg) 240px,
      #fafbfd calc(100% - 120px),
      #ffffff 100%
    );
}

body.ys-home-page .ys-why-section {
  background: #fff;
}

body.ys-home-page .ys-cases-section {
  background:
    radial-gradient(circle at 8% 90%, rgba(48, 111, 235, 0.055), transparent 24%),
    #ffffff;
}

.ys-why-section {
  background: #fff;
}

.ys-why-listing {
  background: #fff;
}

.ys-cases-section {
  background:
    radial-gradient(circle at 8% 90%, rgba(48, 111, 235, 0.055), transparent 24%),
    linear-gradient(
      180deg,
      #062340 0,
      #24486d 32px,
      #d9e4f0 72px,
      #ffffff 112px,
      #ffffff 100%
    );
}
