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

.mo-br { display: none; }

:root {
  --blue-primary: #025bff;
  --blue-dark: #0036ca;
  --blue-light: #EEF3FF;
  --text-primary: #000;
  --radius-card: 20px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --font-sans: 'Noto Sans KR', sans-serif;
  --font-pretendard: 'Pretendard', 'Noto Sans KR', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: #fff;
  overflow-x: hidden;
}

/* ?? 怨듯넻 ?덉씠?꾩썐 ?? */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-primary);
  color: #fff;
  font-family: var(--font-pretendard);
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(22px, 2vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  font-family: var(--font-pretendard);
  font-size: clamp(15px, 1.3vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 60px;
}

/* 1. 히어로 섹션 */
.hero {
  background: linear-gradient(to bottom, #e8f2ff, #91c1ff);
  padding: 150px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__title {
  font-size: clamp(28px, 2.5vw, 45px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__title em {
  font-style: normal;
  font-weight: 900;
  color: var(--blue-dark);
}

.hero__sub {
  font-family: var(--font-pretendard);
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 60px;
}

.hero__image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* 2. 01 위키 소개 */
.section-intro {
  padding: 100px 20px 0;
  text-align: center;
}

.section-intro__screenshot {
  max-width: 940px;
  width: 100%;
  border-radius: 0;
  border: none;
  display: block;
  margin: 0 auto;
  height: auto;
}

.intro__screenshot-wrap {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}


/* 3. 02 주요 기능 */
.section-features {
  background: #E9F1FF;
  padding: 100px 20px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 20px 32px;
  text-align: center;
  position: relative;
  min-height: 352px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  margin-top: auto;
}

.feature-card__desc {
  font-size: clamp(14px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-primary);
}

/* 4. 공유 */
.section-share {
  padding: 100px 20px;
  text-align: center;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  max-width: var(--max-width);
  margin: 0 auto 70px;
}

.permission-card {
  background: var(--blue-light);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: left;
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.permission-card__type {
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.permission-card__desc {
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-primary);
}

.permission-card__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.approval-box {
  max-width: var(--max-width);
  margin: 20px auto 0;
  background: var(--blue-light);
  border-radius: var(--radius-card);
  padding: 40px 48px;
  position: relative;
}

.approval-box__header {
  display: inline-flex;
  background: rgba(2, 91, 255, 0.8);
  color: #fff;
  font-size: clamp(16px, 1.3vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 48px;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.approval-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.approval-step {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  min-width: 180px;
  min-height: 152px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.approval-step__role {
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.approval-step__items {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.approval-step__items li {
  font-family: var(--font-pretendard);
  font-size: clamp(13px, 1.05vw, 20px);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.approval-step__items li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

.approval-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* 5. 가져오기 / 내보내기 */
.section-import {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.section-import::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/sub/wiki/wiki-import-bg.png') center center / cover no-repeat;
  z-index: 0;
}

.section-import::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(63, 137, 255, 0.4);
  mix-blend-mode: screen;
  z-index: 1;
}

.section-import .container {
  position: relative;
  z-index: 2;
}

.import-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.import-col {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 20px;
}

.import-col__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #517ddd;
  color: #fff;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
}

.import-col__header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.import-col__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.import-col__list li {
  font-family: var(--font-pretendard);
  font-size: clamp(14px, 1.05vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  padding: 12px 16px;
  text-align: center;
}

.import-col__more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}

.import-col__more img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.import-arrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 20px;
}

.import-arrow-center img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* 6. 03 도입 효과 */
.section-effect {
  padding: 100px 20px;
  text-align: center;
}

.effect-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  align-items: start;
}

.effect-team {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.effect-tab__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.effect-tab__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.effect-card {
  background: #f8f8f8;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  font-size: 18px;
  line-height: 1.4;
  color: #555;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.effect-card--after {
  background: rgba(2, 91, 255, 0.05);
  color: #025bff;
  font-weight: 500;
}

.effect-arrow-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.effect-arrow-cell img {
  width: 40px;
  height: 40px;
}

/* 7. 크로스 디바이스 */
.section-device {
  overflow: hidden;
}

.device-photos {
  display: flex;
  width: 100%;
  height: 500px;
}

.device-photos__item {
  flex: 1;
  overflow: hidden;
}

.device-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.device-blue {
  background: linear-gradient(to bottom, #1a3fcc, #025bff);
  padding: 80px 20px 0;
  text-align: center;
  color: #fff;
}

.device-blue .section-title {
  color: #fff;
}

.device-blue .section-title em {
  font-style: normal;
  color: #e4f221;
}

.device-blue .section-desc {
  color: #fff;
}

.device-mockup {
  max-width: 860px;
  margin: 60px auto 0;
}

.device-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* 반응형 */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .permission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .effect-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .permission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .effect-tab__label {
    font-size: 18px;
  }
  .effect-tab__icon {
    width: 60px;
    height: 60px;
  }
  .effect-card {
    font-size: 15px;
    padding: 24px 20px;
  }
  .import-layout {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .import-col {
    width: 100%;
    max-width: 100%;
  }
  .approval-flow {
    flex-direction: column;
    align-items: center;
  }
  .approval-arrow {
    transform: rotate(90deg);
  }
  .mo-br { display: block; }
  .permission-card {
    min-height: 130px;
  }
  .approval-box__header {
    width: 280px;
    justify-content: center;
  }
  .approval-step {
  	min-height: auto;
  }
  .approval-step__role {
    font-size: 16px;
  }
  .approval-step__items li {
    font-size: 16px;
  }
  .permission-card__icon {
    bottom: 10px;
  }
  .permission-card__desc {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .feature-card {
    padding: 32px 24px 28px;
    min-height: auto;
  }
  .feature-card__img {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
  }
  .feature-card__title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
  }
  .feature-card__desc {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero__title {
    font-size: 30px;
  }
  .section-title {
    font-size: 30px;
  }
  .hero__sub,
  .section-desc {
    font-size: 17px;
  }
  .device-photos {
    height: 200px;
  }
  .device-blue {
    padding: 60px 16px 0;
  }
  .device-mockup {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 30px;
  }
  .hero,
  .section-features,
  .section-share,
  .section-import,
  .section-effect {
    padding: 60px 16px;
  }
  .section-intro {
    padding: 60px 16px 0;
  }
}
