/* ===== Global dark tone ===== */
body {
  background: #303030;
  color: #eaeaea;
  margin: 0;
  top: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body * {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  word-break: keep-all;
}
h1,
h2 {
  color: #f5f5f5;
}
p {
  color: #a0a0a0;
  line-height: 1;
}

.scroll-container {
  height: 100dvh;
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-padding-top: 64px;
  overscroll-behavior-y: contain;
}

.impact,
.detail {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.footer {
  scroll-snap-align: end;
}

.title-ko-vertical {
  height: calc(calc(80vh - 96px) - 96px);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.title-ko-spaced {
  width: 100%;
  font-weight: 800;
  -webkit-text-stroke: calc(min(calc(100vw * 0.0015), calc(100vh * 0.00225)))
    white;
  font-size: calc(min(calc(100vw * 0.1), calc(100vh * 0.15)));
  line-height: 1;
  color: white;
  opacity: 0.05;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  mix-blend-mode: lighten;
}

.title-illust-ko {
  font-weight: 600;
  font-size: calc(min(calc(100vw * 0.02), calc(100vh * 0.03)));
}


.title-en-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-en-stacked .title-en {
  font-weight: 900;
  width: 70%;
  max-width: 600px;
  text-align: center;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -2px;
  color: white;
  /* opacity: 0.5; */
  mix-blend-mode: lighten;
  margin: 0;
  margin-top: 3rem;
}

.banner {
  height: 64px;
  width: calc(100% - 2rem);
  padding-right: 2rem;
  background-color: #222;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 20;
}

.impact p {
  color: white;
  opacity: 0.5;
}


.title-illust-en {
  font-weight: 400;
  font-size: 1.5rem;
  width: 100%;
  max-width: 900px;
  text-align: center;
  mix-blend-mode: lighten;
  line-height: 1.2;
  opacity: 0.75 !important;
}

.footer {
  width: 100%;
  margin-top: 0;
  padding: 1rem 2rem;
  background-color: #333;
  color: #888;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
}

.impact {
  position: relative;
  width: 100vw;
}

.impact-field {
  padding: 6rem 2rem 2rem 2rem;
  width: calc(100% - 4rem);
  height: calc(100dvh - 8rem);
  max-height: calc(1.5 * 100vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.video-element {
  border-radius: 12px;
  box-shadow: 0 10px 48px rgba(0, 0, 0, 0.05);
  outline: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 50vw;
}

.title.xl {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.015em;
}
.subtitle {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: #bdbdbd;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-btn {
  background: white;
  color: #000;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
}
.cta-btn:hover {
  opacity: 0.8;
}
.cta-btn:active {
  transform: translateY(0);
}
.ghost-link {
  color: #cfcfcf;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}
.ghost-link:hover {
  opacity: 1;
}

/* ========== 모달 ========== */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

.modal-content {
  background: #303030;
  padding: 2.5rem;
  width: calc(90% - 5rem);
  max-width: 480px;
  max-height: calc(90dvh - 5rem);
  border-radius: 16px;
  position: relative;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  overflow-y: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.close:hover {
  color: #ccc;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

form label {
  font-weight: 600;
  margin-bottom: -0.8rem;
  color: #a0a0a0;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
select {
  padding: 0.75rem;
  border: 2px solid #505050;
  border-radius: 8px;
  font-size: 1rem;
  background: #3a3a3a;
  color: #eaeaea;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: #667eea;
}

button[type="submit"] {
  background: white;
  color: #000;
  padding: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

button[type="submit"]:hover:not(:disabled) {
  opacity: 0.8;
}

button[type="submit"]:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  transform: none;
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.consent-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #667eea;
  cursor: pointer;
}

.consent-group label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

#pocCallPage,
#surveyPage,
#confirmationPage {
  text-align: center;
}

#pocCallPage h3,
#surveyPage h3,
#confirmationPage h3 {
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

#pocCallPage p,
#surveyPage p,
#confirmationPage p {
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#pocCallPage button,
#surveyPage button,
#confirmationPage button {
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

#pocCallPage button:first-of-type,
#surveyPage button[type="submit"] {
  background: white;
  color: #000;
}

#pocCallPage button:first-of-type:hover,
#surveyPage button[type="submit"]:hover {
  opacity: 0.8;
}

#pocCallPage button:last-of-type,
#surveyPage button[type="button"],
#confirmationPage button[type="button"] {
  background: #505050;
  color: #fff;
}

#pocCallPage button:last-of-type:hover,
#surveyPage button[type="button"]:hover,
#surveyPage button[type="button"]:hover {
  opacity: 0.8;
}

#surveyForm {
  text-align: left;
}

#surveyForm label {
  color: #a0a0a0;
  font-weight: 600;
  font-size: 0.95rem;
}

#surveyForm textarea {
  padding: 0.75rem;
  border: 2px solid #505050;
  border-radius: 8px;
  font-size: 1rem;
  background: #3a3a3a;
  color: #eaeaea;
  transition: border-color 0.2s;
  resize: vertical;
}

#surveyForm textarea:focus {
  outline: none;
  border-color: #667eea;
}

.detail.light .video-element {
  outline: 1px solid rgba(0, 0, 0, 0.06);
}
.impact-video {
  display: block;
  width: 100%;
  height: calc(100dvh - 4rem);
  max-height: calc(1.5 * 100vw);
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  top: 64px;
  z-index: -1;
}
.media-caption {
  font-size: 0.9rem;
  color: #a9a9a9;
  text-align: center;
  margin-top: 0.6rem;
}

.detail {
  width: 100vw;
  height: calc(100vh - 4rem);
  max-height: calc(0.75 * 100vw);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.detail.light {
  background: #f0f0f0;
}

.detail.dark {
  background: #2a2a2a;
}

.text-box {
  width: calc(40vw - 4rem);
  padding: 0 2rem;
  height: calc(50vw * 9 / 16);
}

.detail h2 {
  color: #ffffff;
  font-size: calc(max(calc(min(calc(100vw * 0.03), calc(100vh * 0.05))), 32px));
  line-height: 1;
  margin: 0;
  word-break: keep-all;
}

.detail.light h2 {
  color: #000;
}

.detail p {
  color: #c8c8c8;
  font-size: calc(max(calc(min(calc(100vw * 0.01), calc(100vh * 0.02))), 16px));
  line-height: 1.5;
  word-break: keep-all;
}

.detail.light p {
  color: #505050;
}

.light .cta-btn {
  background: #333;
  color: #fff;
}

.dark .cta-btn {
  background: #ccc;
  color: #000;
}
.text-language {
  color: #a0a0a0;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
}

.cta-btn.white {
  background-color: #fff;
}

@media (max-width: 700px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .title-illust-ko {
    font-weight: 600;
    font-size: 14px;
  }
  .title-ko-spaced {
    opacity: 0.2;
  }
  .cta-btn {
    font-size: 14px;
  }
  .title-ko-vertical {
    height: auto;
  }
  .title-ko-spaced {
    line-height: 1.5;
  }
  .title-en-stacked {
    height: auto;
  }
  .title-en-stacked .title-en {
    font-size: calc(min(3rem, 12vw));
    width: 100%;
    max-width: 400px;
    letter-spacing: -1px;
  }
  .title-illust-en {
    font-size: 1rem;
  }
  .detail {
    flex-direction: column;
    align-items: center;
    height: auto;
    max-height: none;
    padding: 2rem 0;
  }
  .detail .text-box {
    width: calc(100vw - 4rem);
    height: auto;
    margin-bottom: 2rem;
    text-align: center;
  }
  .video-element {
    min-width: 80vw;
  }
  .banner .cta-btn {
    display: none !important;
  }
}
