/* =====================================================
   delete04 - 텔레그램 특정 사람과의 대화 완전 삭제 가이드
   작성자: Antigravity | 작성일: 2026-03-31
   BEM 방식 + 모바일 퍼스트 + CSS 변수 기반
===================================================== */

/* ── 디자인 토큰 ── */
#tg-delete04-wrapper {
  --d04-bg:        #0a0e1a;
  --d04-surface:   #111827;
  --d04-card:      #1a2235;
  --d04-border:    rgba(255,255,255,0.07);
  --d04-primary:   #3b82f6;
  --d04-accent:    #06b6d4;
  --d04-success:   #10b981;
  --d04-warning:   #f59e0b;
  --d04-danger:    #ef4444;
  --d04-text:      #e2e8f0;
  --d04-muted:     #94a3b8;
  --d04-heading:   #f1f5f9;
  --d04-radius:    14px;
  --d04-radius-lg: 22px;
  --d04-shadow:    0 8px 32px rgba(0,0,0,0.35);

  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  background: var(--d04-bg);
  color: var(--d04-text);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

/* ── 숨긴 썸네일 ── */
.tg-d04__thumb-hidden {
  display: none !important;
}

/* ── 공통 레이아웃 ── */
.tg-d04__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── 공통 섹션 타이틀 ── */
.tg-d04__section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--d04-heading);
  margin-bottom: 2rem;
}

.tg-d04__section-title .material-symbols-outlined {
  color: var(--d04-primary);
  font-size: 1.8rem;
}

.tg-d04__section-title--light {
  color: #fff;
}

/* ══════════════════════════════════════
   히어로 섹션
══════════════════════════════════════ */
.tg-d04__hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.tg-d04__hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #0a1628 50%, #0d0f1e 100%);
  z-index: 0;
}

/* 오브 배경 효과 */
.tg-d04__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
}

.tg-d04__orb--1 {
  width: 380px;
  height: 380px;
  background: var(--d04-primary);
  top: -100px;
  left: -80px;
}

.tg-d04__orb--2 {
  width: 280px;
  height: 280px;
  background: var(--d04-accent);
  bottom: -60px;
  right: 5%;
}

.tg-d04__orb--3 {
  width: 200px;
  height: 200px;
  background: #7c3aed;
  top: 40%;
  left: 60%;
}

.tg-d04__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}

/* 아이브로우 배지 */
.tg-d04__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(59,130,246,.18);
  border: 1px solid rgba(59,130,246,.35);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.tg-d04__eyebrow .material-symbols-outlined {
  font-size: 1rem;
}

/* 히어로 타이틀 */
.tg-d04__hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.tg-d04__hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--d04-primary), var(--d04-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tg-d04__hero-desc {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* 히어로 배지 뱃지들 */
.tg-d04__hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.tg-d04__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}

.tg-d04__badge .material-symbols-outlined {
  font-size: 1rem;
}

.tg-d04__badge--yes {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.35);
  color: #6ee7b7;
}

.tg-d04__badge--warn {
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: #fcd34d;
}

.tg-d04__badge--info {
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.35);
  color: #93c5fd;
}

/* CTA 버튼 */
.tg-d04__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  background: linear-gradient(135deg, var(--d04-primary), var(--d04-accent));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(59,130,246,.35);
  transition: transform .2s, box-shadow .2s;
}

.tg-d04__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,.5);
  text-decoration: none;
  color: #fff;
}

.tg-d04__hero-cta {
  margin-top: .5rem;
}

/* ══════════════════════════════════════
   핵심 답변 섹션
══════════════════════════════════════ */
.tg-d04__answer-section {
  padding: 5.5rem 0;
  background: var(--d04-bg);
}

.tg-d04__answer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tg-d04__answer-card {
  padding: 2rem;
  border-radius: var(--d04-radius-lg);
  border: 1px solid var(--d04-border);
}

.tg-d04__answer-card--yes {
  background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.25);
}

.tg-d04__answer-card--warn {
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.25);
}

.tg-d04__answer-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.tg-d04__answer-card--yes .tg-d04__answer-header .material-symbols-outlined {
  color: var(--d04-success);
  font-size: 2rem;
}

.tg-d04__answer-card--warn .tg-d04__answer-header .material-symbols-outlined {
  color: var(--d04-warning);
  font-size: 2rem;
}

.tg-d04__answer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--d04-heading);
  margin: 0;
}

.tg-d04__answer-card p {
  margin-bottom: 1rem;
  color: var(--d04-text);
}

/* 답변 목록 */
.tg-d04__answer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.tg-d04__answer-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--d04-muted);
}

.tg-d04__answer-card--yes .tg-d04__answer-list .material-symbols-outlined {
  color: var(--d04-success);
  font-size: 1.1rem;
}

.tg-d04__answer-card--warn .tg-d04__answer-list .material-symbols-outlined {
  color: var(--d04-danger);
  font-size: 1.1rem;
}

/* ══════════════════════════════════════
   단계별 삭제 방법 섹션 (탭)
══════════════════════════════════════ */
.tg-d04__howto-section {
  padding: 5.5rem 0;
  background: var(--d04-surface);
}

/* 탭 버튼 */
.tg-d04__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--d04-border);
  padding-bottom: 1rem;
}

.tg-d04__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--d04-border);
  background: transparent;
  color: var(--d04-muted);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.tg-d04__tab-btn:hover {
  color: var(--d04-text);
  border-color: var(--d04-primary);
}

.tg-d04__tab-btn--active {
  background: var(--d04-primary);
  border-color: var(--d04-primary);
  color: #fff;
}

.tg-d04__tab-btn .material-symbols-outlined {
  font-size: 1.1rem;
}

/* 탭 콘텐츠 */
.tg-d04__tab-content {
  display: none;
}

.tg-d04__tab-content--active {
  display: block;
  animation: tg-d04-fadein .3s ease;
}

@keyframes tg-d04-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 스텝 가이드 ── */
.tg-d04__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.tg-d04__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tg-d04__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--d04-primary), var(--d04-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 12px rgba(59,130,246,.35);
}

.tg-d04__step-body {
  flex: 1;
  padding-top: .35rem;
}

.tg-d04__step-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--d04-heading);
  margin-bottom: .35rem;
}

.tg-d04__step-desc {
  font-size: .9rem;
  color: #cbd5e1;
  margin: 0;
}

.tg-d04__step-desc strong {
  color: #fff;
}

.tg-d04__step-desc em {
  font-style: normal;
  color: var(--d04-success);
}

/* ── 알림 박스 ── */
.tg-d04__notice {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--d04-radius);
  margin-top: 1.5rem;
  font-size: .875rem;
}

.tg-d04__notice .material-symbols-outlined {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.tg-d04__notice p {
  margin: 0;
  line-height: 1.6;
}

.tg-d04__notice strong {
  font-weight: 700;
}

.tg-d04__notice--success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  color: #d1fae5;
}

.tg-d04__notice--success .material-symbols-outlined {
  color: var(--d04-success);
}

.tg-d04__notice--warning {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  color: #fef3c7;
}

.tg-d04__notice--warning .material-symbols-outlined {
  color: var(--d04-warning);
}

.tg-d04__notice--info {
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  color: #dbeafe;
}

.tg-d04__notice--info .material-symbols-outlined {
  color: var(--d04-primary);
}

.tg-d04__notice--danger {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #fee2e2;
}

.tg-d04__notice--danger .material-symbols-outlined {
  color: var(--d04-danger);
}

/* ── 비교 카드 (양방향 vs 나만) ── */
.tg-d04__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tg-d04__cmp-card {
  padding: 1.5rem;
  border-radius: var(--d04-radius);
  border: 1px solid var(--d04-border);
  text-align: center;
}

.tg-d04__cmp-card .material-symbols-outlined {
  font-size: 2.2rem;
  display: block;
  margin-bottom: .75rem;
}

.tg-d04__cmp-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--d04-heading);
}

.tg-d04__cmp-card p {
  font-size: .8rem;
  color: var(--d04-muted);
  margin-bottom: .75rem;
}

.tg-d04__cmp-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: .8rem;
}

.tg-d04__cmp-card ul li {
  padding: .3rem 0;
  border-bottom: 1px solid var(--d04-border);
  color: var(--d04-muted);
}

.tg-d04__cmp-card ul li:last-child {
  border-bottom: none;
}

.tg-d04__cmp-card--both {
  background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.3);
}

.tg-d04__cmp-card--both .material-symbols-outlined {
  color: var(--d04-success);
}

.tg-d04__cmp-card--mine {
  background: rgba(239,68,68,.06);
  border-color: rgba(239,68,68,.2);
}

.tg-d04__cmp-card--mine .material-symbols-outlined {
  color: var(--d04-danger);
}

/* ══════════════════════════════════════
   FAQ 섹션
══════════════════════════════════════ */
.tg-d04__faq-section {
  padding: 5.5rem 0;
  background: var(--d04-bg);
}

.tg-d04__faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.tg-d04__faq-item {
  border: 1px solid var(--d04-border);
  border-radius: var(--d04-radius);
  overflow: hidden;
}

.tg-d04__faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--d04-card);
  border: none;
  color: var(--d04-heading);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}

.tg-d04__faq-q:hover {
  background: var(--d04-surface);
}

.tg-d04__faq-q[aria-expanded="true"] {
  background: rgba(59,130,246,.15);
}

.tg-d04__faq-icon {
  flex-shrink: 0;
  transition: transform .3s ease;
  font-size: 1.3rem;
  color: var(--d04-primary);
}

.tg-d04__faq-q[aria-expanded="true"] .tg-d04__faq-icon {
  transform: rotate(180deg);
}

.tg-d04__faq-a {
  padding: 1.1rem 1.25rem;
  background: rgba(17, 24, 39, 0.5);
  border-top: 1px solid var(--d04-border);
  font-size: .9rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.tg-d04__faq-a p {
  margin: 0;
}

/* ══════════════════════════════════════
   요약 섹션
══════════════════════════════════════ */
.tg-d04__summary-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #0a1628 100%);
}

.tg-d04__summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tg-d04__summary-card {
  padding: 1.75rem;
  border-radius: var(--d04-radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--d04-border);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.tg-d04__summary-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tg-d04__summary-icon {
  display: block;
  font-size: 2.2rem;
  color: var(--d04-primary);
  margin-bottom: .75rem;
}

.tg-d04__summary-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--d04-heading);
  margin-bottom: .5rem;
}

.tg-d04__summary-card p {
  font-size: .875rem;
  color: #cbd5e1;
  margin: 0;
}

/* ══════════════════════════════════════
   반응형
══════════════════════════════════════ */
@media (min-width: 600px) {
  .tg-d04__comparison {
    grid-template-columns: 1fr 1fr;
  }

  .tg-d04__summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .tg-d04__answer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tg-d04__summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
