/* 국가별 요금제 페이지 (plans.html) */
.pg-crumb,.pg-hero,.pg-sec{padding:0;border-top:0}
.pg-crumb{display:flex;gap:8px;align-items:center;margin:14px 0 14px;color:var(--muted);font-size:14px}
.pg-crumb a{text-decoration:none}.pg-crumb a:hover{text-decoration:underline}
.pg-hero{display:flex;align-items:center;gap:22px;padding:26px 30px;border-radius:26px;color:#fff;position:relative;overflow:hidden}
.pg-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 14%,rgba(255,255,255,.34),transparent 46%),radial-gradient(circle at 92% 94%,rgba(0,0,0,.16),transparent 50%);pointer-events:none}
.pg-code{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:84px;height:84px;border-radius:24px;background:rgba(255,255,255,.22);font-size:32px;font-weight:900;letter-spacing:.04em;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.pg-hero div{position:relative;z-index:1}
.pg-hero h1{margin:0;font-size:clamp(28px,4.6vw,42px);letter-spacing:-.035em;line-height:1.15}
.pg-hero p{margin:6px 0 0;font-size:16px;opacity:.95;font-weight:500}
.pg-sec{margin-top:40px}
.pg-info{display:grid;gap:0;margin:0;border:1.5px solid var(--line);border-radius:18px;overflow:hidden}
.pg-row{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:14px 18px;border-top:1px solid var(--line)}
.pg-row:first-child{border-top:0}
.pg-row dt{color:var(--muted);font-weight:700}.pg-row dd{margin:0}
.pg-list{margin:0;padding:0 0 0 1.2em;display:grid;gap:10px;color:var(--ink)}
.pg-list a{color:var(--blue);font-weight:700}
.pg-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:s}
.pg-steps li{counter-increment:s;padding:18px;border:1.5px solid var(--line);border-radius:18px}
.pg-steps li::before{content:counter(s);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-weight:900;margin-bottom:10px}
.pg-steps b{display:block}.pg-steps p{margin:4px 0 0;color:var(--muted);font-size:14px}
@media (max-width:700px){
  .pg-hero{padding:20px 20px;gap:16px}.pg-code{width:64px;height:64px;font-size:24px;border-radius:18px}
  .pg-row{grid-template-columns:1fr;gap:2px}.pg-steps{grid-template-columns:1fr}.pg-sec{margin-top:32px}
}
/* 요금제 선택 제목 줄 + 닫기(X) 버튼 */
.pg-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pg-head .hx-h2{margin-bottom:0}
.pg-head{margin-bottom:14px}
.pg-close{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer}
.pg-close:hover{border-color:var(--ink)}
.pg-close:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.pg-badge{display:inline-block;margin-top:10px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.92);color:#B42318;font-weight:800;font-size:14px;position:relative;z-index:1}
.pg-badge[hidden]{display:none}
/* 요금제 페이지 머리의 국기 */
.pg-code .cflags{position:relative;display:block;width:68%;aspect-ratio:4/3}
.pg-code .cflags img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.22),0 0 0 2px rgba(255,255,255,.9)}
.pg-code .cflags.two img{inset:auto;width:74%;height:74%}
.pg-code .cflags.two img:first-child{left:-6%;top:-8%}
.pg-code .cflags.two img:last-child{right:-6%;bottom:-8%}
/* 요금제 페이지 머리: 배경 상자 없이 국기만 */
.pg-code.has-flag{width:104px;height:78px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.9),0 6px 16px rgba(0,0,0,.2)}
.pg-code.has-flag .cflags{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;display:flex}
.pg-code.has-flag .cflags img,.pg-code.has-flag .cflags.two img{position:static;inset:auto;flex:1 1 0;min-width:0;width:auto;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
.pg-code.has-flag .cflags.two img+img{border-left:2px solid #fff}
@media(max-width:600px){.pg-code.has-flag{width:76px;height:57px;border-radius:11px}}

/* 요금제 페이지 머리: 나라별 랜드마크 그림 (하늘은 배경색, 그림은 오른쪽 아래에 붙임) */
.pg-scene{position:absolute;right:0;bottom:0;height:100%;width:auto;max-width:none;pointer-events:none;user-select:none}
.pg-scene[hidden]{display:none}
.pg-hero.has-scene{min-height:236px}
.pg-hero.has-scene::after{background:linear-gradient(90deg,rgba(8,12,30,.42),rgba(8,12,30,.14) 46%,transparent 66%)}
.pg-hero.has-scene h1,.pg-hero.has-scene p{text-shadow:0 1px 14px rgba(8,12,30,.35)}
@media(max-width:700px){
  .pg-hero.has-scene{min-height:0;align-items:flex-start;padding-bottom:calc(40% + 6px)}
  .pg-hero.has-scene .pg-scene{height:auto;width:100%}
  .pg-hero.has-scene::after{background:linear-gradient(180deg,rgba(8,12,30,.34),transparent 58%)}
}
/* 요금제 페이지에서는 다른 나라 탭을 숨깁니다 (나라는 홈에서 고름) */
.pg-sec #tabs{display:none}

/* 요금제 페이지 머리: 나라 사진을 꽉 채우고 글자는 왼쪽 아래 (휴대폰은 아래쪽을 어둡게) */
.pg-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;user-select:none}
.pg-hero.has-photo{min-height:260px;align-items:flex-end;background:#22364a}
.pg-hero.has-photo::after{background:linear-gradient(90deg,rgba(4,16,34,.6) 0%,rgba(4,16,34,.28) 46%,rgba(4,16,34,0) 76%),linear-gradient(0deg,rgba(4,16,34,.34),rgba(4,16,34,0) 55%)}
.pg-hero.has-photo h1,.pg-hero.has-photo p{text-shadow:0 1px 14px rgba(0,0,0,.35)}
@media(max-width:700px){
  .pg-hero.has-photo{min-height:236px;padding:20px}
  .pg-hero.has-photo::after{background:linear-gradient(0deg,rgba(4,16,34,.76) 0%,rgba(4,16,34,.36) 52%,rgba(4,16,34,.04) 100%)}
}
