/* =========================================
  천문서재 별자리 공방 창업 체크
  Mobile Landing + Interview Dashboard
  style.css
========================================= */

/* -------------------------------
  Reset / Base
-------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  color: #111827;
  background:
    radial-gradient(circle at 14% 6%, rgba(205, 214, 255, 0.95), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(178, 232, 255, 0.9), transparent 35%),
    linear-gradient(180deg, #eef7ff 0%, #f7fbff 45%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,0.85) 1px, transparent 1px),
    radial-gradient(circle, rgba(87, 119, 255, 0.16) 1px, transparent 1px);
  background-size: 92px 92px, 144px 144px;
  background-position: 0 0, 36px 52px;
  opacity: 0.45;
  z-index: -2;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.22);
  outline-offset: 2px;
}

.app {
  min-height: 100vh;
}

/* -------------------------------
  App Header
-------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 66px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.app-title {
  text-align: center;
  line-height: 1.25;
}

.app-title strong {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.app-title span {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.icon-button,
.home-small,
.round-button {
  border: 0;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  color: #111827;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  font-size: 19px;
}

.home-small {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 20px;
  margin-bottom: 18px;
}

/* -------------------------------
  Page / Screen
-------------------------------- */
.mobile-page {
  width: 100%;
}

.screen {
  display: none;
  min-height: calc(100vh - 66px);
  padding: 22px 18px 38px;
}

.screen.is-active {
  display: block;
  animation: screenFade 0.32s ease both;
}

@keyframes screenFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen-inner {
  width: min(460px, 100%);
  margin: 0 auto;
  position: relative;
}

.top-space {
  padding-top: 10px;
}

.center-screen {
  min-height: calc(100vh - 126px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------------------------------
  First Screen
-------------------------------- */
.headline-bubble {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 14px;
  padding: 15px 22px;
  text-align: center;
  background: #ffffff;
  border: 3px solid #111827;
  border-radius: 24px;
  box-shadow: 0 10px 0 rgba(17, 24, 39, 0.08);
}

.headline-bubble h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.075em;
  font-weight: 950;
  background: linear-gradient(90deg, #0ea5e9 0%, #4f46e5 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub-copy {
  margin: 0 auto 34px;
  text-align: center;
  color: #4b5563;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* -------------------------------
  Product Select
-------------------------------- */
.product-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: 90px;
}

.product-choice {
  min-height: 168px;
  padding: 14px 12px;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: 0.2s ease;
}

.product-choice:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.product-choice:active {
  transform: scale(0.98);
}

.product-art {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  font-size: 46px;
  background: #f8fafc;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 18px rgba(15, 23, 42, 0.07);
}

.product-label {
  display: block;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.art-bracelet {
  background: linear-gradient(135deg, #fff7ed, #dbeafe);
}

.art-ring {
  background: linear-gradient(135deg, #fff1f2, #fef3c7);
}

.art-badge {
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
}

.art-earring {
  background: linear-gradient(135deg, #fdf2f8, #e0f2fe);
}

.art-necklace {
  background: linear-gradient(135deg, #ecfeff, #fef3c7);
}

.art-keyring {
  background: linear-gradient(135deg, #ede9fe, #dcfce7);
}

.art-stone {
  background: linear-gradient(135deg, #dbeafe, #fce7f3);
}

.art-magnet {
  background: linear-gradient(135deg, #fef3c7, #e0f2fe);
}

.bottom-floating {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  width: min(460px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.round-button {
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  background: #111827;
  font-size: 24px;
}

/* -------------------------------
  Reason Screen
-------------------------------- */
.selected-preview {
  display: flex;
  justify-content: center;
  margin: 8px 0 72px;
}

.selected-product-card,
.selected-design-card {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: #ffffff;
  font-size: 58px;
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.center-title {
  margin-bottom: 22px;
  text-align: center;
}

.center-title h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.center-title p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 800;
}

.reason-list {
  display: grid;
  gap: 11px;
}

.reason-button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  text-align: left;
  color: #111827;
  background: rgba(255,255,255,0.92);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow:
    0 9px 18px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: 0.2s ease;
}

.reason-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

/* -------------------------------
  Result Screen
-------------------------------- */
.result-title {
  margin: 34px 0 26px;
  text-align: center;
}

.result-title h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.075em;
  color: #111827;
}

.result-title span {
  color: #4f46e5;
}

.result-card {
  width: min(400px, 100%);
  margin: 0 auto;
  padding: 34px 26px;
  border-radius: 30px;
  text-align: center;
  background: rgba(255,255,255,0.94);
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.13),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.result-product-image,
.result-design-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  font-size: 68px;
  background: linear-gradient(135deg, #eef2ff, #fef3c7);
}

.result-card h3 {
  margin: 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.result-card p {
  margin: 8px 0 22px;
  color: #4b5563;
  font-size: 18px;
  font-weight: 800;
}

.type-label {
  margin-bottom: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}

.result-card strong {
  display: block;
  color: #4f46e5;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.tag-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tag-grid span {
  padding: 12px 10px;
  border-radius: 15px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 14px;
  font-weight: 900;
}

/* -------------------------------
  CTA
-------------------------------- */
.dark-cta,
.primary-cta,
.light-cta {
  width: min(330px, 100%);
  min-height: 60px;
  margin: 28px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 950;
  font-size: 17px;
  letter-spacing: -0.04em;
  transition: 0.2s ease;
}

.dark-cta {
  color: #ffffff;
  background: #111827;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.22);
}

.dark-cta:hover,
.primary-cta:hover,
.light-cta:hover {
  transform: translateY(-2px);
}

.dark-cta.full,
.primary-cta.full,
.light-cta.full {
  width: 100%;
}

.primary-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  box-shadow: 0 16px 30px rgba(79, 70, 229, 0.22);
}

.light-cta {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

/* -------------------------------
  Intro / Information Screens
-------------------------------- */
.info-block {
  text-align: center;
}

.info-block h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.06em;
  color: #111827;
}

.info-block .line {
  width: 58px;
  height: 5px;
  margin: 18px auto;
  border-radius: 999px;
  background: #111827;
}

.info-block h3 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.info-block h3 span {
  color: #4f46e5;
}

.info-block p {
  margin: 0 auto 14px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}

.mini-gallery {
  margin: 30px 0 4px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 12px;
}

.mini-item {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 13px 16px;
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 9px 18px rgba(15, 23, 42, 0.09);
}

/* -------------------------------
  Business Info / Tabs
-------------------------------- */
.sticky-tab {
  position: sticky;
  top: 76px;
  z-index: 20;
  margin-bottom: 24px;
}

.tab-menu {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  overflow-x: auto;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.tab-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  color: #4b5563;
  background: transparent;
  font-weight: 900;
}

.tab-button.is-active {
  color: #111827;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.info-tab-content {
  display: none;
}

.info-tab-content.is-active {
  display: block;
  animation: screenFade 0.25s ease both;
}

.notice-title {
  width: fit-content;
  margin: 0 0 18px;
  padding: 14px 20px;
  border-radius: 18px;
  color: #111827;
  background: #ffffff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.06em;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.support-card {
  padding: 26px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 15px 32px rgba(15, 23, 42, 0.1);
}

.support-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.support-card p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.7;
  font-weight: 700;
}

.support-card ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.8;
  font-weight: 750;
}

/* -------------------------------
  Product Examples
-------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-grid.large {
  margin-top: 24px;
}

.product-card {
  text-align: center;
}

.product-image {
  min-height: 154px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #ffffff;
  font-size: 54px;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.product-card strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

/* -------------------------------
  Design Sheet
-------------------------------- */
.sheet-title,
.sample-title {
  margin: 18px 0 24px;
  text-align: center;
}

.sheet-title span,
.sample-title span {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
}

.sheet-title h2,
.sample-title h2 {
  margin: 8px 0 8px;
  color: #111827;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.sheet-title p,
.sample-title p {
  margin: 0;
  color: #6b7280;
  font-weight: 700;
}

.design-sheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.sheet-box {
  min-height: 150px;
  padding: 16px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.sheet-box span {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #4f46e5;
  font-weight: 950;
}

.sheet-box strong {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.sheet-box p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

/* -------------------------------
  Process
-------------------------------- */
.process-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.process-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.process-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #dbeafe);
  font-size: 28px;
}

.process-card span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.process-card strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.process-card p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

/* -------------------------------
  Sample
-------------------------------- */
.sample-grid {
  padding: 22px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.sample-grid div {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #166534;
  background:
    radial-gradient(circle at 30% 20%, #fef3c7, #dcfce7 48%, #bbf7d0);
  border: 4px solid #d6a43b;
  font-size: 42px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

/* -------------------------------
  Form Panel
-------------------------------- */
.form-panel {
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title > span {
  flex: 0 0 auto;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  font-weight: 950;
}

.section-title h2 {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.section-title p {
  margin: 5px 0 0;
  color: #6b7280;
  line-height: 1.5;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 24px;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.fieldset legend {
  margin-bottom: 12px;
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group label,
.conditional-box label {
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.input-group small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: 0.18s ease;
}

textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

select {
  appearance: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4f46e5;
  box-shadow:
    0 0 0 4px rgba(79, 70, 229, 0.1),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

/* -------------------------------
  Accessory Cards
-------------------------------- */
.accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.accessory-card {
  position: relative;
  min-height: 126px;
  padding: 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: 0.18s ease;
}

.accessory-card input {
  position: absolute;
  opacity: 0;
}

.accessory-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
}

.accessory-card:has(input:checked) {
  border-color: #4f46e5;
  background: #eef2ff;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.12);
}

.accessory-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #4f46e5;
  font-weight: 950;
}

.accessory-image {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: #ffffff;
  font-size: 30px;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
}

.accessory-name {
  color: #111827;
  font-weight: 900;
}

/* -------------------------------
  Zodiac Choice
-------------------------------- */
.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pill-choice {
  cursor: pointer;
}

.pill-choice input {
  position: absolute;
  opacity: 0;
}

.pill-choice span {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 900;
}

.pill-choice input:checked + span {
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  border-color: transparent;
}

.conditional-box {
  margin-top: 14px;
  display: grid;
  gap: 9px;
  animation: screenFade 0.24s ease both;
}

.conditional-box.is-hidden {
  display: none;
}

.zodiac-result {
  margin: 0;
  padding: 13px 14px;
  border-radius: 14px;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-weight: 900;
}

.agree-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.agree-box input {
  width: auto;
  margin-top: 3px;
  accent-color: #4f46e5;
}

/* -------------------------------
  Survey
-------------------------------- */
.survey-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.summary-card {
  padding: 16px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.summary-card span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.summary-card strong {
  display: block;
  color: #111827;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.question-container {
  display: grid;
  gap: 14px;
}

.question-card {
  padding: 18px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.question-card h4 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 17px;
  font-weight: 950;
}

.question-card p {
  margin: 0;
  color: #4b5563 !important;
  line-height: 1.6;
  font-weight: 700;
}

.question-options {
  display: grid;
  gap: 10px;
}

.question-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  line-height: 1.55;
  font-weight: 700;
}

.question-option input {
  width: auto;
  margin-top: 5px;
  accent-color: #4f46e5;
}

/* -------------------------------
  Complete
-------------------------------- */
.view-complete {
  display: none;
}

.view-complete.is-active {
  display: block;
}

.complete-card {
  padding: 34px 24px;
  border-radius: 28px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.complete-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  font-size: 42px;
  background: linear-gradient(135deg, #eef2ff, #fef3c7);
}

.complete-card h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.complete-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
  font-weight: 700;
}

/* -------------------------------
  Dashboard
-------------------------------- */
.dashboard-header {
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.dashboard-header > span {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.dashboard-header h2 {
  margin: 8px 0;
  color: #111827;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.dashboard-header p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
  font-weight: 700;
}

.student-code-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
}

.student-code-card span {
  display: block;
  margin-bottom: 4px;
  color: #4f46e5;
  font-weight: 900;
  font-size: 13px;
}

.student-code-card strong {
  color: #111827;
  font-size: 24px;
  font-weight: 950;
}

.stats-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.stat-card {
  padding: 20px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.stat-card > span {
  display: block;
  color: #6b7280;
  font-weight: 900;
}

.stat-card strong {
  font-size: 38px;
  color: #111827;
  font-weight: 950;
}

.stat-card small {
  color: #6b7280;
  font-weight: 800;
}

.progress-bar {
  height: 11px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #0ea5e9, #f59e0b);
}

.dashboard-section {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.dashboard-section h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.zodiac-grid,
.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.zodiac-chip,
.session-chip {
  padding: 13px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 900;
}

.zodiac-chip.is-complete,
.session-chip.is-complete {
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  border-color: transparent;
}

.session-chip span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.session-chip strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
}

/* -------------------------------
  Table
-------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
}

.record-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: #ffffff;
}

.record-table th,
.record-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 13px;
}

.record-table th {
  color: #111827;
  background: #f8fafc;
  font-weight: 950;
}

.record-table td {
  color: #374151;
  font-weight: 700;
}

.empty-row td {
  padding: 28px 12px;
  text-align: center;
  color: #6b7280;
}

/* -------------------------------
  Toast / Loading
-------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  color: #ffffff;
  background: #111827;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 0.25s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(8px);
}

.loading-overlay.is-active {
  display: grid;
}

.loading-card {
  min-width: 220px;
  padding: 26px;
  border-radius: 24px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.loading-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 4px solid #e5e7eb;
  border-top-color: #4f46e5;
  animation: spin 0.8s linear infinite;
}

.loading-card p {
  margin: 0;
  color: #4b5563;
  font-weight: 800;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* -------------------------------
  Utilities
-------------------------------- */
.is-hidden {
  display: none !important;
}

.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* -------------------------------
  Responsive
-------------------------------- */
@media (min-width: 720px) {
  .screen {
    padding-top: 34px;
  }

  .screen-inner {
    width: min(520px, 100%);
  }

  .product-select-grid {
    gap: 20px;
  }

  .product-choice {
    min-height: 186px;
  }

  .product-art {
    width: 116px;
    height: 116px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zodiac-grid,
  .session-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .screen {
    padding-left: 14px;
    padding-right: 14px;
  }

  .headline-bubble {
    padding: 13px 17px;
  }

  .headline-bubble h1 {
    font-size: 25px;
  }

  .product-select-grid {
    gap: 14px;
  }

  .product-choice {
    min-height: 150px;
    border-radius: 20px;
  }

  .product-art {
    width: 92px;
    height: 92px;
    font-size: 40px;
  }

  .product-label {
    font-size: 14px;
  }

  .form-grid.two,
  .choice-row {
    grid-template-columns: 1fr;
  }

  .tag-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
  실제 이미지 적용용 추가 스타일
================================ */

/* 첫 화면 상품 실제 사진 */
.product-art {
  overflow: hidden;
  background: #f8fafc;
}

.product-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* 선택 이유 화면 미리보기 이미지 */
.selected-product-card {
  overflow: hidden;
}

.selected-product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* 결과 카드 이미지 */
.result-product-image {
  overflow: hidden;
}

.result-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* 예비창업자 공고문 이미지 */
.notice-image-card {
  margin: 0 0 22px;
  padding: 12px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.notice-image-card img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: contain;
}

/* 상품 예시 이미지용 */
.product-image {
  overflow: hidden;
  background: #ffffff;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
/* ===============================
   상품 종류 탭
================================ */

.product-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.product-type-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 16px 20px;
  box-shadow: 0 14px 30px rgba(44, 62, 80, 0.08);
  border: 1px solid rgba(220, 230, 240, 0.9);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(44, 62, 80, 0.13);
}

.product-photo-box {
  width: 118px;
  height: 118px;
  margin: 0 auto 14px;
  border-radius: 26px;
  overflow: hidden;
  background: #f5f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-type-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #162033;
}

.product-type-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #657082;
}

@media (max-width: 480px) {
  .product-type-grid {
    gap: 14px;
  }

  .product-type-card {
    padding: 14px 12px 16px;
    border-radius: 20px;
  }

  .product-photo-box {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .product-type-card h3 {
    font-size: 15px;
  }

  .product-type-card p {
    font-size: 12px;
  }
}
/* ===============================
   별자리 공방 소개 상품 슬라이더
================================ */

.product-slider-wrap {
  width: 100%;
  overflow: hidden;
  margin: 34px 0 28px;
  padding: 8px 0 12px;
  position: relative;
}

.product-slider-wrap::before,
.product-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 48px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.product-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f5fbff, rgba(245, 251, 255, 0));
}

.product-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f5fbff, rgba(245, 251, 255, 0));
}

.product-slider {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: productSlideRight 24s linear infinite;
}

.product-slider-wrap:hover .product-slider {
  animation-play-state: paused;
}

.slider-item {
  flex: 0 0 auto;
  width: 118px;
  background: #ffffff;
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(33, 50, 80, 0.12);
  border: 1px solid rgba(220, 232, 245, 0.95);
  text-align: center;
}

.slider-item img {
  width: 94px;
  height: 94px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  background: #eef6ff;
}

.slider-item span {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #172033;
  white-space: nowrap;
}

/* 오른쪽으로 움직이는 모션 */
@keyframes productSlideRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}
@media (max-width: 480px) {
  .product-slider-wrap {
    margin: 28px 0 24px;
  }

  .product-slider {
    gap: 14px;
    animation-duration: 22s;
  }

  .slider-item {
    width: 108px;
    border-radius: 24px;
    padding: 10px;
  }

  .slider-item img {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  .slider-item span {
    font-size: 14px;
  }
}
/* ===============================
   비즈니스 정보 탭 메뉴 상단 고정
================================ */

#screenBusinessInfo .sticky-tab {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 250, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0 12px;
  margin: 0 0 18px;
}

#screenBusinessInfo .tab-menu {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.10);
  border: 1px solid rgba(220, 232, 245, 0.95);
}

#screenBusinessInfo .tab-button {
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 6px;
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
}

#screenBusinessInfo .tab-button.is-active {
  background: #ffffff;
  color: #101828;
  box-shadow: 0 8px 20px rgba(31, 45, 61, 0.12);
}

#screenBusinessInfo .home-small {
  margin-bottom: 10px;
}
#screenBusinessInfo .sticky-tab {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: rgba(244, 250, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  margin: 0 0 18px;
}

#screenBusinessInfo .tab-menu {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  background: #ffffff;
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(31, 45, 61, 0.1);
  border: 1px solid rgba(220, 232, 245, 0.95);
  scrollbar-width: none;
}

#screenBusinessInfo .tab-menu::-webkit-scrollbar {
  display: none;
}

#screenBusinessInfo .tab-button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
}

#screenBusinessInfo .tab-button.is-active {
  background: #ffffff;
  color: #101828;
  box-shadow: 0 8px 20px rgba(31, 45, 61, 0.12);
}
/* ===============================
   창업준비생 코드 입력 화면
================================ */

.code-gate-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 34px 24px 28px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(35, 55, 90, 0.12);
  border: 1px solid rgba(220, 232, 245, 0.95);
  text-align: center;
}

.code-gate-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf6ff, #fff7df);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.1);
}

.code-gate-card h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #101828;
}

.code-gate-sub {
  margin: 12px 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #475467;
  font-weight: 700;
}

.code-gate-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.code-gate-form label {
  font-size: 14px;
  font-weight: 800;
  color: #344054;
}

.code-gate-form input {
  width: 100%;
  height: 56px;
  border-radius: 18px;
  border: 1px solid #d7e3f1;
  background: #f8fbff;
  padding: 0 18px;
  font-size: 20px;
  font-weight: 900;
  color: #101828;
  outline: none;
}

.code-gate-form input:focus {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.code-gate-help {
  margin: 16px 0 0;
  font-size: 13px;
  color: #667085;
}


/* ===============================
   첫 화면 창업준비생 표시 배너
================================ */

.trainee-banner {
  margin: 10px 0 20px;
  padding: 18px 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #edf7ff);
  border: 1px solid rgba(190, 220, 245, 0.95);
  box-shadow: 0 14px 32px rgba(31, 45, 61, 0.1);
  text-align: center;
}

.trainee-banner span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #667085;
  font-weight: 800;
}

.trainee-banner strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  color: #101828;
}

.trainee-banner em {
  font-style: normal;
  color: #2563eb;
}

#changeTraineeCodeBtn {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  cursor: pointer;
}