/* --- ROOT & GLOBALS --- */
:root {
  --bg-dark: #111;
  --bg-white: #fff;
}
* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Noto Sans KR", sans-serif;
  background: #000;
  color: #fff;
}

.snap-container {
  height: 100dvh;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  background: #000;
}

.snap-section {
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* --- SECTION 1: HERO --- */
.hero-snap {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 8vw 12dvh 0;
}
.hero-snap .vimeo-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  pointer-events: none;
}
.hero-snap .vimeo-wrapper iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100dvh;
  min-width: 177.77dvh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
}

.hero-snap .kinetic-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero-snap .main-branding {
  display: flex;
  gap: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 8vw, 3rem);
  color: #fff;
}

.hero-snap .word-box {
  height: 1.3em;
  overflow: hidden;
  position: relative;
}
.hero-snap .prefix-box {
  width: 4em;
  text-align: right;
  margin-right: 0.15em;
}
.hero-snap .suffix-box {
  width: 3em;
  text-align: left;
}
.hero-snap .word-inner span {
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}
.hero-snap .sub-headline {
  margin-top: 1rem;
  line-height: 0.3;
  text-align: right;
  color: #fff;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 600;
}

@media (max-width: 767px) {
  .hero-snap .sub-headline {
    padding-right: 2.3rem;
  }
}
@media (max-width: 500px) {
  .hero-snap .sub-headline {
    padding-right: 1.5rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 5dvh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.text-arrow-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat";
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-decoration: none;
  transition: all 0.4s;
}
.text-arrow-link .arrow-down {
  position: relative;
  width: 1px;
  height: 30px;
  background: currentColor;
}
.text-arrow-link .arrow-down::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

/* --- SECTION 2: FORM --- */
.connect-snap {
  background: #000 !important;
}
.connect-box {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.connect-snap.active .connect-box {
  opacity: 1;
  transform: translateY(0);
}

.mag-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.field-group {
  display: flex;
  flex-direction: column;
}
.field-group label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.field-group input,
.field-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 0;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}
.field-group textarea {
  min-height: 80px;
  resize: none;
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.mt-2 {
  margin-top: 1rem;
}

.package-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.pkg-chip-item {
  position: relative;
}
.pkg-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.pkg-chip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Noto Sans KR", sans-serif;
  text-transform: none !important;
}
.pkg-chip-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.pkg-checkbox:checked ~ .pkg-chip-label {
  border-color: #fff;
  color: #fff;
}
.pkg-checkbox:checked ~ .pkg-chip-label .dot {
  background: #fff;
}

.submit-wrapper {
  text-align: right;
}
.mag-submit-btn {
  background: transparent;
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
}
.mag-submit-btn span {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.mag-submit-btn .btn-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mag-submit-btn:hover .btn-arrow {
  background: #fff;
  color: #000;
  transform: translateX(10px);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* SUCCESS OVERLAY */
.done-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s;
  flex-direction: column;
}
.done-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.done-content {
  text-align: center;
  color: #fff;
}
.done-icon {
  margin-bottom: 2rem;
  color: #fff;
}
.done-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.done-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
  line-height: 1.6;
}
.back-home {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 1rem 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Montserrat", sans-serif;
}
.back-home:hover {
  background: #fff;
  color: #000;
}
