/* 기본 여백과 박스 크기 계산 방식을 정합니다 */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #111;
  color: #fff;
  font-family: Arial, "Noto Sans KR", sans-serif;
}

/* 상단 메뉴 */
.site-header {
  min-height: 100px;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #050505;
  border-bottom: 1px solid #292929;
}

.logo {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.logo-main {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-sub {
  margin-top: 6px;
  color: #e31b23;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 3px;
  text-align: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 36px);
}

.main-nav a {
  color: #eee;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e31b23;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.header-button {
  padding: 16px 22px;
  background: #e31b23;
  white-space: nowrap;
}

/* 메인 화면: 배경 사진과 어두운 그라데이션 */
.hero {
  min-height: calc(100vh - 100px);
  padding: 80px 5% 48px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.94) 35%, rgba(5, 5, 5, 0.2) 100%),
    url("images/KakaoTalk_20261030_135501713.png")
      center 35% / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: #e31b23;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -3px;
}

h1 span {
  display: inline-block;
  margin-top: 8px;
  color: #e31b23;
  font-size: 0.72em;
  font-style: italic;
  transform: skew(-7deg);
}

.description {
  margin: 28px 0;
  color: #ddd;
  font-size: 18px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  border: 2px solid #fff;
}

.button-primary {
  border-color: #e31b23;
  background: #e31b23;
}

.button-outline {
  background: rgba(0, 0, 0, 0.25);
}

.button:hover,
.header-button:hover {
  filter: brightness(1.15);
}

/* 메인 소개 아래의 세 가지 장점 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}


.feature {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 12px;
  border-right: 1px solid #555;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  color: #e31b23;
  font-size: 30px;
}

.feature h2 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  color: #ccc;
  font-size: 13px;
}

/* 태블릿·휴대폰 화면에서는 메뉴와 콘텐츠 크기를 조정합니다 */
@media (max-width: 560px) {
  .logo-sub {
    font-size: 15px;
    letter-spacing: 1px;
  }
}

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 760px;
    padding-top: 60px;
    background-position: 60% center;
  }

  .features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

} 


@media (max-width: 560px) {
  .site-header {
    padding: 16px 5%;
  }

  .logo-main {
    font-size: 24px;
  }

  .header-button {
    padding: 12px;
    font-size: 12px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 780px;
    padding: 54px 6% 36px;
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.72)),
      url("images/KakaoTalk_20261030_135501713.png")
        center / cover no-repeat;
  }

  h1 {
    font-size: clamp(43px, 13vw, 68px);
    letter-spacing: -2px;
  }

  .description {
    font-size: 15px;
  }

  .feature {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #444;
    padding: 0 0 14px;
  }
  
  .features {
  margin-top: 42px;
}

}
