@charset "utf-8";
/* ==========================================================================
   261126 5G 서비스 안내 (PC 신규 페이지)
   - 적용 페이지: 상품소개 > 와이파이도시락 > 5G서비스 안내 (신규 페이지, pc/wifi5g_service.html)
   - 기존 CSS(style.css 등)는 수정하지 않고, 이 파일을 마지막에 추가로 로드
   - 블록명: .wifi5g (기존 CSS와 충돌 없는 고유 접두어)
   - 키 컬러 #3a68b2 (와이파이도시락 운영 CSS 값)
   ========================================================================== */

/* --------------------------------------------------------------------------
   리셋 (블록 내부에만 적용)
   :where()로 우선순위를 0으로 낮춰 아래 요소 클래스(margin-top 등)가 덮어쓸 수 있게 함
   -------------------------------------------------------------------------- */
.wifi5g,
:where(.wifi5g) *,
:where(.wifi5g) *::before,
:where(.wifi5g) *::after { box-sizing: border-box; }

:where(.wifi5g) :where(h3, h4, p, ul, ol, dl, dt, dd, figure) { margin: 0; }

:where(.wifi5g) :where(ul, ol) { padding: 0; list-style: none; }
:where(.wifi5g) img { max-width: 100%; display: block; }
:where(.wifi5g) em { font-style: normal; }

.wifi5g {
    font-family: 'Pretendard Variable', 'Pretendard', "Noto Sans KR", "맑은 고딕", malgun gothic, sans-serif;
    line-height: 1.5;
    word-break: keep-all;
    color: #172b4d;
    text-align: left;
    letter-spacing: -0.02em;
}

/* 화면에서 숨기고 스크린리더만 읽는 텍스트 */
.wifi5g__blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   공통 섹션
   -------------------------------------------------------------------------- */
/* 배경은 화면 전체 폭, 내용은 가운데 1000px(좌우 안쪽 여백 60px 포함) 유지 */
.wifi5g__section,
.wifi5g__hero,
.wifi5g__outro { --wifi5g-side: max(60px, calc((100% - 880px) / 2)); }

.wifi5g__section { padding: 80px var(--wifi5g-side); }
.wifi5g__section--tint { background-color: #f3f6fb; }

.wifi5g__heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #172b4d;
}
.wifi5g__desc {
    margin-top: 12px;
    font-size: 20px;
    text-align: center;
    color: #5d6c80;
}
.wifi5g__desc strong { font-weight: 700; color: #3a68b2; }

.wifi5g__notes { margin-top: 28px; text-align: center; }
.wifi5g__notes li {
    font-size: 16px;
    color: #7a8799;
}
.wifi5g__notes li + li { margin-top: 4px; }


/* --------------------------------------------------------------------------
   섹션 1. 상단
   -------------------------------------------------------------------------- */
.wifi5g__hero {
    position: relative;
    overflow: hidden;
    padding: 72px var(--wifi5g-side) 64px;
    background: linear-gradient(180deg, #3a68b2 0%, #4a7cc9 100%);
    text-align: center;
    color: #fff;
}
/* 단말기 뒤쪽 은은한 빛 */
.wifi5g__hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 250px;
    width: 620px;
    height: 620px;
    margin-left: -310px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 65%);
    pointer-events: none;
}
.wifi5g__hero > * { position: relative; }

.wifi5g__eyebrow {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.85);
}
.wifi5g__title {
    margin-top: 6px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.25;
}
.wifi5g__lead {
    margin-top: 24px;
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
}
.wifi5g__lead strong { font-weight: 700; color: #fff; }

/* 단말기 이미지 (원본 397×712, 세로형 투명 PNG) */
.wifi5g__device {
    width: auto;
    height: 460px;
    margin: 40px auto 0;
    filter: drop-shadow(0 24px 32px rgba(16, 40, 90, 0.28));
}

.wifi5g__chips {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 44px;
}
.wifi5g__chip {
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    font-size: 19px;
    font-weight: 600;
    color: #fff;
}


/* --------------------------------------------------------------------------
   섹션 2-1. 이런 점이 좋아요
   -------------------------------------------------------------------------- */
.wifi5g__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.wifi5g__feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 36px 20px 36px 28px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(58, 104, 178, 0.08);
}
.wifi5g__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #172b4d;
}
.wifi5g__feature-text {
    margin-top: 10px;
    font-size: 16px;
    color: #5d6c80;
    white-space: nowrap;
}
/* 3D 아이콘 (원본 500×500 투명 PNG) */
.wifi5g__feature-icon {
    flex: none;
    width: 100px;
    height: 100px;
    margin: -8px 0;
}


/* --------------------------------------------------------------------------
   섹션 2-2. 4G 대비 속도 그래프
   -------------------------------------------------------------------------- */
.wifi5g__speed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 24px;
    padding: 40px 48px 40px 56px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(58, 104, 178, 0.08);
}
.wifi5g__speed-head { flex: 1; }
.wifi5g__speed-title {
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    color: #172b4d;
}
.wifi5g__speed-title em { color: #3a68b2; }
.wifi5g__speed-notes { margin-top: 20px; }
.wifi5g__speed-notes li + li { margin-top: 4px; }
.wifi5g__speed-notes li {
    font-size: 15px;
    color: #7a8799;
}

/* 차트 좌표: 440×300 (막대 바닥 y=300, 가이드 라인 75px 간격) */
.wifi5g__chart {
    position: relative;
    flex: none;
    width: 440px;
    height: 300px;
    margin: 0 0 40px; /* 아래 40px = 4G/5G 라벨 자리 */
    border-bottom: 1px solid #dfe6f0;
    background-image: repeating-linear-gradient(to top, transparent 0, transparent 74px, #eef2f8 74px, #eef2f8 75px);
}
.wifi5g__chart-line {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 440px;
    height: 300px;
    overflow: visible;
}
.wifi5g__chart-line path {
    fill: none;
    stroke: #3a68b2;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.wifi5g__chart-bar {
    position: absolute;
    bottom: 0;
    width: 48px;
    border-radius: 12px 12px 0 0;
}
.wifi5g__chart-bar--4g {
    left: 106px;
    height: 70px;
    background: linear-gradient(180deg, #bfd1ef 0%, #f6f9fe 100%);
}
.wifi5g__chart-bar--5g {
    left: 306px;
    height: 230px;
    background: linear-gradient(180deg, #3a68b2 0%, #f1f6fe 100%);
}

.wifi5g__chart-dot {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 3px solid #3a68b2;
    border-radius: 50%;
    background-color: #fff;
}
.wifi5g__chart-dot--4g { left: 130px; top: 230px; }
.wifi5g__chart-dot--5g { left: 330px; top: 70px; }

/* 말풍선 태그 */
.wifi5g__chart-tag {
    position: absolute;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #eef3fb;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #5d6c80;
    white-space: nowrap;
    transform: translateX(-50%);
}
.wifi5g__chart-tag::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #eef3fb;
    border-bottom: 0;
}
.wifi5g__chart-tag--4g { left: 130px; bottom: 86px; }
.wifi5g__chart-tag--5g {
    left: 330px;
    bottom: 246px;
    background-color: #3a68b2;
    color: #fff;
}
.wifi5g__chart-tag--5g::after { border-top-color: #3a68b2; }

/* 배수 표시 */
/* 강조 컬러: 오렌지 (#ff6b2c) */
.wifi5g__chart-ratio {
    position: absolute;
    z-index: 2;
    left: 230px;
    top: 212px;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: #ff6b2c;
    box-shadow: 0 4px 10px rgba(255, 107, 44, 0.3);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    transform: translateX(-50%);
}

.wifi5g__chart-label {
    position: absolute;
    top: 100%;
    width: 100px;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #9aa6b8;
    text-align: center;
}
.wifi5g__chart-label--4g { left: 80px; }
.wifi5g__chart-label--5g { left: 280px; color: #3a68b2; }


/* --------------------------------------------------------------------------
   섹션 3. 요금
   -------------------------------------------------------------------------- */
.wifi5g__plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.wifi5g__plan {
    position: relative;
    overflow: hidden;
    padding: 36px 32px 32px;
    border-radius: 24px;
    color: #fff;
}
.wifi5g__plan--jp { background: linear-gradient(150deg, #6a9ce6 0%, #4a7cc9 100%); }
.wifi5g__plan--cn { background: linear-gradient(150deg, #4a7cc9 0%, #3a68b2 100%); }

.wifi5g__plan-name {
    font-size: 26px;
    font-weight: 700;
}
/* 국가별 캐릭터 (원본 598×598 투명 PNG, 라운드 사각형 배경 안에 상반신만 보이게) */
.wifi5g__plan-icon {
    position: absolute;
    right: 28px;
    top: 24px;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.18);
}
.wifi5g__plan-icon img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 104%;
    max-width: none;
    transform: translateX(-50%);
}

.wifi5g__plan-price { margin-top: 40px; }
.wifi5g__plan-label {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
}
.wifi5g__plan-value {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.wifi5g__plan-value span {
    margin-left: 4px;
    font-size: 24px;
    font-weight: 600;
}

/* 6일째부터 (장기할인) */
.wifi5g__plan-price--discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.14);
}
.wifi5g__plan-price--discount .wifi5g__plan-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.wifi5g__plan-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #3a68b2;
}
.wifi5g__plan-price--discount .wifi5g__plan-value { font-size: 34px; }
.wifi5g__plan-price--discount .wifi5g__plan-value span { font-size: 18px; }


/* --------------------------------------------------------------------------
   단말기 사양
   -------------------------------------------------------------------------- */
.wifi5g__spec {
    width: 100%;
    margin-top: 40px;
    border-collapse: collapse;
    border-top: 2px solid #3a68b2;
    table-layout: fixed;
}
/* 항목:값 = 3:7 (MO와 같은 비율). 숨김 caption 때문에 th 너비가 무시되어 colgroup으로 지정 */
.wifi5g__spec-col-label { width: 30%; }
.wifi5g__spec th,
.wifi5g__spec td {
    padding: 18px 24px;
    border-bottom: 1px solid #e8edf5;
    font-size: 20px;
    text-align: left;
    vertical-align: middle;
}
.wifi5g__spec th {
    background-color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    color: #5d6c80;
}
.wifi5g__spec td {
    background-color: #fff;
    font-weight: 700;
    color: #172b4d;
}
.wifi5g__spec-sub {
    margin-left: 14px;
    color: #566783;
}


/* --------------------------------------------------------------------------
   자주 묻는 질문
   -------------------------------------------------------------------------- */
.wifi5g__faq {
    margin-top: 32px;
    padding: 12px 32px;
    border-radius: 20px;
    background-color: #f3f6fb;
}
.wifi5g__faq-item { padding: 26px 0; }
.wifi5g__faq-item + .wifi5g__faq-item { border-top: 1px solid #dfe6f0; }
.wifi5g__faq-q {
    font-size: 21px;
    font-weight: 700;
    color: #3a68b2;
}
.wifi5g__faq-a {
    margin-top: 10px;
    font-size: 18px;
    color: #5d6c80;
}


/* --------------------------------------------------------------------------
   이용 유의사항
   -------------------------------------------------------------------------- */
.wifi5g__caution { padding-top: 0; }
.wifi5g__caution-title {
    font-size: 24px;
    font-weight: 700;
    color: #172b4d;
}
.wifi5g__caution-list { margin-top: 16px; }
.wifi5g__caution-list li {
    position: relative;
    padding-left: 14px;
    font-size: 18px;
    color: #5d6c80;
}
.wifi5g__caution-list li + li { margin-top: 8px; }
.wifi5g__caution-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #5d6c80;
}


/* --------------------------------------------------------------------------
   하단 안내
   -------------------------------------------------------------------------- */
.wifi5g__outro {
    padding: 56px var(--wifi5g-side);
    background: linear-gradient(180deg, #3a68b2 0%, #4a7cc9 100%);
    text-align: center;
}
.wifi5g__outro-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}
.wifi5g__outro-text {
    margin-top: 10px;
    font-size: 21px;
    color: #e0e8f8;
}
