/* Success Stories page (success-stories.html) */

.oh-f-ss-page {
  padding-top: 102px;
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow-x: clip;
}

.oh-f-ss-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 81, 215, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 88% 72%, rgba(0, 81, 215, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.oh-f-ss-inner {
  position: relative;
  z-index: 1;
  width: var(--inner);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 8vw, 5.5rem);
}

/* Hero */
.oh-f-ss-hero {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(152deg, #e8f0ff 0%, #eef4ff 42%, #f6f9ff 100%);
  border: 1px solid rgba(0, 81, 215, 0.08);
  box-shadow: 0 12px 48px rgba(0, 42, 194, 0.07);
}

.oh-f-ss-hero__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .oh-f-ss-hero__grid {
    grid-template-columns: 1fr min(38%, 420px);
  }
}

.oh-f-ss-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-text);
}

.oh-f-ss-hero h1 .oh-f-ss-hero__accent {
  color: var(--c-blue);
}

.oh-f-ss-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
}

.oh-f-ss-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.oh-f-ss-hero__card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #0c1929 100%);
  box-shadow:
    0 24px 56px rgba(0, 42, 194, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(4deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.oh-f-ss-hero__card svg {
  width: 100%;
  height: auto;
  max-height: 85%;
  opacity: 0.92;
}

/* Featured case blocks */
.oh-f-ss-feature {
  margin-bottom: clamp(3.5rem, 7vw, 5rem);
}

.oh-f-ss-feature__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 880px) {
  .oh-f-ss-feature__grid {
    grid-template-columns: 1fr 1fr;
  }

  .oh-f-ss-feature--flip .oh-f-ss-feature__grid {
    direction: rtl;
  }

  .oh-f-ss-feature--flip .oh-f-ss-feature__grid > * {
    direction: ltr;
  }
}

.oh-f-ss-feature__media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 42, 194, 0.12);
  border: 1px solid rgba(0, 81, 215, 0.08);
}

.oh-f-ss-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.oh-f-ss-feature__body {
  min-width: 0;
}

.oh-f-ss-feature__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c-blue);
  text-transform: uppercase;
}

.oh-f-ss-feature__label-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 81, 215, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  flex-shrink: 0;
}

.oh-f-ss-feature h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
}

.oh-f-ss-feature p {
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-body);
}

.oh-f-ss-feature p:last-of-type {
  margin-bottom: 1.25rem;
}

.oh-f-ss-feature__body:has(.oh-f-ss-chips) > p:last-of-type {
  margin-bottom: 1rem;
}

.oh-f-ss-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 1.75rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 81, 215, 0.12);
}

.oh-f-ss-stat {
  min-width: min(100%, 200px);
}

.oh-f-ss-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-orange, #f08200);
  margin-bottom: 0.35rem;
}

.oh-f-ss-stat__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  text-transform: uppercase;
  line-height: 1.35;
}

.oh-f-ss-read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-orange, #f08200);
  text-decoration: none;
}

.oh-f-ss-read:hover {
  opacity: 0.88;
  text-decoration: none;
}

.oh-f-ss-read .oh-f-link__arrow {
  color: currentColor;
}

.oh-f-ss-chips + .oh-f-ss-read {
  margin-top: 2.25rem;
}

/* Case 3 feature chips — match body copy, not bold */
.oh-f-ss-chips {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 520px) {
  .oh-f-ss-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

.oh-f-ss-chip {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #f3f6fc;
  border: 1px solid rgba(0, 81, 215, 0.08);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-body);
}

/* Secondary case cards */
.oh-f-ss-more {
  margin-top: clamp(1rem, 3vw, 2rem);
}

.oh-f-ss-more__head {
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: var(--c-text);
}

.oh-f-ss-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .oh-f-ss-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Same width as one card above; columns 2–3 stay empty */
  .oh-f-ss-card--first-col {
    grid-column: 1;
  }
}

.oh-f-ss-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(165deg, #f8faff 0%, #eef3ff 100%);
  border: 1px solid rgba(0, 81, 215, 0.1);
  box-shadow: 0 8px 32px rgba(0, 42, 194, 0.06);
  min-height: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.oh-f-ss-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 42, 194, 0.1);
}

.oh-f-ss-card__num {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 81, 215, 0.08);
  user-select: none;
  pointer-events: none;
}

.oh-f-ss-card__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.oh-f-ss-card__k {
  margin: 0;
  font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  color: var(--c-blue, #0051d7);
  text-transform: uppercase;
}

.oh-f-ss-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 81, 215, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
}

.oh-f-ss-card h3 {
  margin: 0 0 0.5rem;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-text);
}

.oh-f-ss-card p {
  margin: 0 0 2rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-muted);
}

.oh-f-ss-card__go {
  align-self: flex-start;
  margin-top: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c5d7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  cursor: pointer;
  box-shadow: none;
  flex-shrink: 0;
  padding: 0;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.oh-f-ss-card__go:hover {
  transform: scale(1.06);
  background: rgba(197, 215, 247, 0.25);
}

.oh-f-ss-card__go svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0;
}
