/* 소상공인 · 매장 관리 페이지 (플랜아이 VX 레이아웃 참고) */

.smb-page {
  background: #fff;
}

.smb-main {
  padding-top: 0;
}

.smb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 110px) 24px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 81, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 72%);
}

.smb-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
}

.smb-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #003dc6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.smb-label b {
  font-weight: 800;
}

.smb-hero-copy h1 {
  margin: 0 0 22px;
  color: #121826;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.smb-desc {
  margin: 0 0 28px;
  color: #4b5568;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.smb-hero-actions,
.smb-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.smb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

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

.smb-btn-primary {
  background: #003dc6;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 61, 198, 0.22);
}

.smb-btn-primary:hover {
  filter: brightness(1.06);
}

.smb-btn-ghost {
  background: #fff;
  color: #003dc6;
  border: 1px solid rgba(0, 61, 198, 0.28);
}

.smb-btn-light {
  background: #fff;
  color: #003dc6;
}

.smb-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 81, 255, 0.12), rgba(0, 61, 198, 0.04)),
    #eef3ff;
  border: 1px solid rgba(0, 81, 255, 0.1);
}

.smb-hero-visual img {
  width: min(42%, 160px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 61, 198, 0.18));
}

.smb-hero-visual .smb-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  border: 0;
  background: #0b1224;
  cursor: pointer;
}

.smb-video-cue {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.smb-video-cue.is-on {
  animation: smbVideoCue 0.72s ease forwards;
}

.smb-video-cue-mark {
  display: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(8, 12, 24, 0.58);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.smb-video-cue.is-pause .smb-video-cue-pause,
.smb-video-cue.is-play .smb-video-cue-play {
  display: block;
}

.smb-video-cue-pause {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size: 8px 28px;
  background-repeat: no-repeat;
  background-position: 26px 24px, 42px 24px;
}

.smb-video-cue-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 24px 0 0 30px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

@keyframes smbVideoCue {
  0% { opacity: 0; transform: scale(0.86); }
  18% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}

.ep-page .smb-hero-visual,
.sm-page .smb-hero-visual,
.hq-page .smb-hero-visual,
.st-page .smb-hero-visual {
  align-self: stretch;
  min-height: 280px;
}

.st-page .smb-hero-visual .smb-hero-video {
  object-position: left center;
}

.smb-hero-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px 0 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 24, 38, 0.72);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.smb-hero-expand:hover,
.smb-hero-expand:focus-visible {
  background: rgba(0, 61, 198, 0.92);
  outline: none;
}

.smb-hero-expand-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: 3px 3px 0 -1.5px currentColor;
}

.smb-hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(8, 12, 24, 0.86);
}

.smb-hero-lightbox[hidden] {
  display: none;
}

.smb-hero-lightbox-frame {
  position: relative;
  width: min(100%, 1120px);
  max-height: min(86vh, 820px);
}

.smb-hero-lightbox video {
  display: block;
  width: 100%;
  max-height: min(86vh, 820px);
  object-fit: contain;
  background: #000;
  border-radius: 16px;
  cursor: pointer;
}

.smb-hero-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #121826;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.smb-hero-lightbox-close:hover,
.smb-hero-lightbox-close:focus-visible {
  background: #003dc6;
  color: #fff;
  outline: none;
}

body.smb-hero-lightbox-open {
  overflow: hidden;
}

.smb-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px 24px;
}

.smb-section-alt {
  padding-bottom: 40px;
}

.smb-section-head {
  margin-bottom: 40px;
  text-align: left;
}

.smb-section-head h2 {
  margin: 0 0 12px;
  color: #121826;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.smb-section-head p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

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

.smb-cases li {
  padding: 28px 24px 30px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.smb-case-label {
  display: block;
  margin-bottom: 4px;
  color: #2f6bff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.smb-case-num {
  display: block;
  margin-bottom: 18px;
  color: #2f6bff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.smb-case-title {
  display: block;
  margin: 0 0 14px;
  color: #121826;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.smb-cases p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.smb-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}

.smb-changes li {
  padding: 0;
  background: transparent;
  border: 0;
}

.smb-change-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #d7e4ff 0%, #eef3ff 55%, #f8faff 100%);
  color: #1a1f2e;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.smb-changes strong {
  display: block;
  margin: 0 0 12px;
  color: #121826;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.smb-changes p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.smb-banner {
  margin: 72px 24px 80px;
}

.smb-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 40px;
  border-radius: 24px;
  background: linear-gradient(120deg, #003dc6 0%, #0051ff 55%, #2f6bff 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 61, 198, 0.22);
}

.smb-banner-inner.is-active {
  display: flex;
}

.smb-banner-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.smb-banner-lines {
  margin: 0;
}

.smb-banner-line-mobile {
  display: none;
}

.smb-banner-line-desktop {
  display: inline;
}

.smb-banner-break {
  display: block;
  content: '';
  margin-top: 0.55em;
}

@media (max-width: 640px) {
  .smb-banner-line-mobile {
    display: inline;
  }

  .smb-banner-line-desktop {
    display: none;
  }
}

.smb-changes-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smb-result {
  padding: 40px 36px;
  border-radius: 20px;
  background: #f7f9fc;
  border: 1px solid rgba(26, 31, 46, 0.06);
}

.smb-result .smb-section-head {
  margin-bottom: 22px;
}

.smb-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.smb-result-list li {
  position: relative;
  padding-left: 18px;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.smb-result-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f6bff;
}

@media (max-width: 980px) {
  .smb-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .smb-hero-visual {
    min-height: 180px;
    order: -1;
  }

  .smb-hero-visual .smb-hero-video {
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }

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

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

  .smb-changes-3 {
    grid-template-columns: 1fr;
  }

  .smb-result {
    padding: 28px 22px;
  }

  .smb-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

.st-needs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.st-needs li {
  padding: 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.st-need-q {
  margin: 0 0 12px;
  color: #121826;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.st-need-a {
  margin: 0;
  position: relative;
  padding-left: 22px;
  color: #4b5568;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

.st-need-a::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: #2f6bff;
  font-weight: 700;
}

.st-kicker {
  margin: 0 0 10px;
  color: #003dc6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.st-modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}

.st-modules li {
  padding: 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.st-module-num {
  display: block;
  margin-bottom: 10px;
  color: #2f6bff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.st-modules strong {
  display: block;
  margin: 0 0 10px;
  color: #121826;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.st-modules p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

@media (max-width: 980px) {
  .st-needs,
  .st-modules {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .smb-hero {
    padding: 56px 18px 48px;
  }

  .smb-desc br {
    display: none;
  }

  .smb-section {
    padding: 64px 18px 12px;
  }

  .smb-cases,
  .smb-changes {
    grid-template-columns: 1fr;
  }

  .smb-banner {
    margin: 48px 18px 64px;
  }

  .smb-btn {
    width: 100%;
  }

  .smb-hero-actions,
  .smb-banner-actions {
    width: 100%;
  }
}
