/* ============================================================
   install05 - 텔레그램 저사양 최적화 가이드
   모든 선택자는 #tg-install05-wrapper 내부로 격리
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700;800;900&display=swap');

/* 썸네일 히든 */
.tg-i05__thumb-hidden { display: none !important; }

/* ── 래퍼 변수 & 리셋 ── */
#tg-install05-wrapper {
  --i05-orange:   #f97316;
  --i05-amber:    #f59e0b;
  --i05-orange2:  #ea580c;
  --i05-green:    #10b981;
  --i05-blue:     #3b82f6;
  --i05-dark:     #0c0a09;
  --i05-dark2:    #1c1917;
  --i05-dark3:    #292524;
  --i05-light:    #fafaf9;
  --i05-muted:    #a8a29e;
  --i05-border:   rgba(255,255,255,0.08);
  --i05-font:     'Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;
  --i05-ease:     cubic-bezier(0.4,0,0.2,1);
  font-family: var(--i05-font) !important;
  color: var(--i05-light);
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
}

#tg-install05-wrapper *, #tg-install05-wrapper *::before, #tg-install05-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ══ HERO ══ */
#tg-install05-wrapper .tg-i05__hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--i05-dark);
  overflow: hidden;
  padding: 5rem 1.5rem;
}

#tg-install05-wrapper .tg-i05__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#tg-install05-wrapper .tg-i05__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: i05-float 9s ease-in-out infinite;
}

#tg-install05-wrapper .tg-i05__orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,0.22), transparent 70%);
  top: -120px; left: -80px;
  animation-delay: 0s;
}
#tg-install05-wrapper .tg-i05__orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%);
  bottom: -60px; right: 5%;
  animation-delay: -4s;
}
#tg-install05-wrapper .tg-i05__orb--3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(234,88,12,0.12), transparent 70%);
  top: 40%; right: 15%;
  animation-delay: -7s;
}

@keyframes i05-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

#tg-install05-wrapper .tg-i05__hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

#tg-install05-wrapper .tg-i05__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--i05-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

#tg-install05-wrapper .tg-i05__eyebrow .material-symbols-outlined { font-size: 1.1rem; }

#tg-install05-wrapper .tg-i05__hero-title {
  font-size: clamp(1.875rem, 4.5vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #fff !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.03em;
}

#tg-install05-wrapper .tg-i05__hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--i05-orange), var(--i05-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#tg-install05-wrapper .tg-i05__hero-desc {
  font-size: 1.0625rem;
  color: var(--i05-muted);
  line-height: 1.8;
}

#tg-install05-wrapper .tg-i05__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--i05-orange), var(--i05-amber));
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.25s var(--i05-ease), box-shadow 0.25s var(--i05-ease);
  box-shadow: 0 0 30px rgba(249,115,22,0.4);
}

#tg-install05-wrapper .tg-i05__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(249,115,22,0.6);
  text-decoration: none !important;
}

/* ══ 공통 내부 컨테이너 & 섹션 제목 ══ */
#tg-install05-wrapper .tg-i05__inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

#tg-install05-wrapper .tg-i05__section-title {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: var(--i05-dark) !important;
  margin-bottom: 1.75rem !important;
}
#tg-install05-wrapper .tg-i05__section-title--light { color: #fff !important; }
#tg-install05-wrapper .tg-i05__section-title .material-symbols-outlined { font-size: 1.75rem; }

#tg-install05-wrapper .tg-i05__section-desc {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

/* ══ 문제 제기 섹션 ══ */
#tg-install05-wrapper .tg-i05__problem {
  width: 100%;
  background: var(--i05-light);
  padding: 4rem 1.5rem;
}

#tg-install05-wrapper .tg-i05__problem .tg-i05__section-title { color: var(--i05-dark) !important; }

#tg-install05-wrapper .tg-i05__symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

#tg-install05-wrapper .tg-i05__symptom-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(20px);
  transition: box-shadow 0.3s var(--i05-ease), transform 0.3s var(--i05-ease);
}

#tg-install05-wrapper .tg-i05__symptom-card.is-visible {
  animation: i05-slideUp 0.5s var(--i05-ease) forwards;
}

@keyframes i05-slideUp {
  to { opacity: 1; transform: translateY(0); }
}

#tg-install05-wrapper .tg-i05__symptom-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

#tg-install05-wrapper .tg-i05__symptom-icon {
  font-size: 1.875rem;
  color: var(--i05-orange);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

#tg-install05-wrapper .tg-i05__symptom-card p {
  font-size: 0.9375rem;
  color: #44403c;
  line-height: 1.65;
  font-weight: 500;
}

#tg-install05-wrapper .tg-i05__solution-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1.5px solid #fed7aa;
  color: #9a3412;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 14px;
}

#tg-install05-wrapper .tg-i05__solution-badge .material-symbols-outlined {
  color: var(--i05-orange);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ══ 체크리스트 섹션 ══ */
#tg-install05-wrapper .tg-i05__checklist-section {
  width: 100%;
  background: var(--i05-dark2);
  padding: 4.5rem 1.5rem;
}

/* 진행률 바 */
#tg-install05-wrapper .tg-i05__progress-wrap {
  margin-bottom: 1.75rem;
}

#tg-install05-wrapper .tg-i05__progress-label {
  font-size: 0.9375rem;
  color: var(--i05-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#tg-install05-wrapper .tg-i05__progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

#tg-install05-wrapper .tg-i05__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--i05-orange), var(--i05-amber));
  border-radius: 999px;
  transition: width 0.4s var(--i05-ease);
}

/* 체크리스트 아이템 */
#tg-install05-wrapper .tg-i05__checklist {
  list-style: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 !important;
}

#tg-install05-wrapper .tg-i05__check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--i05-dark3);
  border: 1px solid var(--i05-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.25s var(--i05-ease), background 0.25s var(--i05-ease), transform 0.2s var(--i05-ease);
  user-select: none;
}

#tg-install05-wrapper .tg-i05__check-item:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateX(4px);
}

#tg-install05-wrapper .tg-i05__check-item.is-done {
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.07);
}

#tg-install05-wrapper .tg-i05__check-box {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

#tg-install05-wrapper .tg-i05__check-icon {
  font-size: 1.625rem;
  color: rgba(255,255,255,0.2);
  transition: color 0.3s var(--i05-ease), transform 0.3s var(--i05-ease);
}

#tg-install05-wrapper .tg-i05__check-item.is-done .tg-i05__check-icon {
  color: var(--i05-green);
  transform: scale(1.1);
}

#tg-install05-wrapper .tg-i05__check-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 0.35rem;
  transition: color 0.25s var(--i05-ease);
}

#tg-install05-wrapper .tg-i05__check-item.is-done .tg-i05__check-title {
  color: #6ee7b7 !important;
  text-decoration: line-through;
  text-decoration-color: rgba(110,231,183,0.5);
}

#tg-install05-wrapper .tg-i05__check-desc {
  font-size: 0.875rem;
  color: var(--i05-muted);
  line-height: 1.65;
}

/* 완료 메시지 */
#tg-install05-wrapper .tg-i05__complete-msg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16,185,129,0.12);
  border: 1.5px solid rgba(16,185,129,0.35);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  color: #6ee7b7;
  font-size: 1rem;
  font-weight: 600;
  animation: i05-slideUp 0.4s var(--i05-ease) forwards;
}

#tg-install05-wrapper .tg-i05__complete-msg[hidden] { display: none !important; }
#tg-install05-wrapper .tg-i05__complete-msg .material-symbols-outlined { font-size: 1.5rem; }

/* ══ 고급 팁 섹션 ══ */
#tg-install05-wrapper .tg-i05__tips {
  width: 100%;
  background: var(--i05-light);
  padding: 4.5rem 1.5rem;
}

#tg-install05-wrapper .tg-i05__tips .tg-i05__section-title { color: var(--i05-dark) !important; }

#tg-install05-wrapper .tg-i05__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

#tg-install05-wrapper .tg-i05__tip-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid #e7e5e4;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s var(--i05-ease), box-shadow 0.3s var(--i05-ease);
}

#tg-install05-wrapper .tg-i05__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

#tg-install05-wrapper .tg-i05__tip-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

#tg-install05-wrapper .tg-i05__tip-card--a .tg-i05__tip-icon { background: #fff7ed; }
#tg-install05-wrapper .tg-i05__tip-card--b .tg-i05__tip-icon { background: #f0fdf4; }
#tg-install05-wrapper .tg-i05__tip-card--c .tg-i05__tip-icon { background: #eff6ff; }

#tg-install05-wrapper .tg-i05__tip-card--a .tg-i05__tip-icon .material-symbols-outlined { color: var(--i05-orange); font-size: 1.75rem; }
#tg-install05-wrapper .tg-i05__tip-card--b .tg-i05__tip-icon .material-symbols-outlined { color: var(--i05-green); font-size: 1.75rem; }
#tg-install05-wrapper .tg-i05__tip-card--c .tg-i05__tip-icon .material-symbols-outlined { color: var(--i05-blue); font-size: 1.75rem; }

#tg-install05-wrapper .tg-i05__tip-title {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin-bottom: 0.6rem !important;
}

#tg-install05-wrapper .tg-i05__tip-desc {
  font-size: 0.9rem;
  color: #78716c;
  line-height: 1.7;
}

#tg-install05-wrapper .tg-i05__tip-desc strong {
  color: #1c1917 !important;
  font-weight: 700;
}

/* ══ 반응형 ══ */
@media (max-width: 768px) {
  #tg-install05-wrapper .tg-i05__hero { min-height: 400px; padding: 3.5rem 1.25rem; }
  #tg-install05-wrapper .tg-i05__problem,
  #tg-install05-wrapper .tg-i05__checklist-section,
  #tg-install05-wrapper .tg-i05__tips { padding: 3rem 1.25rem; }
  #tg-install05-wrapper .tg-i05__section-title { font-size: 1.5rem !important; }
  #tg-install05-wrapper .tg-i05__check-item { padding: 1rem 1.125rem; }
}

@media (max-width: 480px) {
  #tg-install05-wrapper .tg-i05__symptom-grid,
  #tg-install05-wrapper .tg-i05__tips-grid { grid-template-columns: 1fr; }
}
