

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --gold: #C9A84C;
  --gold-light: #F0CF82;
  --cyan: #00D4FF;
  --kakao: #FEE500;
  --kakao-text: #191919;
  --bg: #080810;
  --bg2: #0D0D1A;
  --surface: #14142A;
  --border: rgba(201,168,76,0.2);
  --text: #F0EDE4;
  --muted: #8888AA;
}

html, body {
  width: 100%; max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', -apple-system, 'Hiragino Sans', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: rgba(8,8,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo { height: 32px; object-fit: contain; }
.nav-badge {
  font-size: 0.68rem; color: var(--gold);
  border: 0.5px solid var(--border);
  padding: 0.3rem 0.7rem; border-radius: 2px;
  letter-spacing: 0.06em;
  background: rgba(201,168,76,0.06);
}

/* ── HERO ── */
.hero {
  padding: 2.8rem 1.4rem 2.4rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 90%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}

/* 카드 비주얼 */
.card-wrap {
  position: relative; z-index: 1;
  width: 85%; max-width: 300px;
  margin-bottom: 2.2rem;
}
.card-visual {
  width: 100%; aspect-ratio: 1.586;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
  border-radius: 16px;
  border: 0.5px solid rgba(201,168,76,0.4);
  padding: 1.3rem 1.4rem;
  position: relative; overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.75), 0 0 0 0.5px rgba(201,168,76,0.15);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}
.card-chip {
  width: 30px; height: 22px;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  border-radius: 3px; margin-bottom: 1.2rem;
}
.card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; color: var(--gold); letter-spacing: 0.1em;
}
.card-tagline {
  font-size: 0.55rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.13em;
}
.card-number {
  position: absolute; bottom: 2.6rem; left: 1.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.14em;
}
.card-valid {
  position: absolute; bottom: 1.1rem; left: 1.4rem;
  font-size: 0.58rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em;
}
.card-ring1 { position: absolute; right: -15px; bottom: -15px; width: 120px; height: 120px; border-radius: 50%; border: 20px solid rgba(0,212,255,0.07); }
.card-ring2 { position: absolute; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; border: 12px solid rgba(201,168,76,0.1); }
.card-glow { position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; background: radial-gradient(ellipse at 30% 40%, rgba(0,212,255,0.06), transparent 60%); pointer-events: none; }

/* 히어로 텍스트 */
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 0.5px solid var(--border); border-radius: 2px;
  font-size: 0.68rem; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 1.1rem;
  background: rgba(201,168,76,0.06);
}
.hero-badge::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 11vw, 3.6rem);
  line-height: 0.95; letter-spacing: 0.02em; margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero-desc {
  font-size: 0.88rem; font-weight: 300;
  color: var(--muted); margin-bottom: 1.8rem; line-height: 1.8;
}
.hero-desc strong { color: var(--text); font-weight: 500; }

.hero-btns { display: flex; flex-direction: column; gap: 0.65rem; }

.btn-primary {
  display: block; text-align: center; padding: 1rem; border-radius: 3px;
  background: var(--gold); color: var(--bg);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.07em; text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:active { background: var(--gold-light); }

.kakao-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem; border-radius: 3px;
  background: var(--kakao); color: var(--kakao-text);
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.04em; text-decoration: none;
  transition: opacity 0.2s;
}
.kakao-btn:active { opacity: 0.85; }
.kakao-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ── DIVIDER ── */
.divider {
  height: 0.5px; background: var(--border); margin: 0;
}

/* ── BENEFITS ── */
.section { padding: 2.4rem 1.4rem; }
.section-label {
  font-size: 0.68rem; color: var(--gold); letter-spacing: 0.14em;
  margin-bottom: 0.5rem; font-weight: 500;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 0.04em;
  line-height: 1.05; margin-bottom: 1.8rem;
}

.benefits { display: flex; flex-direction: column; gap: 1rem; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 4px;
}
.benefit-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: rgba(201,168,76,0.1);
  border: 0.5px solid var(--border);
}
.benefit-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.3rem; }
.benefit-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }

/* ── STATS ── */
.stats-wrap {
  padding: 0 1.4rem 2.4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.stat-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1.2rem 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem; color: var(--gold);
  letter-spacing: 0.04em; line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 0.5px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; color: var(--gold);
}
.step-body { padding-top: 0.1rem; }
.step-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.25rem; }
.step-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }

/* ── VIDEO ── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── BOTTOM CTA ── */
.cta-section {
  padding: 2.4rem 1.4rem 3rem;
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  text-align: center;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 0.04em; margin-bottom: 0.5rem;
}
.cta-desc { font-size: 0.83rem; color: var(--muted); margin-bottom: 1.8rem; line-height: 1.7; }
.cta-btns { display: flex; flex-direction: column; gap: 0.65rem; }

/* ── FOOTER ── */
footer {
  padding: 1.4rem;
  border-top: 0.5px solid var(--border);
  text-align: center;
  font-size: 0.7rem; color: var(--muted); line-height: 1.8;
}
.footer-logo { height: 22px; margin-bottom: 0.6rem; opacity: 0.6; }

/* ── 2026-10-07 개편 추가 스타일 ── */
html { scroll-behavior: smooth; }
.section-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.7; margin: -1rem 0 1.4rem; }
.note { font-size: 0.68rem; color: var(--muted); line-height: 1.7; margin-top: 0.9rem; }
.note b { color: var(--text); font-weight: 500; }
/* 카드 비교 */
.cardcmp { display: flex; flex-direction: column; gap: 0.9rem; }
.cc { background: var(--surface); border: 0.5px solid var(--border); border-radius: 6px; padding: 1rem; display: grid; grid-template-columns: 112px 1fr; gap: 0.9rem; align-items: center; }
.cc.gold { border-color: rgba(201,168,76,0.55); box-shadow: 0 0 0 0.5px rgba(201,168,76,0.12) inset; }
.cc-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.55)); }
.cc-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.15rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.cc-tag { font-size: 0.58rem; color: var(--gold); border: 0.5px solid var(--border); border-radius: 2px; padding: 0.05rem 0.4rem; letter-spacing: 0.06em; }
.cc-type { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.5rem; }
.cc-rows { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.6rem; font-size: 0.74rem; }
.cc-rows span:nth-child(odd) { color: var(--muted); }
.cc-rows span:nth-child(even) { text-align: right; font-family: 'Space Mono', monospace; font-weight: 700; color: var(--text); }
@media (max-width: 360px) { .cc { grid-template-columns: 88px 1fr; } }
/* 생태계 */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.eco-item { background: var(--surface); border: 0.5px solid var(--border); border-radius: 5px; padding: 1rem 0.9rem; }
.eco-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; color: var(--gold); letter-spacing: 0.05em; line-height: 1; margin-bottom: 0.2rem; }
.eco-sub { font-size: 0.72rem; font-weight: 700; margin-bottom: 0.35rem; }
.eco-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.6; }
/* 영상 */
.video-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.video-label { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.5rem; }
.demo-wrap { width: 62%; max-width: 270px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 0.5px solid var(--border); background: #000; }
.demo-wrap video { width: 100%; display: block; }
/* 글로벌 */
.flags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1.1rem 0 1rem; }
.flag { text-align: center; font-size: 0.66rem; color: var(--muted); }
.flag-box { height: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.3rem; }
.flag-box img { max-height: 26px; max-width: 40px; border-radius: 2px; }
.nets { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.net { font-size: 0.68rem; color: var(--gold-light); border: 0.5px solid var(--border); border-radius: 2px; padding: 0.25rem 0.6rem; background: rgba(201,168,76,0.05); letter-spacing: 0.06em; }
/* 보관·라이선스 */
.panel { background: var(--surface); border: 0.5px solid var(--border); border-radius: 5px; padding: 1.1rem; margin-bottom: 0.8rem; }
.panel-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.45rem; }
.panel-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.75; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.9rem; font-size: 0.76rem; margin-top: 0.7rem; }
.kv span:nth-child(odd) { color: var(--muted); }
.kv span:nth-child(even) { font-family: 'Space Mono', monospace; color: var(--text); word-break: break-word; }
.link-out { display: inline-block; margin-top: 0.8rem; font-size: 0.76rem; color: var(--gold); text-decoration: none; border-bottom: 0.5px solid var(--border); }
.lic-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 0.2rem 0 1rem; }
.lic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.lic { background: var(--surface); border: 0.5px solid var(--border); border-radius: 4px; padding: 0.7rem 0.75rem; }
.lic b { display: block; font-size: 0.82rem; color: var(--text); }
.lic span { font-size: 0.66rem; color: var(--muted); line-height: 1.5; display: block; }
/* FAQ */
.faq details { background: var(--surface); border: 0.5px solid var(--border); border-radius: 4px; margin-bottom: 0.55rem; }
.faq summary { list-style: none; cursor: pointer; padding: 0.95rem 2.4rem 0.95rem 1rem; font-size: 0.86rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.2rem; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq .ans { padding: 0 1rem 1rem; font-size: 0.78rem; color: var(--muted); line-height: 1.8; }
.faq .ans b { color: var(--text); font-weight: 500; }
/* 푸터 */
footer .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1rem; margin: 0.6rem 0 0.9rem; }
footer .foot-links a { color: var(--gold); text-decoration: none; font-size: 0.72rem; }
footer .disclaimer { font-size: 0.64rem; color: #77779a; line-height: 1.8; text-align: left; margin-top: 1rem; padding-top: 0.9rem; border-top: 0.5px solid var(--border); }


/* ── 다국어·자료실 추가 스타일 (2026-10-07) ── */
.topbar { padding: 0.5rem 1rem 0.7rem; border-bottom: 0.5px solid var(--border); background: rgba(8,8,16,0.96); }
.menu { display: flex; gap: 0.4rem; margin-bottom: 0.55rem; }
.menu a { flex: 1; text-align: center; padding: 0.55rem 0; font-size: 0.8rem; color: var(--muted); text-decoration: none; border: 0.5px solid var(--border); border-radius: 3px; background: var(--surface); }
.menu a.active { color: var(--bg); background: var(--gold); border-color: var(--gold); font-weight: 700; }
.langbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.3rem; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.4rem 0.1rem; font-size: 0.6rem; color: var(--muted); text-decoration: none; border: 0.5px solid var(--border); border-radius: 3px; background: var(--surface); line-height: 1.2; text-align: center; min-width: 0; }
.chip img { height: 14px; width: auto; max-width: 24px; border-radius: 1px; }
.chip.active { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,0.12); }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.js-chat { display: none; }
.js-chat.on { display: flex; }
/* 자료실 */
.cats { display: flex; gap: 0.4rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.4rem; margin: 0 0 1.1rem; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex-shrink: 0; padding: 0.45rem 0.85rem; font-size: 0.74rem; color: var(--muted); border: 0.5px solid var(--border); border-radius: 999px; background: var(--surface); cursor: pointer; font-family: inherit; }
.cat.active { color: var(--bg); background: var(--gold); border-color: var(--gold); font-weight: 700; }
.res-head { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; margin: 1.3rem 0 0.7rem; display: flex; justify-content: space-between; }
.res-head span { color: var(--muted); }
.vgrid { display: flex; flex-direction: column; gap: 0.9rem; }
.vcard { background: var(--surface); border: 0.5px solid var(--border); border-radius: 6px; overflow: hidden; }
.vthumb { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(transparent 40%, rgba(0,0,0,0.5)); }
.vthumb .play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(8,8,16,0.65); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-style: normal; font-size: 1.2rem; padding-left: 4px; }
.vplayer { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.vbody { padding: 0.75rem 0.9rem 0.85rem; }
.vtitle { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tag { font-size: 0.58rem; color: var(--cyan); border: 0.5px solid rgba(0,212,255,0.4); border-radius: 2px; padding: 0.05rem 0.4rem; font-weight: 400; letter-spacing: 0.04em; }
.vact { display: flex; gap: 0.5rem; }
.dl { display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; color: var(--gold); border: 0.5px solid var(--border); border-radius: 3px; padding: 0.4rem 0.8rem; text-decoration: none; background: rgba(201,168,76,0.06); }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.dcard { background: var(--surface); border: 0.5px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; text-align: left; font-family: inherit; color: inherit; padding: 0; display: block; width: 100%; }
.dcover { position: relative; aspect-ratio: 4/3; background: #0b0b16; overflow: hidden; }
.dcover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pin { position: absolute; top: 6px; left: 6px; font-size: 0.58rem; color: var(--bg); background: var(--gold); border-radius: 2px; padding: 0.1rem 0.4rem; font-weight: 700; }
.dpages { position: absolute; right: 6px; bottom: 6px; font-size: 0.6rem; color: #fff; background: rgba(0,0,0,0.65); border-radius: 2px; padding: 0.1rem 0.4rem; font-family: 'Space Mono', monospace; }
.dbody { padding: 0.6rem 0.7rem 0.7rem; }
.dtitle { font-weight: 700; font-size: 0.78rem; line-height: 1.4; margin-bottom: 0.3rem; }
.dact { font-size: 0.66rem; color: var(--gold); }
.empty-res { font-size: 0.78rem; color: var(--muted); padding: 1.4rem 0.4rem; text-align: center; }
/* 슬라이드 뷰어 */
.viewer { position: fixed; inset: 0; z-index: 1000; background: rgba(4,4,10,0.97); display: none; flex-direction: column; }
.viewer.open { display: flex; }
.vw-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.9rem; color: var(--text); font-size: 0.8rem; border-bottom: 0.5px solid var(--border); }
.vw-title { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-btn { background: var(--surface); border: 0.5px solid var(--border); color: var(--text); border-radius: 3px; padding: 0.45rem 0.8rem; font-size: 0.76rem; font-family: inherit; cursor: pointer; }
.vw-stage { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: center; -webkit-overflow-scrolling: touch; padding: 0.6rem; }
.vw-stage img { max-width: 100%; height: auto; display: block; margin: auto; }
.vw-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.9rem; border-top: 0.5px solid var(--border); }
.vw-count { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--gold-light); }
.vw-btn[disabled] { opacity: 0.35; }
html, body { max-width: 480px; }

b { color: var(--text); font-weight: 500; }
.chat-btn { align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem; border-radius: 3px; border: 0.5px solid var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.vgrid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vthumb, .vplayer { aspect-ratio: 9/16 !important; }
.vplayer { object-fit: contain; }
.vtitle { font-size: 0.8rem; }
.vact { flex-wrap: wrap; }
.dl { font-size: 0.68rem; padding: 0.4rem 0.6rem; }
.cat-hidden { display: none !important; }
.ph-doc { aspect-ratio: 4/3; }


/* ═══════════════ 반응형 (2026-10-17) — 767px 이하는 위 코드 그대로, 아래는 768px 이상에서만 적용 ═══════════════ */
@media (min-width: 768px) {
  html { font-size: 106.25%; }                      /* 17px */
  html, body { max-width: 900px; }

  /* 상단: 로고 줄 아래에 메뉴 2개 + 언어 칩 6개를 한 줄로 */
  .topbar { display: flex; align-items: center; gap: 1.1rem; padding: 0.55rem 1.4rem; }
  .menu { margin-bottom: 0; flex: 0 0 210px; }
  .langbar { flex: 1 1 0; min-width: 0; }
  nav { padding: 0.75rem 1.4rem; }

  /* 본문 여백·줄 길이 */
  .section { padding: 3rem 2.4rem; }
  .hero { padding: 3.4rem 2.4rem 3rem; }
  .stats-wrap { padding: 0 2.4rem 3rem; }
  .cta-section { padding: 3rem 2.4rem 3.4rem; }
  footer { padding: 1.8rem 2.4rem; }
  .hero-content { max-width: 40rem; }
  .hero-desc, .cta-desc, .section-sub, .note, .panel-desc { max-width: 42rem; }
  .cta-desc { margin-left: auto; margin-right: auto; }
  .hero-btns, .cta-btns { max-width: 460px; }
  .cta-btns { margin: 0 auto; }
  .faq .ans { max-width: 42rem; }

  /* 숫자 4칸 · 장점/카드 비교/신청 단계/생태계 3칸 */
  .stats-wrap { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .benefit-item { flex-direction: column; gap: 0.8rem; }
  .cardcmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .cc { grid-template-columns: 1fr; text-align: center; gap: 0.8rem; align-content: start; }
  .cc-img { max-width: 170px; margin: 0 auto; }
  .cc-name { justify-content: center; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .step { flex-direction: column; gap: 0.8rem; padding: 1.2rem; background: var(--surface); border: 0.5px solid var(--border); border-radius: 4px; }
  .step:last-child { border-bottom: 0.5px solid var(--border); }
  .eco { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }

  /* 국기 8칸 한 줄 */
  .flags { grid-template-columns: repeat(8, 1fr); gap: 0.6rem; }

  /* 영상 · FAQ 최대 800px 가운데 */
  .video-grid { max-width: 800px; margin: 0 auto; }
  .faq details { max-width: 800px; margin-left: auto; margin-right: auto; }

  /* 자료실: 영상 카드 3칸 · 자료 카드 3칸 */
  .cats { flex-wrap: wrap; overflow: visible; }
  .vgrid { grid-template-columns: repeat(3, 1fr) !important; gap: 1rem; }
  .dgrid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .vtitle { font-size: 0.86rem; }
  .dl { font-size: 0.72rem; }
}

@media (min-width: 1024px) {
  html { font-size: 112.5%; }                       /* 18px */
  html, body { max-width: 1200px; }

  /* 상단: 로고·뱃지 + 메뉴 2개 + 언어 칩 6개를 한 줄에 (nav 와 topbar 를 한 줄로 나란히) */
  body { display: flex; flex-wrap: wrap; align-items: flex-start; }
  body > * { flex: 0 0 100%; min-width: 0; }
  body > nav { flex: 0 0 auto; align-self: stretch; border-bottom: 0.5px solid var(--border); }
  body > .topbar { flex: 1 1 0; align-self: stretch; position: sticky; top: 0; z-index: 99; padding: 0.55rem 1.4rem 0.55rem 0.4rem; }
  .menu { flex: 0 0 200px; }
  .langbar { flex: 1 1 0; max-width: 540px; margin-left: auto; }
  .viewer { flex: none; }

  /* 본문 */
  .section { padding: 3.6rem 3rem; }
  .stats-wrap { padding: 0 3rem 3.4rem; }
  .cta-section { padding: 3.4rem 3rem 3.8rem; }
  footer { padding: 2rem 3rem; }
  .hero { padding: 4.2rem 3rem; }

  /* 메인 소개: 글 왼쪽 · 카드 그림 오른쪽 */
  .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 3.5rem; align-items: center; }
  .hero-content { grid-column: 1; grid-row: 1; max-width: none; }
  .card-wrap { grid-column: 2; grid-row: 1; width: 100%; max-width: 420px; margin: 0 auto; }
  .hero-btns { max-width: 480px; }
  .hero-desc { max-width: 36rem; }
  /* 카드 안 글자·장식도 420px 에 맞춰 같은 비율로 키움 */
  .card-visual { border-radius: 22px; padding: 1.8rem 1.95rem; }
  .card-chip { width: 42px; height: 31px; margin-bottom: 1.5rem; }
  .card-name { font-size: 1.5rem; }
  .card-tagline { font-size: 0.69rem; }
  .card-number { bottom: 3.3rem; left: 1.95rem; font-size: 0.9rem; }
  .card-valid { bottom: 1.4rem; left: 1.95rem; font-size: 0.73rem; }
  .card-ring1 { right: -21px; bottom: -21px; width: 168px; height: 168px; border-width: 28px; }
  .card-ring2 { right: 25px; bottom: 25px; width: 81px; height: 81px; border-width: 17px; }

  /* 인허가 5칸 */
  .lic-grid { grid-template-columns: repeat(5, 1fr); }

  /* 자료실: 4칸 */
  .vgrid { grid-template-columns: repeat(4, 1fr) !important; }
  .dgrid { grid-template-columns: repeat(4, 1fr); }
}
