/* =======================================================
   AI바우처 성과발표회 HERO 스타일 (최종 통합본)
   - 배경 + 네트워크 + 타이포 + 버튼 + 반응형 + rem/clamp 적용
======================================================= */


/* ----------------------------
   1) 폰트 (서버 경로에 맞게 수정 가능)
---------------------------- */
@font-face {
  font-family: 'Freesentation';
  src: url('fonts/FREESENTATION-8EXTRABOLD.TTF') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Freesentation';
  src: url('fonts/FREESENTATION-6SEMIBOLD.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'Freesentation', system-ui, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: #fff;
  overflow-x: hidden;
}


/* 1) rem 기준 ---------------------------------------------------------------- */
html {
  font-size: 16px; /* 1rem = 16px 기준 */
}

body {
  margin: 0;
  font-family: 'Freesentation', system-ui, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* 2) 전체 HERO 레이아웃 ------------------------------------------------------- */
.ai-hero {
  position: relative;
  min-height: 100vh;
  background: url("img/aivoucher-bg-2025.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 네트워크 레이어 ------------------------------------------------------------- */
#network-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* 콘텐츠는 네트워크 위 */
.ai-hero__header,
.ai-hero__inner {
  position: relative;
  z-index: 2;
}

/* 3) 상단 로고 --------------------------------------------------------------- */
.ai-hero__header {
  padding: 28px 0 0;
  text-align: center;
}

.ai-hero__logo-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  margin-top: 10px;
}

.ai-hero__logo-group img {
  display: block;
  height: auto;
}

.logo-msit { width: 190px; }
.logo-nipa { width: 175px; }
.logo-kait { width: 200px; }

/* 4) 텍스트 박스 ------------------------------------------------------------- */
.ai-hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 5vw 80px;
}

.ai-hero__text {
  max-width: 780px;
  margin-left: 14%;
}

/* 4-1) 상단 라벨 (AI바우처 지원사업) ----------------------------------------- */
.ai-hero__eyebrow {
  position: relative;
  font-size: clamp(1.8rem, 11vw, 5.6rem);
  color: #00a4ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow:
    0 0 10px rgba(38, 54, 63, 0.7),
    0 0 26px rgba(0, 164, 255, 0.5);
}

.ai-hero__eyebrow::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(26px);
  color: #00a4ff;
  opacity: 0.12;
  filter: blur(10px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,1), transparent);
  mask-image: linear-gradient(to bottom, rgba(255,255,255,1), transparent);
}

/* 4-2) 메인 타이틀 ----------------------------------------------------------- */
.ai-hero__title {
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 30px;
}

/* 5) 메타 박스 -------------------------------------------------------------- */
.ai-hero__meta {
  margin-bottom: 32px;
}

.meta-row {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 0;
}

.meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  background: rgba(255,255,255,0.75);
  color: #163666;
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 800;
  border-radius: 12px;
  white-space: nowrap;
}

.meta-value {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: #ffffff;
  background: transparent;
  font-size: clamp(0.75rem, 1.3vw, 0.95rem);
  font-weight: 600;
  border-radius: 0 12px 12px 0;
  white-space: nowrap;
}

/* 6) 안내 문구 --------------------------------------------------------------- */
.ai-hero__notice {
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 600;
}

.ai-hero__notice p {
  margin: 3px 0;
}

/* 7) 버튼 (네온 스타일) ------------------------------------------------------ */
.ai-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  padding: 20px 58px;
  margin: 40px 0 24px;

  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.35);

  background: linear-gradient(135deg, #37b7ff 0%, #007bff 25%, #7040ff 60%, #b85bff 100%);
  color: #ffffff;
  font-size: clamp(0.9rem, 1.7vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;

  box-shadow:
    0 0 18px rgba(65,175,255,0.8),
    0 0 38px rgba(160,75,255,0.6),
    inset 0 0 18px rgba(255,255,255,0.25);

  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    letter-spacing 0.2s ease;
}

.ai-hero__cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4fd4ff 0%, #1a8bff 25%, #8655ff 60%, #c56aff 100%);
  box-shadow:
    0 0 24px rgba(73,200,255,1),
    0 0 55px rgba(178,100,255,0.9),
    inset 0 0 26px rgba(255,255,255,0.5);
  letter-spacing: 0.11em;
}

.cta-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #6ddcff, rgba(119,62,255,0.55));
  box-shadow:
    0 0 8px rgba(0, 217, 255, 0.9),
    0 0 18px rgba(149, 93, 255, 0.7),
    inset 0 0 12px rgba(255,255,255,0.8);
  
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.ai-hero__cta:hover .cta-icon-wrap {
  transform: translateX(5px);
}

.ai-hero__cta:hover .cta-icon {
  transform: translateX(5px);
  opacity: 1;
}

/* =======================================================================
   📱 MOBILE (max 640px) 반응형 (폰트 축소 없음 / 레이아웃만 조정)
======================================================================= */
@media (max-width: 640px) {


.ai-hero__meta {
  margin-bottom: 12px;
} 


  /* 모바일 배경 */
  .ai-hero {
    min-height: 100vh;
    background: url("img/aivoucher-bg-2025-m.jpg") center/cover no-repeat;
    padding-bottom: 36px;
  }

  /* 로고 그룹 */
  .ai-hero__logo-group {
    gap: 5px; /* 로고 간격 조절 */
    justify-content: space-between;
	padding: 5px 20px;
  }

  .ai-hero__logo-group img {
    width: 30%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  /* 텍스트 패딩/오프셋 제거 */
  .ai-hero__inner {
    padding: 28px 16px 40px;
    align-items: flex-start;
  }

  .ai-hero__text {
    margin-left: 0;
    max-width: 100%;
  }

  /* 메타 */
 
  
  .meta-row {
    display: block;
    width: 100%;
	border: 0px solid rgba(255,255,255,0.35);
    border-radius: 10px;
	margin-bottom: 4px;
  }

  .meta-label {
    margin-bottom: 4px;
	border-radius: 5px;
  }

  .meta-value {
    display: block;
    width: 100%;
    border-radius: 0 10px 10px 10px;
	padding: 0px 5px 10px;
    white-space: normal;
  }

  /* 버튼 */
  .ai-hero__cta {
    padding: 14px 26px;
	
	margin: 10px 0 24px;
    gap: 10px;
  }

  .cta-icon-wrap {
    width: 24px;
    height: 24px;
  }

  .cta-icon {
    width: 14px;
    height: 14px;
  }
}
