/* Fit데이 외부유입 첫 랜딩 — 환경 브랜드 토큰 (dev 오렌지 / prod 블루) */
.public-inflow-landing-body {
  --inflow-landing-accent: var(--imin-brand-primary);
  --inflow-landing-accent-hover: var(--imin-brand-primary-hover);
  --inflow-landing-accent-rgb: var(--imin-brand-primary-rgb);
  --inflow-landing-text: #1f2937;
  --inflow-landing-muted: #6b7280;
  --inflow-landing-lead: #4b5563;
  --inflow-landing-line: #dbe7f7;
  background: #fff;
  min-height: 100dvh;
  overflow-x: hidden;
}

.inflow-landing {
  width: 100%;
  max-width: 540px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.05rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
}

.inflow-landing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.05rem;
}

.inflow-landing-logo {
  display: block;
  width: 200px;
  height: 72px;
  max-width: min(200px, 72vw);
  object-fit: contain;
}

.inflow-landing-speech {
  position: relative;
  margin: 0 0 0.55rem;
  padding: 0.42rem 0.88rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--inflow-landing-accent);
  background: #fff;
  border: 2px solid rgba(var(--inflow-landing-accent-rgb), 0.75);
  border-radius: 999px;
  text-align: center;
  z-index: 1;
}

.inflow-landing-speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-width: 8px 7px 0;
  border-style: solid;
  border-color: rgba(var(--inflow-landing-accent-rgb), 0.75) transparent transparent;
}

.inflow-landing-copy {
  text-align: center;
  padding: 0 0.15rem 1.05rem;
}

.inflow-landing-headline {
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.inflow-landing-headline-line {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--inflow-landing-text);
}

.inflow-landing-headline-line--accent {
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.035em;
  color: var(--inflow-landing-accent);
}

.inflow-landing-lead {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--inflow-landing-lead);
}

.inflow-landing-message:not(.d-none) {
  margin: 0.65rem 0;
}

.inflow-landing-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.inflow-landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.inflow-landing-btn:disabled {
  opacity: 0.72;
  pointer-events: none;
}

.inflow-landing-btn--compact {
  min-height: 2.65rem;
  padding: 0.5rem 0.45rem;
  font-size: 0.78rem;
  white-space: normal;
  text-align: center;
  border-radius: 0.85rem;
}

.inflow-landing-btn-icon {
  flex-shrink: 0;
}

.inflow-landing-btn--outline {
  color: var(--inflow-landing-accent);
  background: #fff;
  border-color: var(--inflow-landing-accent);
}

.inflow-landing-btn--outline:hover,
.inflow-landing-btn--outline:focus-visible {
  background: rgba(var(--inflow-landing-accent-rgb), 0.08);
  color: var(--inflow-landing-accent-hover);
  border-color: var(--inflow-landing-accent-hover);
}

.inflow-landing-btn--primary {
  color: #fff;
  background: var(--inflow-landing-accent);
  border-color: var(--inflow-landing-accent);
}

.inflow-landing-btn--primary:hover,
.inflow-landing-btn--primary:focus-visible {
  background: var(--inflow-landing-accent-hover);
  border-color: var(--inflow-landing-accent-hover);
  color: #fff;
}

.inflow-showcase {
  position: relative;
  margin: 0.15rem -0.55rem 1.05rem;
  scroll-margin-top: 0.5rem;
}

.inflow-showcase-img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}


.inflow-landing-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--inflow-landing-line);
  border-radius: 0.95rem;
  background: #f7f9fc;
}

.inflow-landing-banner-icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--inflow-landing-accent);
}

.inflow-landing-banner-copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--inflow-landing-text);
}

.inflow-landing-banner-copy strong {
  display: block;
  font-weight: 800;
  color: var(--inflow-landing-accent);
}

.inflow-landing-register {
  margin-top: 0.15rem;
}

.inflow-landing-btn--register {
  min-height: 3.05rem;
  font-size: 1.02rem;
  border-radius: 0.9rem;
}

.inflow-landing-btn-icon--chevron {
  margin-left: 0.1rem;
}

.inflow-landing-footer {
  margin-top: 1.1rem;
  padding-top: 0.2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.68rem;
  line-height: 1.7;
}

.inflow-landing-footer p {
  margin: 0;
}

.inflow-info-dialog {
  max-width: min(420px, calc(100vw - 1.5rem));
}

.public-inflow-landing-body .campaign-register-modal-content .modal-header,
.public-inflow-register-body .campaign-register-modal-content .modal-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
}

.public-inflow-landing-body .campaign-register-modal-content .modal-header.pb-0,
.public-inflow-register-body .campaign-register-modal-content .modal-header.pb-0 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.public-inflow-landing-body .campaign-register-modal-content .modal-header .modal-title,
.public-inflow-register-body .campaign-register-modal-content .modal-header .modal-title {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 1.75rem;
  line-height: 1.15;
  color: #fff;
}

.public-inflow-landing-body .campaign-register-modal-content .modal-header .btn-close,
.public-inflow-register-body .campaign-register-modal-content .modal-header .btn-close {
  margin: 0;
  align-self: center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.inflow-features-dialog.modal-dialog,
.inflow-benefits-dialog.modal-dialog {
  max-width: min(540px, calc(100vw - 0.5rem));
  width: min(540px, calc(100vw - 0.5rem));
  margin-left: auto;
  margin-right: auto;
}

.inflow-features-dialog .modal-content {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, calc(100dvh - 0.75rem));
}

.inflow-features-dialog .modal-body.inflow-features-modal-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0.3rem 0.3rem 0.5rem;
}

.inflow-features-track {
  position: relative;
  max-height: calc(92dvh - 6.25rem);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.inflow-features-track.is-dragging {
  cursor: grabbing;
}

.inflow-features-rail {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.28s ease;
}

.inflow-features-track.is-dragging .inflow-features-rail {
  transition: none;
}

.inflow-features-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-height: calc(92dvh - 6.25rem);
  overflow: hidden;
}

.inflow-features-slide-scroll {
  max-height: calc(92dvh - 6.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
}

.inflow-features-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.45rem;
  user-select: none;
  -webkit-user-drag: none;
}

.inflow-features-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.inflow-features-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.2);
  cursor: pointer;
}

.inflow-features-dot::before {
  content: "";
  position: absolute;
  inset: -0.4rem;
}

.inflow-features-dot.is-active {
  width: 1.15rem;
  background: var(--inflow-landing-accent);
}

.inflow-features-dot:focus-visible {
  outline: 2px solid var(--inflow-landing-accent);
  outline-offset: 2px;
}

.inflow-benefits-dialog .modal-content {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, calc(100dvh - 0.75rem));
}

.inflow-benefits-dialog .modal-body.inflow-benefits-modal-body {
  overflow: auto;
  padding: 0.3rem 0.3rem 0.5rem;
}

.inflow-benefits-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.45rem;
}

.inflow-benefits-img-wrap::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2.1rem;
  height: 2.1rem;
  background: #fff;
  border-radius: 50%;
}

.inflow-benefits-img {
  display: block;
  width: 100%;
  height: auto;
}

.inflow-info-intro {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--inflow-landing-muted);
}

.inflow-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.inflow-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--inflow-landing-line);
  border-radius: 0.75rem;
  background: rgba(var(--inflow-landing-accent-rgb), 0.04);
}

.inflow-info-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--inflow-landing-text);
}

.inflow-info-item-body {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--inflow-landing-muted);
}

.inflow-revenue-rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.inflow-revenue-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--inflow-landing-line);
  border-radius: 0.75rem;
}

.inflow-revenue-row dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--inflow-landing-accent);
}

.inflow-revenue-row dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--inflow-landing-text);
}

.inflow-info-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--inflow-landing-muted);
}

@media (max-width: 380px) {
  .inflow-landing-headline-line {
    font-size: 1.05rem;
  }

  .inflow-landing-headline-line--accent {
    font-size: 1.32rem;
  }

  .inflow-landing-lead {
    font-size: 0.74rem;
  }
}
