/* ==========================================================
   토큰
   ========================================================== */
:root {
  --color-navy: #0f2a6e;
  --color-navy-dark: #0a1d4d;
  --color-blue-accent: #1a3fd6;
  --color-text: #14162b;
  --color-text-muted: #5b5f76;
  --color-border: #e6e8f0;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fb;

  --font-base: 'Pretendard', 'Apple SD Gothic Neo', -apple-system,
    BlinkMacSystemFont, sans-serif;

  --radius-pill: 999px;
  --radius-md: 12px;

  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ==========================================================
   헤더
   ========================================================== */
.header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo__text strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
}

.logo__text small {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--color-navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn--pill {
  background: var(--color-navy);
  color: #fff;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  margin-right: -32px;
}

.btn--pill:hover { background: var(--color-navy-dark); }

.btn--outline {
  background: #fff;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  padding: 11px 32px;
  border-radius: var(--radius-pill);
  font-size: 17px;
}

.btn--outline:hover { background: var(--color-bg-soft); }

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}

.btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ==========================================================
   히어로
   ========================================================== */
.hero {
  background: #ffffff;
}

/* hero__top : 사진 높이가 이 안의 hero__inner 콘텐츠 높이에 정확히 맞춰짐 */
.hero__top {
  position: relative;
  overflow: hidden;
  background: #fafafc;
}

/* hero-main.png : 헤더/본문과 동일한 1200px 컨테이너 폭에 맞춤 (원본 해상도 그대로, 확대 방지) */
.hero__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 32px;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.badge {
  display: inline-block;
  background: var(--color-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  transform: translateY(-30px);
}

.hero__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 14px;
}

.hero__title--accent {
  color: var(--color-blue-accent);
  font-size: 56px;
  display: inline-block;
  margin-top: 4px;
}

.hero__subtitle {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ==========================================================
   특징 카드 (사진 아래 흰 배경 위에 놓이는 카드)
   ========================================================== */
.features {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: -100px auto 0;
  padding: 56px 32px 48px;
}

.features__inner {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(15, 42, 110, 0.08);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 18px;
}

.feature__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
  overflow: hidden;
}

.feature__icon img { width: 27px; height: 27px; object-fit: contain; }

.feature__text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: var(--color-text-muted);
}

.feature__text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

/* ==========================================================
   추천 대상 섹션
   ========================================================== */
.recommend {
  background: #ffffff;
}

.recommend__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 112px 32px 120px;
  text-align: center;
}

.recommend__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 48px;
}

.recommend__title--accent {
  color: var(--color-blue-accent);
}

.recommend__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.recommend__card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.recommend__card:hover {
  box-shadow: 0 12px 28px rgba(15, 42, 110, 0.08);
  transform: translateY(-2px);
}

.recommend__icon {
  width: 44px;
  height: 44px;
  color: #4f46e5;
  margin-bottom: 18px;
}

.recommend__icon svg,
.recommend__icon img { width: 100%; height: 100%; object-fit: contain; }

.recommend__card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.recommend__card-desc {
  font-size: 16px;
  color: var(--color-text-muted);
}

/* ==========================================================
   AI Worker만의 차별성 섹션
   ========================================================== */
.diff {
  background: var(--color-bg-soft);
}

.diff__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 112px 32px 120px;
  text-align: center;
}

.diff__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
}

.diff__title--accent {
  color: var(--color-blue-accent);
}

.diff__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diff__card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px 76px;
  text-align: left;
  min-height: 220px;
}

.diff__number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.diff__number--1 { color: #3b82f6; }
.diff__number--2 { color: #8b5cf6; }
.diff__number--3 { color: #14b8a6; }
.diff__number--4 { color: #f59e0b; }

.diff__card-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

.diff__card-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.diff__icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* ==========================================================
   실무 중심 포트폴리오 섹션
   ========================================================== */
.portfolio {
  background: #0a1730;
}

.portfolio__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 112px 32px 120px;
  text-align: center;
}

.portfolio__title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 48px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio__thumb {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 344 / 280;
  margin-bottom: 16px;
}

.portfolio__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio__caption {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================
   체계적인 학습 커리큘럼 섹션
   ========================================================== */
.curriculum {
  background: #ffffff;
}

.curriculum__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 112px 32px 64px;
  text-align: center;
}

.curriculum__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
}

.curriculum__title--accent {
  color: var(--color-blue-accent);
}

.curriculum__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 56px;
}

.curriculum__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.step__circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step__circle img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.step__number {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.step__number--1 { color: #3b82f6; }
.step__number--2 { color: #8b5cf6; }
.step__number--3 { color: #14b8a6; }
.step__number--4 { color: #eab308; }
.step__number--5 { color: #f97316; }

.step__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step__arrow {
  color: var(--color-border);
  font-size: 22px;
  font-weight: 700;
  margin-top: 45px;
  flex-shrink: 0;
}

/* ==========================================================
   실무 프로젝트 중심 교육 섹션
   ========================================================== */
.practical {
  background: #f6f7fb;
}

.practical__inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 120px 32px 120px;
}

.practical__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-blue-accent);
  text-align: center;
  margin-bottom: 40px;
}

.practical__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.practical__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.practical__list li {
  font-size: 21px;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.practical__bullet {
  color: var(--color-blue-accent);
  font-size: 13px;
}

.practical__image {
  display: flex;
  justify-content: center;
}

.practical__image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* ==========================================================
   CTA 배너
   ========================================================== */
.cta {
  background: #f6f7fb;
}

.cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 120px;
}

.cta__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--color-blue-accent);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 999px;
  padding: 26px 32px;
  transition: background 0.15s ease;
}

.cta__banner:hover {
  background: #1531b8;
}

.cta__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ==========================================================
   상담 신청 섹션 (수강안내)
   ========================================================== */
.guide {
  background: var(--color-bg-soft);
}

.guide__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 112px 32px 120px;
  text-align: center;
}

.guide__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}

.guide__title--accent {
  color: var(--color-blue-accent);
}

.guide__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.guide__form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 42, 110, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.guide__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guide__form input[type="text"],
.guide__form input[type="tel"],
.guide__form select,
.guide__form textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-base);
  color: var(--color-text);
  background: #fff;
}

.guide__form select { grid-column: 1 / -1; }

.guide__form textarea {
  resize: vertical;
  min-height: 90px;
}

.guide__form input:focus,
.guide__form select:focus,
.guide__form textarea:focus {
  outline: none;
  border-color: var(--color-blue-accent);
}

.guide__hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guide__agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.guide__agree input { margin-top: 3px; }

.btn--cta {
  background: var(--color-blue-accent);
  color: #fff;
  padding: 16px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  border: none;
  margin-top: 8px;
}

.btn--cta:hover { background: #1531b8; }

/* ==========================================================
   푸터
   ========================================================== */
.footer {
  background: #1c2331;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.footer__info {
  font-size: 13px;
  color: #aab0c0;
  line-height: 1.8;
}

.footer__contact {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

/* ==========================================================
   반응형
   ========================================================== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hero__content { max-width: 100%; }
  .features { padding: 40px 20px 32px; }
  .features__inner { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .recommend__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum__steps { flex-wrap: wrap; }
  .step__arrow { display: none; }
  .practical__row { grid-template-columns: 1fr; }
  .practical__image { order: -1; }
  .guide__row { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .features { margin-top: -40px; }
}

@media (max-width: 560px) {
  .header__inner { padding: 12px 20px; }
  .logo__text small { display: none; }
  .btn--pill { padding: 10px 16px; font-size: 13px; margin-right: -20px; }

  /* 모바일에서는 사진이 좁고 길게 잘려서 내장된 흰색 페이드가 노출되지 않으므로
     별도의 반투명 흰색 스크림을 얹어 텍스트 가독성을 확보 */
  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.94) 100%);
  }

  .hero__inner { padding: 40px 20px 32px; }
  .hero__title { font-size: 32px; }
  .hero__title--accent { font-size: 40px; }
  .badge { transform: none; margin-bottom: 20px; }

  /* 카드가 사진 위로 올라오는 정도를 줄여 CTA 버튼과 겹치지 않도록 조정 */
  .features { margin-top: 0; padding: 32px 20px 24px; }
  .features__inner { grid-template-columns: 1fr; padding: 20px; }
  .recommend__inner { padding: 64px 20px 72px; }
  .recommend__title { font-size: 26px; margin-bottom: 32px; }
  .recommend__grid { grid-template-columns: 1fr; }
  .diff__inner { padding: 64px 20px 72px; }
  .diff__title { font-size: 26px; }
  .diff__subtitle { margin-bottom: 32px; }
  .diff__grid { grid-template-columns: 1fr; }
  .portfolio__inner { padding: 64px 20px 72px; }
  .portfolio__title { font-size: 26px; margin-bottom: 32px; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 20px; }
  .curriculum__inner { padding: 64px 20px 72px; }
  .curriculum__title { font-size: 26px; }
  .curriculum__subtitle { margin-bottom: 36px; }
  .curriculum__steps { flex-direction: column; align-items: center; gap: 32px; }
  .step { width: 100%; }
  .practical__inner { padding: 64px 20px 64px; }
  .practical__title { font-size: 24px; }
  .guide__inner { padding: 64px 20px 72px; }
  .guide__title { font-size: 26px; }
  .guide__form { padding: 24px; }
  .cta__inner { padding: 0 20px 64px; }
  .cta__banner { font-size: 15px; padding: 20px 20px; text-align: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; padding: 28px 20px; }
}
