/* =========================================================
   privacy10 / style.css
   해커가 텔레그램 메시지를 해킹할 수 있다? — 보안 진실 가이드
   ========================================================= */

/* ── 1. 그누보드5 충돌 방지 완전 리셋 ── */
#tg-p10-wrapper,
#tg-p10-wrapper *,
#tg-p10-wrapper *::before,
#tg-p10-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-p10-wrapper h1,
#tg-p10-wrapper h2,
#tg-p10-wrapper h3,
#tg-p10-wrapper h4 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

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

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

  /* 컬러 팔레트 (레드-사이버 테마) */
  --bg-base:     #0a0a0f;
  --bg-card:     rgba(255,255,255,0.03);
  --bg-card-hov: rgba(255,255,255,0.06);
  --accent:      #ef4444;
  --accent-dim:  rgba(239,68,68,0.12);
  --accent-brd:  rgba(239,68,68,0.25);
  --blue:        #1d98dc;
  --blue-dim:    rgba(29,152,220,0.12);
  --blue-brd:    rgba(29,152,220,0.28);
  --green:       #10b981;
  --green-dim:   rgba(16,185,129,0.10);
  --green-brd:   rgba(16,185,129,0.25);
  --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-p10-wrapper .tg-p10-hero {
  text-align: center;
  padding: 80px 36px 64px;
  background: linear-gradient(160deg, #0a0a0f 0%, #160808 40%, #0a0a0f 100%);
  border-bottom: 1px solid var(--accent-brd);
  position: relative;
  overflow: hidden;
}

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

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

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

#tg-p10-wrapper .tg-p10-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(239,68,68,0.3);
}

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

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

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

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

#tg-p10-wrapper .tg-p10-hero__title span {
  color: #fca5a5;
}

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

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

#tg-p10-wrapper .tg-p10-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-p10-wrapper .tg-p10-hero__tag--red {
  background: var(--accent-dim);
  border: 1px solid var(--accent-brd);
  color: #fca5a5;
}

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

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

/* ── 5. 섹션 공통 헤더 ── */
#tg-p10-wrapper .tg-p10-section {
  margin-bottom: 52px;
}

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

#tg-p10-wrapper .tg-p10-section__head--red  { border-bottom-color: var(--accent); }
#tg-p10-wrapper .tg-p10-section__head--blue { border-bottom-color: var(--blue); }
#tg-p10-wrapper .tg-p10-section__head--amber { border-bottom-color: #f59e0b; }

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

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

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

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

/* ── 7. 비교 카드 (일반 vs 비밀 대화) ── */
#tg-p10-wrapper .tg-p10-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

#tg-p10-wrapper .tg-p10-compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}

#tg-p10-wrapper .tg-p10-compare-card--warning {
  border-color: rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.04);
}

#tg-p10-wrapper .tg-p10-compare-card--safe {
  border-color: var(--green-brd);
  background: var(--green-dim);
}

#tg-p10-wrapper .tg-p10-compare-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

#tg-p10-wrapper .tg-p10-compare-card__title {
  font-size: var(--fs-lg);
  font-weight: 800;
}

#tg-p10-wrapper .tg-p10-compare-card--warning .tg-p10-compare-card__title {
  color: #fbbf24;
}

#tg-p10-wrapper .tg-p10-compare-card--safe .tg-p10-compare-card__title {
  color: #6ee7b7;
}

#tg-p10-wrapper .tg-p10-compare-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tg-p10-wrapper .tg-p10-compare-card__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.75;
  text-align: left;
}

/* ── 8. 비밀대화 사용법 스텝 ── */
#tg-p10-wrapper .tg-p10-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

#tg-p10-wrapper .tg-p10-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

#tg-p10-wrapper .tg-p10-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--blue-brd);
  color: #7dd3fc;
  font-size: var(--fs-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#tg-p10-wrapper .tg-p10-step__text {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.75;
  text-align: left;
  padding-top: 4px;
}

#tg-p10-wrapper .tg-p10-step__text strong {
  color: #fff;
}

/* ── 9. 기기별 탭 ── */
#tg-p10-wrapper .tg-p10-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#tg-p10-wrapper .tg-p10-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: 7px;
  font-family: inherit;
  border-bottom: none !important;
  transition: all .2s;
}

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

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

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

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

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

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

#tg-p10-wrapper .tg-p10-ol {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 22px;
}

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

#tg-p10-wrapper .tg-p10-ol li strong {
  color: #7dd3fc;
}

#tg-p10-wrapper .tg-p10-ol li em {
  color: #f59e0b;
  font-style: normal;
  font-weight: 700;
}

/* ── 10. 팁 박스 ── */
#tg-p10-wrapper .tg-p10-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--blue-dim);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}

#tg-p10-wrapper .tg-p10-tip p {
  font-size: var(--fs-sm) !important;
  color: #7dd3fc;
  line-height: 1.75 !important;
  margin: 0 !important;
  text-align: left;
}

#tg-p10-wrapper .tg-p10-tip p strong {
  color: #fff;
}

#tg-p10-wrapper .tg-p10-tip--amber {
  background: rgba(245,158,11,0.08);
}

#tg-p10-wrapper .tg-p10-tip--amber p {
  color: #fcd34d;
}

/* ── 11. 직장인 팁 카드 그리드 ── */
#tg-p10-wrapper .tg-p10-tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

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

#tg-p10-wrapper .tg-p10-tip-card:hover {
  background: var(--bg-card-hov);
}

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

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

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

#tg-p10-wrapper .tg-p10-tip-card strong {
  color: #fff;
}

#tg-p10-wrapper .tg-p10-tip-card code {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: .9em;
  color: #7dd3fc;
}

/* ── 12. 요약 체크리스트 ── */
#tg-p10-wrapper .tg-p10-summary {
  background: linear-gradient(135deg, #0e1422 0%, #0f0a0a 100%);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 24px;
  padding: 48px 36px;
  margin-bottom: 0;
}

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

#tg-p10-wrapper .tg-p10-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: #fca5a5;
  font-weight: 700;
  margin-bottom: 16px;
}

#tg-p10-wrapper .tg-p10-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-p10-wrapper .tg-p10-summary__sub {
  font-size: var(--fs-sm) !important;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0 !important;
}

#tg-p10-wrapper .tg-p10-prog {
  margin-bottom: 8px;
}

#tg-p10-wrapper .tg-p10-prog__bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}

#tg-p10-wrapper .tg-p10-prog__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f59e0b);
  border-radius: 99px;
  transition: width .4s ease;
}

#tg-p10-wrapper .tg-p10-prog__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

#tg-p10-wrapper .tg-p10-prog__label {
  font-size: var(--fs-sm);
  color: #fca5a5;
  font-weight: 700;
}

#tg-p10-wrapper .tg-p10-prog__msg {
  font-size: var(--fs-sm) !important;
  color: #fca5a5;
  font-weight: 600;
  min-height: 22px;
  margin: 0 0 24px !important;
  opacity: 0;
  transition: opacity .3s;
  text-align: left;
}

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

#tg-p10-wrapper .tg-p10-chk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-size: var(--fs-base);
  color: var(--text-base);
  transition: all .25s;
  text-align: left;
}

#tg-p10-wrapper .tg-p10-chk-item:hover {
  background: var(--bg-card-hov);
}

#tg-p10-wrapper .tg-p10-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;
}

/* ── 13. 스크롤 등장 애니메이션 ── */
#tg-p10-wrapper .tg-p10-motion {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

#tg-p10-wrapper .tg-p10-motion.is-visible {
  opacity: 1;
  transform: none;
}

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

#tg-p10-wrapper .tg-p10-note p {
  font-size: var(--fs-sm) !important;
  color: var(--text-dim);
  line-height: 1.75 !important;
  margin: 0 !important;
  text-align: left;
}

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