@charset "UTF-8";

.golf-converter-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

/* 상단 */
.golf-converter-page .utility-top {
  text-align: center;
  padding: 34px 20px 30px;
}

.golf-converter-page .utility-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.golf-converter-page .utility-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.golf-converter-page .utility-desc {
  max-width: 860px;
  margin: 16px auto 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

/* SaaS 요약 카드 */
.golf-converter-summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.golf-converter-summary-item {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.golf-converter-summary-item::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0f766e);
}

.golf-converter-summary-item strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.golf-converter-summary-item span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

/* 메인 카드 */
.golf-converter-main-card {
  padding: 30px;
  margin-bottom: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 34%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.converter-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.converter-card-head h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.converter-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.converter-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

/* 레이아웃 */
.golf-converter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.converter-input-panel,
.converter-result-panel {
  min-width: 0;
}

.converter-result-panel {
  position: sticky;
  top: 18px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

/* 섹션 */
.converter-panel-section {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.converter-panel-section + .converter-panel-section {
  margin-top: 18px;
}

.converter-section-head {
  margin-bottom: 18px;
}

.converter-section-head h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.converter-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

/* grid */
.golf-grid {
  display: grid;
  gap: 16px;
}

.golf-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 입력 박스 */
.golf-box {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: #ffffff;
}

.golf-box-title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

.golf-converter-page .utility-field-label {
  display: block;
  margin-bottom: 9px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.golf-converter-page .utility-input {
  width: 100%;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.golf-converter-page .utility-input:last-child {
  margin-bottom: 0;
}

.golf-converter-page .utility-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.golf-converter-page .utility-input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

/* 프리셋 */
.converter-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.converter-preset-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.converter-preset-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.4);
  background: #dcfce7;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

/* 버튼 */
.converter-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.golf-converter-page .utility-btn {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
}

.golf-converter-page .utility-btn-primary {
  border-color: #0f172a;
  background: linear-gradient(135deg, #0f172a, #14532d);
  color: #ffffff;
}

.golf-converter-page .utility-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.14);
}

/* 결과 */
.converter-result-head {
  margin-bottom: 20px;
}

.converter-result-head h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.converter-result-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.converter-main-result {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #14532d);
  color: #ffffff;
}

.converter-main-result::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}

.converter-main-result span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 800;
}

.converter-main-result strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.converter-main-result em {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

/* 결과 리스트 */
.golf-result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.golf-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: #ffffff;
}

.golf-result-item span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.golf-result-item strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
  line-height: 1.5;
}

/* 안내 카드 */
.converter-guide-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
}

.converter-guide-card strong {
  display: block;
  margin-bottom: 10px;
  color: #166534;
  font-size: 15px;
  font-weight: 900;
}

.converter-guide-card p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.9;
}

/* 도움말 */
.golf-converter-page .help-panel {
  margin-top: 32px;
}

.golf-converter-page .help-panel > h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.golf-converter-page .help-box {
  border-radius: 22px;
}

.golf-converter-page .help-box + .help-box {
  margin-top: 18px;
}

.golf-converter-page .help-toggle-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.golf-converter-page .help-toggle-box summary::-webkit-details-marker {
  display: none;
}

.golf-converter-page .help-toggle-box summary::after {
  content: "+";
  color: #64748b;
  font-size: 1.2rem;
  font-weight: 800;
}

.golf-converter-page .help-toggle-box[open] summary::after {
  content: "−";
}

.golf-converter-page .help-toggle-content {
  margin-top: 14px;
}

.golf-converter-page .help-toggle-content p {
  margin: 0;
  color: #334155;
  line-height: 1.8;
}

/* 반응형 */
@media (max-width: 1080px) {
  .golf-converter-layout {
    grid-template-columns: 1fr;
  }

  .converter-result-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .golf-converter-page {
    padding: 0 0 28px;
  }

  .golf-converter-page .utility-top {
    padding: 24px 14px 22px;
  }

  .golf-converter-summary-card {
    grid-template-columns: 1fr;
  }

  .golf-converter-main-card {
    padding: 22px;
    border-radius: 24px;
  }

  .converter-card-head {
    grid-template-columns: 1fr;
  }

  .converter-panel-section,
  .converter-result-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .golf-grid-2 {
    grid-template-columns: 1fr;
  }

  .converter-btn-row {
    grid-template-columns: 1fr;
  }

  .golf-result-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .golf-result-item strong {
    text-align: left;
  }

  .converter-main-result strong {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .golf-converter-main-card {
    padding: 20px 16px;
  }

  .converter-panel-section,
  .converter-result-panel {
    padding: 18px;
  }

  .converter-preset-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .golf-converter-page .utility-btn {
    min-height: 48px;
    font-size: 13px;
  }

  .converter-main-result {
    padding: 22px;
  }

  .converter-main-result strong {
    font-size: 36px;
  }
}