@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0d9488;
  --bg: #f5f6f9;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-box {
  height: 56px;
  width: 56px;
  border-radius: 14px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #4b5563;
  letter-spacing: 0.01em;
}

.logo-text-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-text-sub {
  font-size: 13px;
  color: #6b7280;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 30;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  color: #4b5563;
}

.icon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.profile-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.profile-btn svg {
  width: 20px;
  height: 20px;
  color: #4b5563;
}

.profile-name {
  font-size: 15px;
  color: #111827;
  font-weight: 600;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  padding: 8px 0;
  z-index: 20;
  display: none;
}

.profile-menu.hidden {
  display: none;
}

.profile-menu.open {
  display: block;
}

.profile-menu-item {
  width: 100%;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1f2937;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.profile-menu-item:hover {
  background: #f3f4f6;
}

.profile-menu-item svg {
  width: 18px;
  height: 18px;
  color: #475569;
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.hidden {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border);
  color: #374151;
}

.btn-outline:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
}

.btn-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

main {
  padding: 48px 0 96px;
}

.hero {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  display: grid;
  gap: 12px;
  padding: 0 16px;
}

.hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: #e6e9f7;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-icon svg {
  width: 22px;
  height: 22px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  color: #4b5563;
  font-size: 15px;
}

.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

.info-column {
  display: grid;
  gap: 14px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card-title {
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  color: #374151;
  font-size: 14px;
}

.info-row.split {
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-weight: 600;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.info-text {
  color: #4b5563;
  font-size: 14px;
}

.info-text.muted {
  color: #9ca3af;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef1f6;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle.sm {
  width: 32px;
  height: 32px;
}

.icon-circle svg {
  width: 18px;
  height: 18px;
}

.dot {
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
}

.dot-blue {
  background: var(--primary);
}

.form-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px 26px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.form-header {
  margin-bottom: 18px;
}

.form-header h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-header p {
  color: #4b5563;
  font-size: 14px;
}

.ask-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
  font-size: 14px;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field label svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.required {
  color: #ef4444;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input-wrap input:focus,
.textarea-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.input-wrap input[readonly],
.textarea-wrap textarea[readonly] {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.input-wrap input[readonly]:focus,
.textarea-wrap textarea[readonly]:focus {
  border-color: var(--border);
  box-shadow: none;
}

.input-error {
  border-color: #9cb8a8 !important;
  box-shadow: 0 0 0 2px rgba(83, 168, 151, 0.15) !important;
}
.select-wrap {
  position: relative;
}

.select-trigger {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff !important;
  color: #374151 !important;
  font-weight: 700;
  padding: 0 44px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.select-trigger:focus {
  outline: none;
}

.select-trigger[aria-expanded="true"] {
  border-color: #9cb8a8;
  box-shadow: 0 0 0 2px rgba(83, 168, 151, 0.15);
  background: #ffffff;
}

.select-trigger.error {
  border-color: #d1d5db;
  box-shadow: none;
}

.select-label {
  pointer-events: none;
  font-weight: 600;
  color: #6b7280 !important;
  font-size: 14px;
}

.select-wrap .chevron {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
}

.select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  padding: 6px 0;
  display: grid;
  gap: 2px;
  z-index: 20;
}

.select-menu.hidden {
  display: none !important;
}

.select-menu li {
  list-style: none;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.select-menu li:hover {
  background: #d7ebe4 !important;
}

.select-menu li[aria-selected="true"] {
  background: #53a897 !important;
  color: #ffffff !important;
}

.select-menu .option-title {
  font-weight: 700;
  margin-bottom: 3px;
}

.select-menu .option-desc {
  font-size: 13px;
  color: #6b7280;
}

.select-menu li[aria-selected="true"] .option-desc {
  color: #e0f0ea !important;
}

.select-menu .muted {
  color: #9ca3af !important;
}

.error-text {
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

.textarea-wrap textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: #f8fafc;
  resize: vertical;
  min-height: 170px;
  outline: none;
}

.textarea-wrap .helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.notice-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

.notice-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #1f2937;
}

.notice-box ul {
  list-style: disc;
  padding-left: 18px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 50;
  display: none;
}

.modal-card {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
  pointer-events: none;
}

.modal-card.hidden {
  display: none;
}

.modal-panel {
  background: #ffffff;
  border-radius: 12px;
  width: min(560px, 100%);
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
}

.modal-card .modal-header,
.modal-card .modal-body,
.modal-card .modal-footer {
  padding: 20px 24px;
}

.modal-card .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

.modal-header-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.modal-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2cbb6d;
}

.modal-check-icon svg {
  width: 20px;
  height: 20px;
}

.modal-close {
  border: none;
  background: transparent;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.modal-close:hover {
  color: #6b7280;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  display: grid;
  gap: 14px;
  text-align: center;
}

.modal-check {
  margin: 0 auto 4px;
  width: 76px;
  height: 76px;
  color: #2cbb6d;
  background: #e7f6ed;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-check svg {
  width: 44px;
  height: 44px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.modal-sub {
  color: #6b7280;
  font-size: 15px;
}

.modal-info {
  margin-top: 6px;
  background: #eef2ff;
  border: 1px solid #d8e2ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #4b5563;
}

.modal-info-strong {
  color: #1f3896;
  font-weight: 700;
  margin-right: 4px;
}

.modal-footer {
  padding-top: 0;
}

.modal-footer .btn {
  width: 100%;
  border-radius: 8px;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
}

footer {
  background: #0f172a;
  color: #e5e7eb;
}

.footer-banner {
  background: linear-gradient(to right, #3b82f6, #14b8a6);
  padding: 1.1rem 0;
  text-align: center;
  font-weight: 500;
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-box {
  width: 64px;
  height: 64px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links-row {
  display: flex;
  gap: 0.75rem;
}

.footer-icon-link {
  color: #9ca3af;
  transition: color 0.15s ease;
}

.footer-icon-link:hover {
  color: #60a5fa;
}

.footer-contact-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: "Noto Serif KR", system-ui, sans-serif;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #9ca3af;
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: #60a5fa;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .info-column {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .hero h1 {
    font-size: 24px;
  }

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

  .form-column {
    padding: 18px;
  }
}
