/* 
 * 텔레그램 보안 기술 가이드 전용 스타일
 * Root ID: #ag-telegram-tech-security
 */

#ag-telegram-tech-security {
    max-width: 1100px;
    margin: 30px auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    color: #e2e8f0 !important;
    line-height: 1.8 !important;
    background-color: #0b1120 !important; /* 심해 블랙 네이비 */
    padding: 60px 20px !important;
    box-sizing: border-box !important;
    border-radius: 40px !important;
    letter-spacing: -0.02em !important;
}

/* 텍스트 컬러 오버라이딩 완벽 방어 시스템 */
#ag-telegram-tech-security p, 
#ag-telegram-tech-security h1, 
#ag-telegram-tech-security h2, 
#ag-telegram-tech-security h3, 
#ag-telegram-tech-security h4, 
#ag-telegram-tech-security ul, 
#ag-telegram-tech-security li,
#ag-telegram-tech-security span,
#ag-telegram-tech-security strong,
#ag-telegram-tech-security i,
#ag-telegram-tech-security code {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

/* 헤더 - 하이테크 테마 (Encryption Orb) */
#ag-telegram-tech-security .ag-header {
    text-align: center !important;
    margin-bottom: 80px !important;
    padding: 100px 20px !important;
    background: radial-gradient(circle at center, #1e293b 0%, #0b1120 100%) !important;
    border-radius: 35px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(56, 189, 248, 0.1) !important;
}

#ag-telegram-tech-security .ag-tech-orb {
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto 40px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#ag-telegram-tech-security .ag-orb-inner {
    width: 100px !important;
    height: 100px !important;
    background: #0ea5e9 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 50px #0ea5e9 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
}

#ag-telegram-tech-security .ag-scan-ring {
    position: absolute !important;
    width: 140px !important;
    height: 140px !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 50% !important;
    opacity: 0.3 !important;
    animation: ag-orb-pulse 2s infinite ease-out !important;
}

@keyframes ag-orb-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

#ag-telegram-tech-security .ag-header__title {
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    word-break: keep-all !important;
}

#ag-telegram-tech-security .ag-header__subtitle {
    font-size: 1.4rem !important;
    color: #38bdf8 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    opacity: 0.8 !important;
}

/* 섹션 타이틀 */
#ag-telegram-tech-security .ag-section__title {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    margin-bottom: 45px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* 1 & 2. 비교 그리드 */
#ag-telegram-tech-security .ag-compare-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    margin-bottom: 80px !important;
}

#ag-telegram-tech-security .ag-tech-card {
    background: rgba(30, 41, 59, 0.4) !important;
    padding: 40px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
}

#ag-telegram-tech-security .ag-tech-card__tag {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    color: rgba(255, 255, 255, 0.2) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

#ag-telegram-tech-security .ag-tech-card--premium {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(30, 41, 59, 0.4) 100%) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}

#ag-telegram-tech-security .ag-tech-card__header {
    margin-bottom: 30px !important;
}

#ag-telegram-tech-security .ag-tech-card__header i { font-size: 3rem !important; color: #38bdf8 !important; margin-bottom: 20px !important; display: block !important; }
#ag-telegram-tech-security .ag-tech-card__header h3 { font-size: 1.6rem !important; font-weight: 800 !important; color: #ffffff !important; }
#ag-telegram-tech-security .ag-tech-card__header small { font-size: 0.9rem !important; opacity: 0.6 !important; }

#ag-telegram-tech-security .ag-method-badge {
    background: #0f172a !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    font-family: monospace !important;
    color: #38bdf8 !important;
    margin-bottom: 30px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    text-align: center !important;
}

#ag-telegram-tech-security .ag-bullet-list { list-style: none !important; }
#ag-telegram-tech-security .ag-bullet-list li {
    font-size: 1.05rem !important;
    margin-bottom: 15px !important;
    padding-left: 30px !important;
    position: relative !important;
    color: #94a3b8 !important;
}

#ag-telegram-tech-security .ag-bullet-list li::before {
    content: '\f105' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    color: #38bdf8 !important;
}

/* 3. 레이어 스택 */
#ag-telegram-tech-security .ag-layer-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 80px !important;
}

#ag-telegram-tech-security .ag-layer-item {
    background: #1e293b !important;
    padding: 35px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#ag-telegram-tech-security .ag-layer-item--active {
    background: #0ea5e9 !important;
    border-color: #38bdf8 !important;
}

#ag-telegram-tech-security .ag-layer-item--active .ag-layer-item__num {
    color: #ffffff !important;
    opacity: 0.4 !important;
}

#ag-telegram-tech-security .ag-layer-item--active .ag-layer-item__content h4,
#ag-telegram-tech-security .ag-layer-item--active .ag-layer-item__content p {
    color: #ffffff !important;
}

#ag-telegram-tech-security .ag-layer-item__num {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    opacity: 0.2 !important;
}

#ag-telegram-tech-security .ag-layer-item__content h4 { font-size: 1.3rem !important; font-weight: 800 !important; color: #ffffff !important; margin-bottom: 8px !important; }
#ag-telegram-tech-security .ag-layer-item__content p { font-size: 1.1rem !important; color: #94a3b8 !important; }

/* 4. 권장 사항 */
#ag-telegram-tech-security .ag-recommend-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

#ag-telegram-tech-security .ag-recommend-item {
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 30px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
}

#ag-telegram-tech-security .ag-recommend-item i { font-size: 2rem !important; color: #38bdf8 !important; }
#ag-telegram-tech-security .ag-recommend-item__text h4 { font-size: 1.15rem !important; font-weight: 800 !important; color: #ffffff !important; margin-bottom: 5px !important; }
#ag-telegram-tech-security .ag-recommend-item__text p { font-size: 0.95rem !important; color: #94a3b8 !important; }

/* 알림 컨테이너 */
#ag-telegram-tech-security .ag-alert-container {
    background: #450a0a !important; /* 다크 레드 */
    padding: 40px !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    border: 2px solid #ef4444 !important;
}

#ag-telegram-tech-security .ag-alert-icon { font-size: 3rem !important; color: #f87171 !important; }
#ag-telegram-tech-security .ag-alert-content { font-size: 1.1rem !important; color: #fecaca !important; }

/* 푸터 */
#ag-telegram-tech-security .ag-footer {
    text-align: center !important;
    padding: 60px 0 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#ag-telegram-tech-security .ag-footer__text a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #38bdf8 !important;
}

/* 반응형 */
@media (max-width: 950px) {
    #ag-telegram-tech-security .ag-compare-grid { grid-template-columns: 1fr !important; }
    #ag-telegram-tech-security .ag-recommend-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
    #ag-telegram-tech-security .ag-header__title { font-size: 2.1rem !important; }
    #ag-telegram-tech-security .ag-mobile-only { display: block !important; }
    #ag-telegram-tech-security .ag-layer-item { flex-direction: column !important; text-align: center !important; gap: 15px !important; }
    #ag-telegram-tech-security .ag-alert-container { flex-direction: column !important; text-align: center !important; }
}
@media (min-width: 601px) { #ag-telegram-tech-security .ag-mobile-only { display: none !important; } }
