/* =========================
   공통 (common.css 에 들어갈 성격)
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* ========== Primary Color System ========== */
  --primary: rgb(41, 126, 255);
  --primary_line: rgba(0, 125, 242, .55);
  --primary_text: #ffffff;
  --primary_glow: rgba(0, 125, 242, .35);
  --focus_ring: rgba(0, 125, 242, .65);

  /* ========== secondary Color System ========== */
  --secondary: hsl(0, 0%, 5%);
  --secondary_text: #ffffff;

  /* ========== Accent Colors ========== */
  --accent-mint: rgba(90, 255, 207, .95);
  --accent-mint-bg: rgba(0, 0, 0, .38);
  --accent-mint-line: rgba(90, 255, 207, .38);
  --accent-hot: rgba(255, 140, 140, .98);
  --accent-hot-bg: rgba(0, 0, 0, .38);
  --accent-hot-line: rgba(255, 96, 96, .38);

  /* ========== Base Colors ========== */
  --bg: #0b0b12;
  --text: #f2f2ff;
  --muted: rgba(242, 242, 255, .8);
  --muted2: rgba(242, 242, 255, .55);
  --line: rgba(255, 255, 255, .12);
  --card: rgba(255, 255, 255, .03);
  --radius: 16px;
}

@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  background-color: #050915;
  color: #f5f5f5;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  /* 가독성 */
}
main {
  margin-top:-80px;
}
section {
  padding:80px 0;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}


/* 공통 요소 */
h1 {
  display: flex;
  align-items: center;
  line-height: 1;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p
 {
  font-weight: 500;
  margin:0;
  padding:0;
}

h2 {
  font-size: 3rem;
}

h5 {
    font-size:1.5rem;
    margin-bottom: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.title {}

.subtitle {}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1.25rem !important;
  color: var(--muted, rgba(255, 255, 255, 0.85));
  line-height: 1.2;
}

input[type="checkbox"] {
  transform: scale(1.5);
  transform-origin: left center;
  accent-color: var(--primary, #007DF2);
  padding-right: 0;
  vertical-align: middle;
  margin-right: 15px;
}

.section-hero,
.section-partner,
.section-intro,
.section-benefits,
.section-stats,
.section-courses,
.section-support,
.section-review,
.section-faq,
.section-cta {
  padding: 56px 0;
}

.content-container {
  margin-top: 70px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* 와이어프레임 느낌 */
}

.card-title {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 1.3rem;
  color: #c3cbe0;
  font-weight: lighter;
}

.img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary, #007DF2);
  color: var(--text, #f2f2ff);
}

/* 공통 헤더 */

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 3%;
}

header .container img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  z-index: 9999;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  background-color: rgba(0, 0, 0, .08);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header .nav-link{
  color: rgba(255,255,255,.85);
  transition: color .25s ease;
}
.header .nav-link:hover{ color: #fff; }

/* 로고 스위치 */
.logo{ height: 28px; width: auto; display: block; }
.logo--light{ display: none; } /* 기본은 다크(흰 로고) */

/* Hero 벗어나면 라이트 헤더 */
.header.is-light{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* 라이트 상태 텍스트 */
.header.is-light .nav-link{
  color: rgba(0,0,0,.75);
}
.header.is-light .nav-link:hover{ color: #000; }

/* 라이트 상태 로고 */
.header.is-light .logo--dark{ display: none; }
.header.is-light .logo--light{ display: block; }

/* 버튼도 라이트에서 어울리게(필요 시) */
.header.is-light .btn--outline{
  color: rgba(0,0,0,.85);
  border-color: rgba(0,0,0,.18);
}
.header.is-light .btn--outline:hover{
  border-color: rgba(0,0,0,.35);
}

.header.is-light{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.header.is-light a,
.header.is-light .nav a {
  color: rgba(0,0,0,.82);
}

.header.is-light .nav-cta {
    background-color: var(--primary);
    color:#fff  !important;
}


.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, .05);
}

.nav-cta {
  color: var(--primary_text) !important;
  border: 1px solid var(--primary_line);
  background: var(--primary);
}

/* ===== Header Dropdown (교육 과정) ===== */
.nav-item--dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 기존 nav a 스타일이 있다면 nav-link는 최소만 */
.nav-item--dropdown .nav-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ▼ caret */
.nav-caret{
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
  transition: transform .2s ease, opacity .2s ease;
}

/* dropdown panel */
.nav-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 360px;
  max-width: 460px;

  padding: 10px;
  border-radius: 14px;

  background: rgba(8, 12, 22, .78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
  z-index: 999;
}

.nav-dd-link{
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;

  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.nav-dd-link:hover,
.nav-dd-link:focus-visible{
  background: rgba(41, 126, 255, .12);
  border-color: rgba(41, 126, 255, .35);
  transform: translateY(-1px);
  outline: none;
}

/* open state */
.nav-item--dropdown.is-open .nav-dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item--dropdown.is-open .nav-caret{
  transform: rotate(225deg);
  opacity: .9;
}

/* 라이트 헤더로 바뀌는 상태일 때 드롭다운도 라이트 톤으로 */
.header.is-light .nav-dropdown{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.header.is-light .nav-dd-link{
  color: rgba(0,0,0,.78);
}

.header.is-light .nav-dd-link:hover,
.header.is-light .nav-dd-link:focus-visible{
  background: rgba(41, 126, 255, .10);
  border-color: rgba(41, 126, 255, .25);
}


.decision {
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.decision .text-container {
  margin-bottom: 28px;
}

.decision .text-container .title,
.decision-title {
  margin: 0 0 24px;
  font-size: 2.5rem;
  line-height: 1.3;
}

.decision .text-container .desc,
.decision-body {
  margin: 0;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.decision-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/*햄버거버튼*/
/* ===== Desktop/ Mobile display ===== */
.nav-desktop{ display:flex; gap: 18px; align-items:center; }
.nav-toggle{ display:none; }

@media (max-width: 980px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ===== Desktop dropdown ===== */
.nav-item{ position:relative; }
.subnav{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 360px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  background-color: #fff;
  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}
.subnav a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  color: #000;
  font-size: 14px;
  line-height: 1.25;
  text-decoration:none;
  transition: background .15s ease, color .15s ease;
}
.subnav a:hover{
  color:var(--primary);
}
.has-sub:hover .subnav{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.has-sub::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:14px;
}

/* ===== Hamburger button ===== */
.nav-toggle{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.50);
  backdrop-filter: blur(8px);
  align-items:center;
  justify-content:center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}
.nav-toggle__bar{
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease;
}

/* open 상태에서 X로 */
.is-nav-open .nav-toggle__bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.is-nav-open .nav-toggle__bar:nth-child(2){ opacity: 0; }
.is-nav-open .nav-toggle__bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Drawer + Dim ===== */
.nav-dim{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.nav-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 92vw);
  background: rgba(12, 14, 20, .92);
  border-left: 1px solid rgba(255,255,255,.10);
  box-shadow: -25px 0 80px rgba(0,0,0,.55);
  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 9999;
  padding: 16px 14px 20px;
}

.is-nav-open .nav-drawer{ transform: translateX(0); }

.nav-drawer__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 6px 6px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}
.nav-drawer__title{
  color: var(--text);
  font-weight: 700;
  letter-spacing: .02em;
}
.nav-close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  font-size: 22px;
  cursor: pointer;
}

/* ===== Mobile menu ===== */
.nav-mobile{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile__link{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration:none;
}
.nav-mobile__cta{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(41,126,255,.35);
  background: rgba(41,126,255,.16);
  color: #fff;
  font-weight: 700;
  text-decoration:none;
}

/* 아코디언 */
.nav-mobile__accordion{
  width: 100%;
  text-align: left;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content: space-between;
}
.nav-mobile__accordion .chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.70);
  border-bottom: 2px solid rgba(255,255,255,.70);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

/* sub */
.nav-mobile__sub{
  max-height: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  transition: max-height .22s ease;
}
.nav-mobile__sub a{
  display:block;
  padding: 12px 12px;
  color: var(--text2);
  text-decoration:none;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
  line-height: 1.25;
}
.nav-mobile__sub a:hover{
  color: #fff;
  background: rgba(41,126,255,.10);
}

/* open 상태 */
.nav-mobile__accordion[aria-expanded="true"] .chev{
  transform: rotate(-135deg);
}
.nav-mobile__accordion[aria-expanded="true"] + .nav-mobile__sub{
  max-height: 280px; /* 링크 3개면 이 정도면 충분 */
}


/* CTA Section */
.bg-wrap {
    background-image: url(../images/background-06.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.section-cta {
    
}
.section-cta .container {
    margin: 0 auto;
}
.section-cta .text-container {
  text-align: center;
}

.section-cta .text-container .title {
  font-size: 2rem;
}

.section-cta .content-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-cta .form {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(0,217,255,.18);
  border-radius: 18px;            /* 너 UI에 맞게 */
  background: rgba(10,16,32,.35);  /* 기존 톤 유지용(선택) */

  /* ✅ 은은한 광원 */
  box-shadow:
    0 0 0 1px rgba(0,217,255,.08),        /* 얇은 테두리 보강 */
    0 10px 30px rgba(0,0,0,.35),          /* 떠있는 느낌 */
    0 0 28px rgba(0, 89, 255, 0.44),         /* 바깥 글로우 */
    inset 0 0 18px rgba(0,217,255,.08);   /* 안쪽 글로우 */
}
.section-cta .form-group {
    padding:10px 0;
}
.section-cta .form-check {
    margin-bottom:20px;
}
.section-cta .btn {
    width:30%;
    margin:0 auto;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary_text);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 85%, #fff);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.section-cta .bottom-form {
    padding:10px;
    background-color: #00000077;
    position: fixed;
    bottom:10px;
    margin: 0 auto;
    max-width: 1200px;
    width:100%;
    border-radius: 10px;
}

.input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-size: 1rem;
}

.input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.input:focus {
  outline: none;
  border-color: var(--primary_line);
  box-shadow: 0 0 0 3px var(--primary_weak);
}

.fine {
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: 0.875rem;
  line-height: 1.6;
}
.fine01 {
  margin: 16px 0 0;
  font-size: 1.5rem;
  color: var(--primary_text);
  text-align: center;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(0, 0, 0, .22);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer a {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 0.9375rem;
}
.footer img {
    width:80%;
    opacity: 70%;
}

/* 하단 고정 버튼(바) 숨김 상태 */
.section-cta .bottom-form.is-hidden{
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.section-cta .bottom-form{
  transition: opacity .25s ease, transform .25s ease;
  left: 50%;
  transform: translateX(-50%);
}