/* =========================================================
   privacy11 / style.css
   텔레그램 보안, 정말 완벽할까? 100% 안전을 위한 세팅
   ========================================================= */

/* ── 1. 그누보드5 충돌 방지 완전 리셋 ── */
#tg-p11-wrapper,
#tg-p11-wrapper *,
#tg-p11-wrapper *::before,
#tg-p11-wrapper *::after {
  box-sizing: border-box;
  margin: 0; padding: 0; border: none;
  outline: none; text-decoration: none;
  list-style: none; background: none;
  font-style: normal;
}

#tg-p11-wrapper h1,
#tg-p11-wrapper h2,
#tg-p11-wrapper h3,
#tg-p11-wrapper h4 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

#tg-p11-wrapper p {
  margin-bottom: 14px !important;
  line-height: 1.85 !important;
}
#tg-p11-wrapper p:last-child { margin-bottom: 0 !important; }

/* ── 2. CSS 디자인 토큰 ── */
#tg-p11-wrapper {
  /* 폰트 크기 */
  --fs-xs:   .8rem;
  --fs-sm:   .9rem;
  --fs-base: 1rem;
  --fs-md:   1.05rem;
  --fs-lg:   1.2rem;
  --fs-xl:   1.45rem;

  /* 컬러 팔레트 (다크 네이비 - 틸/시안) */
  --bg-base:     #080f1a;
  --bg-card:     rgba(255,255,255,0.03);
  --bg-card-hov: rgba(255,255,255,0.06);
  --accent:      #14b8a6; /* Teal 500 */
  --accent-dim:  rgba(20,184,166,0.12);
  --accent-brd:  rgba(20,184,166,0.3);
  --accent-text: #5eead4; /* Teal 300 */
  
  --blue:        #0ea5e9; /* Sky 500 */
  --blue-dim:    rgba(14,165,233,0.12);
  --blue-brd:    rgba(14,165,233,0.3);
  --blue-text:   #7dd3fc; /* Sky 300 */

  --amber:       #f59e0b;
  --amber-dim:   rgba(245,158,11,0.12);
  --amber-text:  #fcd34d;

  --text-base:   #e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --border:      rgba(255,255,255,0.08);

  /* 기본 설정 */
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  background: var(--bg-base);
  color: var(--text-base);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.75;
  text-align: left;
}

/* ── 3. 히어로 헤더 ── */
#tg-p11-wrapper .tg-p11-hero {
  text-align: center;
  padding: 80px 36px 64px;
  background: linear-gradient(160deg, #080f1a 0%, #061920 40%, #080f1a 100%);
  border-bottom: 1px solid var(--accent-brd);
  position: relative;
  overflow: hidden;
}

#tg-p11-wrapper .tg-p11-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#tg-p11-wrapper .tg-p11-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#tg-p11-wrapper .tg-p11-hero__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

#tg-p11-wrapper .tg-p11-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--accent), #0f766e);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(20,184,166,0.3);
}

#tg-p11-wrapper .tg-p11-hero__icon .material-symbols-outlined {
  font-size: 44px;
  color: #fff;
}

#tg-p11-wrapper .tg-p11-hero__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

#tg-p11-wrapper .tg-p11-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-brd);
  border-radius: 99px;
  padding: 7px 20px;
  font-size: var(--fs-sm);
  color: var(--blue-text);
  font-weight: 700;
}

#tg-p11-wrapper .tg-p11-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
  text-align: center;
  margin-bottom: 20px;
}

#tg-p11-wrapper .tg-p11-hero__title span {
  color: var(--accent-text);
}

#tg-p11-wrapper .tg-p11-hero__desc {
  font-size: var(--fs-md) !important;
  color: rgba(255,255,255,0.7);
  line-height: 1.85 !important;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px !important;
}

#tg-p11-wrapper .tg-p11-hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#tg-p11-wrapper .tg-p11-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: var(--fs-sm);
  font-weight: 600;
}

#tg-p11-wrapper .tg-p11-hero__tag--teal {
  background: var(--accent-dim);
  border: 1px solid var(--accent-brd);
  color: var(--accent-text);
}

#tg-p11-wrapper .tg-p11-hero__tag--blue {
  background: var(--blue-dim);
  border: 1px solid var(--blue-brd);
  color: var(--blue-text);
}

/* ── 4. 본문 래퍼 ── */
#tg-p11-wrapper .tg-p11-body {
  padding: 56px 36px;
}

/* ── 5. 도입부 박스 ── */
#tg-p11-wrapper .tg-p11-intro {
  background: var(--blue-dim);
  border-left: 4px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
  margin-bottom: 56px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

#tg-p11-wrapper .tg-p11-intro p {
  font-size: var(--fs-base) !important;
  color: var(--text-muted);
  text-align: left;
}

#tg-p11-wrapper .tg-p11-intro strong {
  color: #fff;
}

/* ── 6. 공통 섹션 헤더 ── */
#tg-p11-wrapper .tg-p11-section {
  margin-bottom: 56px;
}

#tg-p11-wrapper .tg-p11-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  margin-bottom: 28px;
}

#tg-p11-wrapper .tg-p11-section__head--teal  { border-bottom-color: var(--accent); }
#tg-p11-wrapper .tg-p11-section__head--blue  { border-bottom-color: var(--blue); }
#tg-p11-wrapper .tg-p11-section__head--amber { border-bottom-color: var(--amber); }

#tg-p11-wrapper .tg-p11-section__title {
  font-size: clamp(1.2rem, 3vw, 1.35rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ── 7. 암호화 아코디언 카드 ── */
#tg-p11-wrapper .tg-p11-shield-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

#tg-p11-wrapper .tg-p11-shield {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

#tg-p11-wrapper .tg-p11-shield__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#tg-p11-wrapper .tg-p11-shield__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
}

#tg-p11-wrapper .tg-p11-shield__text {
  font-size: var(--fs-base) !important;
  color: var(--text-muted);
  line-height: 1.75 !important;
  margin-bottom: 0 !important;
  text-align: left;
}

/* ── 8. 기기별 탭 시스템 ── */
#tg-p11-wrapper .tg-p11-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#tg-p11-wrapper .tg-p11-tab-btn {
  flex: 1 1 auto;
  min-width: 100px;
  padding: 13px 16px;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  font-weight: 800;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  border-bottom: none !important;
  transition: all .2s;
}

#tg-p11-wrapper .tg-p11-tab-btn--active {
  background: var(--accent) !important;
  color: #fff !important;
  border: 2px solid var(--accent) !important;
}

#tg-p11-wrapper .tg-p11-tab-btn--idle {
  background: rgba(255,255,255,0.05) !important;
  color: var(--text-muted) !important;
  border: 2px solid var(--border) !important;
}

#tg-p11-wrapper .tg-p11-tab-panel {
  background: rgba(255,255,255,0.02);
  border: 2px solid var(--accent);
  border-radius: 0 0 20px 20px;
  padding: 36px 32px;
}

#tg-p11-wrapper .tg-p11-tab-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#tg-p11-wrapper .tg-p11-tab-panel__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
}

#tg-p11-wrapper .tg-p11-tab-panel__desc {
  font-size: var(--fs-base) !important;
  color: var(--text-muted);
  margin-bottom: 24px !important;
  text-align: left;
}

#tg-p11-wrapper .tg-p11-ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
}

#tg-p11-wrapper .tg-p11-ol li {
  font-size: var(--fs-base);
  color: var(--text-base);
  line-height: 1.85;
  text-align: left;
}

#tg-p11-wrapper .tg-p11-ol li strong {
  color: var(--accent-text);
}

/* ── 9. 오피스 꿀팁 카드 ── */
#tg-p11-wrapper .tg-p11-tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

#tg-p11-wrapper .tg-p11-tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

#tg-p11-wrapper .tg-p11-tip-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

#tg-p11-wrapper .tg-p11-tip-card__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
}

#tg-p11-wrapper .tg-p11-tip-card p {
  font-size: var(--fs-base) !important;
  color: var(--text-muted);
  line-height: 1.75 !important;
}

/* ── 10. 노트 박스 ── */
#tg-p11-wrapper .tg-p11-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

#tg-p11-wrapper .tg-p11-note p {
  font-size: var(--fs-sm) !important;
  color: var(--text-muted);
  line-height: 1.75 !important;
  margin-bottom: 0 !important;
}

#tg-p11-wrapper .tg-p11-note p strong {
  color: #fff;
}

#tg-p11-wrapper .tg-p11-note p a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 11. 체크리스트 요약 ── */
#tg-p11-wrapper .tg-p11-summary {
  background: linear-gradient(135deg, #061920 0%, #030a0d 100%);
  border: 1px solid var(--accent-brd);
  border-radius: 20px;
  padding: 48px 36px;
  margin-bottom: 0;
}

#tg-p11-wrapper .tg-p11-summary__head {
  text-align: center;
  margin-bottom: 32px;
}

#tg-p11-wrapper .tg-p11-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-brd);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: var(--fs-sm);
  color: var(--accent-text);
  font-weight: 700;
  margin-bottom: 16px;
}

#tg-p11-wrapper .tg-p11-summary__title {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 8px;
}

#tg-p11-wrapper .tg-p11-prog { margin-bottom: 24px; }
#tg-p11-wrapper .tg-p11-prog__meta {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
#tg-p11-wrapper .tg-p11-prog__label { color: var(--accent-text); font-weight: 700; font-size: var(--fs-sm); }
#tg-p11-wrapper .tg-p11-prog__msg { color: var(--accent-text); font-weight: 600; font-size: var(--fs-sm) !important; opacity: 0; transition: opacity .3s; }

#tg-p11-wrapper .tg-p11-prog__bar {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden;
}
#tg-p11-wrapper .tg-p11-prog__fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 99px; transition: width .4s ease;
}

#tg-p11-wrapper .tg-p11-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#tg-p11-wrapper .tg-p11-chk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all .25s;
}

#tg-p11-wrapper .tg-p11-chk-item:hover { background: var(--bg-card-hov); }
#tg-p11-wrapper .tg-p11-chk-box {
  width: 22px; height: 22px; border: 2px solid #475569; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s;
}

/* ── 12. 스크롤 등장 ── */
#tg-p11-wrapper .tg-p11-motion {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
#tg-p11-wrapper .tg-p11-motion.is-visible { opacity: 1; transform: none; }

/* ── 반응형 ── */
@media (max-width: 680px) {
  #tg-p11-wrapper .tg-p11-hero    { padding: 56px 20px 48px; }
  #tg-p11-wrapper .tg-p11-body    { padding: 40px 20px; }
  #tg-p11-wrapper .tg-p11-summary { padding: 36px 20px; }
  #tg-p11-wrapper .tg-p11-tab-panel { padding: 24px 20px; }
  #tg-p11-wrapper .tg-p11-intro   { padding: 22px 20px; }
}
