  @font-face {
  font-family: 'Wanted Sans';
  src: url('/fonts/wanted-sans-regular.woff2') format('woff2'),
       url('/fonts/wanted-sans-regular.woff') format('woff'),
       url('/fonts/wanted-sans-regular.ttf') format('truetype');
  font-style: normal;
}
@import url('https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css');

:root {
  --purple: #9E33FF;
  --green: #52FF59;
  --bg: #191919;
  --bg2: #1f1f1f;
  --bg3: #252525;
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.85);
  --border: rgba(158,51,255,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a, a:link, a:visited {text-decoration:none;}
a:hover, a:active, a:focus {text-decoration:none;}

html { scroll-behavior: smooth; }

.wrap_class02_re {
  background: var(--bg);
  color: var(--text);
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  overflow-x: clip;
}

/* ─── NOISE OVERLAY ─── */
.wrap_class02_re::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ─── LAYOUT WRAPPER ─── */
/* sections keep full-width backgrounds; .inner constrains content to 980px */
.inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.pc_none{display: none;}
.mo_none{display: block;}
/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background-image: url('https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec01_bg_v1.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  position: relative;
}
.hero-bg-lines {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(158,51,255,0.04) 0px, rgba(158,51,255,0.04) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(158,51,255,0.04) 0px, rgba(158,51,255,0.04) 1px, transparent 1px, transparent 80px);
    background-color: rgba(25, 25, 25, 0.55);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(158,51,255,0.18) 0%, transparent 65%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(82,255,89,0.1) 0%, transparent 65%);
  bottom: 0; left: 200px;
  pointer-events: none;
}
.hero-sub {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}
.hero-sub::before {
  content: '//';
  margin-right: 8px;
  opacity: 0.6;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -1px;
  position: relative;
  max-width: 900px;
}
.hero-title span.accent { color: var(--purple); }
.hero-title span.accent2 { color: var(--green); }
.hero-desc {
  margin-top: 32px;
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 480px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--purple);
}
.hero-cta-wrap {
  display: flex; gap: 16px; margin-top: 48px; position: relative;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
.btn-primary:hover { background: var(--green); color: #191919; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 16px 40px;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(calc(-490px));
  display: flex; align-items: center; gap: 12px;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
}
.scroll-line {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
}

/* ─── SECTION COMMON ─── */
/* horizontal padding lives inside .inner; sections only control vertical rhythm */
section { padding: 120px 0; }
section .inner { padding: 0 24px; }
.section-label {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em{color: var(--green); font-style: normal;}
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.5;
  font-weight: 300;
  max-width: 640px;
  word-break: keep-all;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  margin: 24px 0;
}

/* ─── SECTION 01 ─── */
.sec01 { background: var(--bg2); }
.sec01-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
}
.sec01-inner div p.sec01-text{
  font-size:16px; 
  color:var(--text-dim); 
  line-height:1.4; 
  font-weight:300;
  word-break: keep-all;
}
.sec01-inner div.bar{
  display:flex; 
  align-items:center; 
  gap:16px; 
  padding:16px 20px; 
  background:var(--bg); 
  border-left:3px solid; 
  min-height:60px;
}
.sec01-inner div.bar:nth-child(1){border-color: var(--purple);}
.sec01-inner div.bar:nth-child(2){border-color: var(--green);}
.sec01-inner div.bar:nth-child(3){border-color: var(--purple);}
.sec01-inner span.word{
  font-size:20px;
  flex-shrink:0;
}
.sec01-inner div.bar:nth-child(1) span.word{color: var(--purple);}
.sec01-inner div.bar:nth-child(2) span.word{color: var(--green);}
.sec01-inner div.bar:nth-child(3) span.word{color: var(--purple);}
.sec01-inner span.txt{
  font-size:14px; color:var(--text-dim);
}
.sec01-diagram {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.sec01-diagram::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(158,51,255,0.08) 0%, rgba(82,255,89,0.04) 100%);
}
/* Diagram recreation */
.diagram-container {
  width: 100%; height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.diagram-container .dia-head{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:20px;
}
.diagram-container .dia-head .box{
  flex:1; display:flex; justify-content:center; align-items: center; height:44px; border: none;
}
.diagram-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.diagram-row.top { margin-bottom: 24px; }
.diag-col { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.diag-box {
  background: #3a3a4a;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  min-width: 120px;
  color: #ddd;
  height: 44px;
  line-height: 24px;
  white-space: nowrap;
}
.diag-box.header {
  background: transparent;
  border: 2px solid var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.diag-connector-h {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(90deg, var(--purple) 0, var(--purple) 6px, transparent 6px, transparent 12px);
}
.diag-connector-v {
  width: 2px; height: 12px;
  background: #3a3a4a;
  align-self: center;
}

/* ─── SECTION 02 ─── */
.sec02 { background: var(--bg); }
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.care-card {
  background: var(--bg3);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.care-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--purple);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}
.care-card:hover { background: #2a2a2a; }
.care-card:hover::before { transform: scaleY(1); }
.care-card.wide { grid-column: span 3; background: linear-gradient(90deg, var(--bg3), #222); }
.care-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(158,51,255,0.35);
  line-height: 1;
  margin-bottom: 16px;
}
.care-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.care-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.4;
  font-weight: 300;
  word-break: keep-all;
}
.care-cta {
  text-align: center;
  padding: 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}
.care-cta span { color: var(--green); }

/* ─── SECTION 03 ─── */
.sec03 { background: var(--bg2); }
.portfolio-note {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 13px;
  color: var(--purple);
  letter-spacing: 2px;
  margin-top: 16px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 40px;
}
.portfolio-item {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
}
/* ── Thumbnail slideshow ── */
.thumb-slides {
  position: absolute; inset: 0;
  display: flex;
}
.thumb-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.thumb-slide.active { opacity: 1; }
.portfolio-item:hover .thumb-slide { transition: none; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(158,51,255,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-inner {
  text-align: center;
}
.portfolio-overlay-icon {
  font-size: 28px;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.portfolio-overlay-count {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
}
.portfolio-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 24px 12px 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 3;
}
/* Thumbnail slide dot strip */
.thumb-dots {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 3;
}
.thumb-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}
.thumb-dot.active { background: var(--green); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  position: relative;
  width: 780px; max-width: 92vw;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
}
.modal-img-area {
  width: 100%; aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
/* Modal image transition */
.modal-img-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2px;
}
.modal-img-slide.active { opacity: 1; transform: translateX(0); }
.modal-img-slide.exit-left { opacity: 0; transform: translateX(-20px); }

/* Dot indicators — two rows */
.modal-dots-wrap {
  padding: 16px 28px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.modal-dots-row {
  display: flex; align-items: center; gap: 8px;
}
.modal-dots-label {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  min-width: 56px;
}
.modal-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none; padding: 0;
}
.modal-dot.active-person { background: var(--purple); transform: scale(1.3); }
.modal-dot.active-page { background: var(--green); transform: scale(1.3); }
.modal-dot:hover { background: rgba(255,255,255,0.5); }

.modal-info {
  padding: 14px 28px 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.modal-name { font-size: 15px; font-weight: 700; }
.modal-page-label {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 11px;
  color: var(--green);
}
.modal-person-counter {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 11px;
  color: var(--text-dim);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  z-index: 10;
}
/* Person nav arrows (outside image, on sides of modal) */
.modal-person-nav {
  position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 10px; pointer-events: none;
  z-index: 5;
}
.modal-person-btn {
  pointer-events: all;
  background: rgba(158,51,255,0.75);
  border: none; color: #fff;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s;
}
.modal-person-btn:hover { background: var(--purple); }
/* Page nav arrows (inside image area) */
.modal-page-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 2px;
  padding: 0 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  z-index: 4;
}
.modal-page-btn {
  background: rgba(82,255,89,0.15);
  border: 1px solid rgba(82,255,89,0.3);
  color: var(--green);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.modal-page-btn:hover { background: rgba(82,255,89,0.35); }
.modal-page-btn:disabled { opacity: 0.25; cursor: default; }

/* ─── SECTION 04 ─── */
.sec04 { background: var(--bg); }
.training-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.step-card {
  background: var(--bg3);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-4px); }
.step-img {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.s1-bg { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec05_img01.jpg);}
.s2-bg { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec05_img02.jpg); }
.s3-bg { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec05_img03.jpg); }
.s4-bg { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec05_img04.jpg); }
.step-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--purple);
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 9px;
  letter-spacing: 2px;
  padding: 4px 10px;
  color: #fff;
}
.step-num {
  position: absolute; bottom: 12px; right: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.step-body { padding: 24px 22px 28px; }
.step-index {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 12px;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.step-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.4;
  font-weight: 300;
  word-break: keep-all;
}

/* ─── SECTION 05 ─── */
.sec05 { background: var(--bg2); }
.interviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 60px;
}
.interview-card {
  background: var(--bg3);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: row;
  box-shadow: 0 0 3px 2px rgba(0,0,0,0.15);
}
.interview-card:hover { background: #2b2b2b; }
.interview-body {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.interview-q {
  font-size: 14px;
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  line-height: 1.3;
  word-break: keep-all;
}
.interview-profile {
  display: flex;
  flex-direction: row-reverse; /* 프로필 이미지를 오른쪽으로 */
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.profile-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.profile-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-img::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--green);
}
.profile-info {
  text-align: right; /* 이름/역할 텍스트 오른쪽 정렬 */
  display: flex;
  gap: 6px;
}
.profile-info .name { font-size: 15px; font-weight: 700; }
.profile-info .role { font-size: 13px; color: var(--green); font-weight: 500; margin-top: 2px; }
.interview-port {
  width: 180px;
  overflow: hidden;
  transition: 0.2s;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ip1 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img01_v1.png); }
.ip2 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img02_v1.png); }
.ip3 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img03_v1.png); }
.ip4 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img04_v1.png); }
.ip5 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img05_v1.png); }
.ip6 { background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec06_img06_v1.png); }
.interview-text {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  word-break: keep-all;
}
.interview-text::before { content: '"'; color: var(--green); font-size: 13px; font-style: normal; }
.interview-text::after { content: '"'; color: var(--green); font-size: 13px; font-style: normal; margin-left: 3px; }

/* ─── SECTION 06 ─── */
.sec06 {
  background-image: url(https://img.megastudyacademy.co.kr/campus/iws_html_img/class/class02_dev/sec07_bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sec06::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(158,51,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(82,255,89,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.sec06::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.sec06 .inner{position: relative; z-index: 3;}
.quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 180px;
  color: rgba(158,51,255,0.08);
  line-height: 0.8;
  position: absolute; top: 60px; left: 50%;
  transform: translateX(-50%);
  letter-spacing: -10px;
  pointer-events: none;
}
.quote-text {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  word-break: keep-all;
  font-size: 28px;
}
.quote-text strong { color: var(--green); font-weight: 700; }
.quote-author {
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 14px;
  color: var(--purple);
  letter-spacing: 3px;
  position: relative;
}
.cta-final {
  margin-top: 72px;
  position: relative;
}
.cta-final-btn {
  background: linear-gradient(90deg, var(--purple), #7722cc);
  color: #fff;
  border: none;
  padding: 20px 60px;
  font-family: 'Wanted Sans Variable', 'Noto Sans', '나눔 고딕', sans-serif !important;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
}
.cta-final-btn:hover {
  background: linear-gradient(90deg, var(--green), #30cc38);
  color: #191919;
  transform: scale(1.04);
}


/* =============================================
   MOBILE : max-width 768px
   ============================================= */
@media (max-width: 768px) {
  .mo_none{display: none;}
  .pc_none{display: block;}
  .pc_none.mo_768_none{display: none;}

  .wrap_class02_re::before{display: none;}

  /* ─── NAV ─── */
  .nav-inner { padding: 16px 20px; }
  .nav-logo { font-size: 22px; }
  .nav-cta { padding: 8px 20px; font-size: 14px; }

  /* ─── HERO ─── */
  .hero {
    min-height: 100svh;
    padding: 120px 0 60px;
    justify-content: flex-end;
  }
  .hero-inner { padding: 0 20px; }
  .hero-sub { font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); }
  .hero-desc { font-size: 14px; margin-top: 20px; }
  .hero-cta-wrap { flex-direction: column; gap: 10px; margin-top: 32px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 14px 24px; font-size: 14px; }
  .hero-scroll-indicator { display: none; }
  .hero-glow { width: 400px; height: 400px; top: -80px; right: -80px; }
  .hero-glow2 { width: 250px; height: 250px; }

  /* ─── SECTION COMMON ─── */
  section { padding: 80px 0; }
  section .inner { padding: 0 20px; }
  .section-label { font-size: 14px; letter-spacing: 2px; }
  .section-title { font-size: clamp(32px, 8vw, 48px); word-break: keep-all;}
  .section-sub { font-size: 16px; }
  .divider { margin: 16px 0; }

  /* ─── SECTION 01 ─── */
  .sec01-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .sec01-inner div p.sec01-text{font-size:16px; word-break: keep-all;}
  .sec01-inner span.word{ font-size:18px;}
  .sec01-inner span.txt{ font-size:16px;}
  .sec01-diagram { order: 2; }
  .sec01-inner > div:first-child { order: 1; }
  .diagram-container { padding: 20px; }
  .diagram-container .dia-head{margin-bottom: 0;}
  .diag-box {
    font-size: 14px;
    min-width: 90px;
    width: 120px;
    height: 40px;
    line-height: 20px;
    padding: 8px 10px;
  }
  .diag-col{gap: 0;}

  /* ─── SECTION 02 ─── */
  .care-grid { grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }
  .care-card.wide { grid-column: span 2; }
  .care-card { padding: 24px 20px; }
  .care-num { font-size: 36px; margin-bottom: 10px; }
  .care-title { font-size: 14px; }
  .care-desc { font-size: 14px; }

  /* ─── SECTION 03 ─── */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 32px; }
  .portfolio-label { font-size: 14px; }

  /* ─── MODAL ─── */
  .modal-box { max-width: 96vw; }
  .modal-dots-wrap { padding: 12px 16px 0; }
  .modal-info { padding: 10px 16px 14px; }
  .modal-name { font-size: 14px; }
  .modal-page-label { font-size: 14px; }
  .modal-person-counter { font-size: 14px; }
  .modal-dots-label { font-size: 14px; }

  /* ─── SECTION 04 ─── */
  .training-steps { grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 40px; }
  .step-body { padding: 18px 16px 22px; }
  .step-index { font-size: 14px; }
  .step-title { font-size: 15px; }
  .step-desc { font-size: 14px; }
  .step-tag { font-size: 11px; padding: 4px 10px; }

  /* ─── SECTION 05 ─── */
  .interviews { grid-template-columns: 1fr; gap: 4px; margin-top: 40px; }
  .interview-port { width: 150px; }
  .interview-body { padding: 20px 18px; }
  .interview-q { font-size: 14px; margin-bottom: 14px; }
  .interview-text { font-size: 14px; }
  .profile-info .name { font-size: 14px; }
  .profile-info .role { font-size: 14px; }

  /* ─── SECTION 06 ─── */
  .sec06 { 
    background-image: url(https://img.megastudyacademy.co.kr/campus/iwsm_html_img/class/class02_dev/sec07_bg.png);
    padding: 80px 0; 
  }
  .quote-text { font-size: 20px; margin-bottom: 24px; }
  .quote-author { font-size: 14px; letter-spacing: 1px; }
  .cta-final { margin-top: 48px; }
  .cta-final-btn { padding: 16px 40px; font-size: 15px; }
  .quote-mark { font-size: 120px; }
}

/* =============================================
   MOBILE SMALL : max-width 480px
   ============================================= */
@media (max-width: 480px) {

  /* ─── NAV ─── */
  .nav-inner { padding: 14px 16px; }
  .nav-logo { font-size: 20px; }
  .nav-cta { padding: 7px 16px; font-size: 14px; }

  /* ─── HERO ─── */
  .hero { padding: 100px 0 48px; }
  .hero-inner { padding: 0 16px; }
  .hero-sub { font-size: 14px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .hero-title { font-size: clamp(36px, 13vw, 56px); line-height: 1; }
  .hero-desc { font-size: 14px; margin-top: 16px; padding-left: 14px; }
  .hero-cta-wrap { margin-top: 24px; }
  .btn-primary, .btn-outline { font-size: 14px; padding: 12px 20px; }

  /* ─── SECTION COMMON ─── */
  section { padding: 60px 0; }
  section .inner { padding: 0 16px; }
  .section-label { font-size: 12px; letter-spacing: 2px; }
  .section-title { font-size: clamp(28px, 9vw, 40px); margin-bottom: 14px; }
  .section-sub { font-size: 14px; line-height: 1.6; }

  /* ─── SECTION 01 ─── */
  .sec01-inner { gap: 24px; margin-top: 28px; }
  .sec01-inner div p.sec01-text{font-size:14px; word-break: keep-all;}
  .diagram-container { padding: 14px; }
  /* 480px에서 다이어그램 폰트는 14px 유지하되 박스를 축소해 overflow 방지 */
  
.diagram-container .dia-head {
    margin-bottom: 0;
}
.sec01-inner span.word{font-size: 16px;}
.diag-col{gap: 0;}
  .diag-box {
    font-size: 13px;
    min-width: 76px;
    width: 105px;
    height: 38px;
    line-height: 20px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .diag-connector-h {
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--purple) 0, var(--purple) 6px, transparent 6px, transparent 6px);
}
*
  .diag-connector-v { height: 8px; }

  /* ─── SECTION 02 ─── */
  .care-grid { grid-template-columns: 1fr; }
  .care-card.wide { grid-column: span 1; }
  .care-card { padding: 20px 16px; }
  .care-num { font-size: 30px; margin-bottom: 8px; }
  .care-title { font-size: 14px; }
  .care-desc { font-size: 14px; }

  /* ─── SECTION 03 ─── */
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .portfolio-label { font-size: 14px; padding: 16px 8px 8px; }
  .portfolio-overlay-icon { font-size: 22px; }
  .portfolio-overlay-count { font-size: 14px; }

  /* ─── MODAL ─── */
  .modal-box { max-width: 98vw; }
  .modal-person-btn { width: 30px; height: 30px; font-size: 16px; }
  .modal-page-btn { width: 24px; height: 24px; font-size: 14px; }
  .modal-dots-label { font-size: 14px; min-width: 50px; }
  .modal-name { font-size: 14px; }
  .modal-page-label { font-size: 14px; }
  .modal-person-counter { font-size: 14px; }

  /* ─── SECTION 04 ─── */
  /* .training-steps { grid-template-columns: 1fr 1fr; } */
  .training-steps { grid-template-columns: repeat(1, 1fr); gap: 6px; margin-top: 40px; }
  .step-body { padding: 14px 12px 18px; }
  .step-index { font-size: 14px; }
  .step-title { font-size: 16px; }
  .step-desc { font-size: 14px; }
  /* step-tag는 배지라 시각적으로 작아도 되지만 14px 적용 */
  .step-tag { font-size: 8px; padding: 4px 8px; }

  /* ─── SECTION 05 ─── */
  .interviews { gap: 3px; margin-top: 28px; }
  /* 480px에서 이미지 영역을 숨기고 텍스트에 집중 */
  .interview-port { width: 120px; }
  .interview-body { padding: 16px 14px; }
  .interview-q { font-size: 14px; margin-bottom: 10px; }
  .interview-text { font-size: 14px; line-height: 1.5; }
  .profile-img { width: 36px; height: 36px; font-size: 14px; }
  .profile-info .name { font-size: 14px; }
  .profile-info .role { font-size: 14px; }
  .interview-profile { gap: 8px; margin-top: 12px; }

  /* ─── SECTION 06 ─── */
  .sec06 { padding: 60px 0; }
  .quote-mark { font-size: 80px; top: 30px; }
  .quote-text { font-size: 18px; line-height: 1.7; margin-bottom: 16px; }
  .quote-author { font-size: 14px; letter-spacing: 0.5px; }
  .cta-final { margin-top: 36px; }
  .cta-final-btn {
    padding: 14px 28px;
    font-size: 14px;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  }

}


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.cursor {
  display: inline-block;
  width: 3px; height: 0.9em;
  background: var(--green);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 1s infinite;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}