/* =========================================================
   privacy12 / style.css
   텔레그램 2단계 인증 완벽 가이드
   Deep Royal Blue & Gold 테마
   ========================================================= */

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

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

/* ── 2. CSS 변수 토큰 ── */
#tg-p12-wrapper {
  /* 폰트 크기 표준 */
  --fs-xs:   .8rem;
  --fs-sm:   .9rem;
  --fs-base: 1rem;
  --fs-md:   1.05rem;
  --fs-lg:   1.2rem;
  --fs-xl:   1.45rem;

  /* 테마 컬러 (Royal Blue & Gold) */
  --bg-base:     #050814;
  --bg-card:     rgba(255,255,255,0.03);
  --bg-card-hov: rgba(255,255,255,0.05);
  
  --accent:      #2563eb; /* Blue 600 */
  --accent-dim:  rgba(37,99,235,0.12);
  --accent-brd:  rgba(37,99,235,0.3);
  --accent-text: #60a5fa; /* Blue 400 */

  --gold:        #f59e0b; /* Amber 500 */
  --gold-dim:    rgba(245,158,11,0.12);
  --gold-brd:    rgba(245,158,11,0.3);
  --gold-text:   #fcd34d; /* Amber 300 */
  
  --green:       #10b981;

  --text-base:   #e2e8f0;
  --text-muted:  #94a3b8;
  --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, sans-serif;
  font-size: var(--fs-base); line-height: 1.75; text-align: left;
}

/* ── 3. 히어로 구역 ── */
#tg-p12-wrapper .tg-p12-hero {
  text-align: center;
  padding: 80px 36px 64px;
  background: linear-gradient(160deg, #050814 0%, #0c1838 50%, #050814 100%);
  border-bottom: 1px solid var(--accent-brd);
  position: relative; overflow: hidden;
}

#tg-p12-wrapper .tg-p12-hero::before {
  content: ''; position: absolute;
  top: -80px; right: -40px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
#tg-p12-wrapper .tg-p12-hero::after {
  content: ''; position: absolute;
  bottom: -60px; left: -30px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

#tg-p12-wrapper .tg-p12-hero__icon-wrap {
  display: flex; justify-content: center; margin-bottom: 24px;
}
#tg-p12-wrapper .tg-p12-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--accent), #1e3a8a);
  border-radius: 24px; box-shadow: 0 8px 32px rgba(37,99,235,0.3);
}
#tg-p12-wrapper .tg-p12-hero__icon .material-symbols-outlined { font-size: 44px; color: #fff; }

#tg-p12-wrapper .tg-p12-hero__badge-wrap {
  display: flex; justify-content: center; margin-bottom: 28px;
}
#tg-p12-wrapper .tg-p12-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: var(--accent-text); font-weight: 700;
}

#tg-p12-wrapper .tg-p12-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-p12-wrapper .tg-p12-hero__title span { color: var(--gold-text); }

#tg-p12-wrapper .tg-p12-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-p12-wrapper .tg-p12-hero__badges {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
#tg-p12-wrapper .tg-p12-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-p12-wrapper .tg-p12-hero__tag--blue {
  background: var(--accent-dim); border: 1px solid var(--accent-brd); color: var(--accent-text);
}
#tg-p12-wrapper .tg-p12-hero__tag--gold {
  background: var(--gold-dim); border: 1px solid var(--gold-brd); color: var(--gold-text);
}

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

/* ── 5. 도입부 박스 ── */
#tg-p12-wrapper .tg-p12-intro {
  background: var(--accent-dim); border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0; padding: 28px 32px; margin-bottom: 56px;
  display: flex; gap: 16px; align-items: flex-start;
}
#tg-p12-wrapper .tg-p12-intro p {
  font-size: var(--fs-base) !important; color: var(--text-muted); text-align: left;
}

/* ── 6. 공통 섹션 헤더 ── */
#tg-p12-wrapper .tg-p12-sect { margin-bottom: 56px; }
#tg-p12-wrapper .tg-p12-sect__head {
  display: flex; align-items: center; gap: 10px; padding-bottom: 14px;
  border-bottom-width: 3px; border-bottom-style: solid; margin-bottom: 28px;
}
#tg-p12-wrapper .tg-p12-sect__head--blue { border-bottom-color: var(--accent); }
#tg-p12-wrapper .tg-p12-sect__head--gold { border-bottom-color: var(--gold); }
#tg-p12-wrapper .tg-p12-sect__title {
  font-size: clamp(1.2rem, 3vw, 1.35rem); font-weight: 900; color: #fff;
  line-height: 1.35; letter-spacing: -0.02em;
}

/* ── 7. 2단계 작동 원리 카드 (수직 플로우) ── */
#tg-p12-wrapper .tg-p12-flow {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px;
}
#tg-p12-wrapper .tg-p12-flow-step {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
}
#tg-p12-wrapper .tg-p12-flow-step__num {
  width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-p12-wrapper .tg-p12-flow-step__num--1 { background: var(--accent-dim); color: var(--accent-text); border: 1px solid var(--accent-brd); }
#tg-p12-wrapper .tg-p12-flow-step__num--2 { background: var(--gold-dim); color: var(--gold-text); border: 1px solid var(--gold-brd); }
#tg-p12-wrapper .tg-p12-flow-step__text { font-size: var(--fs-base) !important; color: #fff; margin: 0 !important; }
#tg-p12-wrapper .tg-p12-flow-step__text span { color: var(--text-muted); display: block; font-size: var(--fs-sm); margin-top: 4px; }

/* 화살표 */
#tg-p12-wrapper .tg-p12-flow-arrow {
  text-align: center; color: var(--border); margin: -6px 0;
}

/* 중요 박스 */
#tg-p12-wrapper .tg-p12-alert {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  border-radius: 14px; padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start;
  margin-top: 24px;
}
#tg-p12-wrapper .tg-p12-alert p {
  color: #fca5a5; font-size: var(--fs-sm) !important; margin: 0 !important; line-height: 1.75 !important;
}

/* ── 8. 기기별 탭 ── */
#tg-p12-wrapper .tg-p12-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
#tg-p12-wrapper .tg-p12-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-p12-wrapper .tg-p12-tab-btn--active { background: var(--accent) !important; color: #fff !important; border: 2px solid var(--accent) !important; }
#tg-p12-wrapper .tg-p12-tab-btn--idle { background: rgba(255,255,255,0.05) !important; color: var(--text-muted) !important; border: 2px solid var(--border) !important; }

#tg-p12-wrapper .tg-p12-tab-panel {
  background: rgba(255,255,255,0.02); border: 2px solid var(--accent);
  border-radius: 0 0 20px 20px; padding: 36px 32px;
}
#tg-p12-wrapper .tg-p12-tab-panel__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
#tg-p12-wrapper .tg-p12-tab-panel__title { font-size: var(--fs-lg); font-weight: 800; color: #fff; }

#tg-p12-wrapper .tg-p12-ol { display: flex; flex-direction: column; gap: 10px; padding-left: 24px; }
#tg-p12-wrapper .tg-p12-ol li { font-size: var(--fs-base); color: var(--text-base); line-height: 1.85; position:relative; }
#tg-p12-wrapper .tg-p12-ol li strong { color: var(--accent-text); }
#tg-p12-wrapper .tg-p12-ol li em { color: var(--gold-text); font-style: normal; font-weight:700; }

/* 커스텀 OL (가독성 향상) */
#tg-p12-wrapper .tg-p12-ol { list-style: none; counter-reset: p12-cnt; }
#tg-p12-wrapper .tg-p12-ol li::before {
  counter-increment: p12-cnt; content: counter(p12-cnt) ".";
  position: absolute; left: -24px; color: var(--text-dim); font-weight: 800;
}

/* ── 9. 직장인 꿀팁 그리드 ── */
#tg-p12-wrapper .tg-p12-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
#tg-p12-wrapper .tg-p12-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px;
}
#tg-p12-wrapper .tg-p12-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
#tg-p12-wrapper .tg-p12-card__title { font-size: var(--fs-lg); font-weight: 800; color: #fff; }
#tg-p12-wrapper .tg-p12-card p { font-size: var(--fs-base) !important; color: var(--text-muted); }
#tg-p12-wrapper .tg-p12-card strong { color: #fff; }

/* ── 10. 스크롤 애니메이션 ── */
#tg-p12-wrapper .tg-p12-motion {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
#tg-p12-wrapper .tg-p12-motion.is-visible { opacity: 1; transform: none; }

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