/* ══════════════════════════════════════
   catalog.css — Catalog product sections
   ══════════════════════════════════════ */

.catalog-hero,
.catalog-products,
.catalog-deploy,
.catalog-related,
.catalog-bundles,
.catalog-integrations,
.catalog-support {
  overflow-x: hidden;
}

.catalog-products {
  padding: 64px 0;
  background: #f0f3ff;
}
.catalog-products .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.catalog-products__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.catalog-products__subtitle {
  text-align: center;
  color: #555;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.catalog-products__divider {
  border: none;
  border-top: 1px solid #dde1f0;
  margin: 40px 0;
}
.catalog-products__section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.catalog-products__section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 32px;
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ── Product Card ── */
.product-card {
  background: #fff;
  border: 2px solid #f0f3ff;
  border-radius: 24px;
  padding: 32px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(92, 101, 245, 0.12);
}
.product-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #F7C945;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0 20px 0 8px;
}
.product-card__icon img {
  width: 46px;
  height: 46px;
}
.product-card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__name a:hover {
  color: var(--color-primary);
}
.product-card__stars {
  color: #FFD203;
  font-size: 1rem;
  letter-spacing: 1px;
}
.product-card__score {
  font-size: 0.85rem;
  color: #555;
  margin-left: 4px;
}
.product-card__desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.55;
  flex-grow: 1;
}
.product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}
.btn--ghost {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid transparent;
  font-weight: 600;
}
.btn--ghost:hover {
  text-decoration: underline;
}
.catalog-products__more {
  text-align: center;
  margin-top: 16px;
}

/* ── Catalog Security ── */
.catalog-security { padding: 48px 0; background: #fff; }
.catalog-security .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.catalog-security__card {
  background: linear-gradient(180deg, #ffffff 14%, #2BB062 97%);
  border: 1px solid #EBE6E7;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.catalog-security__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}
.btn--white {
  background: #fff;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
}
.btn--white:hover { opacity: 0.9; }

/* ── Catalog Bundles ── */
.catalog-bundles {
  padding: 64px 0;
  background: #f0f3ff;
}
.catalog-bundles .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.catalog-bundles__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.catalog-bundles__subtitle {
  text-align: center;
  color: #555;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.catalog-bundles__see-more {
  text-align: center;
  margin-bottom: 32px;
}
.catalog-bundles__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1137px;
  margin: 0 auto;
}
.bundle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 26px;
  overflow: hidden;
  min-height: 391px;
  align-items: center;
  position: relative;
}
.bundle-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}
.bundle-card--blue { background: #F0F3FF; }
.bundle-card--blue::before { background: #d9dff2; }
.bundle-card--pink { background: #FFF0F2; }
.bundle-card--pink::before { background: #f9b8c4; }
.bundle-card--yellow { background: #FFFCEB; }
.bundle-card--yellow::before { background: #f5e78a; }
.bundle-card__content {
  padding: 6% 25% 5% 10%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.bundle-card__content .btn {
  align-self: flex-start;
  width: auto;
}
.bundle-card__title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #242F65;
  margin: 0;
}
.bundle-card__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #525665;
  margin: 0;
}
.bundle-card__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 3% 0 1% 0;
  height: 100%;
  position: relative;
}
.bundle-card__image::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 75%;
  height: 85%;
  border-radius: 16px;
  z-index: 0;
}
.bundle-card--pink .bundle-card__image::before { background: #f2a0b0; }
.bundle-card--yellow .bundle-card__image::before { background: #e8c84a; }
.bundle-card--green { background: #E1F0E5; }
.bundle-card--green::before { background: #C8E3CF; }
.bundle-card--green .bundle-card__image::before { background: #C8E3CF; }
.bundle-card__image img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .bundle-card {
    grid-template-columns: 1fr;
  }
  .bundle-card__content {
    padding: 5%;
  }
  .bundle-card__title {
    font-size: 1.6rem;
  }
  .bundle-card__image {
    padding: 0 5% 5%;
  }
}

/* ── Catalog Support ── */
.catalog-support {
  padding: 64px 0;
  background: #fff;
}
.catalog-support .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.catalog-support__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #000;
}
.catalog-support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .catalog-support__grid { grid-template-columns: 1fr; }
}
.catalog-support__card {
  background: #5C65F5;
  border-radius: 14px;
  padding: 5% 8% 3% 5%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}
.catalog-support__icon {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-support__icon img {
  width: 40px;
  height: 40px;
}
.catalog-support__card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.catalog-support__card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #fff;
  opacity: 0.9;
  flex-grow: 1;
  margin: 0;
}
.catalog-support__arrow {
  display: inline-flex;
  margin-top: 8px;
}

/* ── Catalog Deploy ── */
.catalog-deploy {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}
.catalog-deploy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translateY(-50%);
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, #c8c4ee 0%, #dbd8f5 25%, #eeedf8 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.catalog-deploy__inner {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.catalog-deploy__heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1F1F1F;
  margin: 0 0 12px;
}
.catalog-deploy__heading a {
  color: #1F1F1F;
  text-decoration: none;
}
.catalog-deploy__env {
  color: #1f1f1f;
  font-size: 30px;
  margin: 0;
}
.catalog-deploy__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1F1F1F;
  margin: 0 0 16px;
}
.catalog-deploy__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #525665;
  margin: 0 0 24px;
}
@media (max-width: 768px) {
  .catalog-deploy__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-deploy__heading { font-size: 1.8rem; }
}

/* ── Catalog Related ── */
.catalog-related {
  padding: 64px 0;
  background: #fff;
}
.catalog-related__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1F1F1F;
}
.catalog-related__subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.catalog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .catalog-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .catalog-related__grid { grid-template-columns: 1fr; }
}
.related-card {
  background: #F0F3FF;
  border-radius: 24px;
  padding: 7% 4% 7% 5%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-card__icon {
  display: flex;
}
.related-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.related-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F1F1F;
  margin: 0;
}
.related-card__title a {
  color: #1F1F1F;
  text-decoration: none;
}
.related-card__title a:hover { color: #5C65F5; }
.related-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-card__stars { display: flex; gap: 1px; }
.related-card__reviews { font-size: 0.875rem; color: #1F1F1F; }
.star { font-size: 1.1rem; }
.star--full { color: #FFD203; }
.star--empty { color: #ddd; }
.star--half {
  position: relative;
  display: inline-block;
  color: #ddd;
}
.star--half::before {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #FFD203;
}
.related-card__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F1F1F;
  flex-grow: 1;
  margin: 0;
}
.btn--primary {
  display: inline-block;
  background: #5c65f5;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn--primary:hover {
  background: #4a53e0;
}
.related-card .btn--primary {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 0.95rem;
}

/* ── Catalog Integrations ── */
.catalog-integrations {
  background: #0F1535;
  padding: 64px 0;
  margin-bottom: 30px;
  text-align: center;
}
.catalog-integrations__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.catalog-integrations__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.catalog-integrations__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.catalog-integrations__grid img {
  background: #fff;
  border-radius: 16px;
  width: 59px;
  height: 59px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .catalog-integrations__grid { gap: 10px; }
}

.catalog-security__btn {
  flex-shrink: 0;
  display: inline-block;
  background: #fff;
  color: #3b5bdb;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s;
}
.catalog-security__btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ── Page Hero ── */
.page-hero { padding: 48px 0 40px; background: #f0f3ff; }
.page-hero__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.page-hero__breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; margin-bottom: 20px; flex-wrap: wrap; }
.page-hero__breadcrumb a { color: #5c65f5; text-decoration: none; }
.page-hero__breadcrumb a:hover { text-decoration: underline; }
.page-hero__sep { opacity: .5; }
.page-hero__title { font-size: 36px; font-weight: 800; color: #0c093a; line-height: 1.2; margin: 0 0 16px; }
.page-hero__subtitle { font-size: 16px; color: #4b5563; line-height: 1.6; margin: 0 0 28px; }
.page-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero__image img { width: 100%; height: auto; }
@media (max-width: 768px) { .page-hero__layout { grid-template-columns: 1fr; } .page-hero__image { display: none; } }
