/* ======================================================
   Lecture Page — 에드스튜디오 2기 모집
   ====================================================== */

.lecture-page {
  width: 100%;
  padding-top: 5.125em;
  background: #111;
}

/* ---------- 3 Visual Images ---------- */
.lecture-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #111;
}

.lecture-visual img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}

/* ---------- CTA Section ---------- */
.lecture-cta {
  background: #111;
  padding: 4rem 1.5rem 6rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.apply-btn {
  display: inline-block;
  min-width: 280px;
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b9dff 0%, #1e6bff 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(30, 107, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(30, 107, 255, 0.5);
  filter: brightness(1.08);
}

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

.cta-sub {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.01em;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.25rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #1a1f36;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.modal-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

/* ---------- Form ---------- */
.apply-form .form-row {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
}

.apply-form label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
}

.apply-form .req {
  color: #3b9dff;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #fff;
  background: #0f1425;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.apply-form input:focus,
.apply-form textarea:focus {
  border-color: #3b9dff;
  background: #121830;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b9dff 0%, #1e6bff 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.submit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .apply-btn {
    min-width: 240px;
    font-size: 1.1rem;
    padding: 1.1rem 2rem;
  }
  .modal {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 16px;
  }
  .modal-title {
    font-size: 1.3rem;
  }
}
