@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap";
.products-section {
  background: #000;
  width: 100%;
  padding: 60px 4%;
  font-family: Poppins, sans-serif;
}
.products-container {
  max-width: 1220px;
  margin: auto;
}
.products-heading {
  text-align: center;
  color: #00d4ff;
  letter-spacing: 1px;
  margin-bottom: 26px;
  font-size: 28px;
  font-weight: 700;
}
.products-grid {
  gap: 18px;
  display: grid;
}
.products-grid-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.products-grid-all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.products-card {
  background: #1c2230;
  border: 1px solid #3a86ff59;
  border-radius: 12px;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  transition: all 0.4s;
  display: flex;
  overflow: hidden;
}
.products-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px #006eff2e;
}
.products-image-wrapper {
  background: #131826;
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.products-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}
.products-card:hover .products-image {
  transform: scale(1.08);
}
.products-overlay {
  background: linear-gradient(#0000000d, #0000008c);
  position: absolute;
  inset: 0;
}
.products-content {
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
  display: flex;
}
.products-description {
  color: #b7c1d3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-height: 42px;
  margin-bottom: 12px;
  font-size: 10px;
  line-height: 1.4;
}
.products-title {
  color: #fff;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.products-specifications {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  margin-bottom: 16px;
  display: grid;
}
.products-spec-item {
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  display: flex;
}
.products-spec-line {
  background: linear-gradient(#3b82f6, #38bdf8);
  border-radius: 50px;
  width: 3px;
  min-width: 3px;
  height: 36px;
}
.products-spec-content {
  flex-direction: column;
  justify-content: center;
  display: flex;
}
.products-spec-label {
  color: #60a5fa;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 600;
}
.products-spec-value {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.products-link {
  width: 100%;
  margin-top: auto;
  text-decoration: none;
}
.products-button {
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: none;
  border-radius: 8px;
  outline: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s;
  display: flex;
  position: relative;
  overflow: hidden;
}
.products-button:before {
  content: "";
  background: linear-gradient(120deg, #0000, #ffffff40, #0000);
  width: 100%;
  height: 100%;
  transition: all 0.6s;
  position: absolute;
  top: 0;
  left: -100%;
}
.products-button:hover:before {
  left: 100%;
}
.products-button:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px #2563eb59;
}
.products-button:active {
  transform: scale(0.98);
}
.products-arrow {
  font-size: 22px;
  transition: all 0.35s;
}
.products-button:hover .products-arrow {
  transform: translate(8px);
}
.products-view-all-wrap {
  justify-content: center;
  margin-top: 26px;
  display: flex;
}
.products-view-all-button {
  color: #04150f;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #7ad9b5;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  height: 46px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}
.products-card {
  animation: 0.8s both productsFadeUp;
}
.products-card:nth-child(2) {
  animation-delay: 0.1s;
}
.products-card:nth-child(3) {
  animation-delay: 0.2s;
}
.products-card:nth-child(4) {
  animation-delay: 0.3s;
}
.products-card:nth-child(5) {
  animation-delay: 0.4s;
}
.products-card:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes productsFadeUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.products-card:after {
  content: "";
  pointer-events: none;
  opacity: 0;
  border-radius: 26px;
  transition: all 0.4s;
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 0 1px #3b82f640,
    0 0 35px #3b82f62e;
}
.products-card:hover:after {
  opacity: 1;
}
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .products-title {
    font-size: 46px;
  }
  .products-image-wrapper {
    height: 280px;
  }
  .products-description {
    min-height: auto;
  }
}
@media (max-width: 992px) {
  .products-section {
    padding: 90px 5%;
  }
  .products-heading {
    margin-bottom: 60px;
    font-size: 44px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: auto;
  }
  .products-image-wrapper {
    height: 320px;
  }
  .products-content {
    padding: 30px;
  }
  .products-title {
    font-size: 42px;
  }
  .products-description {
    font-size: 16px;
  }
  .products-specifications {
    gap: 18px;
  }
  .products-button {
    height: 56px;
  }
}
@media (max-width: 768px) {
  .products-section {
    padding: 70px 20px;
  }
  .products-heading {
    margin-bottom: 50px;
    font-size: 36px;
  }
  .products-grid {
    gap: 28px;
  }
  .products-card {
    border-radius: 20px;
  }
  .products-image-wrapper {
    height: 250px;
  }
  .products-content {
    padding: 24px;
  }
  .products-title {
    margin-bottom: 28px;
    font-size: 34px;
  }
  .products-description {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.8;
  }
  .products-specifications {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .products-spec-line {
    height: 60px;
  }
  .products-spec-label {
    font-size: 13px;
  }
  .products-spec-value {
    font-size: 18px;
  }
  .products-button {
    height: 54px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .products-section {
    padding: 60px 16px;
  }
  .products-heading {
    font-size: 30px;
  }
  .products-image-wrapper {
    height: 220px;
  }
  .products-content {
    padding: 20px;
  }
  .products-title {
    font-size: 28px;
  }
  .products-description {
    font-size: 14px;
  }
  .products-spec-item {
    gap: 12px;
  }
  .products-spec-line {
    width: 4px;
    min-width: 4px;
    height: 55px;
  }
  .products-spec-label {
    font-size: 12px;
  }
  .products-spec-value {
    font-size: 16px;
  }
  .products-button {
    height: 50px;
    font-size: 14px;
  }
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}
::selection {
  color: #fff;
  background: #2563eb;
}
.products-card,
.products-image,
.products-button,
.products-spec-item,
.products-title,
.products-description {
  transition: all 0.35s;
}
.products-card {
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.products-card:before {
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, #0000, #ffffff08, #0000);
  width: 220%;
  height: 220%;
  transition: all 0.8s;
  position: absolute;
  top: -100%;
  left: -100%;
  transform: rotate(25deg);
}
.products-card:hover:before {
  top: 100%;
  left: 100%;
}
.products-heading {
  text-shadow: 0 0 18px #2563eb4d;
}
.products-spec-item:hover {
  transform: translate(8px);
}
.products-card:hover {
  background: #20293a;
}

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

@media (max-width: 600px) {
  .products-section {
    padding: 42px 1rem;
  }

  .products-grid-preview,
  .products-grid-all {
    grid-template-columns: 1fr;
  }

  .products-image-wrapper {
    height: 200px;
  }

  .products-specifications {
    grid-template-columns: 1fr;
  }
}
