/* =========================================================
   Hero (홈 전용 — 내부 페이지 히어로와 별개)
========================================================= */

.main-hero {
  height: 560px;
}

/* base.css .btn-fill 사용 + hero 배치용 margin */
.hero .btn-fill {
  width: 145px;
  margin-top: 34px;
}

/* Hero arrows / dots (슬라이더 활성화 시 사용) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 45px;
  font-weight: 200;
  cursor: pointer;
  opacity: 0.8;
  z-index: 3;
}
.hero-arrow:hover {
  opacity: 1;
}
.hero-prev {
  left: 20px;
}
.hero-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.hero-dots button.active {
  width: 23px;
  border-radius: 10px;
  background: var(--color-primary);
}

/* =========================================================
   Products Section
========================================================= */

.products-section {
  padding: 95px var(--container-pad) 110px;
  background: var(--color-bg);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

/* .section-heading 안에서만 쓰이는 하위 요소 */
.section-heading .section-label {
  /* margin-bottom: 9px; */
  /* font-size: 17px; */
}

.section-heading h2 {
  color: var(--color-navy);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: 16px;
}

/* Product grid */
.product-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  min-height: 270px;
  padding: 26px 22px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  overflow: hidden;
  /* transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease); */
}

/* .product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
} */

.product-info h3 {
  color: #123c75;
  font-size: 17px;
  font-weight: 700;
}

.product-info span {
  color: #8490a3;
  font-size: 14px;
}

.product-image {
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.product-image img {
  max-width: 90%;
  max-height: 155px;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-more {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #113b70;
  color: #fff;
  font-size: 17px;
  transition:
    background var(--ease),
    transform var(--ease);
}

.product-more:hover {
  background: var(--color-primary);
  transform: translateX(3px);
}

/* "전체보기" 버튼 */
.product-button-wrap {
  margin-top: 45px;
  text-align: center;
}

/* base.css .btn 사용; 색상 오버라이드만 */
.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  height: 48px;
  justify-content: center;
  border: 1px solid #173a67;
  border-radius: var(--radius-pill);
  color: #173a67;
  font-size: 13px;
  font-weight: 600;
  transition:
    background var(--ease),
    color var(--ease);
}

.outline-button:hover {
  background: #173a67;
  color: #fff;
}

/* =========================================================
   Strength Section
========================================================= */

.strength-section {
  position: relative;
  padding: 85px var(--container-pad);
  overflow: hidden;
  background: #09294f;
  color: #fff;
}

.strength-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 24, 47, 0.98), rgba(8, 44, 83, 0.86));
  opacity: 0.98;
}

.strength-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 65px;
  z-index: 2;
}

/* .strength-title > span {
  color: #1da4ff;
  font-size: 13px;
  letter-spacing: 0.08em;
} */

.strength-title h2 {
  /* margin-top: 8px; */
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.strength-title p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.8;
}

/* base.css .btn-white 사용 */
.strength-button {
  width: 125px;
  height: 42px;
  margin-top: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  font-size: 13px;
  color: #fff;
  transition:
    background var(--ease),
    border-color var(--ease);
}

.strength-button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.strength-item {
  padding: 5px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.strength-icon {
  color: #249cff;
  font-size: 35px;
}

.strength-item h3 {
  font-size: 17px;
  font-weight: 600;
}

.strength-item p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strength-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .main-hero {
    height: 460px;
  }

  .hero-arrow {
    width: 35px;
    font-size: 35px;
  }
  .hero-prev {
    left: 5px;
  }
  .hero-next {
    right: 5px;
  }

  /* Products */
  .products-section {
    padding: 70px 20px 80px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading p {
    font-size: 14px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    min-height: 215px;
    padding: 18px 15px;
  }
  .product-info h3 {
    font-size: 15px;
  }
  .product-info span {
    font-size: 14px;
  }
  .product-image {
    height: 125px;
  }
  .product-image img {
    max-height: 110px;
  }
  .product-more {
    right: 10px;
    bottom: 10px;
    width: 27px;
    height: 27px;
    font-size: 14px;
  }

  /* Strength */
  .strength-section {
    padding: 65px 20px;
  }
  .strength-title h2 {
    font-size: 30px;
  }
  .strength-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }
  .strength-item {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .product-card {
    min-height: 200px;
  }
  .product-image {
    height: 110px;
  }
  .strength-list {
    grid-template-columns: 1fr 1fr;
  }
}
