/* =========================
   GLOBAL DARK THEME
   ========================= */

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #0b1a2f 0%, #050d18 60%, #02060d 100%);
  color: #fff;
  font-family: Arial, sans-serif;
}

/* глобальное свечение */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0,115,198,0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* =========================
   SECTIONS
   ========================= */

.section-block {
  padding: 40px 0;
  position: relative;
}

/* =========================
   HERO BLOCK
   ========================= */

.transformers-block-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 50px;
  border-radius: 20px;

  background:
    linear-gradient(180deg, rgba(5,10,20,0.4), rgba(5,10,20,0.9)),
    url('../image/transformers-bg.png') center/cover no-repeat;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 60px rgba(0,115,198,0.25),
    0 0 120px rgba(0,115,198,0.15);

  position: relative;
  overflow: hidden;
}

/* затемнение слева */
.transformers-block-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,10,20,0.95) 0%,
    rgba(5,10,20,0.85) 35%,
    rgba(5,10,20,0.5) 60%,
    transparent 85%
  );
}

/* контент поверх */
.transformers-block-container > * {
  position: relative;
  z-index: 2;
}

.transformers-title {
  font-size: 42px;
  font-weight: 700;
  max-width: 600px;
  line-height: 1.2;
}

.transformers-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* =========================
   BUTTONS
   ========================= */

.btn-primary,
.open-request-btn {
  background: linear-gradient(135deg, #0073c6, #00aaff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;

  box-shadow:
    0 0 10px rgba(0,115,198,0.8),
    0 0 20px rgba(0,115,198,0.6);

  transition: 0.3s;
}

.btn-primary:hover,
.open-request-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(0,115,198,1),
    0 0 40px rgba(0,115,198,0.8);
}

/* =========================
   PRODUCTS
   ========================= */

.products-block-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 20px;

  background: transparent;
}

/* карусель */
.products-track {
  display: flex;
  gap: 24px;
}

/* карточка */
.product-card {
  width: 260px;
  height: 220px;
  border-radius: 16px;

  background: linear-gradient(135deg, #0b1626, #13233a);

  border: 1px solid rgba(0,115,198,0.2);

  box-shadow:
    0 0 20px rgba(0,115,198,0.2);

  display: flex;
  flex-direction: column;
  overflow: hidden;

  transition: 0.4s;
}

/* hover */
.product-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 0 25px rgba(0,115,198,0.8),
    0 0 60px rgba(0,115,198,0.4),
    0 30px 80px rgba(0,0,0,0.8);
}

.product-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-title {
  text-align: center;
  padding: 10px;
  font-size: 16px;
  background: rgba(0,0,0,0.5);
}

/* =========================
   PROJECTS
   ========================= */

.projects-block-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 20px;

  background: linear-gradient(135deg, #0b1626, #13233a);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 60px rgba(0,115,198,0.25);
}

.project-card {
  width: 280px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;

  background: #0b1626;

  transition: 0.4s;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 30px rgba(0,115,198,0.7);
}

.project-overlay {
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

  .transformers-title {
    font-size: 24px;
  }

  .products-track {
    gap: 14px;
  }

  .product-card {
    width: 170px;
  }

}