/* ============================================================
   bootcamp-2.css — 언리얼 라이팅 부트캠프 2기: 오픈월드 편
   Task 01: Hero Section
   ============================================================ */

/* ----- Design Tokens ----- */
:root {
  /* Colors */
  --bg:             #0b0f14;
  --bg-elevated:    #121922;
  --bg-card:        #1a2230;
  --text:           #f0f4f8;
  --text-muted:     #b8c4d0;
  --line:           #2e3f54;
  --accent:         #ffb347;
  --accent-strong:  #ff8a00;
  --danger:         #ff5d5d;

  /* Layout */
  --btn-radius:     6px;
  --container-max:  1200px;
  --section-py:     88px;

  /* Type scale */
  --text-xs:   13px;   /* 배지·태그·메타 */
  --text-sm:   15px;   /* 보조 텍스트·네비·캡션 */
  --text-base: 18px;   /* 본문 */
  --text-md:   17px;   /* 카드 본문·섭헤드 */
  --text-lg:   20px;   /* 카드 h3·소제목 */
  --text-xl:   30px;   /* 인스트럭터명 등 */
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: var(--text-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: rgba(255, 179, 71, 0.3);
  color: var(--text);
}

/* Focus visible — keyboard only */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ----- Container ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

.brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.main-nav .btn-primary,
.main-nav .btn-primary:hover { color: #000000; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 22px;
  transition: color 0.2s, transform 0.2s;
  padding: 4px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #000000;
  border: 2px solid var(--accent);
  padding: 10px 22px;
  font-size: 14px;
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 4px 24px rgba(255, 138, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 138, 0, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-lg {
  letter-spacing: 0.01em;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
  padding: 10px 22px;
  font-size: 14px;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* subtle radial glow behind hero */
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 179, 71, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

/* ----- Hero Copy ----- */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 179, 71, 0.12);
  border: 1px solid rgba(255, 179, 71, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  width: fit-content;
}

.hero-headline {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-headline .highlight {
  color: var(--accent);
  position: relative;
  display: inline;
}

.hero-headline .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
  border-radius: 2px;
}

.hero-subtext {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

.hero-subtext strong {
  color: var(--text);
  font-weight: 600;
}

/* ----- Hero Points ----- */
.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.hero-points li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(255, 179, 71, 0.15);
  border: 1px solid rgba(255, 179, 71, 0.4);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5 6.5-7' stroke='%23ffb347' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----- Hero CTA Actions ----- */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ----- Hero Visual ----- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   INLINE CTA STRIP
   ============================================================ */
.inline-cta-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.inline-cta-strip--accent {
  background: rgba(255, 179, 71, 0.05);
  border-color: rgba(255, 179, 71, 0.2);
}

.inline-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.inline-cta-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 600px) {
  .inline-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .inline-cta-inner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-copy strong {
  font-size: 14px;
  color: var(--text);
}

.sticky-copy span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.problem-section,
.difference-section,
.outcome-section,
.curriculum-section,
.project-section,
.community-section,
.instructor-section,
.faq-section,
.deadline-section,
.final-cta-section {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   COMPONENT: Section Heading
   ============================================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtext {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ============================================================
   COMPONENT: Card (shared base)
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(255, 179, 71, 0.3);
  transform: translateY(-2px);
}

/* ============================================================
   COMPONENT: FAQ Item
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(255, 179, 71, 0.3);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  background: var(--bg-elevated);
  border: none;
  border-radius: 0;
  text-align: left;
  transition: background 0.2s;
  gap: 12px;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-q {
  background: var(--bg-card);
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text-muted);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 16px 24px 24px;
}

/* ============================================================
   COMPONENT: CTA Block (Final CTA)
   ============================================================ */
.final-cta-section {
  text-align: center;
  background: var(--bg-elevated);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255, 179, 71, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.final-cta-subtext {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  background: var(--bg-elevated);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 93, 93, 0.15);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.problem-card:hover {
  border-color: rgba(255, 93, 93, 0.35);
  transform: translateY(-2px);
}

.problem-card-icon {
  font-size: 22px;
  color: var(--danger);
  margin-bottom: 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.problem-card:hover .problem-card-icon {
  opacity: 1;
}

.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   DIFFERENCE SECTION
   ============================================================ */
.diff-table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.diff-table th {
  padding: 14px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}

.diff-table th:first-child {
  background: rgba(255, 93, 93, 0.08);
  color: var(--danger);
}

.diff-table th:last-child {
  background: rgba(255, 179, 71, 0.08);
  color: var(--accent);
}

.diff-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.diff-table tr:last-child td {
  border-bottom: none;
}

.diff-table td:first-child {
  background: rgba(255, 93, 93, 0.04);
}

.diff-table td:last-child {
  background: rgba(255, 179, 71, 0.04);
  color: var(--text);
  font-weight: 600;
}

.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.diff-card:hover {
  border-color: rgba(255, 179, 71, 0.3);
  transform: translateY(-2px);
}

.diff-card-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.diff-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   OUTCOME SECTION
   ============================================================ */
.outcome-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.outcome-card {
  flex: 1;
  min-width: 240px;
  border-radius: 10px;
  padding: 28px;
}

.outcome-before {
  background: rgba(255, 93, 93, 0.06);
  border: 1px solid rgba(255, 93, 93, 0.2);
}

.outcome-after {
  background: rgba(255, 179, 71, 0.06);
  border: 1px solid rgba(255, 179, 71, 0.25);
}

.outcome-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.outcome-before .outcome-label { color: var(--danger); }
.outcome-after  .outcome-label { color: var(--accent); }

.outcome-card li {
  font-size: var(--text-md);
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.outcome-after li { color: var(--text); }

.outcome-card li:last-child { border-bottom: none; }

.outcome-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.outcome-quote {
  margin-top: 48px;
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
}

/* ============================================================
   CURRICULUM SECTION
   ============================================================ */

/* Section background alternation */
.difference-section  { background: var(--bg-elevated); }
.curriculum-section  { background: var(--bg); }
.project-section     { background: var(--bg-elevated); }
.community-section   { background: var(--bg); }
.instructor-section  { background: var(--bg-elevated); }
.deadline-section    { background: var(--bg); }

.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.curriculum-phase {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.curriculum-phase--project {
  border-color: rgba(255, 179, 71, 0.25);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}

.phase-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 3px 8px;
}

.phase-label--project {
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.3);
  color: var(--accent);
}

.phase-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.curriculum-item-body {
  flex: 1;
}

.curriculum-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.curriculum-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text-muted);
  white-space: nowrap;
}

.curriculum-tag--project {
  background: rgba(255, 179, 71, 0.1);
  border-color: rgba(255, 179, 71, 0.25);
  color: var(--accent);
}

.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  counter-reset: none;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: background 0.2s;
}

.curriculum-item:last-child { border-bottom: none; }

.curriculum-item:hover { background: var(--bg-card); }

.curriculum-item--highlight {
  background: rgba(255, 179, 71, 0.04);
}

.curriculum-item--highlight:hover {
  background: rgba(255, 179, 71, 0.07);
}

.week-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 3px;
}

.curriculum-item--highlight .week-badge {
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.3);
}

.curriculum-item strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: 4px;
}

.curriculum-item p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PROJECT SECTION
   ============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

/* Project header (text block above pipeline cards) */
.project-header {
  max-width: 860px;
  margin-bottom: 64px;
}

/* Pipeline cards — 4-column horizontal layout */
.pipeline-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.pipeline-card:hover {
  border-color: rgba(255, 179, 71, 0.35);
  transform: translateY(-4px);
}

.pipeline-card--final {
  border-color: rgba(255, 179, 71, 0.25);
}

.pipeline-card--final:hover {
  border-color: rgba(255, 179, 71, 0.6);
}

.pipeline-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.pipeline-card-img img,
.pipeline-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pipeline-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.placeholder-icon {
  font-size: 28px;
  opacity: 0.4;
}

.pipeline-card-body {
  padding: 20px 22px 24px;
}

.pipeline-card-level {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.pipeline-card-level--final {
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.4);
}

.pipeline-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.pipeline-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Arrow connectors between cards */
.pipeline-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  font-size: 22px;
  color: var(--line);
  padding-top: 60px; /* vertically center with image area */
  flex-shrink: 0;
}

/* Pipeline diagram */
.pipeline-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 8px 0;
}

.pipeline-step {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  transition: background 0.2s, padding-left 0.2s;
}

.pipeline-step:hover {
  padding-left: 36px;
  background: rgba(255, 179, 71, 0.04);
}

.pipeline-step--final {
  background: rgba(255, 179, 71, 0.06);
  border-top: 1px solid rgba(255, 179, 71, 0.2);
}

.pipeline-step-label {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}

.pipeline-step--final .pipeline-step-label {
  background: rgba(255, 179, 71, 0.15);
  border-color: rgba(255, 179, 71, 0.4);
}

.pipeline-step-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.pipeline-step-desc small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.pipeline-arrow {
  font-size: 18px;
  color: var(--line);
  padding: 2px 0;
}

.project-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  max-width: 700px;
}

.project-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.project-point-icon {
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.project-point strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--text);
  margin-bottom: 6px;
}

.project-point p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   COMMUNITY SECTION
   ============================================================ */
.community-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.community-card:hover {
  border-color: rgba(255, 179, 71, 0.3);
  transform: translateY(-2px);
}

.community-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.community-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.community-card p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   INSTRUCTOR SECTION
   ============================================================ */
.instructor-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}


.instructor-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.instructor-en {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 8px;
}

.instructor-title {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.instructor-credits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.instructor-credits li {
  font-size: var(--text-md);
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.instructor-credits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.instructor-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  line-height: 1.7;
}

.instructor-profile-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.instructor-grid--guest {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.instructor-role-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 179, 71, 0.12);
  border: 1px solid rgba(255, 179, 71, 0.3);
  color: var(--accent);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.instructor-role-badge--guest {
  background: rgba(158, 167, 179, 0.1);
  border-color: rgba(158, 167, 179, 0.25);
  color: var(--text-muted);
}

/* ============================================================
   DEADLINE SECTION
   ============================================================ */
.deadline-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.deadline-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.deadline-card:hover {
  border-color: rgba(255, 93, 93, 0.3);
  transform: translateY(-2px);
}

.deadline-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.deadline-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.deadline-card p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE — Large screen  (≥ 1600px)
   ============================================================ */
@media (min-width: 1600px) {
  :root {
    --container-max: 1360px;
    --section-py:    100px;
    /* Scale up the entire type scale */
    --text-xs:   14px;
    --text-sm:   16px;
    --text-base: 19px;
    --text-md:   18px;
    --text-lg:   22px;
    --text-xl:   34px;
  }

  .header-inner {
    height: 68px;
  }

  .brand {
    font-size: 17px;
  }
}

/* ============================================================
   MOBILE MENU (open state)
   ============================================================ */
@media (max-width: 600px) {
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px;
    gap: 16px;
    z-index: 99;
  }

  .main-nav.mobile-open a {
    font-size: 15px;
    color: var(--text);
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

/* Offset anchor targets so sticky header doesn't cover them */
[id] {
  scroll-margin-top: 72px;
}

/* ============================================================
   RESPONSIVE — Tablet  (≤ 860px)
   ============================================================ */
@media (max-width: 860px) {
  :root {
    --section-py: 60px;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-video-wrapper {
    max-height: 280px;
  }

  /* Cards: 2-col → 1-col */
  .diff-cards,
  .community-cards,
  .deadline-cards,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* Project */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-header {
    margin-bottom: 40px;
  }

  /* Pipeline cards: 2×2 on tablet, hide side arrows, show down arrow via CSS */
  .pipeline-cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pipeline-card-arrow {
    display: none;
  }

  /* Instructor */
  .instructor-grid {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }

  .instructor-profile-img {
    aspect-ratio: 3 / 4;
  }

  /* Outcome */
  .outcome-grid {
    flex-direction: column;
  }

  .outcome-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  /* Sticky bar */
  .sticky-copy strong {
    font-size: 13px;
  }

  /* Footer */
  .footer-inner {
    gap: 20px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile  (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-py: 48px;
  }

  .container {
    padding: 0 16px;
  }

  /* Header */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Hero */
  .hero-section {
    padding: 56px 0 48px;
  }

  .hero-headline {
    font-size: 28px;
  }

  .hero-video-wrapper {
    max-height: 220px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sticky bar */
  .sticky-copy span {
    display: none;
  }

  .sticky-cta-inner {
    gap: 12px;
  }

  /* Problem */
  .problem-item {
    padding: 16px;
  }

  /* Diff table */
  .diff-table th,
  .diff-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  /* Outcome */
  .outcome-card {
    min-width: unset;
    width: 100%;
  }

  /* Pipeline cards: 1-col on mobile */
  .pipeline-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Curriculum */
  .curriculum-item {
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
  }

  /* Instructor */
  .instructor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .instructor-profile-img {
    aspect-ratio: 4 / 3;
    max-height: 260px;
    object-position: top;
  }

  /* FAQ */
  .faq-q {
    font-size: 14px;
    padding: 16px 18px;
  }

  .faq-a {
    font-size: 14px;
  }

  .faq-item.open .faq-a {
    padding: 12px 18px 20px;
  }

  /* Final CTA */
  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
