/* 구축형(온프레미스) 랜딩 — 배경 형식은 main 과 동일 + Figma(1322:551 톤)처럼 이미지 위 어두운 오버레이 */

body.page-b2b-onpremise::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 0;
  pointer-events: none;

  /* Figma(1322:551 등)처럼 배경 이미지 위에 강한 어둠 — 가독성용 오버레이 */
  background-color: #000;
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;

  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* wide 모니터에서만 parallax 느낌의 fixed. 노트북·맥은 스크롤 때 repaint 비용이 커서 끊김 유발 */
@media screen and (max-width: 1440px) {
  body.page-b2b-onpremise::before {
    background-attachment: scroll, scroll;
  }
}

.page-b2b-onpremise {
  margin: 0;
  background-color: transparent;
  color: #fff;
  overflow-x: hidden;
}

.b2b-root {
  position: relative;
  min-height: 100vh;
  background: transparent;
}

.b2b-main {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

/* main.html 유지 — B2B만: header_block 하단 패딩 제거(높이는 기본 80px) */
.page-b2b-onpremise .header_block {
  padding-bottom: 0;
}

.page-b2b-onpremise .footer_widget,
.page-b2b-onpremise .inquire_footer {
  position: relative;
  z-index: 1;
}

/* 히어로 — Figma 1317:307 / Frame 1488: 중앙 정렬, 풀뷰포트, 하단 스크롤 */
.b2b-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.b2b-hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.b2b-hero-scroll-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  flex-shrink: 0;
}

.b2b-hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  cursor: default;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

.b2b-hero-scroll-btn:hover,
.b2b-hero-scroll-btn:active,
.b2b-hero-scroll-btn:focus,
.b2b-hero-scroll-btn:focus-visible {
  background: transparent;
  outline: none;
  box-shadow: none;
}

.b2b-hero-scroll-icon {
  display: block;
  width: 36px;
  height: 36px;
}

.b2b-hero-cta {
  min-width: 128px;
  margin-top: 16px !important;
  height: 48px;
  padding: 10px 30px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #4173fa;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.4px;
  cursor: pointer;
  align-self: center;
}

.b2b-hero-cta:hover {
  background: rgba(255, 255, 255, 0.16);
}

.b2b-hero-copy {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.b2b-hero-copy-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px;
  background: #4173fa;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.b2b-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.b2b-hero-title {
  font-size: clamp(28px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 0;
}

.b2b-hero-title .accent {
  color: #4173fa;
  font-weight: 600;
}

.b2b-hero-lead {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  color: #ddd;
  letter-spacing: -0.6px;
  margin: 0;
}

.b2b-hero-lead strong {
  font-weight: 600;
  color: #fff;
}

/* 본문 카드 섹션 */
.b2b-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding: 0 24px 120px;
}

.b2b-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
}

.b2b-glass-card {
  min-height: 537px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(22.5px);
  -webkit-backdrop-filter: blur(22.5px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px 48px;
  box-sizing: border-box;
}

.b2b-card-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.b2b-card-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.b2b-card-copy h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #4173fa;
  letter-spacing: -0.6px;
}

.b2b-card-copy .lead {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.b2b-card-copy .body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  letter-spacing: -0.4px;
}

.b2b-card-copy .muted {
  color: #c8c8c8;
}

.b2b-card-copy .muted p {
  margin: 0;
}

.b2b-card-copy .muted p + p {
  margin-top: 12px;
}

.b2b-card-copy .highlight {
  color: #40ad00;
}

.b2b-lead-split {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lead.b2b-lead-split {
  margin: 0;
}

.b2b-lead-split p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.4;
  color: inherit;
  letter-spacing: inherit;
}

.b2b-card-copy .b2b-card-outro {
  color: #fff;
}

.b2b-card-copy ol,
.b2b-card-copy ul {
  margin: 0;
  padding-left: 24px;
  color: #c8c8c8;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.4px;
}

.b2b-card-visual {
  flex-shrink: 0;
  width: 414px;
  max-width: 45%;
  aspect-ratio: 414 / 417;
  position: relative;
}

.b2b-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.b2b-card-visual.w-wide {
  width: 505px;
  max-width: 50%;
}

.b2b-card-visual--why {
  width: 370px;
  max-width: 45%;
  aspect-ratio: 370 / 373;
}

.b2b-card-visual--features {
  width: 361px;
  max-width: 45%;
  aspect-ratio: 361 / 370;
}

.b2b-card-visual--secure {
  width: 437px;
  max-width: 48%;
  aspect-ratio: 437 / 281;
}

.b2b-card-visual--custom {
  width: 473px;
  max-width: 50%;
  aspect-ratio: 473 / 313;
}

/* FAQ — 제목·블록 폭 맞춤 중앙 정렬 */
.b2b-faq {
  align-self: stretch;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}

.b2b-faq > h2,
.b2b-faq-heading {
  width: 100%;
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.8px;
  box-sizing: border-box;
  text-align: left !important;
}

.b2b-faq-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(22.5px);
  -webkit-backdrop-filter: blur(22.5px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px 48px;
  box-sizing: border-box;
}

.b2b-faq-item h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: #4173fa;
  letter-spacing: -0.6px;
}

.b2b-faq-item p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

.b2b-faq-item strong {
  font-weight: 400;
}

@media screen and (max-width: 1079px) {
  .b2b-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .b2b-hero-inner {
    flex: 0 1 auto;
  }

  .b2b-hero-scroll-wrap {
    margin-top: 16px;
    padding-top: 16px;
  }

  .b2b-glass-card {
    min-height: auto;
  }

  .b2b-card-row {
    flex-direction: column;
  }

  .b2b-card-visual,
  .b2b-card-visual.w-wide,
  .b2b-card-visual--why,
  .b2b-card-visual--features,
  .b2b-card-visual--secure,
  .b2b-card-visual--custom {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 240px;
  }

  .b2b-card-row.b2b-card-reverse {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 599px) {
  .b2b-glass-card,
  .b2b-faq-item {
    padding: 36px 24px;
  }

  .b2b-faq > h2,
  .b2b-faq-heading {
    font-size: 26px;
  }
}
