:root {
  /* 다크 배경 + 보라 포인트 무드 (Emotion Agency 참고) */
  --accent: #b98cff;        /* 포인트(밝은 보라) */
  --accent-2: #9047ff;      /* 진한 보라 */
  --ink: #eceaf4;           /* 본문 글자(밝은색) */
  --muted: #a99fc0;         /* 보조 글자 */
  --bg: #0b0616;            /* 전체 배경(깊은 다크) */
  --surface: #17102b;
  --line: rgba(144, 71, 255, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  /* 깊은 다크에서 은은한 보라빛으로 번지는 그라데이션 */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(144, 71, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(122, 63, 224, 0.1), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3D 배경 캔버스: 화면 전체 고정 (입자로 학교를 그린다) */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* 캔버스 위 비네트: 가장자리를 살짝 어둡게 해 글자 가독성 ↑ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(11, 6, 22, 0.6));
}

/* 상단 바 */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.lp-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.lp-nav-menu { display: none; gap: 28px; }
.lp-nav-menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.lp-nav-menu a:hover { color: var(--ink); }
.lp-nav-btn {
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.1s;
}
.lp-nav-btn:hover { background: #6344e6; }
.lp-nav-btn:active { transform: scale(0.95); }

/* 섹션 공통: 캔버스 위에 떠 있음 */
.lp-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

/* 히어로 */
.lp-hero-inner { text-align: center; max-width: 760px; position: relative; }

/* 히어로 뒤 은은한 글로우 */
.lp-hero-inner::before {
  content: "";
  position: absolute;
  top: 40%; left: 50%;
  width: 520px; height: 520px;
  max-width: 90vw; max-height: 90vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(122, 92, 255, 0.18), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* 글자 단위 등장: 각 글자를 span 으로 감싸 아래에서 떠오름 */
/* 작은 상단 배지 */
.lp-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--accent);
  background: rgba(122, 92, 255, 0.1);
  border: 1px solid rgba(122, 92, 255, 0.3);
  backdrop-filter: blur(6px);
}
.lp-title {
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  text-shadow: none;
}
.lp-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-sub {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}
.lp-cta {
  display: inline-block;
  margin-top: 34px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(122, 92, 255, 0.3);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.lp-cta:hover { transform: translateY(-3px); background: #6344e6; box-shadow: 0 16px 40px rgba(122, 92, 255, 0.35); }
.lp-cta.big { padding: 18px 44px; font-size: 19px; }
.lp-scroll-hint {
  margin-top: 56px;
  font-size: 13px;
  color: var(--muted);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== 섹션 공통 레이블 (OUR WAY 식 작은 머리말) ===== */
.lp-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
}

/* ===== Approach: 큰 선언형 문장 3개 ===== */
.lp-approach { align-items: flex-start; }
.lp-approach-inner { width: 100%; max-width: 1000px; margin: 0 auto; }
.lp-statement {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.lp-statement:last-child { border-bottom: 1px solid var(--line); }
.lp-st-sub {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.lp-statement h2 {
  font-size: clamp(26px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
}
.lp-statement em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== What we do: 번호 매긴 기능 리스트 ===== */
.lp-dolist { align-items: flex-start; }
.lp-dolist-inner { width: 100%; max-width: 1000px; margin: 0 auto; }
.lp-do { list-style: none; }
.lp-do li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 26px 8px;
  border-top: 1px solid var(--line);
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.lp-do li:last-child { border-bottom: 1px solid var(--line); }
.lp-do li:hover { padding-left: 20px; background: rgba(122, 92, 255, 0.06); }
.lp-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-width: 34px;
}
.lp-do-name {
  flex: 1;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.lp-do-desc {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
  max-width: 220px;
}

/* ===== How it works: 단계 ===== */
.lp-how { align-items: flex-start; }
.lp-how-inner { width: 100%; max-width: 1000px; margin: 0 auto; }
.lp-steps { display: grid; gap: 28px; }
.lp-step {
  padding: 30px;
  border-radius: 20px;
  background: rgba(23, 16, 43, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.lp-step .lp-num { display: block; margin-bottom: 14px; font-size: 16px; }
.lp-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.lp-step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ===== 마무리 CTA + 푸터 ===== */
.lp-outro { flex-direction: column; justify-content: center; }
.lp-outro-inner { text-align: center; }
.lp-outro-title {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 800;
  margin: 10px 0 34px;
  letter-spacing: -1.5px;
  line-height: 1.12;
}
.lp-outro-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-footer {
  width: 100%;
  max-width: 1000px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.lp-foot-col { display: flex; flex-direction: column; gap: 10px; }
.lp-foot-head { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 4px; }
.lp-foot-col a, .lp-foot-col span { font-size: 14px; color: var(--muted); text-decoration: none; }
.lp-foot-col a:hover { color: var(--accent); }
.lp-foot-bottom {
  grid-column: 1 / -1;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* GSAP reveal 초기 상태 */
.reveal { opacity: 0; transform: translateY(40px); }

@media (min-width: 760px) {
  .lp-nav-menu { display: flex; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 모바일(폰) 반응형 ===== */
@media (max-width: 600px) {
  .lp-section { padding: 70px 18px; min-height: auto; }
  .lp-hero { min-height: 100vh; min-height: 100dvh; }
  .lp-nav { padding: 14px 16px; }

  /* 제목: 폰에선 강제 줄바꿈(br)을 무시하고 자연스럽게 흐르게 */
  .lp-title br, .lp-outro-title br { display: none; }
  .lp-title { font-size: clamp(30px, 9vw, 44px); letter-spacing: -1px; word-break: keep-all; }
  .lp-outro-title { font-size: clamp(26px, 8vw, 40px); word-break: keep-all; }
  .lp-sub { font-size: 15px; word-break: keep-all; }

  /* '할 수 있는 것' 리스트: 폰에선 설명을 아래로 내려 두 줄로 */
  .lp-do li { flex-wrap: wrap; gap: 6px 14px; padding: 20px 6px; }
  .lp-do-name { flex: 1 1 100%; font-size: clamp(17px, 5.5vw, 22px); }
  .lp-do-desc { flex: 1 1 100%; text-align: left; max-width: none; margin-left: 54px; }

  .lp-statement h2 { font-size: clamp(22px, 7vw, 34px); word-break: keep-all; }
  .lp-footer { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* 접근성: 움직임 줄이기 설정이면 애니메이션 비활성 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-scroll-hint { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
