/* ============================================================
   TechStyle — Home page sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: url("../images/banner-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-slider { position: relative; }
.hero-slide {
  display: flex;
  align-items: center;
  min-height: 580px;
  padding: 40px 0;
}
.hero-slide__content {
  max-width: 560px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe0ff;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero-title .accent { color: #4d97ff; }
.hero-desc {
  margin-top: 18px;
  color: #b7c3dd;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 460px;
}
.hero-cta { margin-top: 30px; }

.hero-media {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 700px;
  filter: drop-shadow(0 30px 50px rgba(2, 6, 20, 0.5));
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  -webkit-mask-image: radial-gradient(66% 56% at 60% 50%, black 52%, transparent 100%);
  mask-image: radial-gradient(66% 56% at 60% 50%, black 52%, transparent 100%);
}

.hero-nav {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.hero-nav button:hover { background: var(--primary); border-color: var(--primary); }
.hero-nav svg { width: 16px; height: 16px; }

.hero-pagination {
  position: absolute;
  left: 24px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-pagination .swiper-pagination-bullet {
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 40px;
}

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

/* ---------- Promo split ---------- */
.promo-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.promo-main {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.promo-main__content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 300px;
}
.promo-main__badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.promo-main__title {
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.promo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d3ddf3;
  font-size: 13.5px;
  font-weight: 500;
}
.promo-list svg { width: 17px; height: 17px; color: #4dd07f; flex-shrink: 0; }
.promo-main__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%);
}
.promo-main__media img { width: 100%; height: 100%; object-fit: cover; }

.promo-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.promo-card {
  position: relative;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, #dbe5fd 0%, #eef2ff 100%);
  display: flex;
  align-items: center;
  min-height: 150px;
}
.promo-card--alt { background: linear-gradient(120deg, #241d29 0%, #3a2c46 100%); }
.promo-card__content {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  max-width: 55%;
}
.promo-card__title {
  font-size: 18px;
  margin-bottom: 8px;
}
.promo-card--alt .promo-card__title { color: #fff; }
.promo-card__desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.promo-card--alt .promo-card__desc { color: #c9bfd6; }
.promo-card__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
}
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card--light .promo-card__media { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%); mask-image: linear-gradient(to right, transparent 0%, black 25%); }
.promo-card--alt .promo-card__media { -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%); mask-image: linear-gradient(to right, transparent 0%, black 25%); }

/* ---------- Bestseller ---------- */
.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(100deg, var(--navy-900) 10%, var(--navy-700) 70%, var(--navy-600) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 180px;
}
.cta-banner__media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
}
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner__title {
  color: #fff;
  font-size: 26px;
  line-height: 1.3;
  max-width: 460px;
}
.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.cta-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dbe4f7;
  font-size: 13.5px;
  font-weight: 600;
}
.cta-features svg { width: 18px; height: 18px; color: #4d97ff; flex-shrink: 0; }
.cta-play {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 0 0 0 rgba(11, 99, 255, 0.5);
  animation: pulse-ring 2.4s infinite;
}
.cta-play svg { width: 22px; height: 22px; margin-left: 3px; }
.cta-play:hover { background: var(--primary-dark); transform: scale(1.06); }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(11, 99, 255, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(11, 99, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 99, 255, 0); }
}

/* ---------- Brand section ---------- */
.brand-section { background: var(--bg-soft); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
