.nav-links .is-active {
  color: var(--primary);
}

.nav-links .is-active::after {
  transform: scaleX(1);
}

.cs-hero {
  padding: 82px 0 72px;
  background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 46%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cs-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cs-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 82px;
  pointer-events: none;
}

.cs-hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cs-hero-wave path {
  fill: #ffffff;
}

.cs-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
}

.cs-hero p {
  margin: 16px 0 0;
  color: #e0e7ff;
  max-width: 640px;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cs-hero-actions .btn-primary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.cs-hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cs-hero-actions .btn-secondary {
  background: #10b981;
}

.cs-hero-media img {
  width: 513px;
  height: 385px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
}

.cs-compare-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cs-compare-card {
  transition: transform 0.3s ease-in-out;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 22px 18px;
}

.cs-compare-card:hover {
  transform: translateY(-10px);
}

.cs-compare-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
}

.cs-compare-icon i {
  font-size: 18px;
  color: #fff;
}

.cs-compare-icon.danger {
  background: #ef4444;
}

.cs-compare-icon.warning {
  background: #f59e0b;
}

.cs-compare-icon.primary {
  background: #2563eb;
}

.cs-compare-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: #1f2937;
}

.cs-compare-card p {
  margin: 10px 0 0;
  color: #6b7280;
}

.cs-compare-card span {
  display: inline-block;
  margin-top: 12px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 10px;
  font-size: 14px;
}

.cs-features-head {
  text-align: center;
}

.cs-features-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #e8efff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cs-features-badge::before,
.cs-features-badge::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.cs-features-section .section-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: #111827;
}

.cs-feature-list {
  margin-top: 48px;
  display: grid;
  gap: 56px;
}

.cs-feature-item {
  transition: transform 0.3s ease-in-out;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.cs-feature-item:hover {
  transform: translateY(-10px);
}

.cs-feature-item.reverse .cs-feature-media {
  order: 2;
}

.cs-feature-item.reverse .cs-feature-body {
  order: 1;
}

.cs-feature-media img {
  width: 100%;
  max-width: 737px;
  height: auto;
  aspect-ratio: 737 / 461;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.1), 0 4px 12px rgba(17, 24, 39, 0.06);
  display: block;
}

.cs-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  margin-bottom: 14px;
}

.cs-feature-icon i {
  font-size: 20px;
  line-height: 1;
}

.cs-feature-body h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.cs-feature-body p {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

.cs-feature-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cs-feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.cs-feature-checklist li > .osm-icon-check1 {
  color: #10b981;
  font-size: 16px;
}

.cs-scene-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cs-scene-card {
  transition: transform 0.3s ease-in-out;
  border-radius: 14px;
  padding: 22px 18px;
}

.cs-scene-card:hover {
  transform: translateY(-10px);
}

.cs-scene-card--blue {
  background: #eef2ff;
}

.cs-scene-card--green {
  background: #f0f9f4;
}

.cs-scene-card--yellow {
  background: #fff7e1;
}

.cs-scene-card--purple {
  background: #f9f0ff;
}

.cs-scene-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
}

.cs-scene-card--blue .cs-scene-icon {
  background: #adc6ff;
  color: #3730a3;
}

.cs-scene-card--green .cs-scene-icon {
  background: #b7ebcc;
  color: #047857;
}

.cs-scene-card--yellow .cs-scene-icon {
  background: #ffe58f;
  color: #b45309;
}

.cs-scene-card--purple .cs-scene-icon {
  background: #efdbff;
  color: #6d28d9;
}

.cs-scene-icon i {
  font-size: 18px;
  line-height: 1;
}

.cs-scene-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.cs-scene-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.cs-cases-section {
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
}

.cs-cases-title {
  position: relative;
  padding-bottom: 16px;
}

.cs-cases-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}

.cs-case-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cs-case-card {
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.cs-case-card:hover {
  transform: translateY(-10px);
}

.cs-case-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 999px;
}

.cs-case-badge--blue {
  color: var(--primary);
  background: rgba(22, 119, 255, 0.12);
}

.cs-case-badge--green {
  color: #047857;
  background: #d1fae5;
}

.cs-case-quote {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  flex: 1;
}

.cs-case-quote p {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-muted);
}

.cs-case-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
  background:none;
}

.cs-case-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cs-case-foot-meta {
  min-width: 0;
}

.cs-case-foot-org {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.cs-case-foot-role {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.35;
}

.cs-steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.cs-step {
  transition: transform 0.3s ease-in-out;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 18px 16px;
  position: relative;
  z-index: 1;
}

.cs-step:hover {
  transform: translateY(-10px);
}

.cs-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: var(--primary);
}

.cs-step h3 {
  margin: 10px 0 6px;
}

.cs-step p {
  margin: 0;
  color: var(--text-muted);
}

.cs-bottom-cta {
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .cs-hero-inner,
  .cs-feature-item {
    grid-template-columns: 1fr;
  }

  .cs-hero-media {
    justify-self: center;
    width: 100%;
  }

  .cs-hero-media img {
    width: 100%;
    height: auto;
    max-width: 513px;
  }

  .cs-feature-item.reverse .cs-feature-media,
  .cs-feature-item.reverse .cs-feature-body {
    order: unset;
  }

  .cs-feature-media {
    justify-self: center;
    width: 100%;
    max-width: 737px;
  }

  .cs-compare-grid {
    grid-template-columns: 1fr;
  }

  .cs-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

}

@media (max-width: 767px) {
  .cs-hero {
    padding-top: 60px;
  }

  .cs-hero-wave {
    height: 64px;
  }

  .cs-hero h1 {
    font-size: 32px;
  }

  .cs-scene-grid,
  .cs-case-grid,
  .cs-steps {
    grid-template-columns: 1fr;
  }

  .cs-feature-body h3,
  .cs-compare-card h3 {
    font-size: 20px;
  }
}
