:root {
  --brand: #0b4f3f;
  --brand-deep: #06382d;
  --brand-mid: #146b56;
  --brand-soft: #e6f2ee;
  --brand-mist: #f3f8f6;
  --ink: #1a2421;
  --muted: #5c6b66;
  --line: #d7e3de;
  --warn: #b45309;
  --info: #0369a1;
  --ok: #047857;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(6, 56, 45, 0.12);
  --radius: 18px;
  --font: "Pretendard", "SUIT", "Apple SD Gothic Neo", sans-serif;
  --display: "Fraunces", "Pretendard", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--brand-mist);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.page-home .site-header.is-scrolled {
  position: fixed;
  background: rgba(6, 56, 45, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 50px;
  width: auto;
}

.logo-img--footer {
  height: 50px;
}

.logo-img--dash {
  height: 50px;
  max-width: 100%;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-deep));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(11, 79, 63, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: #fff;
  opacity: 0.85;
}

.nav-mobile-cta,
.nav-mobile-only {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 28px rgba(11, 79, 63, 0.28);
}

.btn-primary:hover {
  background: var(--brand-mid);
  box-shadow: 0 16px 34px rgba(11, 79, 63, 0.35);
}

.btn-nav-cta {
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}

.site-header .btn-ghost {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-nav-login,
.btn-nav-user,
.btn-nav-logout {
  padding: 0.7rem 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn-naver {
  background: #03c75a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(3, 199, 90, 0.28);
}

.btn-naver:hover {
  background: #02b350;
  box-shadow: 0 16px 34px rgba(3, 199, 90, 0.35);
}

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

.nav-avatar {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-avatar--guest span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  position: relative;
}

.nav-avatar--guest span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 22px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(6, 56, 45, 0.28);
}

.hero > .container,
.hero-scroll {
  position: relative;
  z-index: 2;
}

.hero-inner {
  padding: 7rem 4rem;
  max-width: 640px;
  margin-inline: 0;
  text-align: left;
  text-shadow: 0 2px 16px rgba(6, 56, 45, 0.35);
}

.hero-slogan {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font);
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-note {
  margin: 1.1rem 0 0 !important;
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero-scroll {
  display: none;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: white;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.concern-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.concern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.concern-icon {
  margin: 0 auto 0.9rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--brand);
}

.concern-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.concern-icon img {
  height: 50px;
  object-fit: contain;
}

.concern-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  padding: 0 1.1rem;
  text-align: center;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 38px);
  width: calc(100% - 76px);
  border-top: 2px dotted #b7c9c2;
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  background: white;
  color: var(--brand);
}

.process-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.example {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.example-section {
  background: var(--brand-deep);
  color: white;
  padding: 5rem 0 4rem;
}

.example-head {
  margin-bottom: 2rem;
}

.example-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.example-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.example-slide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
  min-width: 0;
}

.example-media {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.example-player {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #061510;
}

.apply-summary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 1.15rem 1.1rem;
  color: white;
}

.apply-summary h3 {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.apply-summary dl {
  margin: 0;
}

.apply-summary dl > div {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-summary dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
}

.apply-summary dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.example-player .example-video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #061510;
}

.example-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding-left: 4px;
}

.example-player.is-playing .example-play {
  display: none;
}

.example-card {
  background: white;
  color: var(--ink);
  border-radius: 18px;
  padding: 0;
  min-width: 0;
  height: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.report-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
  background: white;
}

.report-kicker {
  margin: 0 0 0.25rem;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-head h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.report-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.4rem 1.35rem 1.3rem;
}

.report-block {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.report-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.report-block h4 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.report-block h4 span {
  color: var(--brand);
  font-family: var(--display);
  font-size: 0.82rem;
}

.report-block h4 em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.report-block--accent {
  background: var(--brand-mist);
  margin: 0 -1.35rem;
  padding: 1rem 1.35rem;
  border-bottom: 0;
}

.report-block dl {
  margin: 0;
}

.report-block dl > div + div {
  margin-top: 0.75rem;
}

.report-block dt {
  margin: 0 0 0.25rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.report-block dd {
  margin: 0;
  color: #3d4b47;
  font-size: 0.9rem;
  line-height: 1.65;
}

.report-plan-label {
  margin: 0 0 0.65rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.report-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.report-steps li {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--brand-mist);
  color: #3d4b47;
  font-size: 0.88rem;
  line-height: 1.55;
}

.report-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
  font-size: 0.8rem;
}

.report-steps span {
  color: var(--brand);
  font-weight: 700;
}

.video-shell,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(11, 79, 63, 0.92), rgba(6, 56, 45, 0.75)),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.04) 0 12px,
      transparent 12px 24px
    );
  color: white;
  text-align: center;
  padding: 2rem;
}

.example-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #0b1a16;
}

.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}

.panel {
  padding: 1.5rem;
}

.panel h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.analysis-block {
  background: var(--brand-mist);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}

.analysis-block:last-child {
  margin-bottom: 0;
}

.analysis-block .label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#recommend .section-head {
  margin-bottom: 2rem;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1rem;
}

.recommend-item {
  text-align: center;
}

.recommend-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.7rem;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}

.recommend-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recommend-item p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.pricing-section {
  padding: 0;
}

.pricing-banner {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 5rem 0;
  background:
    url("../images/cta_background.jpg") center / cover no-repeat;
}

.pricing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pricing-copy h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-banner .price {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-banner .price small {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 600;
  opacity: 0.85;
}

.pricing-cta {
  background: var(--brand);
  color: white;
  flex-shrink: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.7;
}

.review-card strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 2rem;
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-slogan {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Apply wizard */
.page-shell {
  padding: 2.5rem 0 4rem;
}

.wizard-card {
  width: min(720px, 100%);
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.progress span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.progress span.active {
  background: var(--brand);
}

.wizard-card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.wizard-card .sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeUp 0.35s ease;
}

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

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.choice {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--brand-mist);
  padding: 1.1rem 0.8rem;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice:hover,
.choice.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
  transform: translateY(-2px);
}

.choice .emoji {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.problem-list {
  display: grid;
  gap: 0.65rem;
}

.problem-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  font-weight: 600;
}

.problem-item.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field textarea,
.field input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: var(--brand-mist);
  resize: vertical;
}

.field textarea:focus,
.field input:focus {
  outline: 2px solid rgba(11, 79, 63, 0.2);
  border-color: var(--brand);
}

.upload-zone {
  border: 1.5px dashed var(--brand-mid);
  border-radius: 18px;
  background: var(--brand-mist);
  padding: 2.4rem 1.2rem;
  text-align: center;
  cursor: pointer;
}

.upload-zone strong {
  display: block;
  margin: 0.6rem 0 0.3rem;
}

.upload-zone span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pay-summary {
  background: var(--brand-mist);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}

.pay-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.pay-summary .row.total {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.1rem;
}

.pay-methods {
  display: grid;
  gap: 0.65rem;
}

.pay-warning {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.9rem;
}

.pay-warning code {
  font-size: 0.85em;
}

.pay-method {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 700;
}

.pay-method.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.wizard-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.wizard-actions .btn {
  flex: 1;
}

.success-card {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 2rem;
  animation: pop 0.45s ease;
}

@keyframes pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Result / My page */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.badge-pending {
  background: #fff7ed;
  color: var(--warn);
}

.badge-analyzing {
  background: #eff6ff;
  color: var(--info);
}

.badge-done {
  background: #ecfdf5;
  color: var(--ok);
}

.tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab {
  border: 0;
  background: var(--brand-mist);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: var(--brand);
  color: white;
}

.tab-panel {
  display: none;
  white-space: pre-line;
  color: var(--ink);
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

.mypage-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
}

.side-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}

.side-nav a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--muted);
}

.side-nav a.active,
.side-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-deep));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-card {
  text-align: center;
  max-width: 420px;
}

.login-card h1 {
  margin-bottom: 0.5rem;
}

.flash-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.flash {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.flash-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.flash-message,
.flash-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.table th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Admin / Expert */
.dash-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.dash-side {
  background: var(--brand-deep);
  color: white;
  padding: 1.4rem 1rem;
}

.dash-side .logo {
  margin-bottom: 1.6rem;
  padding: 0 0.4rem;
}

.dash-side nav a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.dash-side nav a.active,
.dash-side nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.dash-main {
  padding: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}

.stat .label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.stat .value {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.analysis-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.meta-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-bg {
    object-position: 68% 38%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.6rem;
    background: rgba(6, 56, 45, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
  }

  .nav-mobile-only {
    display: block;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 0.35rem;
    background: var(--brand);
    text-align: center;
    font-weight: 800;
  }

  .btn-nav-cta,
  .btn-nav-login,
  .btn-nav-user,
  .btn-nav-logout {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-avatar {
    display: inline-flex;
  }

  .concern-grid,
  .recommend-grid,
  .process,
  .example,
  .example-slide,
  .split,
  .mypage-layout,
  .analysis-workspace,
  .dash-layout,
  .stats,
  .footer-grid,
  .choice-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .example-card {
    height: auto;
    min-height: 0;
  }

  .pricing-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-side {
    display: none;
  }

  .process {
    gap: 1.75rem;
  }

  .example-player .example-video {
    min-height: 0;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 640px) {
  .logo-img {
    height: 40px;
  }

  .nav {
    min-height: 72px;
  }

  .hero {
    min-height: 560px;
    align-items: start;
  }

  .hero-bg {
    object-position: 66% 34%;
  }

  .hero-inner {
    padding: 9rem 0 3.75rem;
  }

  .hero-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    color: white;
  }

  .hero-scroll-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.85;
    animation: hero-scroll-bounce 1.6s ease-in-out infinite;
  }

  @keyframes hero-scroll-bounce {
    0%,
    100% {
      transform: rotate(45deg) translate(0, 0);
    }
    50% {
      transform: rotate(45deg) translate(3px, 3px);
    }
  }

  .wizard-card {
    padding: 1.2rem;
  }
}
