/* ================================
   PRODUCTS PAGE
================================ */

.products-page {
  padding: 70px 20px 100px;
}

/* ================================
   PRODUCTS OUTER CONTAINER
================================ */

.products-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 60px);

  position: relative;
  overflow: hidden;

  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(77, 184, 255, 0.35);

  color: #ffffff;

  animation: funnelGlow 3.5s infinite ease-in-out;
}

.products-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  border: 1px solid rgba(77, 184, 255, 0.45);

  box-shadow:
    0 0 14px rgba(77, 184, 255, 0.35),
    0 0 34px rgba(77, 184, 255, 0.16),
    inset 0 0 24px rgba(77, 184, 255, 0.06);
}

.products-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    transparent 150px
  );
}

.products-shell > * {
  position: relative;
  z-index: 2;
}

/* ================================
   PRODUCTS GRID
================================ */

.products-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* ================================
   CLICKABLE CARD LINK
================================ */

.product-card-link {
  display: block;
  height: 100%;

  color: inherit;
  text-decoration: none;
}

.product-card-link:hover .product-editor-card {
  transform: translateY(-6px);
  border-color: rgba(77, 184, 255, 0.45);
  border-left-color: #ffffff;

  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.22),
    0 0 38px rgba(77, 184, 255, 0.12),
    0 22px 55px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ================================
   PRODUCT CARD
================================ */

.product-editor-card {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);

  border-radius: 24px;

  background: rgba(77, 184, 255, 0.04);

  border: 1px solid rgba(77, 184, 255, 0.22);
  border-left: 5px solid #4db8ff;

  cursor: pointer;

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.12),
    0 0 24px rgba(77, 184, 255, 0.06),
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* ================================
   PRODUCT CARD TEXT
================================ */

.product-editor-card h2 {
  margin: 0 0 18px;

  font-family: "Acme", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;

  color: #ffffff;
}

.product-editor-card p {
  margin: 0 0 20px;

  font-size: 1rem;
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.88);
}

.product-editor-card ul {
  margin: 20px 0;
  padding-left: 20px;
}

.product-editor-card li {
  margin-bottom: 10px;

  font-size: 0.98rem;
  line-height: 1.65;

  color: rgba(255, 255, 255, 0.86);
}

/* ================================
   PRODUCT IMAGE
================================ */

.product-editor-card img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  margin: 24px 0;

  border-radius: 18px;

  border: 1px solid rgba(77, 184, 255, 0.25);

  box-shadow:
    0 0 16px rgba(77, 184, 255, 0.18),
    0 18px 45px rgba(0, 0, 0, 0.45);
}

/* ================================
   PRODUCT BUTTON / CTA
================================ */

.product-editor-card .product-card-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin-top: 20px;
  padding: 12px 22px;

  border-radius: 999px;

  border: 1px solid rgba(77, 184, 255, 0.35);

  background: rgba(0, 0, 0, 0.85);

  color: #ffffff;

  text-decoration: none;
  text-transform: uppercase;

  font-family: "Acme", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 900px) {
  .products-content {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
  .products-page {
    padding: 45px 16px 80px;
  }

  .products-shell {
    padding: 30px 20px;
  }
}
