body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 0;
  color: #222;
}

.container {
  max-width: 50em;
  margin: 4em auto;   /* 가로 가운데 정렬 */
  padding: 0 2em;
}

.section {
  background-color: #ffffff;
  border-radius: 1.2em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.05);
  padding: 3em;
  margin-bottom: 3em;
  transition: box-shadow 0.3s ease;
}

.section:hover {
  box-shadow: 0 0.8em 1.6em rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2em;
  margin-bottom: 1em;
  color: #2c3e50;
  border-left: 5px solid #3498db;
  padding-left: 0.75em;
}

.price-box p,
.info-box p {
  font-size: 1.1em;
  line-height: 1.8;
  margin: 1.2em 0;
}

.sub {
  font-size: 0.95em;
  color: #888;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.8em;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.6em;
  display: block;
}

input,
textarea,
select {
  width: 100%;
  padding: 1em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 0.6em;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3498db;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: linear-gradient(90deg, #3498db, #2980b9);
  color: white;
  padding: 1em;
  font-size: 1.05em;
  font-weight: bold;
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #2980b9, #1f618d);
}

.privacy-text {
  margin-top: 2.5em;
  font-size: 0.95em;
  color: #666;
  line-height: 1.7;
  text-align: center;
}


/* 문의하기버튼 */

.contact-link-button {
  display: block;
  width: 60%;
  max-width: 25em;
  margin: 2em auto;
  padding: 1em 2em;
  text-align: center;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0.6em;
  box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-link-button:hover {
  background: linear-gradient(90deg, var(--color-green), var(--color-blue));
  transform: scale(1.03);
}


/* 결제하기 버튼 */
.payment-button {
  display: block;              /* 가로 전체 사용 */
  width: 10em;                 /* 버튼 가로 크기 */
  margin: 2em auto;            /* 위아래 여백 + 가운데 정렬 */
  margin-bottom:1em;
  padding: 0.7em 0;              /* 세로 여백 */
  background: linear-gradient(90deg, var(--color-purple), var(--color-blue));
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 0.5em;
  box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.payment-button:hover {
  background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
  transform: scale(1.05);
}


@media (max-width: 768px) {
    /* 컨테이너 폭 줄이고 여백 조정 */
    .container {
        max-width: 95%;
        margin: 2em auto;
        padding: 0 1em;
    }

    /* 섹션 패딩 줄이기 */
    .section {
        padding: 1.5em;
        margin-bottom: 2em;
    }

    /* 제목 크기 축소 */
    .section-title {
        font-size: 1.4em;
    }

    /* 가격/문의 박스 글자 크기 조정 */
    .price-box p,
    .info-box p {
        font-size: 1em;
        margin: 1em 0;
        text-align: center;
    }

    /* 버튼 크기 & 폭 늘리기 */
    .payment-button,
    .contact-link-button {
        width: 90%;
        max-width: none;
        font-size: 1.1em;
        padding: 0.8em;
    }

    /* 가격/문의 영역 세로 정렬 */
    .price-box,
    .info-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 서브텍스트 크기 줄이기 */
    .sub {
        font-size: 0.9em;
    }
}
