.landing-hub {
  margin: 34px auto 72px;
}

.landing-hub-head {
  text-align: right;
  margin-bottom: 24px;
}

.landing-hub-head h1 {
  margin: 0;
  color: #1d222b;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.2px;
}

.landing-hub-head p {
  margin: 10px 0 0;
  color: #5f6672;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
  max-width: 820px;
}

.landing-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}

.landing-hub-stat {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 12px 22px;
  box-shadow: 0 4px 14px rgba(12, 14, 17, 0.06);
  text-align: center;
  min-width: 108px;
}

.landing-hub-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #c50712;
  line-height: 1;
}

.landing-hub-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #5f6672;
}

.landing-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.landing-hub-actions .btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-hub-actions .btn.primary {
  background: #c50712;
  color: #fff;
  border: 1px solid #c50712;
}

.landing-hub-actions .btn.ghost {
  background: #fff;
  color: #c50712;
  border: 1px solid rgba(197, 7, 18, 0.35);
}

/* Hub overview cards (platforms / services style) */
.landing-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.landing-hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid #eceef4;
  background: #fff;
  box-shadow: 0 16px 30px rgba(11, 14, 20, 0.08);
  padding: 22px 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.landing-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(10, 14, 22, 0.14);
  border-color: rgba(197, 7, 18, 0.28);
}

.landing-hub-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #1d222b;
}

.landing-hub-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5f6672;
  font-weight: 600;
}

.landing-hub-card-cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: #c50712;
}

/* Category cards side-by-side */
.landing-hub-details {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.landing-hub-detail {
  scroll-margin-top: 120px;
  border-radius: 22px;
  border: 1px solid #eceef4;
  background: #fff;
  box-shadow: 0 16px 30px rgba(11, 14, 20, 0.08);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.landing-hub-detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(10, 14, 22, 0.12);
  border-color: rgba(197, 7, 18, 0.22);
}

.landing-hub-detail-wide {
  grid-column: 1 / -1;
}

.landing-hub-detail-wide .landing-hub-detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-hub-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.landing-hub-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e50914, #8b000e);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.landing-hub-detail-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #1d222b;
  line-height: 1.35;
}

.landing-hub-detail-head p {
  margin: 4px 0 0;
  color: #5f6672;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.landing-hub-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}

.landing-hub-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  background: #f7f8fb;
  padding: 12px 12px;
  color: #1f232b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  min-width: 0;
}

.landing-hub-detail-list li > span:last-child {
  min-width: 0;
}

.landing-hub-detail-list .num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c50712;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .landing-hub-detail-list {
    grid-template-columns: 1fr;
  }

  .landing-hub-detail-wide .landing-hub-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .landing-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hub-details {
    grid-template-columns: 1fr;
  }

  .landing-hub-detail-wide .landing-hub-detail-list {
    grid-template-columns: 1fr;
  }

  .landing-hub-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .landing-hub-grid {
    grid-template-columns: 1fr;
  }

  .landing-hub-details {
    grid-template-columns: 1fr;
  }

  .landing-hub-detail-list {
    grid-template-columns: 1fr;
  }
}

/* ── Platforms catalog: ordered card layout ── */
.platforms-catalog {
  margin-top: 8px;
}

.platforms-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 28px;
}

.platforms-overview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border-radius: 22px;
  border: 1px solid #eceef4;
  background: #fff;
  box-shadow: 0 16px 30px rgba(11, 14, 20, 0.08);
  padding: 28px 22px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-height: 100%;
}

.platforms-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(10, 14, 22, 0.14);
  border-color: rgba(197, 7, 18, 0.28);
}

.platforms-overview-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e50914, #8b000e);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(197, 7, 18, 0.28);
}

.platforms-overview-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #1d222b;
}

.platforms-overview-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5f6672;
  font-weight: 600;
  max-width: 34ch;
}

.platforms-overview-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 800;
  color: #c50712;
}

.platforms-sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.platforms-section-card {
  scroll-margin-top: 120px;
  border-radius: 22px;
  border: 1px solid rgba(197, 7, 18, 0.14);
  background: #fff;
  box-shadow: 0 16px 30px rgba(11, 14, 20, 0.08);
  padding: 24px 22px 20px;
}

.platforms-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.platforms-section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #1d222b;
  line-height: 1.35;
}

.platforms-section-head h2 .count {
  color: #c50712;
  font-weight: 800;
  margin-inline-start: 6px;
}

.platforms-section-head p {
  margin: 6px 0 0;
  color: #5f6672;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.platforms-items-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  direction: rtl;
}

.platforms-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  background: #f7f8fb;
  padding: 14px 14px;
  color: #1f232b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  min-width: 0;
  min-height: 58px;
  box-shadow: 0 2px 8px rgba(12, 14, 17, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.platforms-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 7, 18, 0.25);
  box-shadow: 0 8px 18px rgba(12, 14, 17, 0.08);
  background: #fff;
}

.platforms-item-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c50712;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.platforms-item-label {
  min-width: 0;
  flex: 1;
  text-align: right;
}

@media (max-width: 1000px) {
  .platforms-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .platforms-overview-grid {
    grid-template-columns: 1fr;
  }

  .platforms-items-grid {
    grid-template-columns: 1fr;
  }
}
