:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --text: #11213c;
  --muted: #4a5d7a;
  --brand: #2f62e8;
  --brand-2: #26c4e4;
  --line: #dbe6ff;
  --shadow: 0 18px 50px rgba(34, 75, 169, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 98, 232, 0.12), transparent 38%),
    radial-gradient(circle at 90% 20%, rgba(38, 196, 228, 0.16), transparent 35%),
    var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(0.5px);
  z-index: -1;
  opacity: 0.5;
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(47, 98, 232, 0.35), rgba(38, 196, 228, 0.18));
  top: -80px;
  right: -70px;
}

.bg-shape-b {
  width: 280px;
  height: 280px;
  background: linear-gradient(120deg, rgba(38, 196, 228, 0.32), rgba(47, 98, 232, 0.14));
  bottom: -100px;
  left: -60px;
}

.hero {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px 28px;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin: 0;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 20;
}

.eyebrow {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

h1 {
  margin: 14px auto 10px;
  font-size: clamp(1.6rem, 3.6vw, 2.45rem);
  line-height: 1.3;
  max-width: 920px;
}

.subtitle {
  margin: 0 auto;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--muted);
  max-width: 780px;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
  padding-bottom: 64px;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: 18px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--brand);
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: #284164;
  line-height: 1.8;
}

.note {
  margin: 0 0 12px;
  color: var(--muted);
}

.schedule-card {
  border: 1px dashed #b8cdfd;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(130deg, rgba(47, 98, 232, 0.08), rgba(38, 196, 228, 0.08));
}

.round {
  margin: 0 0 12px;
  font-weight: 700;
  color: #17397d;
}

dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
}

dt {
  font-weight: 700;
  color: #1c4088;
}

dd {
  margin: 0;
}

.apply-form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  border: 1px solid #c6d8ff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 98, 232, 0.16);
}

.consent-box {
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  padding: 14px;
  margin: 8px 0;
}

.consent-box legend {
  padding: 0 6px;
  color: #1f458f;
  font-weight: 700;
}

.consent-box p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

button {
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(31, 82, 187, 0.3);
}

.helper {
  margin: 4px 0 0;
  color: #5c7092;
  font-size: 0.9rem;
}

footer {
  text-align: center;
  color: #60759a;
  padding: 12px 20px 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.65s ease forwards;
}

.section.reveal:nth-of-type(1) {
  animation-delay: 0.08s;
}

.section.reveal:nth-of-type(2) {
  animation-delay: 0.16s;
}

.section.reveal:nth-of-type(3) {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .hero-logo {
    width: 92px;
    top: 12px;
    left: 12px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 20px;
  }

  dl div {
    grid-template-columns: 58px 1fr;
  }
}
