/* HERO */
.products-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(2,6,23,0.85), rgba(2,6,23,0.95)),
    url("/static/images/chemical-bg.jpg");

  color: white;
}

/* PRODUCT ITEM */
.product-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.product-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT */
.product-item h2 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #0f172a;
}

.product-item p {
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
  max-width: 520px;
}

/* BUTTON */
.product-btn {
  margin-top: 30px;
  text-decoration: none;
  padding: 14px 22px;

  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;

  border-radius: 14px;
  border: none;

  font-size: 15px;
  font-weight: 500;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  cursor: pointer;

  transition: all 0.25s ease;
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ---------------- MAIN LAYOUT (LOCKED SECTION) ---------------- */

.products-layout {
  display: flex;
  align-items: flex-start;

  max-width: 1300px;
  margin: 0 auto;

  padding: 60px 40px;
  gap: 60px;
}
/* ---------------- LEFT (INTERNAL SCROLL) ---------------- */
.products-left {
  flex: 1;
  padding-right: 40px;
}
.products-left::-webkit-scrollbar {
  display: none;
}

.product-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  margin-top: 30px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 2px 8px rgba(0,0,0,0.04);

  border: 1px solid #e2e8f0;
}

.product-card h4 {
  font-size: 14px;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 18px;
}
.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card li {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 15px;
  color: #334155;

  margin-bottom: 14px;
}

/* check icon feel */
.product-card li::before {
  font-size: 12px;
  color: #22c55e;

  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #dcfce7;
  border-radius: 50%;
}

.product-apps {
  margin-top: 30px;
}

.product-apps h4 {
  font-size: 14px;
  color: #94a3b8;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-tags span {
  background:#f8fafc;
  color: #334155;

  padding: 10px 16px;
  border-radius: 14px;

  font-size: 14px;

  border: 1px solid #e2e8f0;

  box-shadow: 0 2px 6px rgba(0,0,0,0.04);

  transition: all 0.25s ease;
}

.app-tags span:hover {
  background: #eef4ff;
  border-color: #c7d2fe;

  transform: translateY(-2px);
}

/* RIGHT SIDE OVERLAY */
.product-overlay {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 40px;
  right: 40px;
}

/* SMALL TOP LABEL */
.product-meta {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);

  margin-bottom: 10px;
}

.product-meta svg {
  width: 16px;
  height: 16px;
  stroke: #93c5fd;
}

/* BIG TITLE */
.product-overlay h2 {
  font-size: 34px;
  font-weight: 600;
  max-width: 600px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.feature-list {
  list-style: none;
  margin-top: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list svg {
  width: 16px;
  height: 16px;
  stroke: #22c55e;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

/* BUTTON */
.product-btn {
  text-decoration: none;

  padding: 14px 22px;
  border-radius: 14px;

  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 15px;
  font-weight: 500;

  transition: all 0.25s ease;
}

.product-btn svg {
  width: 16px;
  height: 16px;
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* SERIES BOX (THIS was missing) */
.product-series {
  display: inline-block;

  background: #e0e7ff;
  color: #4f46e5;

  font-size: 12px;
  font-weight: 600;

  padding: 6px 12px;
  border-radius: 999px;

  letter-spacing: 1px;
}
/* PRODUCT GRID (MAIN FIX) */
.product-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* LEFT */
.product-content {
  flex: 1;
}

/* RIGHT IMAGE */
.product-image-box {
  width: 570px;
  height: 800px;
  flex-shrink: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.2);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-box::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.3),
    rgba(0,0,0,0)
  );

  z-index: 1;
}
/* SPACING BETWEEN PRODUCTS */
.product-item {
  margin-bottom: 120px;
}
/* ================= PRODUCTS RESPONSIVE ================= */

@media (max-width: 1024px) {

  .products-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .products-left {
    width: 100%;
    padding: 60px 40px;
    overflow: visible;
  }

  .product-item {
    max-width: 100%;
    margin-bottom: 80px;
    opacity: 1;
    transform: none;
  }

  .product-item h2 {
    font-size: 40px;
  }

  .product-item p {
    font-size: 16px;
  }

}

/* ================= 768px ================= */

@media (max-width: 768px) {

  .products-left {
    padding: 40px 24px;
  }

  .product-item h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .product-item p {
    font-size: 15px;
    line-height: 1.6;
  }

  .product-card {
    padding: 20px;
  }

  .product-btn {
    width: 60%;
    justify-content: center;
  }

  .app-tags {
    gap: 8px;
  }

  .app-tags span {
    font-size: 13px;
    padding: 8px 12px;
  }

}

/* ================= 480px ================= */

@media (max-width: 480px) {
  .products-hero {
   font-size: 14px;
  }
  .products-left {
    padding: 30px 16px;
  }

  .product-item h2 {
    font-size: 26px;
  }

  .product-item p {
    font-size: 14px;
  }

  .product-card {
    padding: 16px;
  }

  .product-series {
    font-size: 11px;
    padding: 5px 10px;
  }

  .product-btn {
    font-size: 14px;
    padding: 12px;
  }

}
@media (max-width: 1024px) {

  .product-grid {
    flex-direction: column;
    gap: 30px;
  }

  .product-image-box {
    display: none;
  }

}