/* Check Point partner page */

:root {
  --cp-pink: #E40C5B;
  --cp-pink-dark: #b80849;
  --cp-ink: #1f1a1e;
  --cp-muted: #5a5258;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.cp-mesh {
  scroll-margin-top: 80px;
}

.vendor-color {
  color: var(--cp-pink);
}

/* ── buttons ── */
.btn-checkpoint,
.btn-checkpoint:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff2c78 0%, var(--cp-pink) 100%);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(228, 12, 91, 0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-checkpoint:hover,
.btn-checkpoint:focus-visible {
  background: linear-gradient(135deg, #f01467 0%, var(--cp-pink-dark) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(228, 12, 91, 0.42);
}

.btn-checkpoint:focus-visible {
  outline: 3px solid #ffb3cf;
  outline-offset: 3px;
}

/* ── hero ── */
.cp-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0;
  color: #fff;
  background:
    radial-gradient(50% 90% at 85% 40%, rgba(228, 12, 91, 0.45) 0%, transparent 70%),
    linear-gradient(135deg, #1d1620 0%, #30242f 100%);
}

.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/checkpoint/blocks-texture-3.webp') center / cover;
  opacity: 0.35;
  pointer-events: none;
}

.cp-hero .container {
  position: relative;
}

.cp-hero-logo {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 1.5rem;
}

.cp-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cp-hero p {
  max-width: 30rem;
  margin: 1rem 0 1.75rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cp-hero-art {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.45));
}

/* ── sections ── */
.cp-section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.cp-section h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cp-ink);
}

.cp-section h2 .vendor-color {
  color: var(--cp-pink);
}

.cp-section .cp-lead,
.cp-section p {
  line-height: 1.65;
}

.cp-section .cp-head p {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--cp-muted);
}

/* ── principle cards ── */
.cp-principle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.75rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(166deg, #d31462 0%, #30242f 85%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(48, 36, 47, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cp-principle-card {
  animation: cp-float 4.5s ease-in-out infinite;
}

.col-md-3:nth-child(2) > .cp-principle-card {
  animation-delay: -1.1s;
}

.col-md-3:nth-child(3) > .cp-principle-card {
  animation-delay: -2.2s;
}

.col-md-3:nth-child(4) > .cp-principle-card {
  animation-delay: -3.3s;
}

@keyframes cp-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

.cp-principle-card:hover,
.cp-principle-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(48, 36, 47, 0.35);
}

.cp-principle-card:focus-visible {
  outline: 3px solid #ffb3cf;
  outline-offset: 3px;
}

.cp-principle-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.cp-principle-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.cp-principle-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ── product tiles ── */
.cp-products {
  background: #f7f4f6 url('/images/checkpoint/about-us-page-bg-2.webp') center / cover;
}

.cp-product-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.1rem 0.9rem 1.25rem;
  border: 1px solid #ece6ea;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(31, 26, 30, 0.1);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cp-product-link:hover,
.cp-product-link:focus-visible {
  transform: translateY(-5px);
  border-color: currentColor;
  box-shadow: 0 16px 32px rgba(31, 26, 30, 0.18);
}

.cp-product-link:focus-visible {
  outline: 3px solid #ffb3cf;
  outline-offset: 3px;
}

.cp-product-link img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto 0.5rem;
}

.cp-product-link strong {
  font-size: 0.95rem;
}

/* ── solution cards ── */
.cp-solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid #ece6ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 26, 30, 0.09);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cp-solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--cp-pink);
  box-shadow: 0 16px 32px rgba(228, 12, 91, 0.16);
}

.cp-solution-card .cp-solution-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  margin-bottom: 0.25rem;
}

.cp-solution-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cp-solution-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--cp-ink);
}

.cp-solution-card .btn-checkpoint {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.cp-solution-card p {
  flex: 1;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cp-muted);
}

/* ── hybrid mesh hero ── */
.cp-mesh {
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 4.5rem 0;
  background: #fff url('/images/checkpoint/hybrid-hero-desktop.webp') right center / cover no-repeat;
}

.cp-eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--cp-pink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-mesh h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cp-ink);
}

.cp-mesh p {
  max-width: 30rem;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--cp-muted);
}

/* ── unified protection blocks ── */
.cp-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 26, 30, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cp-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(228, 12, 91, 0.18);
}

.cp-block-img {
  aspect-ratio: 12 / 5;
  overflow: hidden;
}

.cp-block-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-block-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1.5rem;
}

.cp-block-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: var(--cp-ink);
}

.cp-block-body ul {
  flex: 1;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.cp-block-body li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--cp-muted);
}

.cp-block-body li::before {
  content: '\f00c';
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--cp-pink);
  font-family: 'Font Awesome 6 Free';
  font-size: 0.75rem;
  font-weight: 900;
}

.cp-block-body .btn-checkpoint {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .cp-mesh {
    padding: 2.5rem 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%), url('/images/checkpoint/hybrid-hero-desktop.webp');
    background-position: center, 70% center;
  }
}

/* ── workspace security hero ── */
.cp-workspace {
  background: #3a2440 url('/images/checkpoint/security-for-workspace-hero.webp') right center / cover no-repeat;
}

.cp-workspace h2 {
  color: #fff;
}

.cp-workspace p {
  color: rgba(255, 255, 255, 0.88);
}

.cp-workspace .cp-eyebrow {
  color: #ff7aa8;
}

/* ── card sub-label and copy ── */
.cp-block-body h4 {
  margin-bottom: 0.75rem;
  color: var(--cp-pink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-block-body p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--cp-muted);
}

/* ── exposure management hero ── */
.cp-exposure {
  background-image: url('/images/checkpoint/exposure-management-hero.webp');
}

@media (max-width: 767px) {
  .cp-exposure {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%), url('/images/checkpoint/exposure-management-hero.webp');
  }
}

.cp-block-body p:last-child {
  margin-bottom: 0;
}

/* ── ai security hero ── */
.cp-ai {
  background-image: url('/images/checkpoint/ai-security-hero.webp');
}

@media (max-width: 767px) {
  .cp-ai {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%), url('/images/checkpoint/ai-security-hero.webp');
  }
}

.cp-block-img-tall {
  aspect-ratio: 3 / 2;
}

/* ── stats ── */
.cp-stats {
  background:
    linear-gradient(135deg, rgba(228, 12, 91, 0.9) 0%, rgba(120, 8, 56, 0.92) 100%),
    url('/images/checkpoint/blocks-texture-3.webp') center / cover;
  color: #fff;
}

.cp-stats.cp-section {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.cp-stats h2 {
  margin-bottom: 0.25rem;
  font-size: 1.6rem;
  color: #fff;
}

.cp-stats p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.cp-stat h1 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.cp-stat h5 {
  margin: 0;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cp-stat + .cp-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }
}

/* ── Infinity Vision ── */
.cp-vision {
  padding: 2rem;
  border: 1px solid #ece6ea;
  border-radius: 20px;
  background: #fff url('/images/checkpoint/about-us-page-bg-2.webp') center / cover;
  box-shadow: 0 14px 34px rgba(31, 26, 30, 0.12);
}

.cp-vision img {
  max-width: 85%;
  height: auto;
}

.cp-vision h3 {
  color: var(--cp-ink);
}

@media (max-width: 767px) {
  .cp-hero {
    padding: 2.25rem 0;
  }

  .cp-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .cp-vision {
    padding: 1.25rem;
  }
}

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

  .btn-checkpoint,
  .cp-principle-card,
  .cp-product-link,
  .cp-block,
  .cp-solution-card {
    transition: none;
  }

  .btn-checkpoint:hover,
  .cp-principle-card {
    animation: none;
  }

  .cp-principle-card:hover,
  .cp-product-link:hover,
  .cp-block:hover,
  .cp-solution-card:hover {
    transform: none;
  }
}
